diff --git a/packages/google-cloud-apigeeregistry/.gitignore b/packages/google-cloud-apigeeregistry/.gitignore index 5d32b23782f..d4f03a0df2e 100644 --- a/packages/google-cloud-apigeeregistry/.gitignore +++ b/packages/google-cloud-apigeeregistry/.gitignore @@ -1,11 +1,11 @@ **/*.log **/node_modules -.coverage -coverage -.nyc_output -docs/ -out/ -build/ +/.coverage +/coverage +/.nyc_output +/docs/ +/out/ +/build/ system-test/secrets.js system-test/*key.json *.lock diff --git a/packages/google-cloud-apigeeregistry/.jsdoc.js b/packages/google-cloud-apigeeregistry/.jsdoc.js index 2efe6c2e060..671ff23ae00 100644 --- a/packages/google-cloud-apigeeregistry/.jsdoc.js +++ b/packages/google-cloud-apigeeregistry/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/apigee-registry', diff --git a/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/provisioning_service.proto b/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/provisioning_service.proto index 9e7baee5866..cca6753c6bc 100644 --- a/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/provisioning_service.proto +++ b/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/provisioning_service.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ApigeeRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeregistry/v1;apigeeregistry"; +option go_package = "cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb"; option java_multiple_files = true; option java_outer_classname = "ProvisioningServiceProto"; option java_package = "com.google.cloud.apigeeregistry.v1"; diff --git a/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/registry_models.proto b/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/registry_models.proto index 8411f9ecf7f..a1c29b4d5b9 100644 --- a/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/registry_models.proto +++ b/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/registry_models.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ApigeeRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeregistry/v1;apigeeregistry"; +option go_package = "cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb"; option java_multiple_files = true; option java_outer_classname = "RegistryModelsProto"; option java_package = "com.google.cloud.apigeeregistry.v1"; diff --git a/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/registry_service.proto b/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/registry_service.proto index 1eec64e8b8f..041796be41f 100644 --- a/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/registry_service.proto +++ b/packages/google-cloud-apigeeregistry/protos/google/cloud/apigeeregistry/v1/registry_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.ApigeeRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeregistry/v1;apigeeregistry"; +option go_package = "cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb"; option java_multiple_files = true; option java_outer_classname = "RegistryServiceProto"; option java_package = "com.google.cloud.apigeeregistry.v1"; diff --git a/packages/google-cloud-apigeeregistry/protos/protos.d.ts b/packages/google-cloud-apigeeregistry/protos/protos.d.ts index 868a014e66c..91b85bbe01d 100644 --- a/packages/google-cloud-apigeeregistry/protos/protos.d.ts +++ b/packages/google-cloud-apigeeregistry/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/protos/protos.js b/packages/google-cloud-apigeeregistry/protos/protos.js index d5fec73fd3e..18d5ced6125 100644 --- a/packages/google-cloud-apigeeregistry/protos/protos.js +++ b/packages/google-cloud-apigeeregistry/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/protos/protos.json b/packages/google-cloud-apigeeregistry/protos/protos.json index 75e89aa2795..935d02b6b50 100644 --- a/packages/google-cloud-apigeeregistry/protos/protos.json +++ b/packages/google-cloud-apigeeregistry/protos/protos.json @@ -9,7 +9,7 @@ "v1": { "options": { "csharp_namespace": "Google.Cloud.ApigeeRegistry.V1", - "go_package": "google.golang.org/genproto/googleapis/cloud/apigeeregistry/v1;apigeeregistry", + "go_package": "cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb", "java_multiple_files": true, "java_outer_classname": "RegistryServiceProto", "java_package": "com.google.cloud.apigeeregistry.v1", diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.create_instance.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.create_instance.js index 4f84cd15fd5..b4ca96bdb74 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.create_instance.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.create_instance.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.delete_instance.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.delete_instance.js index 9e1d2269b9f..74e702d5023 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.delete_instance.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.delete_instance.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.get_instance.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.get_instance.js index 4a4355c5cb4..9724a92c2d8 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.get_instance.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/provisioning.get_instance.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api.js index ebce3b4b148..113640e2ec6 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_deployment.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_deployment.js index 1d0c276c167..7a4c1c845c6 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_deployment.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_deployment.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_spec.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_spec.js index 44c0e0504ea..58b8584700b 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_spec.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_spec.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_version.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_version.js index dd7182a62cd..1a5dc3f12dc 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_version.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_api_version.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_artifact.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_artifact.js index 565ba5f32a0..e9052fe1b2e 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_artifact.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.create_artifact.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api.js index 440f84654e5..917b1dd3399 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_deployment.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_deployment.js index 47100ad20a7..863cd8ce339 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_deployment.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_deployment.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_deployment_revision.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_deployment_revision.js index b46ffa35c3e..369deb1856c 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_deployment_revision.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_deployment_revision.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_spec.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_spec.js index bf1dfe8e0db..15fc88e824c 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_spec.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_spec.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_spec_revision.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_spec_revision.js index 21fb81322ae..fa2a1e8df18 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_spec_revision.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_spec_revision.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_version.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_version.js index 9c59f0b03df..7c4454a1053 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_version.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_api_version.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_artifact.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_artifact.js index d3e2b7c0fd9..99da99af3e5 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_artifact.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.delete_artifact.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api.js index 79568c883d7..235120454ad 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_deployment.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_deployment.js index 2c0d9d10a90..1414dc571b9 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_deployment.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_deployment.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_spec.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_spec.js index 364e0d10852..e6440349af4 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_spec.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_spec.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_spec_contents.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_spec_contents.js index 419e495e98b..d3f17e4d094 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_spec_contents.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_spec_contents.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_version.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_version.js index 384f458072c..2a288b39beb 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_version.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_api_version.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_artifact.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_artifact.js index fd8cf0468b0..67eaf70c3fa 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_artifact.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_artifact.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_artifact_contents.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_artifact_contents.js index 983ab0fa0b0..ea2d32d2855 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_artifact_contents.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.get_artifact_contents.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_deployment_revisions.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_deployment_revisions.js index 0f9fa672264..21685cd096a 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_deployment_revisions.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_deployment_revisions.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_deployments.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_deployments.js index 10a7f19821d..6412a285fb9 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_deployments.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_deployments.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_spec_revisions.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_spec_revisions.js index 1ee59f01749..c6726ae8423 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_spec_revisions.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_spec_revisions.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_specs.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_specs.js index ed3c4e98ef2..396e72470f5 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_specs.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_specs.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_versions.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_versions.js index 01a63148e1f..2b077b508ae 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_versions.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_api_versions.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_apis.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_apis.js index 9280a5300a3..ea225496745 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_apis.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_apis.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_artifacts.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_artifacts.js index c5d2c3e251a..ca9a2c07339 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_artifacts.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.list_artifacts.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.replace_artifact.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.replace_artifact.js index af41ce89ac3..91f3904ff6d 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.replace_artifact.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.replace_artifact.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.rollback_api_deployment.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.rollback_api_deployment.js index 022b8dcbca2..41317e3c670 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.rollback_api_deployment.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.rollback_api_deployment.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.rollback_api_spec.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.rollback_api_spec.js index d8acd2542c1..bc7a521df81 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.rollback_api_spec.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.rollback_api_spec.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.tag_api_deployment_revision.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.tag_api_deployment_revision.js index 5c386cc579b..29cb0bd9fb6 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.tag_api_deployment_revision.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.tag_api_deployment_revision.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.tag_api_spec_revision.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.tag_api_spec_revision.js index 838836c8c5a..e76171edb5f 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.tag_api_spec_revision.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.tag_api_spec_revision.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api.js index 8cb7e3d0fe5..a4dd8524d30 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_deployment.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_deployment.js index 2858dd4dff8..90166532846 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_deployment.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_deployment.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_spec.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_spec.js index 563ac37f695..a3f50379171 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_spec.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_spec.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_version.js b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_version.js index 59fb2f515c0..38b633ed179 100644 --- a/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_version.js +++ b/packages/google-cloud-apigeeregistry/samples/generated/v1/registry.update_api_version.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/src/v1/index.ts b/packages/google-cloud-apigeeregistry/src/v1/index.ts index 03a07e1f982..6032a7e3443 100644 --- a/packages/google-cloud-apigeeregistry/src/v1/index.ts +++ b/packages/google-cloud-apigeeregistry/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/src/v1/provisioning_client.ts b/packages/google-cloud-apigeeregistry/src/v1/provisioning_client.ts index ecfe3d3a2cf..62c72eadd28 100644 --- a/packages/google-cloud-apigeeregistry/src/v1/provisioning_client.ts +++ b/packages/google-cloud-apigeeregistry/src/v1/provisioning_client.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -128,6 +128,9 @@ export class ProvisioningClient { (typeof window !== 'undefined' && typeof window?.fetch === 'function'); opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + // Request numeric enum values if REST transport is used. + opts.numericEnums = true; + // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case. if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) { opts['scopes'] = staticMembers.scopes; diff --git a/packages/google-cloud-apigeeregistry/src/v1/registry_client.ts b/packages/google-cloud-apigeeregistry/src/v1/registry_client.ts index 11b1bd0579c..f4d8b0c84e9 100644 --- a/packages/google-cloud-apigeeregistry/src/v1/registry_client.ts +++ b/packages/google-cloud-apigeeregistry/src/v1/registry_client.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -126,6 +126,9 @@ export class RegistryClient { (typeof window !== 'undefined' && typeof window?.fetch === 'function'); opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + // Request numeric enum values if REST transport is used. + opts.numericEnums = true; + // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case. if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) { opts['scopes'] = staticMembers.scopes; diff --git a/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.js b/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.js index 463c19fc6ee..113a4716508 100644 --- a/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.ts index e6e0661b7e9..9a94f4bec58 100644 --- a/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/system-test/install.ts b/packages/google-cloud-apigeeregistry/system-test/install.ts index 6dd1eaadafa..f61fe236476 100644 --- a/packages/google-cloud-apigeeregistry/system-test/install.ts +++ b/packages/google-cloud-apigeeregistry/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/test/gapic_provisioning_v1.ts b/packages/google-cloud-apigeeregistry/test/gapic_provisioning_v1.ts index a87c8a62631..50e41b6b3e9 100644 --- a/packages/google-cloud-apigeeregistry/test/gapic_provisioning_v1.ts +++ b/packages/google-cloud-apigeeregistry/test/gapic_provisioning_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigeeregistry/test/gapic_registry_v1.ts b/packages/google-cloud-apigeeregistry/test/gapic_registry_v1.ts index 369b42c1075..ab87ec86793 100644 --- a/packages/google-cloud-apigeeregistry/test/gapic_registry_v1.ts +++ b/packages/google-cloud-apigeeregistry/test/gapic_registry_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.