diff --git a/packages/google-cloud-apphub/.jsdoc.js b/packages/google-cloud-apphub/.jsdoc.js index 5dc9ea7f7b9..1682471e6af 100644 --- a/packages/google-cloud-apphub/.jsdoc.js +++ b/packages/google-cloud-apphub/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/apphub', diff --git a/packages/google-cloud-apphub/.mocharc.js b/packages/google-cloud-apphub/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-apphub/.mocharc.js +++ b/packages/google-cloud-apphub/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/.prettierrc.js b/packages/google-cloud-apphub/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-apphub/.prettierrc.js +++ b/packages/google-cloud-apphub/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/protos/protos.d.ts b/packages/google-cloud-apphub/protos/protos.d.ts index 4f6cadf38c7..dff79f12182 100644 --- a/packages/google-cloud-apphub/protos/protos.d.ts +++ b/packages/google-cloud-apphub/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/protos/protos.js b/packages/google-cloud-apphub/protos/protos.js index cd65e37ea4a..f5926b2adea 100644 --- a/packages/google-cloud-apphub/protos/protos.js +++ b/packages/google-cloud-apphub/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.create_application.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_application.js index 3195b5c1723..a4a501bae49 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_application.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_application.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.create_service.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_service.js index 735f928f1ef..b2addd7f1e3 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_service.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.create_service_project_attachment.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_service_project_attachment.js index 82913485d9d..998b4376500 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_service_project_attachment.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_service_project_attachment.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.create_workload.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_workload.js index db1037477ad..0e3dde4e8c8 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_workload.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.create_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.delete_application.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_application.js index 11aa975f25b..52f12bb73e4 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_application.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_application.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.delete_service.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_service.js index cabd9bd207d..8e95a9bafdf 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_service.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.delete_service_project_attachment.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_service_project_attachment.js index 6af8ef1b9a3..72ced02f9c1 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_service_project_attachment.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_service_project_attachment.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.delete_workload.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_workload.js index d69d0d9e1be..cb759ce757b 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_workload.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.delete_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.detach_service_project_attachment.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.detach_service_project_attachment.js index 01f42c94425..6c7ab00b12e 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.detach_service_project_attachment.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.detach_service_project_attachment.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.get_application.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_application.js index 101fa81df28..48f340f97ea 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_application.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_application.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.get_discovered_service.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_discovered_service.js index 8b3291dfca7..9164cfcc60c 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_discovered_service.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_discovered_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.get_discovered_workload.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_discovered_workload.js index 0942906d81c..bc3c98aa96b 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_discovered_workload.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_discovered_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.get_service.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_service.js index 58dd286a7a3..aa62d33248f 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_service.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.get_service_project_attachment.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_service_project_attachment.js index 0a50e39f7a6..7d11ee193cd 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_service_project_attachment.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_service_project_attachment.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.get_workload.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_workload.js index 7ac5812edc0..3d0fa290b4a 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_workload.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.get_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.list_applications.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_applications.js index 4879045af78..c9769e73d8a 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_applications.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_applications.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.list_discovered_services.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_discovered_services.js index 3784e3b219d..c6503401862 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_discovered_services.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_discovered_services.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.list_discovered_workloads.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_discovered_workloads.js index 972697d1756..8c381f2de42 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_discovered_workloads.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_discovered_workloads.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.list_service_project_attachments.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_service_project_attachments.js index a4ec71e050c..04c26c4ed1b 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_service_project_attachments.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_service_project_attachments.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.list_services.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_services.js index d4adafaf79c..633dc932cbf 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_services.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_services.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.list_workloads.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_workloads.js index 65dcfae757d..7db5170878f 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_workloads.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.list_workloads.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.lookup_discovered_service.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_discovered_service.js index 6ae64e7ef77..4cda6d31cd1 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_discovered_service.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_discovered_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.lookup_discovered_workload.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_discovered_workload.js index bf27627e419..61d5e663138 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_discovered_workload.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_discovered_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.lookup_service_project_attachment.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_service_project_attachment.js index 197a95c3e86..4cc850b71ec 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_service_project_attachment.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.lookup_service_project_attachment.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.update_application.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_application.js index cc3c04e52ac..0a99c86e20a 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_application.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_application.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.update_service.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_service.js index 3522c9fbd37..add09e01b54 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_service.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/samples/generated/v1/app_hub.update_workload.js b/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_workload.js index 810947846d0..d7667467269 100644 --- a/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_workload.js +++ b/packages/google-cloud-apphub/samples/generated/v1/app_hub.update_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/src/v1/app_hub_client.ts b/packages/google-cloud-apphub/src/v1/app_hub_client.ts index 270a3279c4d..30c4d2bcc91 100644 --- a/packages/google-cloud-apphub/src/v1/app_hub_client.ts +++ b/packages/google-cloud-apphub/src/v1/app_hub_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/src/v1/index.ts b/packages/google-cloud-apphub/src/v1/index.ts index aa7465b1e5f..8453bdc2fe6 100644 --- a/packages/google-cloud-apphub/src/v1/index.ts +++ b/packages/google-cloud-apphub/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/system-test/fixtures/sample/src/index.js b/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.js index 0f1d9e3655c..3f60b0f60fe 100644 --- a/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.ts index 0aba1fb51f5..4ee973ef624 100644 --- a/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/system-test/install.ts b/packages/google-cloud-apphub/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-apphub/system-test/install.ts +++ b/packages/google-cloud-apphub/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-apphub/test/gapic_app_hub_v1.ts b/packages/google-cloud-apphub/test/gapic_app_hub_v1.ts index 1bfd2de7024..4d678d8c0ed 100644 --- a/packages/google-cloud-apphub/test/gapic_app_hub_v1.ts +++ b/packages/google-cloud-apphub/test/gapic_app_hub_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/.eslintignore b/packages/google-cloud-asset/.eslintignore index ea5b04aebe6..cfc348ec4d1 100644 --- a/packages/google-cloud-asset/.eslintignore +++ b/packages/google-cloud-asset/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-asset/.jsdoc.js b/packages/google-cloud-asset/.jsdoc.js index 1b9fafab111..1837bad4f98 100644 --- a/packages/google-cloud-asset/.jsdoc.js +++ b/packages/google-cloud-asset/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/asset', diff --git a/packages/google-cloud-asset/.mocharc.js b/packages/google-cloud-asset/.mocharc.js index eef6173ab44..5eb34e86c87 100644 --- a/packages/google-cloud-asset/.mocharc.js +++ b/packages/google-cloud-asset/.mocharc.js @@ -1,21 +1,25 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-asset/.nycrc b/packages/google-cloud-asset/.nycrc index b18d5472b62..81a95fc94b0 100644 --- a/packages/google-cloud-asset/.nycrc +++ b/packages/google-cloud-asset/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-asset/.prettierrc.js b/packages/google-cloud-asset/.prettierrc.js index b189724933b..7649ee3c254 100644 --- a/packages/google-cloud-asset/.prettierrc.js +++ b/packages/google-cloud-asset/.prettierrc.js @@ -1,16 +1,21 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-asset/CONTRIBUTING.md b/packages/google-cloud-asset/CONTRIBUTING.md index 47be3bfbb42..a1eec06df05 100644 --- a/packages/google-cloud-asset/CONTRIBUTING.md +++ b/packages/google-cloud-asset/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Cloud Asset Inventory API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Asset API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-asset/README.md b/packages/google-cloud-asset/README.md index 5794e99dd9d..1a4aed0cf29 100644 --- a/packages/google-cloud-asset/README.md +++ b/packages/google-cloud-asset/README.md @@ -1,24 +1,25 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Cloud Asset Inventory: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-asset) - -[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/asset.svg)](https://www.npmjs.org/package/@google-cloud/asset) - +# [Cloud Asset API: Nodejs Client][homepage] +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority +[![npm version](https://img.shields.io/npm/v/@google-cloud/asset.svg)](https://www.npmjs.org/package/@google-cloud/asset) Cloud Asset API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-asset/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. + +* [Cloud Asset API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/asset/latest) -* [Cloud Asset Inventory Node.js Client API Reference][client-docs] -* [Cloud Asset Inventory Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-asset](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-asset) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,122 +28,74 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. 1. [Enable billing for your project][billing]. -1. [Enable the Cloud Asset Inventory API][enable_api]. +1. [Enable the Cloud Asset API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/asset ``` - -### Using the client library - -```javascript -/** - * TODO(developer): Uncomment these variables before running the sample. - */ -// const assetTypes = 'storage.googleapis.com/Bucket,bigquery.googleapis.com/Table'; -// const contentType = 'RESOURCE'; - -const util = require('util'); -const {v1} = require('@google-cloud/asset'); -const client = new v1.AssetServiceClient(); - -const projectResource = `projects/${projectId}`; -// TODO(developer): Choose types of assets to list, such as 'storage.googleapis.com/Bucket': -// const assetTypes = 'storage.googleapis.com/Bucket,bigquery.googleapis.com/Table'; -// Or simply use empty string to list all types of assets: -// const assetTypes = ''; -const assetTypesList = assetTypes ? assetTypes.split(',') : []; - -async function listAssets() { - const request = { - parent: projectResource, - assetTypes: assetTypesList, - contentType: contentType, - // (Optional) Add readTime parameter to list assets at the given time instead of current time: - // readTime: { seconds: 1593988758 }, - }; - - // Call cloud.assets.v1.ListAssets API. - const result = await client.listAssets(request, { - autopaginate: false, - maxResults: MAX_RESULTS, - }); - // Handle the response. - console.log(util.inspect(result, {depth: null})); -} -listAssets(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-asset/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Asset_service.analyze_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.analyze_iam_policy_longrunning | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy_longrunning.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy_longrunning.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.analyze_move | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_move.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_move.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.analyze_org_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policies.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.analyze_org_policy_governed_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_assets.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.analyze_org_policy_governed_containers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_containers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_containers.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.batch_get_assets_history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_assets_history.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_assets_history.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.batch_get_effective_iam_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_effective_iam_policies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_effective_iam_policies.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.create_feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.create_feed.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.create_feed.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.create_saved_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.create_saved_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.create_saved_query.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.delete_feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_feed.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.delete_feed.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.delete_saved_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_saved_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.delete_saved_query.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.export_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.export_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.export_assets.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.get_feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.get_feed.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.get_feed.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.get_saved_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.get_saved_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.get_saved_query.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.list_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.list_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.list_assets.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.list_feeds | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.list_feeds.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.list_feeds.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.list_saved_queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.list_saved_queries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.list_saved_queries.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.query_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.query_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.query_assets.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.search_all_iam_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_iam_policies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_iam_policies.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.search_all_resources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_resources.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_resources.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.update_feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.update_feed.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.update_feed.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.update_saved_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.update_saved_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1/asset_service.update_saved_query.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.search_all_iam_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_iam_policies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_iam_policies.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.search_all_resources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_resources.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_resources.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.create_feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.create_feed.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.create_feed.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.delete_feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.delete_feed.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.delete_feed.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.get_feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.get_feed.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.get_feed.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.list_feeds | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.list_feeds.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.list_feeds.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.update_feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.update_feed.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.update_feed.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.analyze_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p4beta1/asset_service.analyze_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p4beta1/asset_service.analyze_iam_policy.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.export_iam_policy_analysis | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p4beta1/asset_service.export_iam_policy_analysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p4beta1/asset_service.export_iam_policy_analysis.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.list_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p5beta1/asset_service.list_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p5beta1/asset_service.list_assets.js,packages/google-cloud-asset/samples/README.md) | -| Asset_service.export_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p7beta1/asset_service.export_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/generated/v1p7beta1/asset_service.export_assets.js,packages/google-cloud-asset/samples/README.md) | -| List Assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-asset/samples/quickstart.js,packages/google-cloud-asset/samples/README.md) | - - - -The [Cloud Asset Inventory Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| analyze iam policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy.js) | +| analyze iam policy longrunning | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy_longrunning.js) | +| analyze move | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_move.js) | +| analyze org policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policies.js) | +| analyze org policy governed assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_assets.js) | +| analyze org policy governed containers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_containers.js) | +| batch get assets history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_assets_history.js) | +| batch get effective iam policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_effective_iam_policies.js) | +| create feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.create_feed.js) | +| create saved query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.create_saved_query.js) | +| delete feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_feed.js) | +| delete saved query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_saved_query.js) | +| export assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.export_assets.js) | +| get feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.get_feed.js) | +| get saved query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.get_saved_query.js) | +| list assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.list_assets.js) | +| list feeds | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.list_feeds.js) | +| list saved queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.list_saved_queries.js) | +| query assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.query_assets.js) | +| search all iam policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_iam_policies.js) | +| search all resources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_resources.js) | +| update feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.update_feed.js) | +| update saved query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/asset_service.update_saved_query.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1/snippet_metadata_google.cloud.asset.v1.json) | +| search all iam policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_iam_policies.js) | +| search all resources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_resources.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p1beta1/snippet_metadata_google.cloud.asset.v1p1beta1.json) | +| create feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.create_feed.js) | +| delete feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.delete_feed.js) | +| get feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.get_feed.js) | +| list feeds | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.list_feeds.js) | +| update feed | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.update_feed.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p2beta1/snippet_metadata_google.cloud.asset.v1p2beta1.json) | +| list assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p5beta1/asset_service.list_assets.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p5beta1/snippet_metadata_google.cloud.asset.v1p5beta1.json) | +| export assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p7beta1/asset_service.export_assets.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples/generated/v1p7beta1/snippet_metadata_google.cloud.asset.v1p7beta1.json) | + ## Supported Node.js Versions @@ -169,45 +122,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - -This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways -unless absolutely necessary (e.g. because of critical security issues) or with -an extensive deprecation period. Issues and requests against **stable** libraries -are addressed with the highest priority. - - - - - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/LICENSE) -[client-docs]: https://cloud.google.com/nodejs/docs/reference/asset/latest -[product-docs]: https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=cloudasset.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-asset diff --git a/packages/google-cloud-asset/protos/protos.d.ts b/packages/google-cloud-asset/protos/protos.d.ts index 71c89c523e7..91fff4d8a7c 100644 --- a/packages/google-cloud-asset/protos/protos.d.ts +++ b/packages/google-cloud-asset/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15982,2353 +15982,6 @@ export namespace google { } } - /** Namespace v1p4beta1. */ - namespace v1p4beta1 { - - /** Represents an AssetService */ - class AssetService extends $protobuf.rpc.Service { - - /** - * Constructs a new AssetService service. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - */ - constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); - - /** - * Creates new AssetService service using the specified rpc implementation. - * @param rpcImpl RPC implementation - * @param [requestDelimited=false] Whether requests are length-delimited - * @param [responseDelimited=false] Whether responses are length-delimited - * @returns RPC service. Useful where requests and/or responses are streamed. - */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AssetService; - - /** - * Calls AnalyzeIamPolicy. - * @param request AnalyzeIamPolicyRequest message or plain object - * @param callback Node-style callback called with the error, if any, and AnalyzeIamPolicyResponse - */ - public analyzeIamPolicy(request: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest, callback: google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicyCallback): void; - - /** - * Calls AnalyzeIamPolicy. - * @param request AnalyzeIamPolicyRequest message or plain object - * @returns Promise - */ - public analyzeIamPolicy(request: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest): Promise; - - /** - * Calls ExportIamPolicyAnalysis. - * @param request ExportIamPolicyAnalysisRequest message or plain object - * @param callback Node-style callback called with the error, if any, and Operation - */ - public exportIamPolicyAnalysis(request: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest, callback: google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysisCallback): void; - - /** - * Calls ExportIamPolicyAnalysis. - * @param request ExportIamPolicyAnalysisRequest message or plain object - * @returns Promise - */ - public exportIamPolicyAnalysis(request: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest): Promise; - } - - namespace AssetService { - - /** - * Callback as used by {@link google.cloud.asset.v1p4beta1.AssetService|analyzeIamPolicy}. - * @param error Error, if any - * @param [response] AnalyzeIamPolicyResponse - */ - type AnalyzeIamPolicyCallback = (error: (Error|null), response?: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) => void; - - /** - * Callback as used by {@link google.cloud.asset.v1p4beta1.AssetService|exportIamPolicyAnalysis}. - * @param error Error, if any - * @param [response] Operation - */ - type ExportIamPolicyAnalysisCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; - } - - /** Properties of an IamPolicyAnalysisQuery. */ - interface IIamPolicyAnalysisQuery { - - /** IamPolicyAnalysisQuery parent */ - parent?: (string|null); - - /** IamPolicyAnalysisQuery resourceSelector */ - resourceSelector?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector|null); - - /** IamPolicyAnalysisQuery identitySelector */ - identitySelector?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector|null); - - /** IamPolicyAnalysisQuery accessSelector */ - accessSelector?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector|null); - } - - /** Represents an IamPolicyAnalysisQuery. */ - class IamPolicyAnalysisQuery implements IIamPolicyAnalysisQuery { - - /** - * Constructs a new IamPolicyAnalysisQuery. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery); - - /** IamPolicyAnalysisQuery parent. */ - public parent: string; - - /** IamPolicyAnalysisQuery resourceSelector. */ - public resourceSelector?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector|null); - - /** IamPolicyAnalysisQuery identitySelector. */ - public identitySelector?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector|null); - - /** IamPolicyAnalysisQuery accessSelector. */ - public accessSelector?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector|null); - - /** - * Creates a new IamPolicyAnalysisQuery instance using the specified properties. - * @param [properties] Properties to set - * @returns IamPolicyAnalysisQuery instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery; - - /** - * Encodes the specified IamPolicyAnalysisQuery message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.verify|verify} messages. - * @param message IamPolicyAnalysisQuery message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified IamPolicyAnalysisQuery message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.verify|verify} messages. - * @param message IamPolicyAnalysisQuery message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an IamPolicyAnalysisQuery message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns IamPolicyAnalysisQuery - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery; - - /** - * Decodes an IamPolicyAnalysisQuery message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns IamPolicyAnalysisQuery - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery; - - /** - * Verifies an IamPolicyAnalysisQuery message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an IamPolicyAnalysisQuery message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns IamPolicyAnalysisQuery - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery; - - /** - * Creates a plain object from an IamPolicyAnalysisQuery message. Also converts values to other types if specified. - * @param message IamPolicyAnalysisQuery - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this IamPolicyAnalysisQuery to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for IamPolicyAnalysisQuery - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace IamPolicyAnalysisQuery { - - /** Properties of a ResourceSelector. */ - interface IResourceSelector { - - /** ResourceSelector fullResourceName */ - fullResourceName?: (string|null); - } - - /** Represents a ResourceSelector. */ - class ResourceSelector implements IResourceSelector { - - /** - * Constructs a new ResourceSelector. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector); - - /** ResourceSelector fullResourceName. */ - public fullResourceName: string; - - /** - * Creates a new ResourceSelector instance using the specified properties. - * @param [properties] Properties to set - * @returns ResourceSelector instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector; - - /** - * Encodes the specified ResourceSelector message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.verify|verify} messages. - * @param message ResourceSelector message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ResourceSelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.verify|verify} messages. - * @param message ResourceSelector message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a ResourceSelector message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ResourceSelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector; - - /** - * Decodes a ResourceSelector message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ResourceSelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector; - - /** - * Verifies a ResourceSelector message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a ResourceSelector message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ResourceSelector - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector; - - /** - * Creates a plain object from a ResourceSelector message. Also converts values to other types if specified. - * @param message ResourceSelector - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ResourceSelector to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ResourceSelector - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an IdentitySelector. */ - interface IIdentitySelector { - - /** IdentitySelector identity */ - identity?: (string|null); - } - - /** Represents an IdentitySelector. */ - class IdentitySelector implements IIdentitySelector { - - /** - * Constructs a new IdentitySelector. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector); - - /** IdentitySelector identity. */ - public identity: string; - - /** - * Creates a new IdentitySelector instance using the specified properties. - * @param [properties] Properties to set - * @returns IdentitySelector instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector; - - /** - * Encodes the specified IdentitySelector message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.verify|verify} messages. - * @param message IdentitySelector message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified IdentitySelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.verify|verify} messages. - * @param message IdentitySelector message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an IdentitySelector message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns IdentitySelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector; - - /** - * Decodes an IdentitySelector message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns IdentitySelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector; - - /** - * Verifies an IdentitySelector message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an IdentitySelector message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns IdentitySelector - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector; - - /** - * Creates a plain object from an IdentitySelector message. Also converts values to other types if specified. - * @param message IdentitySelector - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this IdentitySelector to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for IdentitySelector - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an AccessSelector. */ - interface IAccessSelector { - - /** AccessSelector roles */ - roles?: (string[]|null); - - /** AccessSelector permissions */ - permissions?: (string[]|null); - } - - /** Represents an AccessSelector. */ - class AccessSelector implements IAccessSelector { - - /** - * Constructs a new AccessSelector. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector); - - /** AccessSelector roles. */ - public roles: string[]; - - /** AccessSelector permissions. */ - public permissions: string[]; - - /** - * Creates a new AccessSelector instance using the specified properties. - * @param [properties] Properties to set - * @returns AccessSelector instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector; - - /** - * Encodes the specified AccessSelector message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.verify|verify} messages. - * @param message AccessSelector message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AccessSelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.verify|verify} messages. - * @param message AccessSelector message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AccessSelector message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AccessSelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector; - - /** - * Decodes an AccessSelector message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AccessSelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector; - - /** - * Verifies an AccessSelector message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AccessSelector message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AccessSelector - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector; - - /** - * Creates a plain object from an AccessSelector message. Also converts values to other types if specified. - * @param message AccessSelector - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AccessSelector to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AccessSelector - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of an AnalyzeIamPolicyRequest. */ - interface IAnalyzeIamPolicyRequest { - - /** AnalyzeIamPolicyRequest analysisQuery */ - analysisQuery?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null); - - /** AnalyzeIamPolicyRequest options */ - options?: (google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions|null); - } - - /** Represents an AnalyzeIamPolicyRequest. */ - class AnalyzeIamPolicyRequest implements IAnalyzeIamPolicyRequest { - - /** - * Constructs a new AnalyzeIamPolicyRequest. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest); - - /** AnalyzeIamPolicyRequest analysisQuery. */ - public analysisQuery?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null); - - /** AnalyzeIamPolicyRequest options. */ - public options?: (google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions|null); - - /** - * Creates a new AnalyzeIamPolicyRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns AnalyzeIamPolicyRequest instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest; - - /** - * Encodes the specified AnalyzeIamPolicyRequest message. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.verify|verify} messages. - * @param message AnalyzeIamPolicyRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AnalyzeIamPolicyRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.verify|verify} messages. - * @param message AnalyzeIamPolicyRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AnalyzeIamPolicyRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AnalyzeIamPolicyRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest; - - /** - * Decodes an AnalyzeIamPolicyRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AnalyzeIamPolicyRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest; - - /** - * Verifies an AnalyzeIamPolicyRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AnalyzeIamPolicyRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AnalyzeIamPolicyRequest - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest; - - /** - * Creates a plain object from an AnalyzeIamPolicyRequest message. Also converts values to other types if specified. - * @param message AnalyzeIamPolicyRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AnalyzeIamPolicyRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AnalyzeIamPolicyRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace AnalyzeIamPolicyRequest { - - /** Properties of an Options. */ - interface IOptions { - - /** Options expandGroups */ - expandGroups?: (boolean|null); - - /** Options expandRoles */ - expandRoles?: (boolean|null); - - /** Options expandResources */ - expandResources?: (boolean|null); - - /** Options outputResourceEdges */ - outputResourceEdges?: (boolean|null); - - /** Options outputGroupEdges */ - outputGroupEdges?: (boolean|null); - - /** Options analyzeServiceAccountImpersonation */ - analyzeServiceAccountImpersonation?: (boolean|null); - - /** Options executionTimeout */ - executionTimeout?: (google.protobuf.IDuration|null); - } - - /** Represents an Options. */ - class Options implements IOptions { - - /** - * Constructs a new Options. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions); - - /** Options expandGroups. */ - public expandGroups: boolean; - - /** Options expandRoles. */ - public expandRoles: boolean; - - /** Options expandResources. */ - public expandResources: boolean; - - /** Options outputResourceEdges. */ - public outputResourceEdges: boolean; - - /** Options outputGroupEdges. */ - public outputGroupEdges: boolean; - - /** Options analyzeServiceAccountImpersonation. */ - public analyzeServiceAccountImpersonation: boolean; - - /** Options executionTimeout. */ - public executionTimeout?: (google.protobuf.IDuration|null); - - /** - * Creates a new Options instance using the specified properties. - * @param [properties] Properties to set - * @returns Options instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options; - - /** - * Encodes the specified Options message. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.verify|verify} messages. - * @param message Options message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Options message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.verify|verify} messages. - * @param message Options message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Options message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Options - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options; - - /** - * Decodes an Options message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Options - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options; - - /** - * Verifies an Options message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an Options message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Options - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options; - - /** - * Creates a plain object from an Options message. Also converts values to other types if specified. - * @param message Options - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Options to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Options - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of an AnalyzeIamPolicyResponse. */ - interface IAnalyzeIamPolicyResponse { - - /** AnalyzeIamPolicyResponse mainAnalysis */ - mainAnalysis?: (google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis|null); - - /** AnalyzeIamPolicyResponse serviceAccountImpersonationAnalysis */ - serviceAccountImpersonationAnalysis?: (google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis[]|null); - - /** AnalyzeIamPolicyResponse fullyExplored */ - fullyExplored?: (boolean|null); - - /** AnalyzeIamPolicyResponse nonCriticalErrors */ - nonCriticalErrors?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState[]|null); - } - - /** Represents an AnalyzeIamPolicyResponse. */ - class AnalyzeIamPolicyResponse implements IAnalyzeIamPolicyResponse { - - /** - * Constructs a new AnalyzeIamPolicyResponse. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyResponse); - - /** AnalyzeIamPolicyResponse mainAnalysis. */ - public mainAnalysis?: (google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis|null); - - /** AnalyzeIamPolicyResponse serviceAccountImpersonationAnalysis. */ - public serviceAccountImpersonationAnalysis: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis[]; - - /** AnalyzeIamPolicyResponse fullyExplored. */ - public fullyExplored: boolean; - - /** AnalyzeIamPolicyResponse nonCriticalErrors. */ - public nonCriticalErrors: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState[]; - - /** - * Creates a new AnalyzeIamPolicyResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns AnalyzeIamPolicyResponse instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyResponse): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse; - - /** - * Encodes the specified AnalyzeIamPolicyResponse message. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.verify|verify} messages. - * @param message AnalyzeIamPolicyResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AnalyzeIamPolicyResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.verify|verify} messages. - * @param message AnalyzeIamPolicyResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AnalyzeIamPolicyResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AnalyzeIamPolicyResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse; - - /** - * Decodes an AnalyzeIamPolicyResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AnalyzeIamPolicyResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse; - - /** - * Verifies an AnalyzeIamPolicyResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AnalyzeIamPolicyResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AnalyzeIamPolicyResponse - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse; - - /** - * Creates a plain object from an AnalyzeIamPolicyResponse message. Also converts values to other types if specified. - * @param message AnalyzeIamPolicyResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AnalyzeIamPolicyResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AnalyzeIamPolicyResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace AnalyzeIamPolicyResponse { - - /** Properties of an IamPolicyAnalysis. */ - interface IIamPolicyAnalysis { - - /** IamPolicyAnalysis analysisQuery */ - analysisQuery?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null); - - /** IamPolicyAnalysis analysisResults */ - analysisResults?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult[]|null); - - /** IamPolicyAnalysis fullyExplored */ - fullyExplored?: (boolean|null); - } - - /** Represents an IamPolicyAnalysis. */ - class IamPolicyAnalysis implements IIamPolicyAnalysis { - - /** - * Constructs a new IamPolicyAnalysis. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis); - - /** IamPolicyAnalysis analysisQuery. */ - public analysisQuery?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null); - - /** IamPolicyAnalysis analysisResults. */ - public analysisResults: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult[]; - - /** IamPolicyAnalysis fullyExplored. */ - public fullyExplored: boolean; - - /** - * Creates a new IamPolicyAnalysis instance using the specified properties. - * @param [properties] Properties to set - * @returns IamPolicyAnalysis instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis; - - /** - * Encodes the specified IamPolicyAnalysis message. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.verify|verify} messages. - * @param message IamPolicyAnalysis message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified IamPolicyAnalysis message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.verify|verify} messages. - * @param message IamPolicyAnalysis message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an IamPolicyAnalysis message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns IamPolicyAnalysis - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis; - - /** - * Decodes an IamPolicyAnalysis message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns IamPolicyAnalysis - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis; - - /** - * Verifies an IamPolicyAnalysis message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an IamPolicyAnalysis message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns IamPolicyAnalysis - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis; - - /** - * Creates a plain object from an IamPolicyAnalysis message. Also converts values to other types if specified. - * @param message IamPolicyAnalysis - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this IamPolicyAnalysis to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for IamPolicyAnalysis - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of an IamPolicyAnalysisOutputConfig. */ - interface IIamPolicyAnalysisOutputConfig { - - /** IamPolicyAnalysisOutputConfig gcsDestination */ - gcsDestination?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination|null); - } - - /** Represents an IamPolicyAnalysisOutputConfig. */ - class IamPolicyAnalysisOutputConfig implements IIamPolicyAnalysisOutputConfig { - - /** - * Constructs a new IamPolicyAnalysisOutputConfig. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig); - - /** IamPolicyAnalysisOutputConfig gcsDestination. */ - public gcsDestination?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination|null); - - /** IamPolicyAnalysisOutputConfig destination. */ - public destination?: "gcsDestination"; - - /** - * Creates a new IamPolicyAnalysisOutputConfig instance using the specified properties. - * @param [properties] Properties to set - * @returns IamPolicyAnalysisOutputConfig instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig): google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig; - - /** - * Encodes the specified IamPolicyAnalysisOutputConfig message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.verify|verify} messages. - * @param message IamPolicyAnalysisOutputConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified IamPolicyAnalysisOutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.verify|verify} messages. - * @param message IamPolicyAnalysisOutputConfig message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an IamPolicyAnalysisOutputConfig message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns IamPolicyAnalysisOutputConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig; - - /** - * Decodes an IamPolicyAnalysisOutputConfig message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns IamPolicyAnalysisOutputConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig; - - /** - * Verifies an IamPolicyAnalysisOutputConfig message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an IamPolicyAnalysisOutputConfig message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns IamPolicyAnalysisOutputConfig - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig; - - /** - * Creates a plain object from an IamPolicyAnalysisOutputConfig message. Also converts values to other types if specified. - * @param message IamPolicyAnalysisOutputConfig - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this IamPolicyAnalysisOutputConfig to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for IamPolicyAnalysisOutputConfig - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace IamPolicyAnalysisOutputConfig { - - /** Properties of a GcsDestination. */ - interface IGcsDestination { - - /** GcsDestination uri */ - uri?: (string|null); - } - - /** Represents a GcsDestination. */ - class GcsDestination implements IGcsDestination { - - /** - * Constructs a new GcsDestination. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination); - - /** GcsDestination uri. */ - public uri: string; - - /** - * Creates a new GcsDestination instance using the specified properties. - * @param [properties] Properties to set - * @returns GcsDestination instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination): google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination; - - /** - * Encodes the specified GcsDestination message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.verify|verify} messages. - * @param message GcsDestination message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified GcsDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.verify|verify} messages. - * @param message GcsDestination message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a GcsDestination message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns GcsDestination - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination; - - /** - * Decodes a GcsDestination message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns GcsDestination - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination; - - /** - * Verifies a GcsDestination message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a GcsDestination message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns GcsDestination - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination; - - /** - * Creates a plain object from a GcsDestination message. Also converts values to other types if specified. - * @param message GcsDestination - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this GcsDestination to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for GcsDestination - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of an ExportIamPolicyAnalysisRequest. */ - interface IExportIamPolicyAnalysisRequest { - - /** ExportIamPolicyAnalysisRequest analysisQuery */ - analysisQuery?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null); - - /** ExportIamPolicyAnalysisRequest options */ - options?: (google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions|null); - - /** ExportIamPolicyAnalysisRequest outputConfig */ - outputConfig?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig|null); - } - - /** Represents an ExportIamPolicyAnalysisRequest. */ - class ExportIamPolicyAnalysisRequest implements IExportIamPolicyAnalysisRequest { - - /** - * Constructs a new ExportIamPolicyAnalysisRequest. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest); - - /** ExportIamPolicyAnalysisRequest analysisQuery. */ - public analysisQuery?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null); - - /** ExportIamPolicyAnalysisRequest options. */ - public options?: (google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions|null); - - /** ExportIamPolicyAnalysisRequest outputConfig. */ - public outputConfig?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig|null); - - /** - * Creates a new ExportIamPolicyAnalysisRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns ExportIamPolicyAnalysisRequest instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest; - - /** - * Encodes the specified ExportIamPolicyAnalysisRequest message. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.verify|verify} messages. - * @param message ExportIamPolicyAnalysisRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExportIamPolicyAnalysisRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.verify|verify} messages. - * @param message ExportIamPolicyAnalysisRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExportIamPolicyAnalysisRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExportIamPolicyAnalysisRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest; - - /** - * Decodes an ExportIamPolicyAnalysisRequest message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExportIamPolicyAnalysisRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest; - - /** - * Verifies an ExportIamPolicyAnalysisRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExportIamPolicyAnalysisRequest message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExportIamPolicyAnalysisRequest - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest; - - /** - * Creates a plain object from an ExportIamPolicyAnalysisRequest message. Also converts values to other types if specified. - * @param message ExportIamPolicyAnalysisRequest - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExportIamPolicyAnalysisRequest to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExportIamPolicyAnalysisRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace ExportIamPolicyAnalysisRequest { - - /** Properties of an Options. */ - interface IOptions { - - /** Options expandGroups */ - expandGroups?: (boolean|null); - - /** Options expandRoles */ - expandRoles?: (boolean|null); - - /** Options expandResources */ - expandResources?: (boolean|null); - - /** Options outputResourceEdges */ - outputResourceEdges?: (boolean|null); - - /** Options outputGroupEdges */ - outputGroupEdges?: (boolean|null); - - /** Options analyzeServiceAccountImpersonation */ - analyzeServiceAccountImpersonation?: (boolean|null); - } - - /** Represents an Options. */ - class Options implements IOptions { - - /** - * Constructs a new Options. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions); - - /** Options expandGroups. */ - public expandGroups: boolean; - - /** Options expandRoles. */ - public expandRoles: boolean; - - /** Options expandResources. */ - public expandResources: boolean; - - /** Options outputResourceEdges. */ - public outputResourceEdges: boolean; - - /** Options outputGroupEdges. */ - public outputGroupEdges: boolean; - - /** Options analyzeServiceAccountImpersonation. */ - public analyzeServiceAccountImpersonation: boolean; - - /** - * Creates a new Options instance using the specified properties. - * @param [properties] Properties to set - * @returns Options instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options; - - /** - * Encodes the specified Options message. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.verify|verify} messages. - * @param message Options message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Options message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.verify|verify} messages. - * @param message Options message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Options message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Options - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options; - - /** - * Decodes an Options message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Options - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options; - - /** - * Verifies an Options message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an Options message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Options - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options; - - /** - * Creates a plain object from an Options message. Also converts values to other types if specified. - * @param message Options - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Options to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Options - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - - /** Properties of an ExportIamPolicyAnalysisResponse. */ - interface IExportIamPolicyAnalysisResponse { - - /** ExportIamPolicyAnalysisResponse outputConfig */ - outputConfig?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig|null); - } - - /** Represents an ExportIamPolicyAnalysisResponse. */ - class ExportIamPolicyAnalysisResponse implements IExportIamPolicyAnalysisResponse { - - /** - * Constructs a new ExportIamPolicyAnalysisResponse. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisResponse); - - /** ExportIamPolicyAnalysisResponse outputConfig. */ - public outputConfig?: (google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig|null); - - /** - * Creates a new ExportIamPolicyAnalysisResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ExportIamPolicyAnalysisResponse instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisResponse): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse; - - /** - * Encodes the specified ExportIamPolicyAnalysisResponse message. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.verify|verify} messages. - * @param message ExportIamPolicyAnalysisResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExportIamPolicyAnalysisResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.verify|verify} messages. - * @param message ExportIamPolicyAnalysisResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisResponse, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExportIamPolicyAnalysisResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExportIamPolicyAnalysisResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse; - - /** - * Decodes an ExportIamPolicyAnalysisResponse message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExportIamPolicyAnalysisResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse; - - /** - * Verifies an ExportIamPolicyAnalysisResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExportIamPolicyAnalysisResponse message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExportIamPolicyAnalysisResponse - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse; - - /** - * Creates a plain object from an ExportIamPolicyAnalysisResponse message. Also converts values to other types if specified. - * @param message ExportIamPolicyAnalysisResponse - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExportIamPolicyAnalysisResponse to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExportIamPolicyAnalysisResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an IamPolicyAnalysisResult. */ - interface IIamPolicyAnalysisResult { - - /** IamPolicyAnalysisResult attachedResourceFullName */ - attachedResourceFullName?: (string|null); - - /** IamPolicyAnalysisResult iamBinding */ - iamBinding?: (google.iam.v1.IBinding|null); - - /** IamPolicyAnalysisResult accessControlLists */ - accessControlLists?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList[]|null); - - /** IamPolicyAnalysisResult identityList */ - identityList?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList|null); - - /** IamPolicyAnalysisResult fullyExplored */ - fullyExplored?: (boolean|null); - } - - /** Represents an IamPolicyAnalysisResult. */ - class IamPolicyAnalysisResult implements IIamPolicyAnalysisResult { - - /** - * Constructs a new IamPolicyAnalysisResult. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult); - - /** IamPolicyAnalysisResult attachedResourceFullName. */ - public attachedResourceFullName: string; - - /** IamPolicyAnalysisResult iamBinding. */ - public iamBinding?: (google.iam.v1.IBinding|null); - - /** IamPolicyAnalysisResult accessControlLists. */ - public accessControlLists: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList[]; - - /** IamPolicyAnalysisResult identityList. */ - public identityList?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList|null); - - /** IamPolicyAnalysisResult fullyExplored. */ - public fullyExplored: boolean; - - /** - * Creates a new IamPolicyAnalysisResult instance using the specified properties. - * @param [properties] Properties to set - * @returns IamPolicyAnalysisResult instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult; - - /** - * Encodes the specified IamPolicyAnalysisResult message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.verify|verify} messages. - * @param message IamPolicyAnalysisResult message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified IamPolicyAnalysisResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.verify|verify} messages. - * @param message IamPolicyAnalysisResult message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an IamPolicyAnalysisResult message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns IamPolicyAnalysisResult - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult; - - /** - * Decodes an IamPolicyAnalysisResult message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns IamPolicyAnalysisResult - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult; - - /** - * Verifies an IamPolicyAnalysisResult message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an IamPolicyAnalysisResult message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns IamPolicyAnalysisResult - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult; - - /** - * Creates a plain object from an IamPolicyAnalysisResult message. Also converts values to other types if specified. - * @param message IamPolicyAnalysisResult - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this IamPolicyAnalysisResult to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for IamPolicyAnalysisResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace IamPolicyAnalysisResult { - - /** Properties of an AnalysisState. */ - interface IAnalysisState { - - /** AnalysisState code */ - code?: (google.rpc.Code|keyof typeof google.rpc.Code|null); - - /** AnalysisState cause */ - cause?: (string|null); - } - - /** Represents an AnalysisState. */ - class AnalysisState implements IAnalysisState { - - /** - * Constructs a new AnalysisState. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState); - - /** AnalysisState code. */ - public code: (google.rpc.Code|keyof typeof google.rpc.Code); - - /** AnalysisState cause. */ - public cause: string; - - /** - * Creates a new AnalysisState instance using the specified properties. - * @param [properties] Properties to set - * @returns AnalysisState instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState; - - /** - * Encodes the specified AnalysisState message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.verify|verify} messages. - * @param message AnalysisState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AnalysisState message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.verify|verify} messages. - * @param message AnalysisState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AnalysisState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AnalysisState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState; - - /** - * Decodes an AnalysisState message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AnalysisState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState; - - /** - * Verifies an AnalysisState message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AnalysisState message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AnalysisState - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState; - - /** - * Creates a plain object from an AnalysisState message. Also converts values to other types if specified. - * @param message AnalysisState - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AnalysisState to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AnalysisState - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of a Resource. */ - interface IResource { - - /** Resource fullResourceName */ - fullResourceName?: (string|null); - - /** Resource analysisState */ - analysisState?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null); - } - - /** Represents a Resource. */ - class Resource implements IResource { - - /** - * Constructs a new Resource. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource); - - /** Resource fullResourceName. */ - public fullResourceName: string; - - /** Resource analysisState. */ - public analysisState?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null); - - /** - * Creates a new Resource instance using the specified properties. - * @param [properties] Properties to set - * @returns Resource instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource; - - /** - * Encodes the specified Resource message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.verify|verify} messages. - * @param message Resource message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Resource message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.verify|verify} messages. - * @param message Resource message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a Resource message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Resource - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource; - - /** - * Decodes a Resource message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Resource - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource; - - /** - * Verifies a Resource message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a Resource message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Resource - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource; - - /** - * Creates a plain object from a Resource message. Also converts values to other types if specified. - * @param message Resource - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Resource to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Resource - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an Access. */ - interface IAccess { - - /** Access role */ - role?: (string|null); - - /** Access permission */ - permission?: (string|null); - - /** Access analysisState */ - analysisState?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null); - } - - /** Represents an Access. */ - class Access implements IAccess { - - /** - * Constructs a new Access. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess); - - /** Access role. */ - public role?: (string|null); - - /** Access permission. */ - public permission?: (string|null); - - /** Access analysisState. */ - public analysisState?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null); - - /** Access oneofAccess. */ - public oneofAccess?: ("role"|"permission"); - - /** - * Creates a new Access instance using the specified properties. - * @param [properties] Properties to set - * @returns Access instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access; - - /** - * Encodes the specified Access message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.verify|verify} messages. - * @param message Access message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Access message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.verify|verify} messages. - * @param message Access message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Access message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Access - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access; - - /** - * Decodes an Access message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Access - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access; - - /** - * Verifies an Access message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an Access message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Access - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access; - - /** - * Creates a plain object from an Access message. Also converts values to other types if specified. - * @param message Access - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Access to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Access - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an Edge. */ - interface IEdge { - - /** Edge sourceNode */ - sourceNode?: (string|null); - - /** Edge targetNode */ - targetNode?: (string|null); - } - - /** Represents an Edge. */ - class Edge implements IEdge { - - /** - * Constructs a new Edge. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge); - - /** Edge sourceNode. */ - public sourceNode: string; - - /** Edge targetNode. */ - public targetNode: string; - - /** - * Creates a new Edge instance using the specified properties. - * @param [properties] Properties to set - * @returns Edge instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge; - - /** - * Encodes the specified Edge message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.verify|verify} messages. - * @param message Edge message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Edge message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.verify|verify} messages. - * @param message Edge message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Edge message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Edge - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge; - - /** - * Decodes an Edge message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Edge - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge; - - /** - * Verifies an Edge message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an Edge message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Edge - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge; - - /** - * Creates a plain object from an Edge message. Also converts values to other types if specified. - * @param message Edge - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Edge to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Edge - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an Identity. */ - interface IIdentity { - - /** Identity name */ - name?: (string|null); - - /** Identity analysisState */ - analysisState?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null); - } - - /** Represents an Identity. */ - class Identity implements IIdentity { - - /** - * Constructs a new Identity. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity); - - /** Identity name. */ - public name: string; - - /** Identity analysisState. */ - public analysisState?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null); - - /** - * Creates a new Identity instance using the specified properties. - * @param [properties] Properties to set - * @returns Identity instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity; - - /** - * Encodes the specified Identity message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.verify|verify} messages. - * @param message Identity message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified Identity message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.verify|verify} messages. - * @param message Identity message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an Identity message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns Identity - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity; - - /** - * Decodes an Identity message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns Identity - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity; - - /** - * Verifies an Identity message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an Identity message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns Identity - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity; - - /** - * Creates a plain object from an Identity message. Also converts values to other types if specified. - * @param message Identity - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this Identity to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for Identity - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an AccessControlList. */ - interface IAccessControlList { - - /** AccessControlList resources */ - resources?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource[]|null); - - /** AccessControlList accesses */ - accesses?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess[]|null); - - /** AccessControlList resourceEdges */ - resourceEdges?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge[]|null); - } - - /** Represents an AccessControlList. */ - class AccessControlList implements IAccessControlList { - - /** - * Constructs a new AccessControlList. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList); - - /** AccessControlList resources. */ - public resources: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource[]; - - /** AccessControlList accesses. */ - public accesses: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess[]; - - /** AccessControlList resourceEdges. */ - public resourceEdges: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge[]; - - /** - * Creates a new AccessControlList instance using the specified properties. - * @param [properties] Properties to set - * @returns AccessControlList instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList; - - /** - * Encodes the specified AccessControlList message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.verify|verify} messages. - * @param message AccessControlList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified AccessControlList message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.verify|verify} messages. - * @param message AccessControlList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an AccessControlList message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns AccessControlList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList; - - /** - * Decodes an AccessControlList message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns AccessControlList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList; - - /** - * Verifies an AccessControlList message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an AccessControlList message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns AccessControlList - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList; - - /** - * Creates a plain object from an AccessControlList message. Also converts values to other types if specified. - * @param message AccessControlList - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this AccessControlList to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for AccessControlList - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - /** Properties of an IdentityList. */ - interface IIdentityList { - - /** IdentityList identities */ - identities?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity[]|null); - - /** IdentityList groupEdges */ - groupEdges?: (google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge[]|null); - } - - /** Represents an IdentityList. */ - class IdentityList implements IIdentityList { - - /** - * Constructs a new IdentityList. - * @param [properties] Properties to set - */ - constructor(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList); - - /** IdentityList identities. */ - public identities: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity[]; - - /** IdentityList groupEdges. */ - public groupEdges: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge[]; - - /** - * Creates a new IdentityList instance using the specified properties. - * @param [properties] Properties to set - * @returns IdentityList instance - */ - public static create(properties?: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList; - - /** - * Encodes the specified IdentityList message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.verify|verify} messages. - * @param message IdentityList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified IdentityList message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.verify|verify} messages. - * @param message IdentityList message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an IdentityList message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns IdentityList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList; - - /** - * Decodes an IdentityList message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns IdentityList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList; - - /** - * Verifies an IdentityList message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an IdentityList message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns IdentityList - */ - public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList; - - /** - * Creates a plain object from an IdentityList message. Also converts values to other types if specified. - * @param message IdentityList - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this IdentityList to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for IdentityList - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - } - /** Namespace v1p5beta1. */ namespace v1p5beta1 { @@ -22899,9 +20552,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -22919,9 +20569,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -23622,9 +21269,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -23639,9 +21283,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -23696,140 +21337,28 @@ export namespace google { * @param object Plain object * @returns PythonSettings */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings; - - /** - * Creates a plain object from a PythonSettings message. Also converts values to other types if specified. - * @param message PythonSettings - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this PythonSettings to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for PythonSettings - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; + public static fromObject(object: { [k: string]: any }): google.api.PythonSettings; - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; + /** + * Creates a plain object from a PythonSettings message. Also converts values to other types if specified. + * @param message PythonSettings + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; + /** + * Converts this PythonSettings to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } + /** + * Gets the default type url for PythonSettings + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NodeSettings. */ @@ -24158,9 +21687,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -24175,9 +21701,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -24502,109 +22025,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -24986,7 +22406,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -25017,9 +22436,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -25069,9 +22485,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -25206,9 +22619,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -25250,9 +22660,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -26100,9 +23507,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -26129,9 +23533,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -27066,9 +24467,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -27124,9 +24522,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -27347,121 +24742,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -27700,9 +24980,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -27725,9 +25002,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -28320,12 +25594,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -28355,12 +25623,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -28483,116 +25745,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -28712,11 +25864,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -28731,11 +25880,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -29268,13 +26414,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-asset/protos/protos.js b/packages/google-cloud-asset/protos/protos.js index e13cb650c71..a58ee28f208 100644 --- a/packages/google-cloud-asset/protos/protos.js +++ b/packages/google-cloud-asset/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40084,5720 +40084,6 @@ return v1p2beta1; })(); - asset.v1p4beta1 = (function() { - - /** - * Namespace v1p4beta1. - * @memberof google.cloud.asset - * @namespace - */ - var v1p4beta1 = {}; - - v1p4beta1.AssetService = (function() { - - /** - * Constructs a new AssetService service. - * @memberof google.cloud.asset.v1p4beta1 - * @classdesc Represents an AssetService - * @extends $protobuf.rpc.Service - * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - */ - function AssetService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); - } - - (AssetService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = AssetService; - - /** - * Creates new AssetService service using the specified rpc implementation. - * @function create - * @memberof google.cloud.asset.v1p4beta1.AssetService - * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {AssetService} RPC service. Useful where requests and/or responses are streamed. - */ - AssetService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); - }; - - /** - * Callback as used by {@link google.cloud.asset.v1p4beta1.AssetService|analyzeIamPolicy}. - * @memberof google.cloud.asset.v1p4beta1.AssetService - * @typedef AnalyzeIamPolicyCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} [response] AnalyzeIamPolicyResponse - */ - - /** - * Calls AnalyzeIamPolicy. - * @function analyzeIamPolicy - * @memberof google.cloud.asset.v1p4beta1.AssetService - * @instance - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest} request AnalyzeIamPolicyRequest message or plain object - * @param {google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicyCallback} callback Node-style callback called with the error, if any, and AnalyzeIamPolicyResponse - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(AssetService.prototype.analyzeIamPolicy = function analyzeIamPolicy(request, callback) { - return this.rpcCall(analyzeIamPolicy, $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse, request, callback); - }, "name", { value: "AnalyzeIamPolicy" }); - - /** - * Calls AnalyzeIamPolicy. - * @function analyzeIamPolicy - * @memberof google.cloud.asset.v1p4beta1.AssetService - * @instance - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest} request AnalyzeIamPolicyRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ - - /** - * Callback as used by {@link google.cloud.asset.v1p4beta1.AssetService|exportIamPolicyAnalysis}. - * @memberof google.cloud.asset.v1p4beta1.AssetService - * @typedef ExportIamPolicyAnalysisCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.longrunning.Operation} [response] Operation - */ - - /** - * Calls ExportIamPolicyAnalysis. - * @function exportIamPolicyAnalysis - * @memberof google.cloud.asset.v1p4beta1.AssetService - * @instance - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest} request ExportIamPolicyAnalysisRequest message or plain object - * @param {google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysisCallback} callback Node-style callback called with the error, if any, and Operation - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(AssetService.prototype.exportIamPolicyAnalysis = function exportIamPolicyAnalysis(request, callback) { - return this.rpcCall(exportIamPolicyAnalysis, $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, $root.google.longrunning.Operation, request, callback); - }, "name", { value: "ExportIamPolicyAnalysis" }); - - /** - * Calls ExportIamPolicyAnalysis. - * @function exportIamPolicyAnalysis - * @memberof google.cloud.asset.v1p4beta1.AssetService - * @instance - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest} request ExportIamPolicyAnalysisRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ - - return AssetService; - })(); - - v1p4beta1.IamPolicyAnalysisQuery = (function() { - - /** - * Properties of an IamPolicyAnalysisQuery. - * @memberof google.cloud.asset.v1p4beta1 - * @interface IIamPolicyAnalysisQuery - * @property {string|null} [parent] IamPolicyAnalysisQuery parent - * @property {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector|null} [resourceSelector] IamPolicyAnalysisQuery resourceSelector - * @property {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector|null} [identitySelector] IamPolicyAnalysisQuery identitySelector - * @property {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector|null} [accessSelector] IamPolicyAnalysisQuery accessSelector - */ - - /** - * Constructs a new IamPolicyAnalysisQuery. - * @memberof google.cloud.asset.v1p4beta1 - * @classdesc Represents an IamPolicyAnalysisQuery. - * @implements IIamPolicyAnalysisQuery - * @constructor - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery=} [properties] Properties to set - */ - function IamPolicyAnalysisQuery(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * IamPolicyAnalysisQuery parent. - * @member {string} parent - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @instance - */ - IamPolicyAnalysisQuery.prototype.parent = ""; - - /** - * IamPolicyAnalysisQuery resourceSelector. - * @member {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector|null|undefined} resourceSelector - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @instance - */ - IamPolicyAnalysisQuery.prototype.resourceSelector = null; - - /** - * IamPolicyAnalysisQuery identitySelector. - * @member {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector|null|undefined} identitySelector - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @instance - */ - IamPolicyAnalysisQuery.prototype.identitySelector = null; - - /** - * IamPolicyAnalysisQuery accessSelector. - * @member {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector|null|undefined} accessSelector - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @instance - */ - IamPolicyAnalysisQuery.prototype.accessSelector = null; - - /** - * Creates a new IamPolicyAnalysisQuery instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} IamPolicyAnalysisQuery instance - */ - IamPolicyAnalysisQuery.create = function create(properties) { - return new IamPolicyAnalysisQuery(properties); - }; - - /** - * Encodes the specified IamPolicyAnalysisQuery message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery} message IamPolicyAnalysisQuery message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IamPolicyAnalysisQuery.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); - if (message.resourceSelector != null && Object.hasOwnProperty.call(message, "resourceSelector")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.encode(message.resourceSelector, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.identitySelector != null && Object.hasOwnProperty.call(message, "identitySelector")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.encode(message.identitySelector, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.accessSelector != null && Object.hasOwnProperty.call(message, "accessSelector")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.encode(message.accessSelector, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified IamPolicyAnalysisQuery message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery} message IamPolicyAnalysisQuery message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IamPolicyAnalysisQuery.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an IamPolicyAnalysisQuery message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} IamPolicyAnalysisQuery - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IamPolicyAnalysisQuery.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.parent = reader.string(); - break; - } - case 2: { - message.resourceSelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.decode(reader, reader.uint32()); - break; - } - case 3: { - message.identitySelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.decode(reader, reader.uint32()); - break; - } - case 4: { - message.accessSelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an IamPolicyAnalysisQuery message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} IamPolicyAnalysisQuery - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IamPolicyAnalysisQuery.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an IamPolicyAnalysisQuery message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IamPolicyAnalysisQuery.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.parent != null && message.hasOwnProperty("parent")) - if (!$util.isString(message.parent)) - return "parent: string expected"; - if (message.resourceSelector != null && message.hasOwnProperty("resourceSelector")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.verify(message.resourceSelector); - if (error) - return "resourceSelector." + error; - } - if (message.identitySelector != null && message.hasOwnProperty("identitySelector")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.verify(message.identitySelector); - if (error) - return "identitySelector." + error; - } - if (message.accessSelector != null && message.hasOwnProperty("accessSelector")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.verify(message.accessSelector); - if (error) - return "accessSelector." + error; - } - return null; - }; - - /** - * Creates an IamPolicyAnalysisQuery message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} IamPolicyAnalysisQuery - */ - IamPolicyAnalysisQuery.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery(); - if (object.parent != null) - message.parent = String(object.parent); - if (object.resourceSelector != null) { - if (typeof object.resourceSelector !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.resourceSelector: object expected"); - message.resourceSelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.fromObject(object.resourceSelector); - } - if (object.identitySelector != null) { - if (typeof object.identitySelector !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.identitySelector: object expected"); - message.identitySelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.fromObject(object.identitySelector); - } - if (object.accessSelector != null) { - if (typeof object.accessSelector !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.accessSelector: object expected"); - message.accessSelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.fromObject(object.accessSelector); - } - return message; - }; - - /** - * Creates a plain object from an IamPolicyAnalysisQuery message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} message IamPolicyAnalysisQuery - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - IamPolicyAnalysisQuery.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.parent = ""; - object.resourceSelector = null; - object.identitySelector = null; - object.accessSelector = null; - } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = message.parent; - if (message.resourceSelector != null && message.hasOwnProperty("resourceSelector")) - object.resourceSelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.toObject(message.resourceSelector, options); - if (message.identitySelector != null && message.hasOwnProperty("identitySelector")) - object.identitySelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.toObject(message.identitySelector, options); - if (message.accessSelector != null && message.hasOwnProperty("accessSelector")) - object.accessSelector = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.toObject(message.accessSelector, options); - return object; - }; - - /** - * Converts this IamPolicyAnalysisQuery to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @instance - * @returns {Object.} JSON object - */ - IamPolicyAnalysisQuery.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for IamPolicyAnalysisQuery - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - IamPolicyAnalysisQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery"; - }; - - IamPolicyAnalysisQuery.ResourceSelector = (function() { - - /** - * Properties of a ResourceSelector. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @interface IResourceSelector - * @property {string|null} [fullResourceName] ResourceSelector fullResourceName - */ - - /** - * Constructs a new ResourceSelector. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @classdesc Represents a ResourceSelector. - * @implements IResourceSelector - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector=} [properties] Properties to set - */ - function ResourceSelector(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ResourceSelector fullResourceName. - * @member {string} fullResourceName - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @instance - */ - ResourceSelector.prototype.fullResourceName = ""; - - /** - * Creates a new ResourceSelector instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector} ResourceSelector instance - */ - ResourceSelector.create = function create(properties) { - return new ResourceSelector(properties); - }; - - /** - * Encodes the specified ResourceSelector message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector} message ResourceSelector message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ResourceSelector.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.fullResourceName != null && Object.hasOwnProperty.call(message, "fullResourceName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.fullResourceName); - return writer; - }; - - /** - * Encodes the specified ResourceSelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IResourceSelector} message ResourceSelector message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ResourceSelector.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ResourceSelector message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector} ResourceSelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ResourceSelector.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.fullResourceName = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a ResourceSelector message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector} ResourceSelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ResourceSelector.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a ResourceSelector message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ResourceSelector.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.fullResourceName != null && message.hasOwnProperty("fullResourceName")) - if (!$util.isString(message.fullResourceName)) - return "fullResourceName: string expected"; - return null; - }; - - /** - * Creates a ResourceSelector message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector} ResourceSelector - */ - ResourceSelector.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(); - if (object.fullResourceName != null) - message.fullResourceName = String(object.fullResourceName); - return message; - }; - - /** - * Creates a plain object from a ResourceSelector message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector} message ResourceSelector - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ResourceSelector.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) - object.fullResourceName = ""; - if (message.fullResourceName != null && message.hasOwnProperty("fullResourceName")) - object.fullResourceName = message.fullResourceName; - return object; - }; - - /** - * Converts this ResourceSelector to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @instance - * @returns {Object.} JSON object - */ - ResourceSelector.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ResourceSelector - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ResourceSelector.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector"; - }; - - return ResourceSelector; - })(); - - IamPolicyAnalysisQuery.IdentitySelector = (function() { - - /** - * Properties of an IdentitySelector. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @interface IIdentitySelector - * @property {string|null} [identity] IdentitySelector identity - */ - - /** - * Constructs a new IdentitySelector. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @classdesc Represents an IdentitySelector. - * @implements IIdentitySelector - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector=} [properties] Properties to set - */ - function IdentitySelector(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * IdentitySelector identity. - * @member {string} identity - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @instance - */ - IdentitySelector.prototype.identity = ""; - - /** - * Creates a new IdentitySelector instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector} IdentitySelector instance - */ - IdentitySelector.create = function create(properties) { - return new IdentitySelector(properties); - }; - - /** - * Encodes the specified IdentitySelector message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector} message IdentitySelector message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IdentitySelector.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.identity != null && Object.hasOwnProperty.call(message, "identity")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.identity); - return writer; - }; - - /** - * Encodes the specified IdentitySelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IIdentitySelector} message IdentitySelector message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IdentitySelector.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an IdentitySelector message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector} IdentitySelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IdentitySelector.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.identity = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an IdentitySelector message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector} IdentitySelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IdentitySelector.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an IdentitySelector message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IdentitySelector.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.identity != null && message.hasOwnProperty("identity")) - if (!$util.isString(message.identity)) - return "identity: string expected"; - return null; - }; - - /** - * Creates an IdentitySelector message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector} IdentitySelector - */ - IdentitySelector.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(); - if (object.identity != null) - message.identity = String(object.identity); - return message; - }; - - /** - * Creates a plain object from an IdentitySelector message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector} message IdentitySelector - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - IdentitySelector.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) - object.identity = ""; - if (message.identity != null && message.hasOwnProperty("identity")) - object.identity = message.identity; - return object; - }; - - /** - * Converts this IdentitySelector to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @instance - * @returns {Object.} JSON object - */ - IdentitySelector.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for IdentitySelector - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - IdentitySelector.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector"; - }; - - return IdentitySelector; - })(); - - IamPolicyAnalysisQuery.AccessSelector = (function() { - - /** - * Properties of an AccessSelector. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @interface IAccessSelector - * @property {Array.|null} [roles] AccessSelector roles - * @property {Array.|null} [permissions] AccessSelector permissions - */ - - /** - * Constructs a new AccessSelector. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery - * @classdesc Represents an AccessSelector. - * @implements IAccessSelector - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector=} [properties] Properties to set - */ - function AccessSelector(properties) { - this.roles = []; - this.permissions = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * AccessSelector roles. - * @member {Array.} roles - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @instance - */ - AccessSelector.prototype.roles = $util.emptyArray; - - /** - * AccessSelector permissions. - * @member {Array.} permissions - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @instance - */ - AccessSelector.prototype.permissions = $util.emptyArray; - - /** - * Creates a new AccessSelector instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector} AccessSelector instance - */ - AccessSelector.create = function create(properties) { - return new AccessSelector(properties); - }; - - /** - * Encodes the specified AccessSelector message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector} message AccessSelector message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AccessSelector.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.roles != null && message.roles.length) - for (var i = 0; i < message.roles.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.roles[i]); - if (message.permissions != null && message.permissions.length) - for (var i = 0; i < message.permissions.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.permissions[i]); - return writer; - }; - - /** - * Encodes the specified AccessSelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IAccessSelector} message AccessSelector message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AccessSelector.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an AccessSelector message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector} AccessSelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AccessSelector.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.roles && message.roles.length)) - message.roles = []; - message.roles.push(reader.string()); - break; - } - case 2: { - if (!(message.permissions && message.permissions.length)) - message.permissions = []; - message.permissions.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an AccessSelector message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector} AccessSelector - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AccessSelector.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an AccessSelector message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - AccessSelector.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.roles != null && message.hasOwnProperty("roles")) { - if (!Array.isArray(message.roles)) - return "roles: array expected"; - for (var i = 0; i < message.roles.length; ++i) - if (!$util.isString(message.roles[i])) - return "roles: string[] expected"; - } - if (message.permissions != null && message.hasOwnProperty("permissions")) { - if (!Array.isArray(message.permissions)) - return "permissions: array expected"; - for (var i = 0; i < message.permissions.length; ++i) - if (!$util.isString(message.permissions[i])) - return "permissions: string[] expected"; - } - return null; - }; - - /** - * Creates an AccessSelector message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector} AccessSelector - */ - AccessSelector.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(); - if (object.roles) { - if (!Array.isArray(object.roles)) - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.roles: array expected"); - message.roles = []; - for (var i = 0; i < object.roles.length; ++i) - message.roles[i] = String(object.roles[i]); - } - if (object.permissions) { - if (!Array.isArray(object.permissions)) - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.permissions: array expected"); - message.permissions = []; - for (var i = 0; i < object.permissions.length; ++i) - message.permissions[i] = String(object.permissions[i]); - } - return message; - }; - - /** - * Creates a plain object from an AccessSelector message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector} message AccessSelector - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - AccessSelector.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object.roles = []; - object.permissions = []; - } - if (message.roles && message.roles.length) { - object.roles = []; - for (var j = 0; j < message.roles.length; ++j) - object.roles[j] = message.roles[j]; - } - if (message.permissions && message.permissions.length) { - object.permissions = []; - for (var j = 0; j < message.permissions.length; ++j) - object.permissions[j] = message.permissions[j]; - } - return object; - }; - - /** - * Converts this AccessSelector to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @instance - * @returns {Object.} JSON object - */ - AccessSelector.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for AccessSelector - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - AccessSelector.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector"; - }; - - return AccessSelector; - })(); - - return IamPolicyAnalysisQuery; - })(); - - v1p4beta1.AnalyzeIamPolicyRequest = (function() { - - /** - * Properties of an AnalyzeIamPolicyRequest. - * @memberof google.cloud.asset.v1p4beta1 - * @interface IAnalyzeIamPolicyRequest - * @property {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null} [analysisQuery] AnalyzeIamPolicyRequest analysisQuery - * @property {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions|null} [options] AnalyzeIamPolicyRequest options - */ - - /** - * Constructs a new AnalyzeIamPolicyRequest. - * @memberof google.cloud.asset.v1p4beta1 - * @classdesc Represents an AnalyzeIamPolicyRequest. - * @implements IAnalyzeIamPolicyRequest - * @constructor - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest=} [properties] Properties to set - */ - function AnalyzeIamPolicyRequest(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * AnalyzeIamPolicyRequest analysisQuery. - * @member {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null|undefined} analysisQuery - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @instance - */ - AnalyzeIamPolicyRequest.prototype.analysisQuery = null; - - /** - * AnalyzeIamPolicyRequest options. - * @member {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions|null|undefined} options - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @instance - */ - AnalyzeIamPolicyRequest.prototype.options = null; - - /** - * Creates a new AnalyzeIamPolicyRequest instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} AnalyzeIamPolicyRequest instance - */ - AnalyzeIamPolicyRequest.create = function create(properties) { - return new AnalyzeIamPolicyRequest(properties); - }; - - /** - * Encodes the specified AnalyzeIamPolicyRequest message. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest} message AnalyzeIamPolicyRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AnalyzeIamPolicyRequest.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.analysisQuery != null && Object.hasOwnProperty.call(message, "analysisQuery")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.encode(message.analysisQuery, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.encode(message.options, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified AnalyzeIamPolicyRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyRequest} message AnalyzeIamPolicyRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AnalyzeIamPolicyRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an AnalyzeIamPolicyRequest message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} AnalyzeIamPolicyRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AnalyzeIamPolicyRequest.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.decode(reader, reader.uint32()); - break; - } - case 2: { - message.options = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an AnalyzeIamPolicyRequest message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} AnalyzeIamPolicyRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AnalyzeIamPolicyRequest.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an AnalyzeIamPolicyRequest message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - AnalyzeIamPolicyRequest.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.analysisQuery != null && message.hasOwnProperty("analysisQuery")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.verify(message.analysisQuery); - if (error) - return "analysisQuery." + error; - } - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.verify(message.options); - if (error) - return "options." + error; - } - return null; - }; - - /** - * Creates an AnalyzeIamPolicyRequest message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} AnalyzeIamPolicyRequest - */ - AnalyzeIamPolicyRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest(); - if (object.analysisQuery != null) { - if (typeof object.analysisQuery !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.analysisQuery: object expected"); - message.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.fromObject(object.analysisQuery); - } - if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.options: object expected"); - message.options = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.fromObject(object.options); - } - return message; - }; - - /** - * Creates a plain object from an AnalyzeIamPolicyRequest message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} message AnalyzeIamPolicyRequest - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - AnalyzeIamPolicyRequest.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.analysisQuery = null; - object.options = null; - } - if (message.analysisQuery != null && message.hasOwnProperty("analysisQuery")) - object.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.toObject(message.analysisQuery, options); - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.toObject(message.options, options); - return object; - }; - - /** - * Converts this AnalyzeIamPolicyRequest to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @instance - * @returns {Object.} JSON object - */ - AnalyzeIamPolicyRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for AnalyzeIamPolicyRequest - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - AnalyzeIamPolicyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest"; - }; - - AnalyzeIamPolicyRequest.Options = (function() { - - /** - * Properties of an Options. - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @interface IOptions - * @property {boolean|null} [expandGroups] Options expandGroups - * @property {boolean|null} [expandRoles] Options expandRoles - * @property {boolean|null} [expandResources] Options expandResources - * @property {boolean|null} [outputResourceEdges] Options outputResourceEdges - * @property {boolean|null} [outputGroupEdges] Options outputGroupEdges - * @property {boolean|null} [analyzeServiceAccountImpersonation] Options analyzeServiceAccountImpersonation - * @property {google.protobuf.IDuration|null} [executionTimeout] Options executionTimeout - */ - - /** - * Constructs a new Options. - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - * @classdesc Represents an Options. - * @implements IOptions - * @constructor - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions=} [properties] Properties to set - */ - function Options(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Options expandGroups. - * @member {boolean} expandGroups - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @instance - */ - Options.prototype.expandGroups = false; - - /** - * Options expandRoles. - * @member {boolean} expandRoles - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @instance - */ - Options.prototype.expandRoles = false; - - /** - * Options expandResources. - * @member {boolean} expandResources - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @instance - */ - Options.prototype.expandResources = false; - - /** - * Options outputResourceEdges. - * @member {boolean} outputResourceEdges - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @instance - */ - Options.prototype.outputResourceEdges = false; - - /** - * Options outputGroupEdges. - * @member {boolean} outputGroupEdges - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @instance - */ - Options.prototype.outputGroupEdges = false; - - /** - * Options analyzeServiceAccountImpersonation. - * @member {boolean} analyzeServiceAccountImpersonation - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @instance - */ - Options.prototype.analyzeServiceAccountImpersonation = false; - - /** - * Options executionTimeout. - * @member {google.protobuf.IDuration|null|undefined} executionTimeout - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @instance - */ - Options.prototype.executionTimeout = null; - - /** - * Creates a new Options instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} Options instance - */ - Options.create = function create(properties) { - return new Options(properties); - }; - - /** - * Encodes the specified Options message. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions} message Options message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Options.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.expandGroups != null && Object.hasOwnProperty.call(message, "expandGroups")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.expandGroups); - if (message.expandRoles != null && Object.hasOwnProperty.call(message, "expandRoles")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.expandRoles); - if (message.expandResources != null && Object.hasOwnProperty.call(message, "expandResources")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.expandResources); - if (message.outputResourceEdges != null && Object.hasOwnProperty.call(message, "outputResourceEdges")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.outputResourceEdges); - if (message.outputGroupEdges != null && Object.hasOwnProperty.call(message, "outputGroupEdges")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.outputGroupEdges); - if (message.analyzeServiceAccountImpersonation != null && Object.hasOwnProperty.call(message, "analyzeServiceAccountImpersonation")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.analyzeServiceAccountImpersonation); - if (message.executionTimeout != null && Object.hasOwnProperty.call(message, "executionTimeout")) - $root.google.protobuf.Duration.encode(message.executionTimeout, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Options message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.IOptions} message Options message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Options.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Options message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} Options - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Options.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.expandGroups = reader.bool(); - break; - } - case 2: { - message.expandRoles = reader.bool(); - break; - } - case 3: { - message.expandResources = reader.bool(); - break; - } - case 4: { - message.outputResourceEdges = reader.bool(); - break; - } - case 5: { - message.outputGroupEdges = reader.bool(); - break; - } - case 6: { - message.analyzeServiceAccountImpersonation = reader.bool(); - break; - } - case 7: { - message.executionTimeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Options message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} Options - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Options.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Options message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Options.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.expandGroups != null && message.hasOwnProperty("expandGroups")) - if (typeof message.expandGroups !== "boolean") - return "expandGroups: boolean expected"; - if (message.expandRoles != null && message.hasOwnProperty("expandRoles")) - if (typeof message.expandRoles !== "boolean") - return "expandRoles: boolean expected"; - if (message.expandResources != null && message.hasOwnProperty("expandResources")) - if (typeof message.expandResources !== "boolean") - return "expandResources: boolean expected"; - if (message.outputResourceEdges != null && message.hasOwnProperty("outputResourceEdges")) - if (typeof message.outputResourceEdges !== "boolean") - return "outputResourceEdges: boolean expected"; - if (message.outputGroupEdges != null && message.hasOwnProperty("outputGroupEdges")) - if (typeof message.outputGroupEdges !== "boolean") - return "outputGroupEdges: boolean expected"; - if (message.analyzeServiceAccountImpersonation != null && message.hasOwnProperty("analyzeServiceAccountImpersonation")) - if (typeof message.analyzeServiceAccountImpersonation !== "boolean") - return "analyzeServiceAccountImpersonation: boolean expected"; - if (message.executionTimeout != null && message.hasOwnProperty("executionTimeout")) { - var error = $root.google.protobuf.Duration.verify(message.executionTimeout); - if (error) - return "executionTimeout." + error; - } - return null; - }; - - /** - * Creates an Options message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} Options - */ - Options.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options(); - if (object.expandGroups != null) - message.expandGroups = Boolean(object.expandGroups); - if (object.expandRoles != null) - message.expandRoles = Boolean(object.expandRoles); - if (object.expandResources != null) - message.expandResources = Boolean(object.expandResources); - if (object.outputResourceEdges != null) - message.outputResourceEdges = Boolean(object.outputResourceEdges); - if (object.outputGroupEdges != null) - message.outputGroupEdges = Boolean(object.outputGroupEdges); - if (object.analyzeServiceAccountImpersonation != null) - message.analyzeServiceAccountImpersonation = Boolean(object.analyzeServiceAccountImpersonation); - if (object.executionTimeout != null) { - if (typeof object.executionTimeout !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.executionTimeout: object expected"); - message.executionTimeout = $root.google.protobuf.Duration.fromObject(object.executionTimeout); - } - return message; - }; - - /** - * Creates a plain object from an Options message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} message Options - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Options.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.expandGroups = false; - object.expandRoles = false; - object.expandResources = false; - object.outputResourceEdges = false; - object.outputGroupEdges = false; - object.analyzeServiceAccountImpersonation = false; - object.executionTimeout = null; - } - if (message.expandGroups != null && message.hasOwnProperty("expandGroups")) - object.expandGroups = message.expandGroups; - if (message.expandRoles != null && message.hasOwnProperty("expandRoles")) - object.expandRoles = message.expandRoles; - if (message.expandResources != null && message.hasOwnProperty("expandResources")) - object.expandResources = message.expandResources; - if (message.outputResourceEdges != null && message.hasOwnProperty("outputResourceEdges")) - object.outputResourceEdges = message.outputResourceEdges; - if (message.outputGroupEdges != null && message.hasOwnProperty("outputGroupEdges")) - object.outputGroupEdges = message.outputGroupEdges; - if (message.analyzeServiceAccountImpersonation != null && message.hasOwnProperty("analyzeServiceAccountImpersonation")) - object.analyzeServiceAccountImpersonation = message.analyzeServiceAccountImpersonation; - if (message.executionTimeout != null && message.hasOwnProperty("executionTimeout")) - object.executionTimeout = $root.google.protobuf.Duration.toObject(message.executionTimeout, options); - return object; - }; - - /** - * Converts this Options to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @instance - * @returns {Object.} JSON object - */ - Options.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Options - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Options.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options"; - }; - - return Options; - })(); - - return AnalyzeIamPolicyRequest; - })(); - - v1p4beta1.AnalyzeIamPolicyResponse = (function() { - - /** - * Properties of an AnalyzeIamPolicyResponse. - * @memberof google.cloud.asset.v1p4beta1 - * @interface IAnalyzeIamPolicyResponse - * @property {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis|null} [mainAnalysis] AnalyzeIamPolicyResponse mainAnalysis - * @property {Array.|null} [serviceAccountImpersonationAnalysis] AnalyzeIamPolicyResponse serviceAccountImpersonationAnalysis - * @property {boolean|null} [fullyExplored] AnalyzeIamPolicyResponse fullyExplored - * @property {Array.|null} [nonCriticalErrors] AnalyzeIamPolicyResponse nonCriticalErrors - */ - - /** - * Constructs a new AnalyzeIamPolicyResponse. - * @memberof google.cloud.asset.v1p4beta1 - * @classdesc Represents an AnalyzeIamPolicyResponse. - * @implements IAnalyzeIamPolicyResponse - * @constructor - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyResponse=} [properties] Properties to set - */ - function AnalyzeIamPolicyResponse(properties) { - this.serviceAccountImpersonationAnalysis = []; - this.nonCriticalErrors = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * AnalyzeIamPolicyResponse mainAnalysis. - * @member {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis|null|undefined} mainAnalysis - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @instance - */ - AnalyzeIamPolicyResponse.prototype.mainAnalysis = null; - - /** - * AnalyzeIamPolicyResponse serviceAccountImpersonationAnalysis. - * @member {Array.} serviceAccountImpersonationAnalysis - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @instance - */ - AnalyzeIamPolicyResponse.prototype.serviceAccountImpersonationAnalysis = $util.emptyArray; - - /** - * AnalyzeIamPolicyResponse fullyExplored. - * @member {boolean} fullyExplored - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @instance - */ - AnalyzeIamPolicyResponse.prototype.fullyExplored = false; - - /** - * AnalyzeIamPolicyResponse nonCriticalErrors. - * @member {Array.} nonCriticalErrors - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @instance - */ - AnalyzeIamPolicyResponse.prototype.nonCriticalErrors = $util.emptyArray; - - /** - * Creates a new AnalyzeIamPolicyResponse instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyResponse=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} AnalyzeIamPolicyResponse instance - */ - AnalyzeIamPolicyResponse.create = function create(properties) { - return new AnalyzeIamPolicyResponse(properties); - }; - - /** - * Encodes the specified AnalyzeIamPolicyResponse message. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyResponse} message AnalyzeIamPolicyResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AnalyzeIamPolicyResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.mainAnalysis != null && Object.hasOwnProperty.call(message, "mainAnalysis")) - $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.encode(message.mainAnalysis, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.serviceAccountImpersonationAnalysis != null && message.serviceAccountImpersonationAnalysis.length) - for (var i = 0; i < message.serviceAccountImpersonationAnalysis.length; ++i) - $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.encode(message.serviceAccountImpersonationAnalysis[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.fullyExplored != null && Object.hasOwnProperty.call(message, "fullyExplored")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.fullyExplored); - if (message.nonCriticalErrors != null && message.nonCriticalErrors.length) - for (var i = 0; i < message.nonCriticalErrors.length; ++i) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.encode(message.nonCriticalErrors[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified AnalyzeIamPolicyResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {google.cloud.asset.v1p4beta1.IAnalyzeIamPolicyResponse} message AnalyzeIamPolicyResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AnalyzeIamPolicyResponse.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an AnalyzeIamPolicyResponse message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} AnalyzeIamPolicyResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AnalyzeIamPolicyResponse.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.mainAnalysis = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.decode(reader, reader.uint32()); - break; - } - case 2: { - if (!(message.serviceAccountImpersonationAnalysis && message.serviceAccountImpersonationAnalysis.length)) - message.serviceAccountImpersonationAnalysis = []; - message.serviceAccountImpersonationAnalysis.push($root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.decode(reader, reader.uint32())); - break; - } - case 3: { - message.fullyExplored = reader.bool(); - break; - } - case 4: { - if (!(message.nonCriticalErrors && message.nonCriticalErrors.length)) - message.nonCriticalErrors = []; - message.nonCriticalErrors.push($root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an AnalyzeIamPolicyResponse message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} AnalyzeIamPolicyResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AnalyzeIamPolicyResponse.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an AnalyzeIamPolicyResponse message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - AnalyzeIamPolicyResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.mainAnalysis != null && message.hasOwnProperty("mainAnalysis")) { - var error = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.verify(message.mainAnalysis); - if (error) - return "mainAnalysis." + error; - } - if (message.serviceAccountImpersonationAnalysis != null && message.hasOwnProperty("serviceAccountImpersonationAnalysis")) { - if (!Array.isArray(message.serviceAccountImpersonationAnalysis)) - return "serviceAccountImpersonationAnalysis: array expected"; - for (var i = 0; i < message.serviceAccountImpersonationAnalysis.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.verify(message.serviceAccountImpersonationAnalysis[i]); - if (error) - return "serviceAccountImpersonationAnalysis." + error; - } - } - if (message.fullyExplored != null && message.hasOwnProperty("fullyExplored")) - if (typeof message.fullyExplored !== "boolean") - return "fullyExplored: boolean expected"; - if (message.nonCriticalErrors != null && message.hasOwnProperty("nonCriticalErrors")) { - if (!Array.isArray(message.nonCriticalErrors)) - return "nonCriticalErrors: array expected"; - for (var i = 0; i < message.nonCriticalErrors.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.verify(message.nonCriticalErrors[i]); - if (error) - return "nonCriticalErrors." + error; - } - } - return null; - }; - - /** - * Creates an AnalyzeIamPolicyResponse message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} AnalyzeIamPolicyResponse - */ - AnalyzeIamPolicyResponse.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse(); - if (object.mainAnalysis != null) { - if (typeof object.mainAnalysis !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.mainAnalysis: object expected"); - message.mainAnalysis = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.fromObject(object.mainAnalysis); - } - if (object.serviceAccountImpersonationAnalysis) { - if (!Array.isArray(object.serviceAccountImpersonationAnalysis)) - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.serviceAccountImpersonationAnalysis: array expected"); - message.serviceAccountImpersonationAnalysis = []; - for (var i = 0; i < object.serviceAccountImpersonationAnalysis.length; ++i) { - if (typeof object.serviceAccountImpersonationAnalysis[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.serviceAccountImpersonationAnalysis: object expected"); - message.serviceAccountImpersonationAnalysis[i] = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.fromObject(object.serviceAccountImpersonationAnalysis[i]); - } - } - if (object.fullyExplored != null) - message.fullyExplored = Boolean(object.fullyExplored); - if (object.nonCriticalErrors) { - if (!Array.isArray(object.nonCriticalErrors)) - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.nonCriticalErrors: array expected"); - message.nonCriticalErrors = []; - for (var i = 0; i < object.nonCriticalErrors.length; ++i) { - if (typeof object.nonCriticalErrors[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.nonCriticalErrors: object expected"); - message.nonCriticalErrors[i] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.fromObject(object.nonCriticalErrors[i]); - } - } - return message; - }; - - /** - * Creates a plain object from an AnalyzeIamPolicyResponse message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} message AnalyzeIamPolicyResponse - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - AnalyzeIamPolicyResponse.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object.serviceAccountImpersonationAnalysis = []; - object.nonCriticalErrors = []; - } - if (options.defaults) { - object.mainAnalysis = null; - object.fullyExplored = false; - } - if (message.mainAnalysis != null && message.hasOwnProperty("mainAnalysis")) - object.mainAnalysis = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.toObject(message.mainAnalysis, options); - if (message.serviceAccountImpersonationAnalysis && message.serviceAccountImpersonationAnalysis.length) { - object.serviceAccountImpersonationAnalysis = []; - for (var j = 0; j < message.serviceAccountImpersonationAnalysis.length; ++j) - object.serviceAccountImpersonationAnalysis[j] = $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.toObject(message.serviceAccountImpersonationAnalysis[j], options); - } - if (message.fullyExplored != null && message.hasOwnProperty("fullyExplored")) - object.fullyExplored = message.fullyExplored; - if (message.nonCriticalErrors && message.nonCriticalErrors.length) { - object.nonCriticalErrors = []; - for (var j = 0; j < message.nonCriticalErrors.length; ++j) - object.nonCriticalErrors[j] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.toObject(message.nonCriticalErrors[j], options); - } - return object; - }; - - /** - * Converts this AnalyzeIamPolicyResponse to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @instance - * @returns {Object.} JSON object - */ - AnalyzeIamPolicyResponse.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for AnalyzeIamPolicyResponse - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - AnalyzeIamPolicyResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse"; - }; - - AnalyzeIamPolicyResponse.IamPolicyAnalysis = (function() { - - /** - * Properties of an IamPolicyAnalysis. - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @interface IIamPolicyAnalysis - * @property {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null} [analysisQuery] IamPolicyAnalysis analysisQuery - * @property {Array.|null} [analysisResults] IamPolicyAnalysis analysisResults - * @property {boolean|null} [fullyExplored] IamPolicyAnalysis fullyExplored - */ - - /** - * Constructs a new IamPolicyAnalysis. - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - * @classdesc Represents an IamPolicyAnalysis. - * @implements IIamPolicyAnalysis - * @constructor - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis=} [properties] Properties to set - */ - function IamPolicyAnalysis(properties) { - this.analysisResults = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * IamPolicyAnalysis analysisQuery. - * @member {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null|undefined} analysisQuery - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @instance - */ - IamPolicyAnalysis.prototype.analysisQuery = null; - - /** - * IamPolicyAnalysis analysisResults. - * @member {Array.} analysisResults - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @instance - */ - IamPolicyAnalysis.prototype.analysisResults = $util.emptyArray; - - /** - * IamPolicyAnalysis fullyExplored. - * @member {boolean} fullyExplored - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @instance - */ - IamPolicyAnalysis.prototype.fullyExplored = false; - - /** - * Creates a new IamPolicyAnalysis instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} IamPolicyAnalysis instance - */ - IamPolicyAnalysis.create = function create(properties) { - return new IamPolicyAnalysis(properties); - }; - - /** - * Encodes the specified IamPolicyAnalysis message. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis} message IamPolicyAnalysis message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IamPolicyAnalysis.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.analysisQuery != null && Object.hasOwnProperty.call(message, "analysisQuery")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.encode(message.analysisQuery, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.analysisResults != null && message.analysisResults.length) - for (var i = 0; i < message.analysisResults.length; ++i) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.encode(message.analysisResults[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.fullyExplored != null && Object.hasOwnProperty.call(message, "fullyExplored")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.fullyExplored); - return writer; - }; - - /** - * Encodes the specified IamPolicyAnalysis message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis} message IamPolicyAnalysis message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IamPolicyAnalysis.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an IamPolicyAnalysis message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} IamPolicyAnalysis - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IamPolicyAnalysis.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.decode(reader, reader.uint32()); - break; - } - case 2: { - if (!(message.analysisResults && message.analysisResults.length)) - message.analysisResults = []; - message.analysisResults.push($root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.decode(reader, reader.uint32())); - break; - } - case 3: { - message.fullyExplored = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an IamPolicyAnalysis message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} IamPolicyAnalysis - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IamPolicyAnalysis.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an IamPolicyAnalysis message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IamPolicyAnalysis.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.analysisQuery != null && message.hasOwnProperty("analysisQuery")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.verify(message.analysisQuery); - if (error) - return "analysisQuery." + error; - } - if (message.analysisResults != null && message.hasOwnProperty("analysisResults")) { - if (!Array.isArray(message.analysisResults)) - return "analysisResults: array expected"; - for (var i = 0; i < message.analysisResults.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.verify(message.analysisResults[i]); - if (error) - return "analysisResults." + error; - } - } - if (message.fullyExplored != null && message.hasOwnProperty("fullyExplored")) - if (typeof message.fullyExplored !== "boolean") - return "fullyExplored: boolean expected"; - return null; - }; - - /** - * Creates an IamPolicyAnalysis message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} IamPolicyAnalysis - */ - IamPolicyAnalysis.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(); - if (object.analysisQuery != null) { - if (typeof object.analysisQuery !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysisQuery: object expected"); - message.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.fromObject(object.analysisQuery); - } - if (object.analysisResults) { - if (!Array.isArray(object.analysisResults)) - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysisResults: array expected"); - message.analysisResults = []; - for (var i = 0; i < object.analysisResults.length; ++i) { - if (typeof object.analysisResults[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysisResults: object expected"); - message.analysisResults[i] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.fromObject(object.analysisResults[i]); - } - } - if (object.fullyExplored != null) - message.fullyExplored = Boolean(object.fullyExplored); - return message; - }; - - /** - * Creates a plain object from an IamPolicyAnalysis message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} message IamPolicyAnalysis - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - IamPolicyAnalysis.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.analysisResults = []; - if (options.defaults) { - object.analysisQuery = null; - object.fullyExplored = false; - } - if (message.analysisQuery != null && message.hasOwnProperty("analysisQuery")) - object.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.toObject(message.analysisQuery, options); - if (message.analysisResults && message.analysisResults.length) { - object.analysisResults = []; - for (var j = 0; j < message.analysisResults.length; ++j) - object.analysisResults[j] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.toObject(message.analysisResults[j], options); - } - if (message.fullyExplored != null && message.hasOwnProperty("fullyExplored")) - object.fullyExplored = message.fullyExplored; - return object; - }; - - /** - * Converts this IamPolicyAnalysis to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @instance - * @returns {Object.} JSON object - */ - IamPolicyAnalysis.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for IamPolicyAnalysis - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - IamPolicyAnalysis.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis"; - }; - - return IamPolicyAnalysis; - })(); - - return AnalyzeIamPolicyResponse; - })(); - - v1p4beta1.IamPolicyAnalysisOutputConfig = (function() { - - /** - * Properties of an IamPolicyAnalysisOutputConfig. - * @memberof google.cloud.asset.v1p4beta1 - * @interface IIamPolicyAnalysisOutputConfig - * @property {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination|null} [gcsDestination] IamPolicyAnalysisOutputConfig gcsDestination - */ - - /** - * Constructs a new IamPolicyAnalysisOutputConfig. - * @memberof google.cloud.asset.v1p4beta1 - * @classdesc Represents an IamPolicyAnalysisOutputConfig. - * @implements IIamPolicyAnalysisOutputConfig - * @constructor - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig=} [properties] Properties to set - */ - function IamPolicyAnalysisOutputConfig(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * IamPolicyAnalysisOutputConfig gcsDestination. - * @member {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination|null|undefined} gcsDestination - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @instance - */ - IamPolicyAnalysisOutputConfig.prototype.gcsDestination = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * IamPolicyAnalysisOutputConfig destination. - * @member {"gcsDestination"|undefined} destination - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @instance - */ - Object.defineProperty(IamPolicyAnalysisOutputConfig.prototype, "destination", { - get: $util.oneOfGetter($oneOfFields = ["gcsDestination"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new IamPolicyAnalysisOutputConfig instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} IamPolicyAnalysisOutputConfig instance - */ - IamPolicyAnalysisOutputConfig.create = function create(properties) { - return new IamPolicyAnalysisOutputConfig(properties); - }; - - /** - * Encodes the specified IamPolicyAnalysisOutputConfig message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig} message IamPolicyAnalysisOutputConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IamPolicyAnalysisOutputConfig.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.gcsDestination != null && Object.hasOwnProperty.call(message, "gcsDestination")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.encode(message.gcsDestination, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified IamPolicyAnalysisOutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig} message IamPolicyAnalysisOutputConfig message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IamPolicyAnalysisOutputConfig.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an IamPolicyAnalysisOutputConfig message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} IamPolicyAnalysisOutputConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IamPolicyAnalysisOutputConfig.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.gcsDestination = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an IamPolicyAnalysisOutputConfig message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} IamPolicyAnalysisOutputConfig - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IamPolicyAnalysisOutputConfig.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an IamPolicyAnalysisOutputConfig message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IamPolicyAnalysisOutputConfig.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - var properties = {}; - if (message.gcsDestination != null && message.hasOwnProperty("gcsDestination")) { - properties.destination = 1; - { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.verify(message.gcsDestination); - if (error) - return "gcsDestination." + error; - } - } - return null; - }; - - /** - * Creates an IamPolicyAnalysisOutputConfig message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} IamPolicyAnalysisOutputConfig - */ - IamPolicyAnalysisOutputConfig.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig(); - if (object.gcsDestination != null) { - if (typeof object.gcsDestination !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.gcsDestination: object expected"); - message.gcsDestination = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.fromObject(object.gcsDestination); - } - return message; - }; - - /** - * Creates a plain object from an IamPolicyAnalysisOutputConfig message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} message IamPolicyAnalysisOutputConfig - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - IamPolicyAnalysisOutputConfig.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (message.gcsDestination != null && message.hasOwnProperty("gcsDestination")) { - object.gcsDestination = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.toObject(message.gcsDestination, options); - if (options.oneofs) - object.destination = "gcsDestination"; - } - return object; - }; - - /** - * Converts this IamPolicyAnalysisOutputConfig to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @instance - * @returns {Object.} JSON object - */ - IamPolicyAnalysisOutputConfig.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for IamPolicyAnalysisOutputConfig - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - IamPolicyAnalysisOutputConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig"; - }; - - IamPolicyAnalysisOutputConfig.GcsDestination = (function() { - - /** - * Properties of a GcsDestination. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @interface IGcsDestination - * @property {string|null} [uri] GcsDestination uri - */ - - /** - * Constructs a new GcsDestination. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - * @classdesc Represents a GcsDestination. - * @implements IGcsDestination - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination=} [properties] Properties to set - */ - function GcsDestination(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * GcsDestination uri. - * @member {string} uri - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @instance - */ - GcsDestination.prototype.uri = ""; - - /** - * Creates a new GcsDestination instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} GcsDestination instance - */ - GcsDestination.create = function create(properties) { - return new GcsDestination(properties); - }; - - /** - * Encodes the specified GcsDestination message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination} message GcsDestination message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - GcsDestination.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.uri != null && Object.hasOwnProperty.call(message, "uri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); - return writer; - }; - - /** - * Encodes the specified GcsDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.IGcsDestination} message GcsDestination message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - GcsDestination.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a GcsDestination message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} GcsDestination - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - GcsDestination.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.uri = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a GcsDestination message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} GcsDestination - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - GcsDestination.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a GcsDestination message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - GcsDestination.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.uri != null && message.hasOwnProperty("uri")) - if (!$util.isString(message.uri)) - return "uri: string expected"; - return null; - }; - - /** - * Creates a GcsDestination message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} GcsDestination - */ - GcsDestination.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(); - if (object.uri != null) - message.uri = String(object.uri); - return message; - }; - - /** - * Creates a plain object from a GcsDestination message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} message GcsDestination - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - GcsDestination.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) - object.uri = ""; - if (message.uri != null && message.hasOwnProperty("uri")) - object.uri = message.uri; - return object; - }; - - /** - * Converts this GcsDestination to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @instance - * @returns {Object.} JSON object - */ - GcsDestination.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for GcsDestination - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - GcsDestination.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination"; - }; - - return GcsDestination; - })(); - - return IamPolicyAnalysisOutputConfig; - })(); - - v1p4beta1.ExportIamPolicyAnalysisRequest = (function() { - - /** - * Properties of an ExportIamPolicyAnalysisRequest. - * @memberof google.cloud.asset.v1p4beta1 - * @interface IExportIamPolicyAnalysisRequest - * @property {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null} [analysisQuery] ExportIamPolicyAnalysisRequest analysisQuery - * @property {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions|null} [options] ExportIamPolicyAnalysisRequest options - * @property {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig|null} [outputConfig] ExportIamPolicyAnalysisRequest outputConfig - */ - - /** - * Constructs a new ExportIamPolicyAnalysisRequest. - * @memberof google.cloud.asset.v1p4beta1 - * @classdesc Represents an ExportIamPolicyAnalysisRequest. - * @implements IExportIamPolicyAnalysisRequest - * @constructor - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest=} [properties] Properties to set - */ - function ExportIamPolicyAnalysisRequest(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExportIamPolicyAnalysisRequest analysisQuery. - * @member {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisQuery|null|undefined} analysisQuery - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @instance - */ - ExportIamPolicyAnalysisRequest.prototype.analysisQuery = null; - - /** - * ExportIamPolicyAnalysisRequest options. - * @member {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions|null|undefined} options - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @instance - */ - ExportIamPolicyAnalysisRequest.prototype.options = null; - - /** - * ExportIamPolicyAnalysisRequest outputConfig. - * @member {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig|null|undefined} outputConfig - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @instance - */ - ExportIamPolicyAnalysisRequest.prototype.outputConfig = null; - - /** - * Creates a new ExportIamPolicyAnalysisRequest instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} ExportIamPolicyAnalysisRequest instance - */ - ExportIamPolicyAnalysisRequest.create = function create(properties) { - return new ExportIamPolicyAnalysisRequest(properties); - }; - - /** - * Encodes the specified ExportIamPolicyAnalysisRequest message. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest} message ExportIamPolicyAnalysisRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExportIamPolicyAnalysisRequest.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.analysisQuery != null && Object.hasOwnProperty.call(message, "analysisQuery")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.encode(message.analysisQuery, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.encode(message.options, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.outputConfig != null && Object.hasOwnProperty.call(message, "outputConfig")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.encode(message.outputConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ExportIamPolicyAnalysisRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisRequest} message ExportIamPolicyAnalysisRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExportIamPolicyAnalysisRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExportIamPolicyAnalysisRequest message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} ExportIamPolicyAnalysisRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExportIamPolicyAnalysisRequest.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.decode(reader, reader.uint32()); - break; - } - case 2: { - message.options = $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.decode(reader, reader.uint32()); - break; - } - case 3: { - message.outputConfig = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExportIamPolicyAnalysisRequest message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} ExportIamPolicyAnalysisRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExportIamPolicyAnalysisRequest.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExportIamPolicyAnalysisRequest message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExportIamPolicyAnalysisRequest.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.analysisQuery != null && message.hasOwnProperty("analysisQuery")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.verify(message.analysisQuery); - if (error) - return "analysisQuery." + error; - } - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.verify(message.options); - if (error) - return "options." + error; - } - if (message.outputConfig != null && message.hasOwnProperty("outputConfig")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.verify(message.outputConfig); - if (error) - return "outputConfig." + error; - } - return null; - }; - - /** - * Creates an ExportIamPolicyAnalysisRequest message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} ExportIamPolicyAnalysisRequest - */ - ExportIamPolicyAnalysisRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest(); - if (object.analysisQuery != null) { - if (typeof object.analysisQuery !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.analysisQuery: object expected"); - message.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.fromObject(object.analysisQuery); - } - if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.options: object expected"); - message.options = $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.fromObject(object.options); - } - if (object.outputConfig != null) { - if (typeof object.outputConfig !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.outputConfig: object expected"); - message.outputConfig = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.fromObject(object.outputConfig); - } - return message; - }; - - /** - * Creates a plain object from an ExportIamPolicyAnalysisRequest message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} message ExportIamPolicyAnalysisRequest - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExportIamPolicyAnalysisRequest.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.analysisQuery = null; - object.options = null; - object.outputConfig = null; - } - if (message.analysisQuery != null && message.hasOwnProperty("analysisQuery")) - object.analysisQuery = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.toObject(message.analysisQuery, options); - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.toObject(message.options, options); - if (message.outputConfig != null && message.hasOwnProperty("outputConfig")) - object.outputConfig = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.toObject(message.outputConfig, options); - return object; - }; - - /** - * Converts this ExportIamPolicyAnalysisRequest to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @instance - * @returns {Object.} JSON object - */ - ExportIamPolicyAnalysisRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExportIamPolicyAnalysisRequest - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExportIamPolicyAnalysisRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest"; - }; - - ExportIamPolicyAnalysisRequest.Options = (function() { - - /** - * Properties of an Options. - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @interface IOptions - * @property {boolean|null} [expandGroups] Options expandGroups - * @property {boolean|null} [expandRoles] Options expandRoles - * @property {boolean|null} [expandResources] Options expandResources - * @property {boolean|null} [outputResourceEdges] Options outputResourceEdges - * @property {boolean|null} [outputGroupEdges] Options outputGroupEdges - * @property {boolean|null} [analyzeServiceAccountImpersonation] Options analyzeServiceAccountImpersonation - */ - - /** - * Constructs a new Options. - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - * @classdesc Represents an Options. - * @implements IOptions - * @constructor - * @param {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions=} [properties] Properties to set - */ - function Options(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Options expandGroups. - * @member {boolean} expandGroups - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @instance - */ - Options.prototype.expandGroups = false; - - /** - * Options expandRoles. - * @member {boolean} expandRoles - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @instance - */ - Options.prototype.expandRoles = false; - - /** - * Options expandResources. - * @member {boolean} expandResources - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @instance - */ - Options.prototype.expandResources = false; - - /** - * Options outputResourceEdges. - * @member {boolean} outputResourceEdges - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @instance - */ - Options.prototype.outputResourceEdges = false; - - /** - * Options outputGroupEdges. - * @member {boolean} outputGroupEdges - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @instance - */ - Options.prototype.outputGroupEdges = false; - - /** - * Options analyzeServiceAccountImpersonation. - * @member {boolean} analyzeServiceAccountImpersonation - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @instance - */ - Options.prototype.analyzeServiceAccountImpersonation = false; - - /** - * Creates a new Options instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} Options instance - */ - Options.create = function create(properties) { - return new Options(properties); - }; - - /** - * Encodes the specified Options message. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions} message Options message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Options.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.expandGroups != null && Object.hasOwnProperty.call(message, "expandGroups")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.expandGroups); - if (message.expandRoles != null && Object.hasOwnProperty.call(message, "expandRoles")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.expandRoles); - if (message.expandResources != null && Object.hasOwnProperty.call(message, "expandResources")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.expandResources); - if (message.outputResourceEdges != null && Object.hasOwnProperty.call(message, "outputResourceEdges")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.outputResourceEdges); - if (message.outputGroupEdges != null && Object.hasOwnProperty.call(message, "outputGroupEdges")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.outputGroupEdges); - if (message.analyzeServiceAccountImpersonation != null && Object.hasOwnProperty.call(message, "analyzeServiceAccountImpersonation")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.analyzeServiceAccountImpersonation); - return writer; - }; - - /** - * Encodes the specified Options message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.IOptions} message Options message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Options.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Options message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} Options - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Options.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.expandGroups = reader.bool(); - break; - } - case 2: { - message.expandRoles = reader.bool(); - break; - } - case 3: { - message.expandResources = reader.bool(); - break; - } - case 4: { - message.outputResourceEdges = reader.bool(); - break; - } - case 5: { - message.outputGroupEdges = reader.bool(); - break; - } - case 6: { - message.analyzeServiceAccountImpersonation = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Options message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} Options - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Options.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Options message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Options.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.expandGroups != null && message.hasOwnProperty("expandGroups")) - if (typeof message.expandGroups !== "boolean") - return "expandGroups: boolean expected"; - if (message.expandRoles != null && message.hasOwnProperty("expandRoles")) - if (typeof message.expandRoles !== "boolean") - return "expandRoles: boolean expected"; - if (message.expandResources != null && message.hasOwnProperty("expandResources")) - if (typeof message.expandResources !== "boolean") - return "expandResources: boolean expected"; - if (message.outputResourceEdges != null && message.hasOwnProperty("outputResourceEdges")) - if (typeof message.outputResourceEdges !== "boolean") - return "outputResourceEdges: boolean expected"; - if (message.outputGroupEdges != null && message.hasOwnProperty("outputGroupEdges")) - if (typeof message.outputGroupEdges !== "boolean") - return "outputGroupEdges: boolean expected"; - if (message.analyzeServiceAccountImpersonation != null && message.hasOwnProperty("analyzeServiceAccountImpersonation")) - if (typeof message.analyzeServiceAccountImpersonation !== "boolean") - return "analyzeServiceAccountImpersonation: boolean expected"; - return null; - }; - - /** - * Creates an Options message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} Options - */ - Options.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(); - if (object.expandGroups != null) - message.expandGroups = Boolean(object.expandGroups); - if (object.expandRoles != null) - message.expandRoles = Boolean(object.expandRoles); - if (object.expandResources != null) - message.expandResources = Boolean(object.expandResources); - if (object.outputResourceEdges != null) - message.outputResourceEdges = Boolean(object.outputResourceEdges); - if (object.outputGroupEdges != null) - message.outputGroupEdges = Boolean(object.outputGroupEdges); - if (object.analyzeServiceAccountImpersonation != null) - message.analyzeServiceAccountImpersonation = Boolean(object.analyzeServiceAccountImpersonation); - return message; - }; - - /** - * Creates a plain object from an Options message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} message Options - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Options.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.expandGroups = false; - object.expandRoles = false; - object.expandResources = false; - object.outputResourceEdges = false; - object.outputGroupEdges = false; - object.analyzeServiceAccountImpersonation = false; - } - if (message.expandGroups != null && message.hasOwnProperty("expandGroups")) - object.expandGroups = message.expandGroups; - if (message.expandRoles != null && message.hasOwnProperty("expandRoles")) - object.expandRoles = message.expandRoles; - if (message.expandResources != null && message.hasOwnProperty("expandResources")) - object.expandResources = message.expandResources; - if (message.outputResourceEdges != null && message.hasOwnProperty("outputResourceEdges")) - object.outputResourceEdges = message.outputResourceEdges; - if (message.outputGroupEdges != null && message.hasOwnProperty("outputGroupEdges")) - object.outputGroupEdges = message.outputGroupEdges; - if (message.analyzeServiceAccountImpersonation != null && message.hasOwnProperty("analyzeServiceAccountImpersonation")) - object.analyzeServiceAccountImpersonation = message.analyzeServiceAccountImpersonation; - return object; - }; - - /** - * Converts this Options to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @instance - * @returns {Object.} JSON object - */ - Options.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Options - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Options.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options"; - }; - - return Options; - })(); - - return ExportIamPolicyAnalysisRequest; - })(); - - v1p4beta1.ExportIamPolicyAnalysisResponse = (function() { - - /** - * Properties of an ExportIamPolicyAnalysisResponse. - * @memberof google.cloud.asset.v1p4beta1 - * @interface IExportIamPolicyAnalysisResponse - * @property {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig|null} [outputConfig] ExportIamPolicyAnalysisResponse outputConfig - */ - - /** - * Constructs a new ExportIamPolicyAnalysisResponse. - * @memberof google.cloud.asset.v1p4beta1 - * @classdesc Represents an ExportIamPolicyAnalysisResponse. - * @implements IExportIamPolicyAnalysisResponse - * @constructor - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisResponse=} [properties] Properties to set - */ - function ExportIamPolicyAnalysisResponse(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExportIamPolicyAnalysisResponse outputConfig. - * @member {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisOutputConfig|null|undefined} outputConfig - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @instance - */ - ExportIamPolicyAnalysisResponse.prototype.outputConfig = null; - - /** - * Creates a new ExportIamPolicyAnalysisResponse instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisResponse=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse} ExportIamPolicyAnalysisResponse instance - */ - ExportIamPolicyAnalysisResponse.create = function create(properties) { - return new ExportIamPolicyAnalysisResponse(properties); - }; - - /** - * Encodes the specified ExportIamPolicyAnalysisResponse message. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisResponse} message ExportIamPolicyAnalysisResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExportIamPolicyAnalysisResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.outputConfig != null && Object.hasOwnProperty.call(message, "outputConfig")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.encode(message.outputConfig, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified ExportIamPolicyAnalysisResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {google.cloud.asset.v1p4beta1.IExportIamPolicyAnalysisResponse} message ExportIamPolicyAnalysisResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExportIamPolicyAnalysisResponse.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExportIamPolicyAnalysisResponse message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse} ExportIamPolicyAnalysisResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExportIamPolicyAnalysisResponse.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.outputConfig = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExportIamPolicyAnalysisResponse message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse} ExportIamPolicyAnalysisResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExportIamPolicyAnalysisResponse.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExportIamPolicyAnalysisResponse message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExportIamPolicyAnalysisResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.outputConfig != null && message.hasOwnProperty("outputConfig")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.verify(message.outputConfig); - if (error) - return "outputConfig." + error; - } - return null; - }; - - /** - * Creates an ExportIamPolicyAnalysisResponse message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse} ExportIamPolicyAnalysisResponse - */ - ExportIamPolicyAnalysisResponse.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse(); - if (object.outputConfig != null) { - if (typeof object.outputConfig !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.outputConfig: object expected"); - message.outputConfig = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.fromObject(object.outputConfig); - } - return message; - }; - - /** - * Creates a plain object from an ExportIamPolicyAnalysisResponse message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse} message ExportIamPolicyAnalysisResponse - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExportIamPolicyAnalysisResponse.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) - object.outputConfig = null; - if (message.outputConfig != null && message.hasOwnProperty("outputConfig")) - object.outputConfig = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.toObject(message.outputConfig, options); - return object; - }; - - /** - * Converts this ExportIamPolicyAnalysisResponse to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @instance - * @returns {Object.} JSON object - */ - ExportIamPolicyAnalysisResponse.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExportIamPolicyAnalysisResponse - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExportIamPolicyAnalysisResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse"; - }; - - return ExportIamPolicyAnalysisResponse; - })(); - - v1p4beta1.IamPolicyAnalysisResult = (function() { - - /** - * Properties of an IamPolicyAnalysisResult. - * @memberof google.cloud.asset.v1p4beta1 - * @interface IIamPolicyAnalysisResult - * @property {string|null} [attachedResourceFullName] IamPolicyAnalysisResult attachedResourceFullName - * @property {google.iam.v1.IBinding|null} [iamBinding] IamPolicyAnalysisResult iamBinding - * @property {Array.|null} [accessControlLists] IamPolicyAnalysisResult accessControlLists - * @property {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList|null} [identityList] IamPolicyAnalysisResult identityList - * @property {boolean|null} [fullyExplored] IamPolicyAnalysisResult fullyExplored - */ - - /** - * Constructs a new IamPolicyAnalysisResult. - * @memberof google.cloud.asset.v1p4beta1 - * @classdesc Represents an IamPolicyAnalysisResult. - * @implements IIamPolicyAnalysisResult - * @constructor - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult=} [properties] Properties to set - */ - function IamPolicyAnalysisResult(properties) { - this.accessControlLists = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * IamPolicyAnalysisResult attachedResourceFullName. - * @member {string} attachedResourceFullName - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @instance - */ - IamPolicyAnalysisResult.prototype.attachedResourceFullName = ""; - - /** - * IamPolicyAnalysisResult iamBinding. - * @member {google.iam.v1.IBinding|null|undefined} iamBinding - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @instance - */ - IamPolicyAnalysisResult.prototype.iamBinding = null; - - /** - * IamPolicyAnalysisResult accessControlLists. - * @member {Array.} accessControlLists - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @instance - */ - IamPolicyAnalysisResult.prototype.accessControlLists = $util.emptyArray; - - /** - * IamPolicyAnalysisResult identityList. - * @member {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList|null|undefined} identityList - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @instance - */ - IamPolicyAnalysisResult.prototype.identityList = null; - - /** - * IamPolicyAnalysisResult fullyExplored. - * @member {boolean} fullyExplored - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @instance - */ - IamPolicyAnalysisResult.prototype.fullyExplored = false; - - /** - * Creates a new IamPolicyAnalysisResult instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult} IamPolicyAnalysisResult instance - */ - IamPolicyAnalysisResult.create = function create(properties) { - return new IamPolicyAnalysisResult(properties); - }; - - /** - * Encodes the specified IamPolicyAnalysisResult message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult} message IamPolicyAnalysisResult message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IamPolicyAnalysisResult.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.attachedResourceFullName != null && Object.hasOwnProperty.call(message, "attachedResourceFullName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.attachedResourceFullName); - if (message.iamBinding != null && Object.hasOwnProperty.call(message, "iamBinding")) - $root.google.iam.v1.Binding.encode(message.iamBinding, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.accessControlLists != null && message.accessControlLists.length) - for (var i = 0; i < message.accessControlLists.length; ++i) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.encode(message.accessControlLists[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.identityList != null && Object.hasOwnProperty.call(message, "identityList")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.encode(message.identityList, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fullyExplored != null && Object.hasOwnProperty.call(message, "fullyExplored")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.fullyExplored); - return writer; - }; - - /** - * Encodes the specified IamPolicyAnalysisResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {google.cloud.asset.v1p4beta1.IIamPolicyAnalysisResult} message IamPolicyAnalysisResult message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IamPolicyAnalysisResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an IamPolicyAnalysisResult message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult} IamPolicyAnalysisResult - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IamPolicyAnalysisResult.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.attachedResourceFullName = reader.string(); - break; - } - case 2: { - message.iamBinding = $root.google.iam.v1.Binding.decode(reader, reader.uint32()); - break; - } - case 3: { - if (!(message.accessControlLists && message.accessControlLists.length)) - message.accessControlLists = []; - message.accessControlLists.push($root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.decode(reader, reader.uint32())); - break; - } - case 4: { - message.identityList = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fullyExplored = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an IamPolicyAnalysisResult message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult} IamPolicyAnalysisResult - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IamPolicyAnalysisResult.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an IamPolicyAnalysisResult message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IamPolicyAnalysisResult.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.attachedResourceFullName != null && message.hasOwnProperty("attachedResourceFullName")) - if (!$util.isString(message.attachedResourceFullName)) - return "attachedResourceFullName: string expected"; - if (message.iamBinding != null && message.hasOwnProperty("iamBinding")) { - var error = $root.google.iam.v1.Binding.verify(message.iamBinding); - if (error) - return "iamBinding." + error; - } - if (message.accessControlLists != null && message.hasOwnProperty("accessControlLists")) { - if (!Array.isArray(message.accessControlLists)) - return "accessControlLists: array expected"; - for (var i = 0; i < message.accessControlLists.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.verify(message.accessControlLists[i]); - if (error) - return "accessControlLists." + error; - } - } - if (message.identityList != null && message.hasOwnProperty("identityList")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.verify(message.identityList); - if (error) - return "identityList." + error; - } - if (message.fullyExplored != null && message.hasOwnProperty("fullyExplored")) - if (typeof message.fullyExplored !== "boolean") - return "fullyExplored: boolean expected"; - return null; - }; - - /** - * Creates an IamPolicyAnalysisResult message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult} IamPolicyAnalysisResult - */ - IamPolicyAnalysisResult.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult(); - if (object.attachedResourceFullName != null) - message.attachedResourceFullName = String(object.attachedResourceFullName); - if (object.iamBinding != null) { - if (typeof object.iamBinding !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iamBinding: object expected"); - message.iamBinding = $root.google.iam.v1.Binding.fromObject(object.iamBinding); - } - if (object.accessControlLists) { - if (!Array.isArray(object.accessControlLists)) - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.accessControlLists: array expected"); - message.accessControlLists = []; - for (var i = 0; i < object.accessControlLists.length; ++i) { - if (typeof object.accessControlLists[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.accessControlLists: object expected"); - message.accessControlLists[i] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.fromObject(object.accessControlLists[i]); - } - } - if (object.identityList != null) { - if (typeof object.identityList !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.identityList: object expected"); - message.identityList = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.fromObject(object.identityList); - } - if (object.fullyExplored != null) - message.fullyExplored = Boolean(object.fullyExplored); - return message; - }; - - /** - * Creates a plain object from an IamPolicyAnalysisResult message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult} message IamPolicyAnalysisResult - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - IamPolicyAnalysisResult.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.accessControlLists = []; - if (options.defaults) { - object.attachedResourceFullName = ""; - object.iamBinding = null; - object.identityList = null; - object.fullyExplored = false; - } - if (message.attachedResourceFullName != null && message.hasOwnProperty("attachedResourceFullName")) - object.attachedResourceFullName = message.attachedResourceFullName; - if (message.iamBinding != null && message.hasOwnProperty("iamBinding")) - object.iamBinding = $root.google.iam.v1.Binding.toObject(message.iamBinding, options); - if (message.accessControlLists && message.accessControlLists.length) { - object.accessControlLists = []; - for (var j = 0; j < message.accessControlLists.length; ++j) - object.accessControlLists[j] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.toObject(message.accessControlLists[j], options); - } - if (message.identityList != null && message.hasOwnProperty("identityList")) - object.identityList = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.toObject(message.identityList, options); - if (message.fullyExplored != null && message.hasOwnProperty("fullyExplored")) - object.fullyExplored = message.fullyExplored; - return object; - }; - - /** - * Converts this IamPolicyAnalysisResult to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @instance - * @returns {Object.} JSON object - */ - IamPolicyAnalysisResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for IamPolicyAnalysisResult - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - IamPolicyAnalysisResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult"; - }; - - IamPolicyAnalysisResult.AnalysisState = (function() { - - /** - * Properties of an AnalysisState. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @interface IAnalysisState - * @property {google.rpc.Code|null} [code] AnalysisState code - * @property {string|null} [cause] AnalysisState cause - */ - - /** - * Constructs a new AnalysisState. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @classdesc Represents an AnalysisState. - * @implements IAnalysisState - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState=} [properties] Properties to set - */ - function AnalysisState(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * AnalysisState code. - * @member {google.rpc.Code} code - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @instance - */ - AnalysisState.prototype.code = 0; - - /** - * AnalysisState cause. - * @member {string} cause - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @instance - */ - AnalysisState.prototype.cause = ""; - - /** - * Creates a new AnalysisState instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState} AnalysisState instance - */ - AnalysisState.create = function create(properties) { - return new AnalysisState(properties); - }; - - /** - * Encodes the specified AnalysisState message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState} message AnalysisState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AnalysisState.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.code != null && Object.hasOwnProperty.call(message, "code")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.code); - if (message.cause != null && Object.hasOwnProperty.call(message, "cause")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.cause); - return writer; - }; - - /** - * Encodes the specified AnalysisState message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState} message AnalysisState message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AnalysisState.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an AnalysisState message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState} AnalysisState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AnalysisState.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.code = reader.int32(); - break; - } - case 2: { - message.cause = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an AnalysisState message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState} AnalysisState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AnalysisState.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an AnalysisState message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - AnalysisState.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.code != null && message.hasOwnProperty("code")) - switch (message.code) { - default: - return "code: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 16: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - break; - } - if (message.cause != null && message.hasOwnProperty("cause")) - if (!$util.isString(message.cause)) - return "cause: string expected"; - return null; - }; - - /** - * Creates an AnalysisState message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState} AnalysisState - */ - AnalysisState.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(); - switch (object.code) { - default: - if (typeof object.code === "number") { - message.code = object.code; - break; - } - break; - case "OK": - case 0: - message.code = 0; - break; - case "CANCELLED": - case 1: - message.code = 1; - break; - case "UNKNOWN": - case 2: - message.code = 2; - break; - case "INVALID_ARGUMENT": - case 3: - message.code = 3; - break; - case "DEADLINE_EXCEEDED": - case 4: - message.code = 4; - break; - case "NOT_FOUND": - case 5: - message.code = 5; - break; - case "ALREADY_EXISTS": - case 6: - message.code = 6; - break; - case "PERMISSION_DENIED": - case 7: - message.code = 7; - break; - case "UNAUTHENTICATED": - case 16: - message.code = 16; - break; - case "RESOURCE_EXHAUSTED": - case 8: - message.code = 8; - break; - case "FAILED_PRECONDITION": - case 9: - message.code = 9; - break; - case "ABORTED": - case 10: - message.code = 10; - break; - case "OUT_OF_RANGE": - case 11: - message.code = 11; - break; - case "UNIMPLEMENTED": - case 12: - message.code = 12; - break; - case "INTERNAL": - case 13: - message.code = 13; - break; - case "UNAVAILABLE": - case 14: - message.code = 14; - break; - case "DATA_LOSS": - case 15: - message.code = 15; - break; - } - if (object.cause != null) - message.cause = String(object.cause); - return message; - }; - - /** - * Creates a plain object from an AnalysisState message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState} message AnalysisState - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - AnalysisState.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.code = options.enums === String ? "OK" : 0; - object.cause = ""; - } - if (message.code != null && message.hasOwnProperty("code")) - object.code = options.enums === String ? $root.google.rpc.Code[message.code] === undefined ? message.code : $root.google.rpc.Code[message.code] : message.code; - if (message.cause != null && message.hasOwnProperty("cause")) - object.cause = message.cause; - return object; - }; - - /** - * Converts this AnalysisState to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @instance - * @returns {Object.} JSON object - */ - AnalysisState.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for AnalysisState - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - AnalysisState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState"; - }; - - return AnalysisState; - })(); - - IamPolicyAnalysisResult.Resource = (function() { - - /** - * Properties of a Resource. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @interface IResource - * @property {string|null} [fullResourceName] Resource fullResourceName - * @property {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null} [analysisState] Resource analysisState - */ - - /** - * Constructs a new Resource. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @classdesc Represents a Resource. - * @implements IResource - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource=} [properties] Properties to set - */ - function Resource(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Resource fullResourceName. - * @member {string} fullResourceName - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @instance - */ - Resource.prototype.fullResourceName = ""; - - /** - * Resource analysisState. - * @member {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null|undefined} analysisState - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @instance - */ - Resource.prototype.analysisState = null; - - /** - * Creates a new Resource instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} Resource instance - */ - Resource.create = function create(properties) { - return new Resource(properties); - }; - - /** - * Encodes the specified Resource message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource} message Resource message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Resource.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.fullResourceName != null && Object.hasOwnProperty.call(message, "fullResourceName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.fullResourceName); - if (message.analysisState != null && Object.hasOwnProperty.call(message, "analysisState")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.encode(message.analysisState, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Resource message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IResource} message Resource message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Resource.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Resource message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} Resource - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Resource.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.fullResourceName = reader.string(); - break; - } - case 2: { - message.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Resource message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} Resource - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Resource.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Resource message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Resource.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.fullResourceName != null && message.hasOwnProperty("fullResourceName")) - if (!$util.isString(message.fullResourceName)) - return "fullResourceName: string expected"; - if (message.analysisState != null && message.hasOwnProperty("analysisState")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.verify(message.analysisState); - if (error) - return "analysisState." + error; - } - return null; - }; - - /** - * Creates a Resource message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} Resource - */ - Resource.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource(); - if (object.fullResourceName != null) - message.fullResourceName = String(object.fullResourceName); - if (object.analysisState != null) { - if (typeof object.analysisState !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.analysisState: object expected"); - message.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.fromObject(object.analysisState); - } - return message; - }; - - /** - * Creates a plain object from a Resource message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} message Resource - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Resource.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.fullResourceName = ""; - object.analysisState = null; - } - if (message.fullResourceName != null && message.hasOwnProperty("fullResourceName")) - object.fullResourceName = message.fullResourceName; - if (message.analysisState != null && message.hasOwnProperty("analysisState")) - object.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.toObject(message.analysisState, options); - return object; - }; - - /** - * Converts this Resource to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @instance - * @returns {Object.} JSON object - */ - Resource.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Resource - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Resource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource"; - }; - - return Resource; - })(); - - IamPolicyAnalysisResult.Access = (function() { - - /** - * Properties of an Access. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @interface IAccess - * @property {string|null} [role] Access role - * @property {string|null} [permission] Access permission - * @property {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null} [analysisState] Access analysisState - */ - - /** - * Constructs a new Access. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @classdesc Represents an Access. - * @implements IAccess - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess=} [properties] Properties to set - */ - function Access(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Access role. - * @member {string|null|undefined} role - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @instance - */ - Access.prototype.role = null; - - /** - * Access permission. - * @member {string|null|undefined} permission - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @instance - */ - Access.prototype.permission = null; - - /** - * Access analysisState. - * @member {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null|undefined} analysisState - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @instance - */ - Access.prototype.analysisState = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * Access oneofAccess. - * @member {"role"|"permission"|undefined} oneofAccess - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @instance - */ - Object.defineProperty(Access.prototype, "oneofAccess", { - get: $util.oneOfGetter($oneOfFields = ["role", "permission"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Access instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access} Access instance - */ - Access.create = function create(properties) { - return new Access(properties); - }; - - /** - * Encodes the specified Access message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess} message Access message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Access.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.role != null && Object.hasOwnProperty.call(message, "role")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.role); - if (message.permission != null && Object.hasOwnProperty.call(message, "permission")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.permission); - if (message.analysisState != null && Object.hasOwnProperty.call(message, "analysisState")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.encode(message.analysisState, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Access message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccess} message Access message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Access.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Access message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access} Access - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Access.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.role = reader.string(); - break; - } - case 2: { - message.permission = reader.string(); - break; - } - case 3: { - message.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Access message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access} Access - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Access.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Access message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Access.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - var properties = {}; - if (message.role != null && message.hasOwnProperty("role")) { - properties.oneofAccess = 1; - if (!$util.isString(message.role)) - return "role: string expected"; - } - if (message.permission != null && message.hasOwnProperty("permission")) { - if (properties.oneofAccess === 1) - return "oneofAccess: multiple values"; - properties.oneofAccess = 1; - if (!$util.isString(message.permission)) - return "permission: string expected"; - } - if (message.analysisState != null && message.hasOwnProperty("analysisState")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.verify(message.analysisState); - if (error) - return "analysisState." + error; - } - return null; - }; - - /** - * Creates an Access message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access} Access - */ - Access.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access(); - if (object.role != null) - message.role = String(object.role); - if (object.permission != null) - message.permission = String(object.permission); - if (object.analysisState != null) { - if (typeof object.analysisState !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.analysisState: object expected"); - message.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.fromObject(object.analysisState); - } - return message; - }; - - /** - * Creates a plain object from an Access message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access} message Access - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Access.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) - object.analysisState = null; - if (message.role != null && message.hasOwnProperty("role")) { - object.role = message.role; - if (options.oneofs) - object.oneofAccess = "role"; - } - if (message.permission != null && message.hasOwnProperty("permission")) { - object.permission = message.permission; - if (options.oneofs) - object.oneofAccess = "permission"; - } - if (message.analysisState != null && message.hasOwnProperty("analysisState")) - object.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.toObject(message.analysisState, options); - return object; - }; - - /** - * Converts this Access to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @instance - * @returns {Object.} JSON object - */ - Access.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Access - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Access.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access"; - }; - - return Access; - })(); - - IamPolicyAnalysisResult.Edge = (function() { - - /** - * Properties of an Edge. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @interface IEdge - * @property {string|null} [sourceNode] Edge sourceNode - * @property {string|null} [targetNode] Edge targetNode - */ - - /** - * Constructs a new Edge. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @classdesc Represents an Edge. - * @implements IEdge - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge=} [properties] Properties to set - */ - function Edge(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Edge sourceNode. - * @member {string} sourceNode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @instance - */ - Edge.prototype.sourceNode = ""; - - /** - * Edge targetNode. - * @member {string} targetNode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @instance - */ - Edge.prototype.targetNode = ""; - - /** - * Creates a new Edge instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} Edge instance - */ - Edge.create = function create(properties) { - return new Edge(properties); - }; - - /** - * Encodes the specified Edge message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge} message Edge message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Edge.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.sourceNode != null && Object.hasOwnProperty.call(message, "sourceNode")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.sourceNode); - if (message.targetNode != null && Object.hasOwnProperty.call(message, "targetNode")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.targetNode); - return writer; - }; - - /** - * Encodes the specified Edge message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IEdge} message Edge message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Edge.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Edge message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} Edge - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Edge.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.sourceNode = reader.string(); - break; - } - case 2: { - message.targetNode = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Edge message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} Edge - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Edge.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Edge message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Edge.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.sourceNode != null && message.hasOwnProperty("sourceNode")) - if (!$util.isString(message.sourceNode)) - return "sourceNode: string expected"; - if (message.targetNode != null && message.hasOwnProperty("targetNode")) - if (!$util.isString(message.targetNode)) - return "targetNode: string expected"; - return null; - }; - - /** - * Creates an Edge message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} Edge - */ - Edge.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge(); - if (object.sourceNode != null) - message.sourceNode = String(object.sourceNode); - if (object.targetNode != null) - message.targetNode = String(object.targetNode); - return message; - }; - - /** - * Creates a plain object from an Edge message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} message Edge - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Edge.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.sourceNode = ""; - object.targetNode = ""; - } - if (message.sourceNode != null && message.hasOwnProperty("sourceNode")) - object.sourceNode = message.sourceNode; - if (message.targetNode != null && message.hasOwnProperty("targetNode")) - object.targetNode = message.targetNode; - return object; - }; - - /** - * Converts this Edge to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @instance - * @returns {Object.} JSON object - */ - Edge.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Edge - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Edge.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge"; - }; - - return Edge; - })(); - - IamPolicyAnalysisResult.Identity = (function() { - - /** - * Properties of an Identity. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @interface IIdentity - * @property {string|null} [name] Identity name - * @property {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null} [analysisState] Identity analysisState - */ - - /** - * Constructs a new Identity. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @classdesc Represents an Identity. - * @implements IIdentity - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity=} [properties] Properties to set - */ - function Identity(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Identity name. - * @member {string} name - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @instance - */ - Identity.prototype.name = ""; - - /** - * Identity analysisState. - * @member {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAnalysisState|null|undefined} analysisState - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @instance - */ - Identity.prototype.analysisState = null; - - /** - * Creates a new Identity instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} Identity instance - */ - Identity.create = function create(properties) { - return new Identity(properties); - }; - - /** - * Encodes the specified Identity message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity} message Identity message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Identity.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.analysisState != null && Object.hasOwnProperty.call(message, "analysisState")) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.encode(message.analysisState, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified Identity message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentity} message Identity message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Identity.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an Identity message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} Identity - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Identity.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 2: { - message.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an Identity message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} Identity - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Identity.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an Identity message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Identity.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.analysisState != null && message.hasOwnProperty("analysisState")) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.verify(message.analysisState); - if (error) - return "analysisState." + error; - } - return null; - }; - - /** - * Creates an Identity message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} Identity - */ - Identity.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity(); - if (object.name != null) - message.name = String(object.name); - if (object.analysisState != null) { - if (typeof object.analysisState !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.analysisState: object expected"); - message.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.fromObject(object.analysisState); - } - return message; - }; - - /** - * Creates a plain object from an Identity message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} message Identity - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Identity.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.name = ""; - object.analysisState = null; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.analysisState != null && message.hasOwnProperty("analysisState")) - object.analysisState = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.toObject(message.analysisState, options); - return object; - }; - - /** - * Converts this Identity to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @instance - * @returns {Object.} JSON object - */ - Identity.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Identity - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Identity.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity"; - }; - - return Identity; - })(); - - IamPolicyAnalysisResult.AccessControlList = (function() { - - /** - * Properties of an AccessControlList. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @interface IAccessControlList - * @property {Array.|null} [resources] AccessControlList resources - * @property {Array.|null} [accesses] AccessControlList accesses - * @property {Array.|null} [resourceEdges] AccessControlList resourceEdges - */ - - /** - * Constructs a new AccessControlList. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @classdesc Represents an AccessControlList. - * @implements IAccessControlList - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList=} [properties] Properties to set - */ - function AccessControlList(properties) { - this.resources = []; - this.accesses = []; - this.resourceEdges = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * AccessControlList resources. - * @member {Array.} resources - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @instance - */ - AccessControlList.prototype.resources = $util.emptyArray; - - /** - * AccessControlList accesses. - * @member {Array.} accesses - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @instance - */ - AccessControlList.prototype.accesses = $util.emptyArray; - - /** - * AccessControlList resourceEdges. - * @member {Array.} resourceEdges - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @instance - */ - AccessControlList.prototype.resourceEdges = $util.emptyArray; - - /** - * Creates a new AccessControlList instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList} AccessControlList instance - */ - AccessControlList.create = function create(properties) { - return new AccessControlList(properties); - }; - - /** - * Encodes the specified AccessControlList message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList} message AccessControlList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AccessControlList.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.resources != null && message.resources.length) - for (var i = 0; i < message.resources.length; ++i) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.encode(message.resources[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.accesses != null && message.accesses.length) - for (var i = 0; i < message.accesses.length; ++i) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.encode(message.accesses[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.resourceEdges != null && message.resourceEdges.length) - for (var i = 0; i < message.resourceEdges.length; ++i) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.encode(message.resourceEdges[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified AccessControlList message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IAccessControlList} message AccessControlList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - AccessControlList.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an AccessControlList message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList} AccessControlList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AccessControlList.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.resources && message.resources.length)) - message.resources = []; - message.resources.push($root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.decode(reader, reader.uint32())); - break; - } - case 2: { - if (!(message.accesses && message.accesses.length)) - message.accesses = []; - message.accesses.push($root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.decode(reader, reader.uint32())); - break; - } - case 3: { - if (!(message.resourceEdges && message.resourceEdges.length)) - message.resourceEdges = []; - message.resourceEdges.push($root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an AccessControlList message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList} AccessControlList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - AccessControlList.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an AccessControlList message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - AccessControlList.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.resources != null && message.hasOwnProperty("resources")) { - if (!Array.isArray(message.resources)) - return "resources: array expected"; - for (var i = 0; i < message.resources.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.verify(message.resources[i]); - if (error) - return "resources." + error; - } - } - if (message.accesses != null && message.hasOwnProperty("accesses")) { - if (!Array.isArray(message.accesses)) - return "accesses: array expected"; - for (var i = 0; i < message.accesses.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.verify(message.accesses[i]); - if (error) - return "accesses." + error; - } - } - if (message.resourceEdges != null && message.hasOwnProperty("resourceEdges")) { - if (!Array.isArray(message.resourceEdges)) - return "resourceEdges: array expected"; - for (var i = 0; i < message.resourceEdges.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.verify(message.resourceEdges[i]); - if (error) - return "resourceEdges." + error; - } - } - return null; - }; - - /** - * Creates an AccessControlList message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList} AccessControlList - */ - AccessControlList.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(); - if (object.resources) { - if (!Array.isArray(object.resources)) - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.resources: array expected"); - message.resources = []; - for (var i = 0; i < object.resources.length; ++i) { - if (typeof object.resources[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.resources: object expected"); - message.resources[i] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.fromObject(object.resources[i]); - } - } - if (object.accesses) { - if (!Array.isArray(object.accesses)) - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.accesses: array expected"); - message.accesses = []; - for (var i = 0; i < object.accesses.length; ++i) { - if (typeof object.accesses[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.accesses: object expected"); - message.accesses[i] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.fromObject(object.accesses[i]); - } - } - if (object.resourceEdges) { - if (!Array.isArray(object.resourceEdges)) - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.resourceEdges: array expected"); - message.resourceEdges = []; - for (var i = 0; i < object.resourceEdges.length; ++i) { - if (typeof object.resourceEdges[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.resourceEdges: object expected"); - message.resourceEdges[i] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.fromObject(object.resourceEdges[i]); - } - } - return message; - }; - - /** - * Creates a plain object from an AccessControlList message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList} message AccessControlList - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - AccessControlList.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object.resources = []; - object.accesses = []; - object.resourceEdges = []; - } - if (message.resources && message.resources.length) { - object.resources = []; - for (var j = 0; j < message.resources.length; ++j) - object.resources[j] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.toObject(message.resources[j], options); - } - if (message.accesses && message.accesses.length) { - object.accesses = []; - for (var j = 0; j < message.accesses.length; ++j) - object.accesses[j] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.toObject(message.accesses[j], options); - } - if (message.resourceEdges && message.resourceEdges.length) { - object.resourceEdges = []; - for (var j = 0; j < message.resourceEdges.length; ++j) - object.resourceEdges[j] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.toObject(message.resourceEdges[j], options); - } - return object; - }; - - /** - * Converts this AccessControlList to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @instance - * @returns {Object.} JSON object - */ - AccessControlList.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for AccessControlList - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - AccessControlList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList"; - }; - - return AccessControlList; - })(); - - IamPolicyAnalysisResult.IdentityList = (function() { - - /** - * Properties of an IdentityList. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @interface IIdentityList - * @property {Array.|null} [identities] IdentityList identities - * @property {Array.|null} [groupEdges] IdentityList groupEdges - */ - - /** - * Constructs a new IdentityList. - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - * @classdesc Represents an IdentityList. - * @implements IIdentityList - * @constructor - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList=} [properties] Properties to set - */ - function IdentityList(properties) { - this.identities = []; - this.groupEdges = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * IdentityList identities. - * @member {Array.} identities - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @instance - */ - IdentityList.prototype.identities = $util.emptyArray; - - /** - * IdentityList groupEdges. - * @member {Array.} groupEdges - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @instance - */ - IdentityList.prototype.groupEdges = $util.emptyArray; - - /** - * Creates a new IdentityList instance using the specified properties. - * @function create - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList=} [properties] Properties to set - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} IdentityList instance - */ - IdentityList.create = function create(properties) { - return new IdentityList(properties); - }; - - /** - * Encodes the specified IdentityList message. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.verify|verify} messages. - * @function encode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList} message IdentityList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IdentityList.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.identities != null && message.identities.length) - for (var i = 0; i < message.identities.length; ++i) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.encode(message.identities[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.groupEdges != null && message.groupEdges.length) - for (var i = 0; i < message.groupEdges.length; ++i) - $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.encode(message.groupEdges[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; - - /** - * Encodes the specified IdentityList message, length delimited. Does not implicitly {@link google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IIdentityList} message IdentityList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IdentityList.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an IdentityList message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} IdentityList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IdentityList.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.identities && message.identities.length)) - message.identities = []; - message.identities.push($root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.decode(reader, reader.uint32())); - break; - } - case 2: { - if (!(message.groupEdges && message.groupEdges.length)) - message.groupEdges = []; - message.groupEdges.push($root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an IdentityList message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} IdentityList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IdentityList.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an IdentityList message. - * @function verify - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IdentityList.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.identities != null && message.hasOwnProperty("identities")) { - if (!Array.isArray(message.identities)) - return "identities: array expected"; - for (var i = 0; i < message.identities.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.verify(message.identities[i]); - if (error) - return "identities." + error; - } - } - if (message.groupEdges != null && message.hasOwnProperty("groupEdges")) { - if (!Array.isArray(message.groupEdges)) - return "groupEdges: array expected"; - for (var i = 0; i < message.groupEdges.length; ++i) { - var error = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.verify(message.groupEdges[i]); - if (error) - return "groupEdges." + error; - } - } - return null; - }; - - /** - * Creates an IdentityList message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} IdentityList - */ - IdentityList.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) - return object; - var message = new $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(); - if (object.identities) { - if (!Array.isArray(object.identities)) - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities: array expected"); - message.identities = []; - for (var i = 0; i < object.identities.length; ++i) { - if (typeof object.identities[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities: object expected"); - message.identities[i] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.fromObject(object.identities[i]); - } - } - if (object.groupEdges) { - if (!Array.isArray(object.groupEdges)) - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.groupEdges: array expected"); - message.groupEdges = []; - for (var i = 0; i < object.groupEdges.length; ++i) { - if (typeof object.groupEdges[i] !== "object") - throw TypeError(".google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.groupEdges: object expected"); - message.groupEdges[i] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.fromObject(object.groupEdges[i]); - } - } - return message; - }; - - /** - * Creates a plain object from an IdentityList message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} message IdentityList - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - IdentityList.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) { - object.identities = []; - object.groupEdges = []; - } - if (message.identities && message.identities.length) { - object.identities = []; - for (var j = 0; j < message.identities.length; ++j) - object.identities[j] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.toObject(message.identities[j], options); - } - if (message.groupEdges && message.groupEdges.length) { - object.groupEdges = []; - for (var j = 0; j < message.groupEdges.length; ++j) - object.groupEdges[j] = $root.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.toObject(message.groupEdges[j], options); - } - return object; - }; - - /** - * Converts this IdentityList to JSON. - * @function toJSON - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @instance - * @returns {Object.} JSON object - */ - IdentityList.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for IdentityList - * @function getTypeUrl - * @memberof google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - IdentityList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList"; - }; - - return IdentityList; - })(); - - return IamPolicyAnalysisResult; - })(); - - return v1p4beta1; - })(); - asset.v1p5beta1 = (function() { /** @@ -57846,7 +52132,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -57881,14 +52166,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -57921,8 +52198,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -57974,10 +52249,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -58029,11 +52300,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -58076,11 +52342,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -58099,10 +52360,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -58110,8 +52369,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -59934,7 +54191,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -59960,14 +54216,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -59994,8 +54242,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -60036,10 +54282,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -60080,11 +54322,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -60105,11 +54342,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -60126,14 +54358,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -60163,258 +54391,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -61291,7 +55267,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -61303,7 +55278,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -61318,14 +55292,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -61352,9 +55318,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -61385,7 +55348,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -61395,29 +55358,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -61458,14 +55398,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -61486,13 +55418,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -61509,18 +55434,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -62159,251 +56076,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -63389,7 +57061,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -63404,7 +57075,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -63429,7 +57099,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -63452,7 +57121,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -63503,14 +57171,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -63632,9 +57292,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -63707,12 +57364,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -63815,13 +57466,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -63876,7 +57520,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -63929,13 +57572,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -63999,10 +57635,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -64068,7 +57700,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -64125,11 +57756,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -64178,7 +57804,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -64284,14 +57909,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -64344,8 +57961,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -64438,10 +58053,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -64555,15 +58166,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -64663,26 +58265,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -64712,7 +58294,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -64758,8 +58339,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -66804,7 +60383,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -66865,14 +60443,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -66910,8 +60480,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -66974,10 +60542,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -67046,15 +60610,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -67104,26 +60659,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -67148,7 +60683,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -67169,8 +60703,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -69489,7 +63021,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -69610,14 +63141,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -69692,8 +63215,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -69795,10 +63316,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -69934,11 +63451,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -70127,11 +63639,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -70229,7 +63736,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -70262,8 +63768,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -70327,381 +63831,81 @@ * @enum {number} * @property {number} JS_NORMAL=0 JS_NORMAL value * @property {number} JS_STRING=1 JS_STRING value - * @property {number} JS_NUMBER=2 JS_NUMBER value - */ - FieldOptions.JSType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "JS_NORMAL"] = 0; - values[valuesById[1] = "JS_STRING"] = 1; - values[valuesById[2] = "JS_NUMBER"] = 2; - return values; - })(); - - /** - * OptionRetention enum. - * @name google.protobuf.FieldOptions.OptionRetention - * @enum {number} - * @property {number} RETENTION_UNKNOWN=0 RETENTION_UNKNOWN value - * @property {number} RETENTION_RUNTIME=1 RETENTION_RUNTIME value - * @property {number} RETENTION_SOURCE=2 RETENTION_SOURCE value - */ - FieldOptions.OptionRetention = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "RETENTION_UNKNOWN"] = 0; - values[valuesById[1] = "RETENTION_RUNTIME"] = 1; - values[valuesById[2] = "RETENTION_SOURCE"] = 2; - return values; - })(); - - /** - * OptionTargetType enum. - * @name google.protobuf.FieldOptions.OptionTargetType - * @enum {number} - * @property {number} TARGET_TYPE_UNKNOWN=0 TARGET_TYPE_UNKNOWN value - * @property {number} TARGET_TYPE_FILE=1 TARGET_TYPE_FILE value - * @property {number} TARGET_TYPE_EXTENSION_RANGE=2 TARGET_TYPE_EXTENSION_RANGE value - * @property {number} TARGET_TYPE_MESSAGE=3 TARGET_TYPE_MESSAGE value - * @property {number} TARGET_TYPE_FIELD=4 TARGET_TYPE_FIELD value - * @property {number} TARGET_TYPE_ONEOF=5 TARGET_TYPE_ONEOF value - * @property {number} TARGET_TYPE_ENUM=6 TARGET_TYPE_ENUM value - * @property {number} TARGET_TYPE_ENUM_ENTRY=7 TARGET_TYPE_ENUM_ENTRY value - * @property {number} TARGET_TYPE_SERVICE=8 TARGET_TYPE_SERVICE value - * @property {number} TARGET_TYPE_METHOD=9 TARGET_TYPE_METHOD value - */ - FieldOptions.OptionTargetType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "TARGET_TYPE_UNKNOWN"] = 0; - values[valuesById[1] = "TARGET_TYPE_FILE"] = 1; - values[valuesById[2] = "TARGET_TYPE_EXTENSION_RANGE"] = 2; - values[valuesById[3] = "TARGET_TYPE_MESSAGE"] = 3; - values[valuesById[4] = "TARGET_TYPE_FIELD"] = 4; - values[valuesById[5] = "TARGET_TYPE_ONEOF"] = 5; - values[valuesById[6] = "TARGET_TYPE_ENUM"] = 6; - values[valuesById[7] = "TARGET_TYPE_ENUM_ENTRY"] = 7; - values[valuesById[8] = "TARGET_TYPE_SERVICE"] = 8; - values[valuesById[9] = "TARGET_TYPE_METHOD"] = 9; - return values; - })(); - - FieldOptions.EditionDefault = (function() { - - /** - * Properties of an EditionDefault. - * @memberof google.protobuf.FieldOptions - * @interface IEditionDefault - * @property {google.protobuf.Edition|null} [edition] EditionDefault edition - * @property {string|null} [value] EditionDefault value - */ - - /** - * Constructs a new EditionDefault. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents an EditionDefault. - * @implements IEditionDefault - * @constructor - * @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set - */ - function EditionDefault(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * EditionDefault edition. - * @member {google.protobuf.Edition} edition - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - */ - EditionDefault.prototype.edition = 0; - - /** - * EditionDefault value. - * @member {string} value - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - */ - EditionDefault.prototype.value = ""; - - /** - * Creates a new EditionDefault instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault instance - */ - EditionDefault.create = function create(properties) { - return new EditionDefault(properties); - }; - - /** - * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - EditionDefault.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); - if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - return writer; - }; - - /** - * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - EditionDefault.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an EditionDefault message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - EditionDefault.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.EditionDefault(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 3: { - message.edition = reader.int32(); - break; - } - case 2: { - message.value = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an EditionDefault message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - EditionDefault.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an EditionDefault message. - * @function verify - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - EditionDefault.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.edition != null && message.hasOwnProperty("edition")) - switch (message.edition) { - default: - return "edition: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; - return null; - }; - - /** - * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault - */ - EditionDefault.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.EditionDefault) - return object; - var message = new $root.google.protobuf.FieldOptions.EditionDefault(); - switch (object.edition) { - default: - if (typeof object.edition === "number") { - message.edition = object.edition; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.edition = 0; - break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; - case "EDITION_PROTO2": - case 998: - message.edition = 998; - break; - case "EDITION_PROTO3": - case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; + * @property {number} JS_NUMBER=2 JS_NUMBER value + */ + FieldOptions.JSType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "JS_NORMAL"] = 0; + values[valuesById[1] = "JS_STRING"] = 1; + values[valuesById[2] = "JS_NUMBER"] = 2; + return values; + })(); - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; + /** + * OptionRetention enum. + * @name google.protobuf.FieldOptions.OptionRetention + * @enum {number} + * @property {number} RETENTION_UNKNOWN=0 RETENTION_UNKNOWN value + * @property {number} RETENTION_RUNTIME=1 RETENTION_RUNTIME value + * @property {number} RETENTION_SOURCE=2 RETENTION_SOURCE value + */ + FieldOptions.OptionRetention = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "RETENTION_UNKNOWN"] = 0; + values[valuesById[1] = "RETENTION_RUNTIME"] = 1; + values[valuesById[2] = "RETENTION_SOURCE"] = 2; + return values; + })(); - return EditionDefault; + /** + * OptionTargetType enum. + * @name google.protobuf.FieldOptions.OptionTargetType + * @enum {number} + * @property {number} TARGET_TYPE_UNKNOWN=0 TARGET_TYPE_UNKNOWN value + * @property {number} TARGET_TYPE_FILE=1 TARGET_TYPE_FILE value + * @property {number} TARGET_TYPE_EXTENSION_RANGE=2 TARGET_TYPE_EXTENSION_RANGE value + * @property {number} TARGET_TYPE_MESSAGE=3 TARGET_TYPE_MESSAGE value + * @property {number} TARGET_TYPE_FIELD=4 TARGET_TYPE_FIELD value + * @property {number} TARGET_TYPE_ONEOF=5 TARGET_TYPE_ONEOF value + * @property {number} TARGET_TYPE_ENUM=6 TARGET_TYPE_ENUM value + * @property {number} TARGET_TYPE_ENUM_ENTRY=7 TARGET_TYPE_ENUM_ENTRY value + * @property {number} TARGET_TYPE_SERVICE=8 TARGET_TYPE_SERVICE value + * @property {number} TARGET_TYPE_METHOD=9 TARGET_TYPE_METHOD value + */ + FieldOptions.OptionTargetType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "TARGET_TYPE_UNKNOWN"] = 0; + values[valuesById[1] = "TARGET_TYPE_FILE"] = 1; + values[valuesById[2] = "TARGET_TYPE_EXTENSION_RANGE"] = 2; + values[valuesById[3] = "TARGET_TYPE_MESSAGE"] = 3; + values[valuesById[4] = "TARGET_TYPE_FIELD"] = 4; + values[valuesById[5] = "TARGET_TYPE_ONEOF"] = 5; + values[valuesById[6] = "TARGET_TYPE_ENUM"] = 6; + values[valuesById[7] = "TARGET_TYPE_ENUM_ENTRY"] = 7; + values[valuesById[8] = "TARGET_TYPE_SERVICE"] = 8; + values[valuesById[9] = "TARGET_TYPE_METHOD"] = 9; + return values; })(); - FieldOptions.FeatureSupport = (function() { + FieldOptions.EditionDefault = (function() { /** - * Properties of a FeatureSupport. + * Properties of an EditionDefault. * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved + * @interface IEditionDefault + * @property {google.protobuf.Edition|null} [edition] EditionDefault edition + * @property {string|null} [value] EditionDefault value */ /** - * Constructs a new FeatureSupport. + * Constructs a new EditionDefault. * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport + * @classdesc Represents an EditionDefault. + * @implements IEditionDefault * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set + * @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set */ - function FeatureSupport(properties) { + function EditionDefault(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -70709,119 +63913,91 @@ } /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport + * EditionDefault edition. + * @member {google.protobuf.Edition} edition + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance */ - FeatureSupport.prototype.deprecationWarning = ""; + EditionDefault.prototype.edition = 0; /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport + * EditionDefault value. + * @member {string} value + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance */ - FeatureSupport.prototype.editionRemoved = 0; + EditionDefault.prototype.value = ""; /** - * Creates a new FeatureSupport instance using the specified properties. + * Creates a new EditionDefault instance using the specified properties. * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance + * @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set + * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault instance */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); + EditionDefault.create = function create(properties) { + return new EditionDefault(properties); }; /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. + * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode + * @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FeatureSupport.encode = function encode(message, writer) { + EditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); + if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); return writer; }; /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. + * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode + * @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { + EditionDefault.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a FeatureSupport message from the specified reader or buffer. + * Decodes an EditionDefault message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport + * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FeatureSupport.decode = function decode(reader, length, error) { + EditionDefault.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.EditionDefault(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } case 3: { - message.deprecationWarning = reader.string(); + message.edition = reader.int32(); break; } - case 4: { - message.editionRemoved = reader.int32(); + case 2: { + message.value = reader.string(); break; } default: @@ -70833,77 +64009,37 @@ }; /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. + * Decodes an EditionDefault message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport + * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { + EditionDefault.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a FeatureSupport message. + * Verifies an EditionDefault message. * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FeatureSupport.verify = function verify(message) { + EditionDefault.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { + if (message.edition != null && message.hasOwnProperty("edition")) + switch (message.edition) { default: - return "editionRemoved: enum value expected"; + return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -70916,251 +64052,132 @@ case 2147483647: break; } + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; return null; }; /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. + * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport + * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) + EditionDefault.fromObject = function fromObject(object) { + if (object instanceof $root.google.protobuf.FieldOptions.EditionDefault) return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { + var message = new $root.google.protobuf.FieldOptions.EditionDefault(); + switch (object.edition) { default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; + if (typeof object.edition === "number") { + message.edition = object.edition; break; } break; case "EDITION_UNKNOWN": case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; + message.edition = 0; break; case "EDITION_PROTO2": case 998: - message.editionRemoved = 998; + message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -71755,7 +64772,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -71799,14 +64815,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -71845,8 +64853,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -71898,10 +64904,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -71954,11 +64956,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -71992,11 +64989,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -72029,7 +65021,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -72037,8 +65028,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -73506,8 +66495,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -73573,22 +66560,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -73625,10 +66596,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -73689,14 +66656,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -73787,26 +66746,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -73946,54 +66885,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -74017,8 +66908,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -74032,10 +66921,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -74163,219 +67048,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -74560,7 +67232,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -74578,7 +67249,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -74627,10 +67297,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -74683,10 +67349,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -74795,8 +67457,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -74823,20 +67484,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -74862,12 +67515,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -74908,12 +67559,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -74956,7 +67603,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -74969,15 +67615,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -75005,10 +67646,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -75050,15 +67687,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -75077,16 +67709,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -76301,22 +68930,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-asset/protos/protos.json b/packages/google-cloud-asset/protos/protos.json index fb902bff1a5..02e006ed31e 100644 --- a/packages/google-cloud-asset/protos/protos.json +++ b/packages/google-cloud-asset/protos/protos.json @@ -3796,496 +3796,6 @@ } } }, - "v1p4beta1": { - "options": { - "csharp_namespace": "Google.Cloud.Asset.V1P4Beta1", - "go_package": "google.golang.org/genproto/googleapis/cloud/asset/v1p4beta1;asset", - "java_multiple_files": true, - "java_outer_classname": "AssetProto", - "java_package": "com.google.cloud.asset.v1p4beta1", - "php_namespace": "Google\\Cloud\\Asset\\V1p4beta1", - "cc_enable_arenas": true - }, - "nested": { - "AssetService": { - "options": { - "(google.api.default_host)": "cloudasset.googleapis.com", - "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" - }, - "methods": { - "AnalyzeIamPolicy": { - "requestType": "AnalyzeIamPolicyRequest", - "responseType": "AnalyzeIamPolicyResponse", - "options": { - "(google.api.http).get": "/v1p4beta1/{analysis_query.parent=*/*}:analyzeIamPolicy" - }, - "parsedOptions": [ - { - "(google.api.http)": { - "get": "/v1p4beta1/{analysis_query.parent=*/*}:analyzeIamPolicy" - } - } - ] - }, - "ExportIamPolicyAnalysis": { - "requestType": "ExportIamPolicyAnalysisRequest", - "responseType": "google.longrunning.Operation", - "options": { - "(google.api.http).post": "/v1p4beta1/{analysis_query.parent=*/*}:exportIamPolicyAnalysis", - "(google.api.http).body": "*", - "(google.longrunning.operation_info).response_type": "google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse", - "(google.longrunning.operation_info).metadata_type": "google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest" - }, - "parsedOptions": [ - { - "(google.api.http)": { - "post": "/v1p4beta1/{analysis_query.parent=*/*}:exportIamPolicyAnalysis", - "body": "*" - } - }, - { - "(google.longrunning.operation_info)": { - "response_type": "google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse", - "metadata_type": "google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest" - } - } - ] - } - } - }, - "IamPolicyAnalysisQuery": { - "fields": { - "parent": { - "type": "string", - "id": 1, - "options": { - "(google.api.field_behavior)": "REQUIRED" - } - }, - "resourceSelector": { - "type": "ResourceSelector", - "id": 2, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "identitySelector": { - "type": "IdentitySelector", - "id": 3, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "accessSelector": { - "type": "AccessSelector", - "id": 4, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - } - }, - "nested": { - "ResourceSelector": { - "fields": { - "fullResourceName": { - "type": "string", - "id": 1, - "options": { - "(google.api.field_behavior)": "REQUIRED" - } - } - } - }, - "IdentitySelector": { - "fields": { - "identity": { - "type": "string", - "id": 1, - "options": { - "(google.api.field_behavior)": "REQUIRED" - } - } - } - }, - "AccessSelector": { - "fields": { - "roles": { - "rule": "repeated", - "type": "string", - "id": 1, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "permissions": { - "rule": "repeated", - "type": "string", - "id": 2, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - } - } - } - } - }, - "AnalyzeIamPolicyRequest": { - "fields": { - "analysisQuery": { - "type": "IamPolicyAnalysisQuery", - "id": 1, - "options": { - "(google.api.field_behavior)": "REQUIRED" - } - }, - "options": { - "type": "Options", - "id": 2, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - } - }, - "nested": { - "Options": { - "fields": { - "expandGroups": { - "type": "bool", - "id": 1, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "expandRoles": { - "type": "bool", - "id": 2, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "expandResources": { - "type": "bool", - "id": 3, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "outputResourceEdges": { - "type": "bool", - "id": 4, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "outputGroupEdges": { - "type": "bool", - "id": 5, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "analyzeServiceAccountImpersonation": { - "type": "bool", - "id": 6, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "executionTimeout": { - "type": "google.protobuf.Duration", - "id": 7, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - } - } - } - } - }, - "AnalyzeIamPolicyResponse": { - "fields": { - "mainAnalysis": { - "type": "IamPolicyAnalysis", - "id": 1 - }, - "serviceAccountImpersonationAnalysis": { - "rule": "repeated", - "type": "IamPolicyAnalysis", - "id": 2 - }, - "fullyExplored": { - "type": "bool", - "id": 3 - }, - "nonCriticalErrors": { - "rule": "repeated", - "type": "IamPolicyAnalysisResult.AnalysisState", - "id": 4 - } - }, - "nested": { - "IamPolicyAnalysis": { - "fields": { - "analysisQuery": { - "type": "IamPolicyAnalysisQuery", - "id": 1 - }, - "analysisResults": { - "rule": "repeated", - "type": "IamPolicyAnalysisResult", - "id": 2 - }, - "fullyExplored": { - "type": "bool", - "id": 3 - } - } - } - } - }, - "IamPolicyAnalysisOutputConfig": { - "oneofs": { - "destination": { - "oneof": [ - "gcsDestination" - ] - } - }, - "fields": { - "gcsDestination": { - "type": "GcsDestination", - "id": 1 - } - }, - "nested": { - "GcsDestination": { - "fields": { - "uri": { - "type": "string", - "id": 1, - "options": { - "(google.api.field_behavior)": "REQUIRED" - } - } - } - } - } - }, - "ExportIamPolicyAnalysisRequest": { - "fields": { - "analysisQuery": { - "type": "IamPolicyAnalysisQuery", - "id": 1, - "options": { - "(google.api.field_behavior)": "REQUIRED" - } - }, - "options": { - "type": "Options", - "id": 2, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "outputConfig": { - "type": "IamPolicyAnalysisOutputConfig", - "id": 3, - "options": { - "(google.api.field_behavior)": "REQUIRED" - } - } - }, - "nested": { - "Options": { - "fields": { - "expandGroups": { - "type": "bool", - "id": 1, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "expandRoles": { - "type": "bool", - "id": 2, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "expandResources": { - "type": "bool", - "id": 3, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "outputResourceEdges": { - "type": "bool", - "id": 4, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "outputGroupEdges": { - "type": "bool", - "id": 5, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - }, - "analyzeServiceAccountImpersonation": { - "type": "bool", - "id": 6, - "options": { - "(google.api.field_behavior)": "OPTIONAL" - } - } - } - } - } - }, - "ExportIamPolicyAnalysisResponse": { - "fields": { - "outputConfig": { - "type": "IamPolicyAnalysisOutputConfig", - "id": 1 - } - } - }, - "IamPolicyAnalysisResult": { - "fields": { - "attachedResourceFullName": { - "type": "string", - "id": 1 - }, - "iamBinding": { - "type": "google.iam.v1.Binding", - "id": 2 - }, - "accessControlLists": { - "rule": "repeated", - "type": "AccessControlList", - "id": 3 - }, - "identityList": { - "type": "IdentityList", - "id": 4 - }, - "fullyExplored": { - "type": "bool", - "id": 5 - } - }, - "nested": { - "AnalysisState": { - "fields": { - "code": { - "type": "google.rpc.Code", - "id": 1 - }, - "cause": { - "type": "string", - "id": 2 - } - } - }, - "Resource": { - "fields": { - "fullResourceName": { - "type": "string", - "id": 1 - }, - "analysisState": { - "type": "AnalysisState", - "id": 2 - } - } - }, - "Access": { - "oneofs": { - "oneofAccess": { - "oneof": [ - "role", - "permission" - ] - } - }, - "fields": { - "role": { - "type": "string", - "id": 1 - }, - "permission": { - "type": "string", - "id": 2 - }, - "analysisState": { - "type": "AnalysisState", - "id": 3 - } - } - }, - "Edge": { - "fields": { - "sourceNode": { - "type": "string", - "id": 1 - }, - "targetNode": { - "type": "string", - "id": 2 - } - } - }, - "Identity": { - "fields": { - "name": { - "type": "string", - "id": 1 - }, - "analysisState": { - "type": "AnalysisState", - "id": 2 - } - } - }, - "AccessControlList": { - "fields": { - "resources": { - "rule": "repeated", - "type": "Resource", - "id": 1 - }, - "accesses": { - "rule": "repeated", - "type": "Access", - "id": 2 - }, - "resourceEdges": { - "rule": "repeated", - "type": "Edge", - "id": 3 - } - } - }, - "IdentityList": { - "fields": { - "identities": { - "rule": "repeated", - "type": "Identity", - "id": 1 - }, - "groupEdges": { - "rule": "repeated", - "type": "Edge", - "id": 2 - } - } - } - } - } - } - }, "v1p5beta1": { "options": { "csharp_namespace": "Google.Cloud.Asset.V1p5Beta1", @@ -5345,7 +4855,8 @@ "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "http": { @@ -5469,10 +4980,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -5613,28 +5120,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -5692,11 +5177,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -5758,19 +5238,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -5903,19 +5370,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -5954,11 +5414,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -6047,10 +5502,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -6276,10 +5727,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -6494,7 +5941,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -6630,8 +6076,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -6659,10 +6104,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -6732,26 +6173,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -6840,10 +6261,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -6986,7 +6403,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -6997,7 +6413,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -7008,7 +6423,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -7019,7 +6433,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -7030,8 +6443,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -7041,38 +6453,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -7117,13 +6518,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -7138,33 +6533,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -7192,26 +6560,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { - "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { + "features": { "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -7224,12 +6577,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -7315,14 +6662,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { @@ -8206,7 +7545,6 @@ "java_multiple_files": true, "java_outer_classname": "OperationsProto", "java_package": "com.google.longrunning", - "objc_class_prefix": "GLRUN", "php_namespace": "Google\\LongRunning" }, "nested": { diff --git a/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy.js index 1e559456f4a..6c96eeb3518 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.analyze_iam_policy_longrunning.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy_longrunning.js index 8b6c5a7e809..9cc367a3a51 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy_longrunning.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_iam_policy_longrunning.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.analyze_move.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_move.js index dc1128d0a74..6e52ca7d33a 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_move.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_move.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.analyze_org_policies.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policies.js index 31f78b1305f..3e21778e11b 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policies.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policies.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_assets.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_assets.js index 9e505945aa1..c1273837369 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_assets.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_assets.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_containers.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_containers.js index 3c5e76827d0..372fa550317 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_containers.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.analyze_org_policy_governed_containers.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.batch_get_assets_history.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_assets_history.js index c6c3013a467..a004f72eb32 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_assets_history.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_assets_history.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.batch_get_effective_iam_policies.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_effective_iam_policies.js index c554587baed..cb1cd324326 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_effective_iam_policies.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.batch_get_effective_iam_policies.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.create_feed.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.create_feed.js index b16bdf1d68d..dca5baa8d86 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.create_feed.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.create_feed.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.create_saved_query.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.create_saved_query.js index 1503e41dfec..f75642922f4 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.create_saved_query.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.create_saved_query.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.delete_feed.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_feed.js index ac7eee5ada0..cf735febc80 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_feed.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_feed.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.delete_saved_query.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_saved_query.js index 73e7cb93a19..e80b1d89c33 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_saved_query.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.delete_saved_query.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.export_assets.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.export_assets.js index 2fccbdca0e5..188a96b30d3 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.export_assets.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.export_assets.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.get_feed.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.get_feed.js index 5e944846479..b0e9589c85e 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.get_feed.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.get_feed.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.get_saved_query.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.get_saved_query.js index 68a9ae91f39..4dd0fae053d 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.get_saved_query.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.get_saved_query.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.list_assets.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.list_assets.js index 513354e87f6..37b5b8d6d4e 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.list_assets.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.list_assets.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.list_feeds.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.list_feeds.js index 875bd079fc3..5516f8da89e 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.list_feeds.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.list_feeds.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.list_saved_queries.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.list_saved_queries.js index 755f0caf6c2..0094342fafc 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.list_saved_queries.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.list_saved_queries.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.query_assets.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.query_assets.js index c45017124c9..aeee104101b 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.query_assets.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.query_assets.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.search_all_iam_policies.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_iam_policies.js index 69dc226a43a..d6e09325311 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_iam_policies.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_iam_policies.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.search_all_resources.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_resources.js index 527f03e3e60..5e06fdd5106 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_resources.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.search_all_resources.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.update_feed.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.update_feed.js index 7fb41b86d93..efa6d66e4cf 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.update_feed.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.update_feed.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/asset_service.update_saved_query.js b/packages/google-cloud-asset/samples/generated/v1/asset_service.update_saved_query.js index 21b307ffbdb..c56d9fc3ea4 100644 --- a/packages/google-cloud-asset/samples/generated/v1/asset_service.update_saved_query.js +++ b/packages/google-cloud-asset/samples/generated/v1/asset_service.update_saved_query.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1/snippet_metadata_google.cloud.asset.v1.json b/packages/google-cloud-asset/samples/generated/v1/snippet_metadata_google.cloud.asset.v1.json index 0c448b30254..697097fac88 100644 --- a/packages/google-cloud-asset/samples/generated/v1/snippet_metadata_google.cloud.asset.v1.json +++ b/packages/google-cloud-asset/samples/generated/v1/snippet_metadata_google.cloud.asset.v1.json @@ -1,1183 +1,1183 @@ { - "clientLibrary": { - "name": "nodejs-asset", - "version": "6.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.asset.v1", - "version": "v1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-asset", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.asset.v1", + "version": "v1" + } + ] + }, + "snippets": [ + { + "regionTag": "cloudasset_v1_generated_AssetService_ExportAssets_async", + "title": "AssetService exportAssets Sample", + "origin": "API_DEFINITION", + "description": " Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON format; for BigQuery table destinations, the output table stores the fields in asset Protobuf as columns. This API implements the [google.longrunning.Operation][google.longrunning.Operation] API, which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", + "canonical": true, + "file": "asset_service.export_assets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_ExportAssets_async", - "title": "AssetService exportAssets Sample", - "origin": "API_DEFINITION", - "description": " Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON format; for BigQuery table destinations, the output table stores the fields in asset Protobuf as columns. This API implements the [google.longrunning.Operation][google.longrunning.Operation] API, which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", - "canonical": true, - "file": "asset_service.export_assets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 111, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportAssets", - "fullName": "google.cloud.asset.v1.AssetService.ExportAssets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "read_time", - "type": ".google.protobuf.Timestamp" - }, - { - "name": "asset_types", - "type": "TYPE_STRING[]" - }, - { - "name": "content_type", - "type": ".google.cloud.asset.v1.ContentType" - }, - { - "name": "output_config", - "type": ".google.cloud.asset.v1.OutputConfig" - }, - { - "name": "relationship_types", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "ExportAssets", - "fullName": "google.cloud.asset.v1.AssetService.ExportAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 111, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportAssets", + "fullName": "google.cloud.asset.v1.AssetService.ExportAssets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "read_time", + "type": ".google.protobuf.Timestamp" + }, + { + "name": "asset_types", + "type": "TYPE_STRING[]" + }, + { + "name": "content_type", + "type": ".google.cloud.asset.v1.ContentType" + }, + { + "name": "output_config", + "type": ".google.cloud.asset.v1.OutputConfig" + }, + { + "name": "relationship_types", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "ExportAssets", + "fullName": "google.cloud.asset.v1.AssetService.ExportAssets", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_ListAssets_async", + "title": "AssetService listAssets Sample", + "origin": "API_DEFINITION", + "description": " Lists assets with time and resource types and returns paged results in response.", + "canonical": true, + "file": "asset_service.list_assets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_ListAssets_async", - "title": "AssetService listAssets Sample", - "origin": "API_DEFINITION", - "description": " Lists assets with time and resource types and returns paged results in response.", - "canonical": true, - "file": "asset_service.list_assets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 118, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAssets", - "fullName": "google.cloud.asset.v1.AssetService.ListAssets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "read_time", - "type": ".google.protobuf.Timestamp" - }, - { - "name": "asset_types", - "type": "TYPE_STRING[]" - }, - { - "name": "content_type", - "type": ".google.cloud.asset.v1.ContentType" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "relationship_types", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.asset.v1.ListAssetsResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.asset.v1.AssetService.ListAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 118, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListAssets", + "fullName": "google.cloud.asset.v1.AssetService.ListAssets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "read_time", + "type": ".google.protobuf.Timestamp" + }, + { + "name": "asset_types", + "type": "TYPE_STRING[]" + }, + { + "name": "content_type", + "type": ".google.cloud.asset.v1.ContentType" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "relationship_types", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.asset.v1.ListAssetsResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "ListAssets", + "fullName": "google.cloud.asset.v1.AssetService.ListAssets", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_async", + "title": "AssetService batchGetAssetsHistory Sample", + "origin": "API_DEFINITION", + "description": " Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.", + "canonical": true, + "file": "asset_service.batch_get_assets_history.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_async", - "title": "AssetService batchGetAssetsHistory Sample", - "origin": "API_DEFINITION", - "description": " Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.", - "canonical": true, - "file": "asset_service.batch_get_assets_history.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 96, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchGetAssetsHistory", - "fullName": "google.cloud.asset.v1.AssetService.BatchGetAssetsHistory", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "asset_names", - "type": "TYPE_STRING[]" - }, - { - "name": "content_type", - "type": ".google.cloud.asset.v1.ContentType" - }, - { - "name": "read_time_window", - "type": ".google.cloud.asset.v1.TimeWindow" - }, - { - "name": "relationship_types", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.asset.v1.BatchGetAssetsHistoryResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "BatchGetAssetsHistory", - "fullName": "google.cloud.asset.v1.AssetService.BatchGetAssetsHistory", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 96, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchGetAssetsHistory", + "fullName": "google.cloud.asset.v1.AssetService.BatchGetAssetsHistory", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "asset_names", + "type": "TYPE_STRING[]" + }, + { + "name": "content_type", + "type": ".google.cloud.asset.v1.ContentType" + }, + { + "name": "read_time_window", + "type": ".google.cloud.asset.v1.TimeWindow" + }, + { + "name": "relationship_types", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.asset.v1.BatchGetAssetsHistoryResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "BatchGetAssetsHistory", + "fullName": "google.cloud.asset.v1.AssetService.BatchGetAssetsHistory", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_CreateFeed_async", + "title": "AssetService createFeed Sample", + "origin": "API_DEFINITION", + "description": " Creates a feed in a parent project/folder/organization to listen to its asset updates.", + "canonical": true, + "file": "asset_service.create_feed.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_CreateFeed_async", - "title": "AssetService createFeed Sample", - "origin": "API_DEFINITION", - "description": " Creates a feed in a parent project/folder/organization to listen to its asset updates.", - "canonical": true, - "file": "asset_service.create_feed.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateFeed", - "fullName": "google.cloud.asset.v1.AssetService.CreateFeed", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "feed_id", - "type": "TYPE_STRING" - }, - { - "name": "feed", - "type": ".google.cloud.asset.v1.Feed" - } - ], - "resultType": ".google.cloud.asset.v1.Feed", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "CreateFeed", - "fullName": "google.cloud.asset.v1.AssetService.CreateFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateFeed", + "fullName": "google.cloud.asset.v1.AssetService.CreateFeed", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "feed_id", + "type": "TYPE_STRING" + }, + { + "name": "feed", + "type": ".google.cloud.asset.v1.Feed" + } + ], + "resultType": ".google.cloud.asset.v1.Feed", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "CreateFeed", + "fullName": "google.cloud.asset.v1.AssetService.CreateFeed", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_GetFeed_async", + "title": "AssetService getFeed Sample", + "origin": "API_DEFINITION", + "description": " Gets details about an asset feed.", + "canonical": true, + "file": "asset_service.get_feed.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_GetFeed_async", - "title": "AssetService getFeed Sample", - "origin": "API_DEFINITION", - "description": " Gets details about an asset feed.", - "canonical": true, - "file": "asset_service.get_feed.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetFeed", - "fullName": "google.cloud.asset.v1.AssetService.GetFeed", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.Feed", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "GetFeed", - "fullName": "google.cloud.asset.v1.AssetService.GetFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetFeed", + "fullName": "google.cloud.asset.v1.AssetService.GetFeed", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.Feed", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "GetFeed", + "fullName": "google.cloud.asset.v1.AssetService.GetFeed", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_ListFeeds_async", + "title": "AssetService listFeeds Sample", + "origin": "API_DEFINITION", + "description": " Lists all asset feeds in a parent project/folder/organization.", + "canonical": true, + "file": "asset_service.list_feeds.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_ListFeeds_async", - "title": "AssetService listFeeds Sample", - "origin": "API_DEFINITION", - "description": " Lists all asset feeds in a parent project/folder/organization.", - "canonical": true, - "file": "asset_service.list_feeds.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListFeeds", - "fullName": "google.cloud.asset.v1.AssetService.ListFeeds", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.ListFeedsResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "ListFeeds", - "fullName": "google.cloud.asset.v1.AssetService.ListFeeds", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListFeeds", + "fullName": "google.cloud.asset.v1.AssetService.ListFeeds", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.ListFeedsResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "ListFeeds", + "fullName": "google.cloud.asset.v1.AssetService.ListFeeds", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_UpdateFeed_async", + "title": "AssetService updateFeed Sample", + "origin": "API_DEFINITION", + "description": " Updates an asset feed configuration.", + "canonical": true, + "file": "asset_service.update_feed.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_UpdateFeed_async", - "title": "AssetService updateFeed Sample", - "origin": "API_DEFINITION", - "description": " Updates an asset feed configuration.", - "canonical": true, - "file": "asset_service.update_feed.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateFeed", - "fullName": "google.cloud.asset.v1.AssetService.UpdateFeed", - "async": true, - "parameters": [ - { - "name": "feed", - "type": ".google.cloud.asset.v1.Feed" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.asset.v1.Feed", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "UpdateFeed", - "fullName": "google.cloud.asset.v1.AssetService.UpdateFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateFeed", + "fullName": "google.cloud.asset.v1.AssetService.UpdateFeed", + "async": true, + "parameters": [ + { + "name": "feed", + "type": ".google.cloud.asset.v1.Feed" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.asset.v1.Feed", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "UpdateFeed", + "fullName": "google.cloud.asset.v1.AssetService.UpdateFeed", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_DeleteFeed_async", + "title": "AssetService deleteFeed Sample", + "origin": "API_DEFINITION", + "description": " Deletes an asset feed.", + "canonical": true, + "file": "asset_service.delete_feed.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_DeleteFeed_async", - "title": "AssetService deleteFeed Sample", - "origin": "API_DEFINITION", - "description": " Deletes an asset feed.", - "canonical": true, - "file": "asset_service.delete_feed.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteFeed", - "fullName": "google.cloud.asset.v1.AssetService.DeleteFeed", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "DeleteFeed", - "fullName": "google.cloud.asset.v1.AssetService.DeleteFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteFeed", + "fullName": "google.cloud.asset.v1.AssetService.DeleteFeed", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "DeleteFeed", + "fullName": "google.cloud.asset.v1.AssetService.DeleteFeed", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_SearchAllResources_async", + "title": "AssetService searchAllResources Sample", + "origin": "API_DEFINITION", + "description": " Searches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on the desired scope, otherwise the request will be rejected.", + "canonical": true, + "file": "asset_service.search_all_resources.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_SearchAllResources_async", - "title": "AssetService searchAllResources Sample", - "origin": "API_DEFINITION", - "description": " Searches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on the desired scope, otherwise the request will be rejected.", - "canonical": true, - "file": "asset_service.search_all_resources.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 225, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchAllResources", - "fullName": "google.cloud.asset.v1.AssetService.SearchAllResources", - "async": true, - "parameters": [ - { - "name": "scope", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "asset_types", - "type": "TYPE_STRING[]" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - }, - { - "name": "read_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.asset.v1.SearchAllResourcesResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "SearchAllResources", - "fullName": "google.cloud.asset.v1.AssetService.SearchAllResources", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 225, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchAllResources", + "fullName": "google.cloud.asset.v1.AssetService.SearchAllResources", + "async": true, + "parameters": [ + { + "name": "scope", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "asset_types", + "type": "TYPE_STRING[]" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + }, + { + "name": "read_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.asset.v1.SearchAllResourcesResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "SearchAllResources", + "fullName": "google.cloud.asset.v1.AssetService.SearchAllResources", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_SearchAllIamPolicies_async", + "title": "AssetService searchAllIamPolicies Sample", + "origin": "API_DEFINITION", + "description": " Searches all IAM policies within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllIamPolicies` permission on the desired scope, otherwise the request will be rejected.", + "canonical": true, + "file": "asset_service.search_all_iam_policies.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_SearchAllIamPolicies_async", - "title": "AssetService searchAllIamPolicies Sample", - "origin": "API_DEFINITION", - "description": " Searches all IAM policies within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllIamPolicies` permission on the desired scope, otherwise the request will be rejected.", - "canonical": true, - "file": "asset_service.search_all_iam_policies.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 152, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchAllIamPolicies", - "fullName": "google.cloud.asset.v1.AssetService.SearchAllIamPolicies", - "async": true, - "parameters": [ - { - "name": "scope", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "asset_types", - "type": "TYPE_STRING[]" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.SearchAllIamPoliciesResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "SearchAllIamPolicies", - "fullName": "google.cloud.asset.v1.AssetService.SearchAllIamPolicies", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 152, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchAllIamPolicies", + "fullName": "google.cloud.asset.v1.AssetService.SearchAllIamPolicies", + "async": true, + "parameters": [ + { + "name": "scope", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "asset_types", + "type": "TYPE_STRING[]" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.SearchAllIamPoliciesResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "SearchAllIamPolicies", + "fullName": "google.cloud.asset.v1.AssetService.SearchAllIamPolicies", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_async", + "title": "AssetService analyzeIamPolicy Sample", + "origin": "API_DEFINITION", + "description": " Analyzes IAM policies to answer which identities have what accesses on which resources.", + "canonical": true, + "file": "asset_service.analyze_iam_policy.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_async", - "title": "AssetService analyzeIamPolicy Sample", - "origin": "API_DEFINITION", - "description": " Analyzes IAM policies to answer which identities have what accesses on which resources.", - "canonical": true, - "file": "asset_service.analyze_iam_policy.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnalyzeIamPolicy", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicy", - "async": true, - "parameters": [ - { - "name": "analysis_query", - "type": ".google.cloud.asset.v1.IamPolicyAnalysisQuery" - }, - { - "name": "saved_analysis_query", - "type": "TYPE_STRING" - }, - { - "name": "execution_timeout", - "type": ".google.protobuf.Duration" - } - ], - "resultType": ".google.cloud.asset.v1.AnalyzeIamPolicyResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "AnalyzeIamPolicy", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicy", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnalyzeIamPolicy", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicy", + "async": true, + "parameters": [ + { + "name": "analysis_query", + "type": ".google.cloud.asset.v1.IamPolicyAnalysisQuery" + }, + { + "name": "saved_analysis_query", + "type": "TYPE_STRING" + }, + { + "name": "execution_timeout", + "type": ".google.protobuf.Duration" + } + ], + "resultType": ".google.cloud.asset.v1.AnalyzeIamPolicyResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "AnalyzeIamPolicy", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicy", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_async", + "title": "AssetService analyzeIamPolicyLongrunning Sample", + "origin": "API_DEFINITION", + "description": " Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse]. This method implements the [google.longrunning.Operation][google.longrunning.Operation], which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the metadata for the long-running operation.", + "canonical": true, + "file": "asset_service.analyze_iam_policy_longrunning.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_async", - "title": "AssetService analyzeIamPolicyLongrunning Sample", - "origin": "API_DEFINITION", - "description": " Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse]. This method implements the [google.longrunning.Operation][google.longrunning.Operation], which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the metadata for the long-running operation.", - "canonical": true, - "file": "asset_service.analyze_iam_policy_longrunning.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnalyzeIamPolicyLongrunning", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning", - "async": true, - "parameters": [ - { - "name": "analysis_query", - "type": ".google.cloud.asset.v1.IamPolicyAnalysisQuery" - }, - { - "name": "saved_analysis_query", - "type": "TYPE_STRING" - }, - { - "name": "output_config", - "type": ".google.cloud.asset.v1.IamPolicyAnalysisOutputConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "AnalyzeIamPolicyLongrunning", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnalyzeIamPolicyLongrunning", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning", + "async": true, + "parameters": [ + { + "name": "analysis_query", + "type": ".google.cloud.asset.v1.IamPolicyAnalysisQuery" + }, + { + "name": "saved_analysis_query", + "type": "TYPE_STRING" + }, + { + "name": "output_config", + "type": ".google.cloud.asset.v1.IamPolicyAnalysisOutputConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "AnalyzeIamPolicyLongrunning", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeMove_async", + "title": "AssetService analyzeMove Sample", + "origin": "API_DEFINITION", + "description": " Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.", + "canonical": true, + "file": "asset_service.analyze_move.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeMove_async", - "title": "AssetService analyzeMove Sample", - "origin": "API_DEFINITION", - "description": " Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.", - "canonical": true, - "file": "asset_service.analyze_move.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnalyzeMove", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeMove", - "async": true, - "parameters": [ - { - "name": "resource", - "type": "TYPE_STRING" - }, - { - "name": "destination_parent", - "type": "TYPE_STRING" - }, - { - "name": "view", - "type": ".google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView" - } - ], - "resultType": ".google.cloud.asset.v1.AnalyzeMoveResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "AnalyzeMove", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeMove", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnalyzeMove", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeMove", + "async": true, + "parameters": [ + { + "name": "resource", + "type": "TYPE_STRING" + }, + { + "name": "destination_parent", + "type": "TYPE_STRING" + }, + { + "name": "view", + "type": ".google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView" + } + ], + "resultType": ".google.cloud.asset.v1.AnalyzeMoveResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "AnalyzeMove", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeMove", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_QueryAssets_async", + "title": "AssetService queryAssets Sample", + "origin": "API_DEFINITION", + "description": " Issue a job that queries assets using a SQL statement compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the `QueryAssetsResponse`. Otherwise, full query results can be obtained by issuing extra requests with the `job_reference` from the a previous `QueryAssets` call. Note, the query result has approximately 10 GB limitation enforced by [BigQuery](https://cloud.google.com/bigquery/docs/best-practices-performance-output). Queries return larger results will result in errors.", + "canonical": true, + "file": "asset_service.query_assets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_QueryAssets_async", - "title": "AssetService queryAssets Sample", - "origin": "API_DEFINITION", - "description": " Issue a job that queries assets using a SQL statement compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the `QueryAssetsResponse`. Otherwise, full query results can be obtained by issuing extra requests with the `job_reference` from the a previous `QueryAssets` call. Note, the query result has approximately 10 GB limitation enforced by [BigQuery](https://cloud.google.com/bigquery/docs/best-practices-performance-output). Queries return larger results will result in errors.", - "canonical": true, - "file": "asset_service.query_assets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 115, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "QueryAssets", - "fullName": "google.cloud.asset.v1.AssetService.QueryAssets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "statement", - "type": "TYPE_STRING" - }, - { - "name": "job_reference", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "timeout", - "type": ".google.protobuf.Duration" - }, - { - "name": "read_time_window", - "type": ".google.cloud.asset.v1.TimeWindow" - }, - { - "name": "read_time", - "type": ".google.protobuf.Timestamp" - }, - { - "name": "output_config", - "type": ".google.cloud.asset.v1.QueryAssetsOutputConfig" - } - ], - "resultType": ".google.cloud.asset.v1.QueryAssetsResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "QueryAssets", - "fullName": "google.cloud.asset.v1.AssetService.QueryAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 115, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "QueryAssets", + "fullName": "google.cloud.asset.v1.AssetService.QueryAssets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "statement", + "type": "TYPE_STRING" + }, + { + "name": "job_reference", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "timeout", + "type": ".google.protobuf.Duration" + }, + { + "name": "read_time_window", + "type": ".google.cloud.asset.v1.TimeWindow" + }, + { + "name": "read_time", + "type": ".google.protobuf.Timestamp" + }, + { + "name": "output_config", + "type": ".google.cloud.asset.v1.QueryAssetsOutputConfig" + } + ], + "resultType": ".google.cloud.asset.v1.QueryAssetsResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "QueryAssets", + "fullName": "google.cloud.asset.v1.AssetService.QueryAssets", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_CreateSavedQuery_async", + "title": "AssetService createSavedQuery Sample", + "origin": "API_DEFINITION", + "description": " Creates a saved query in a parent project/folder/organization.", + "canonical": true, + "file": "asset_service.create_saved_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_CreateSavedQuery_async", - "title": "AssetService createSavedQuery Sample", - "origin": "API_DEFINITION", - "description": " Creates a saved query in a parent project/folder/organization.", - "canonical": true, - "file": "asset_service.create_saved_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.CreateSavedQuery", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "saved_query", - "type": ".google.cloud.asset.v1.SavedQuery" - }, - { - "name": "saved_query_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.SavedQuery", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "CreateSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.CreateSavedQuery", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSavedQuery", + "fullName": "google.cloud.asset.v1.AssetService.CreateSavedQuery", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "saved_query", + "type": ".google.cloud.asset.v1.SavedQuery" + }, + { + "name": "saved_query_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.SavedQuery", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "CreateSavedQuery", + "fullName": "google.cloud.asset.v1.AssetService.CreateSavedQuery", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_GetSavedQuery_async", + "title": "AssetService getSavedQuery Sample", + "origin": "API_DEFINITION", + "description": " Gets details about a saved query.", + "canonical": true, + "file": "asset_service.get_saved_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_GetSavedQuery_async", - "title": "AssetService getSavedQuery Sample", - "origin": "API_DEFINITION", - "description": " Gets details about a saved query.", - "canonical": true, - "file": "asset_service.get_saved_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.GetSavedQuery", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.SavedQuery", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "GetSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.GetSavedQuery", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSavedQuery", + "fullName": "google.cloud.asset.v1.AssetService.GetSavedQuery", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.SavedQuery", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "GetSavedQuery", + "fullName": "google.cloud.asset.v1.AssetService.GetSavedQuery", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_ListSavedQueries_async", + "title": "AssetService listSavedQueries Sample", + "origin": "API_DEFINITION", + "description": " Lists all saved queries in a parent project/folder/organization.", + "canonical": true, + "file": "asset_service.list_saved_queries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_ListSavedQueries_async", - "title": "AssetService listSavedQueries Sample", - "origin": "API_DEFINITION", - "description": " Lists all saved queries in a parent project/folder/organization.", - "canonical": true, - "file": "asset_service.list_saved_queries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSavedQueries", - "fullName": "google.cloud.asset.v1.AssetService.ListSavedQueries", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.ListSavedQueriesResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "ListSavedQueries", - "fullName": "google.cloud.asset.v1.AssetService.ListSavedQueries", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSavedQueries", + "fullName": "google.cloud.asset.v1.AssetService.ListSavedQueries", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.ListSavedQueriesResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "ListSavedQueries", + "fullName": "google.cloud.asset.v1.AssetService.ListSavedQueries", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_UpdateSavedQuery_async", + "title": "AssetService updateSavedQuery Sample", + "origin": "API_DEFINITION", + "description": " Updates a saved query.", + "canonical": true, + "file": "asset_service.update_saved_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_UpdateSavedQuery_async", - "title": "AssetService updateSavedQuery Sample", - "origin": "API_DEFINITION", - "description": " Updates a saved query.", - "canonical": true, - "file": "asset_service.update_saved_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.UpdateSavedQuery", - "async": true, - "parameters": [ - { - "name": "saved_query", - "type": ".google.cloud.asset.v1.SavedQuery" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.asset.v1.SavedQuery", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "UpdateSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.UpdateSavedQuery", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSavedQuery", + "fullName": "google.cloud.asset.v1.AssetService.UpdateSavedQuery", + "async": true, + "parameters": [ + { + "name": "saved_query", + "type": ".google.cloud.asset.v1.SavedQuery" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.asset.v1.SavedQuery", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "UpdateSavedQuery", + "fullName": "google.cloud.asset.v1.AssetService.UpdateSavedQuery", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_DeleteSavedQuery_async", + "title": "AssetService deleteSavedQuery Sample", + "origin": "API_DEFINITION", + "description": " Deletes a saved query.", + "canonical": true, + "file": "asset_service.delete_saved_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_DeleteSavedQuery_async", - "title": "AssetService deleteSavedQuery Sample", - "origin": "API_DEFINITION", - "description": " Deletes a saved query.", - "canonical": true, - "file": "asset_service.delete_saved_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.DeleteSavedQuery", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "DeleteSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.DeleteSavedQuery", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSavedQuery", + "fullName": "google.cloud.asset.v1.AssetService.DeleteSavedQuery", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "DeleteSavedQuery", + "fullName": "google.cloud.asset.v1.AssetService.DeleteSavedQuery", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_async", + "title": "AssetService batchGetEffectiveIamPolicies Sample", + "origin": "API_DEFINITION", + "description": " Gets effective IAM policies for a batch of resources.", + "canonical": true, + "file": "asset_service.batch_get_effective_iam_policies.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_async", - "title": "AssetService batchGetEffectiveIamPolicies Sample", - "origin": "API_DEFINITION", - "description": " Gets effective IAM policies for a batch of resources.", - "canonical": true, - "file": "asset_service.batch_get_effective_iam_policies.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchGetEffectiveIamPolicies", - "fullName": "google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies", - "async": true, - "parameters": [ - { - "name": "scope", - "type": "TYPE_STRING" - }, - { - "name": "names", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "BatchGetEffectiveIamPolicies", - "fullName": "google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchGetEffectiveIamPolicies", + "fullName": "google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies", + "async": true, + "parameters": [ + { + "name": "scope", + "type": "TYPE_STRING" + }, + { + "name": "names", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "BatchGetEffectiveIamPolicies", + "fullName": "google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicies_async", + "title": "AssetService analyzeOrgPolicies Sample", + "origin": "API_DEFINITION", + "description": " Analyzes organization policies under a scope.", + "canonical": true, + "file": "asset_service.analyze_org_policies.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicies_async", - "title": "AssetService analyzeOrgPolicies Sample", - "origin": "API_DEFINITION", - "description": " Analyzes organization policies under a scope.", - "canonical": true, - "file": "asset_service.analyze_org_policies.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnalyzeOrgPolicies", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies", - "async": true, - "parameters": [ - { - "name": "scope", - "type": "TYPE_STRING" - }, - { - "name": "constraint", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.AnalyzeOrgPoliciesResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "AnalyzeOrgPolicies", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnalyzeOrgPolicies", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies", + "async": true, + "parameters": [ + { + "name": "scope", + "type": "TYPE_STRING" + }, + { + "name": "constraint", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.AnalyzeOrgPoliciesResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "AnalyzeOrgPolicies", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedContainers_async", + "title": "AssetService analyzeOrgPolicyGovernedContainers Sample", + "origin": "API_DEFINITION", + "description": " Analyzes organization policies governed containers (projects, folders or organization) under a scope.", + "canonical": true, + "file": "asset_service.analyze_org_policy_governed_containers.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedContainers_async", - "title": "AssetService analyzeOrgPolicyGovernedContainers Sample", - "origin": "API_DEFINITION", - "description": " Analyzes organization policies governed containers (projects, folders or organization) under a scope.", - "canonical": true, - "file": "asset_service.analyze_org_policy_governed_containers.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 89, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnalyzeOrgPolicyGovernedContainers", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers", - "async": true, - "parameters": [ - { - "name": "scope", - "type": "TYPE_STRING" - }, - { - "name": "constraint", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "AnalyzeOrgPolicyGovernedContainers", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 89, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnalyzeOrgPolicyGovernedContainers", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers", + "async": true, + "parameters": [ + { + "name": "scope", + "type": "TYPE_STRING" + }, + { + "name": "constraint", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" }, + "method": { + "shortName": "AnalyzeOrgPolicyGovernedContainers", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedAssets_async", + "title": "AssetService analyzeOrgPolicyGovernedAssets Sample", + "origin": "API_DEFINITION", + "description": " Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following canned constraints: * constraints/ainotebooks.accessMode * constraints/ainotebooks.disableFileDownloads * constraints/ainotebooks.disableRootAccess * constraints/ainotebooks.disableTerminal * constraints/ainotebooks.environmentOptions * constraints/ainotebooks.requireAutoUpgradeSchedule * constraints/ainotebooks.restrictVpcNetworks * constraints/compute.disableGuestAttributesAccess * constraints/compute.disableInstanceDataAccessApis * constraints/compute.disableNestedVirtualization * constraints/compute.disableSerialPortAccess * constraints/compute.disableSerialPortLogging * constraints/compute.disableVpcExternalIpv6 * constraints/compute.requireOsLogin * constraints/compute.requireShieldedVm * constraints/compute.restrictLoadBalancerCreationForTypes * constraints/compute.restrictProtocolForwardingCreationForTypes * constraints/compute.restrictXpnProjectLienRemoval * constraints/compute.setNewProjectDefaultToZonalDNSOnly * constraints/compute.skipDefaultNetworkCreation * constraints/compute.trustedImageProjects * constraints/compute.vmCanIpForward * constraints/compute.vmExternalIpAccess * constraints/gcp.detailedAuditLoggingMode * constraints/gcp.resourceLocations * constraints/iam.allowedPolicyMemberDomains * constraints/iam.automaticIamGrantsForDefaultServiceAccounts * constraints/iam.disableServiceAccountCreation * constraints/iam.disableServiceAccountKeyCreation * constraints/iam.disableServiceAccountKeyUpload * constraints/iam.restrictCrossProjectServiceAccountLienRemoval * constraints/iam.serviceAccountKeyExpiryHours * constraints/resourcemanager.accessBoundaries * constraints/resourcemanager.allowedExportDestinations * constraints/sql.restrictAuthorizedNetworks * constraints/sql.restrictNoncompliantDiagnosticDataAccess * constraints/sql.restrictNoncompliantResourceCreation * constraints/sql.restrictPublicIp * constraints/storage.publicAccessPrevention * constraints/storage.restrictAuthTypes * constraints/storage.uniformBucketLevelAccess This RPC only returns either resources of types [supported by search APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) or IAM policies.", + "canonical": true, + "file": "asset_service.analyze_org_policy_governed_assets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedAssets_async", - "title": "AssetService analyzeOrgPolicyGovernedAssets Sample", - "origin": "API_DEFINITION", - "description": " Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following canned constraints: * constraints/ainotebooks.accessMode * constraints/ainotebooks.disableFileDownloads * constraints/ainotebooks.disableRootAccess * constraints/ainotebooks.disableTerminal * constraints/ainotebooks.environmentOptions * constraints/ainotebooks.requireAutoUpgradeSchedule * constraints/ainotebooks.restrictVpcNetworks * constraints/compute.disableGuestAttributesAccess * constraints/compute.disableInstanceDataAccessApis * constraints/compute.disableNestedVirtualization * constraints/compute.disableSerialPortAccess * constraints/compute.disableSerialPortLogging * constraints/compute.disableVpcExternalIpv6 * constraints/compute.requireOsLogin * constraints/compute.requireShieldedVm * constraints/compute.restrictLoadBalancerCreationForTypes * constraints/compute.restrictProtocolForwardingCreationForTypes * constraints/compute.restrictXpnProjectLienRemoval * constraints/compute.setNewProjectDefaultToZonalDNSOnly * constraints/compute.skipDefaultNetworkCreation * constraints/compute.trustedImageProjects * constraints/compute.vmCanIpForward * constraints/compute.vmExternalIpAccess * constraints/gcp.detailedAuditLoggingMode * constraints/gcp.resourceLocations * constraints/iam.allowedPolicyMemberDomains * constraints/iam.automaticIamGrantsForDefaultServiceAccounts * constraints/iam.disableServiceAccountCreation * constraints/iam.disableServiceAccountKeyCreation * constraints/iam.disableServiceAccountKeyUpload * constraints/iam.restrictCrossProjectServiceAccountLienRemoval * constraints/iam.serviceAccountKeyExpiryHours * constraints/resourcemanager.accessBoundaries * constraints/resourcemanager.allowedExportDestinations * constraints/sql.restrictAuthorizedNetworks * constraints/sql.restrictNoncompliantDiagnosticDataAccess * constraints/sql.restrictNoncompliantResourceCreation * constraints/sql.restrictPublicIp * constraints/storage.publicAccessPrevention * constraints/storage.restrictAuthTypes * constraints/storage.uniformBucketLevelAccess This RPC only returns either resources of types [supported by search APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) or IAM policies.", - "canonical": true, - "file": "asset_service.analyze_org_policy_governed_assets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 104, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnalyzeOrgPolicyGovernedAssets", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets", - "async": true, - "parameters": [ - { - "name": "scope", - "type": "TYPE_STRING" - }, - { - "name": "constraint", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1.AssetServiceClient" - }, - "method": { - "shortName": "AnalyzeOrgPolicyGovernedAssets", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } - } + "start": 25, + "end": 104, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "AnalyzeOrgPolicyGovernedAssets", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets", + "async": true, + "parameters": [ + { + "name": "scope", + "type": "TYPE_STRING" + }, + { + "name": "constraint", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1.AssetServiceClient" + }, + "method": { + "shortName": "AnalyzeOrgPolicyGovernedAssets", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_iam_policies.js b/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_iam_policies.js index bcba552905c..b10fef1207e 100644 --- a/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_iam_policies.js +++ b/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_iam_policies.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p1beta1/asset_service.search_all_resources.js b/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_resources.js index 39ec03538c4..73c44740b84 100644 --- a/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_resources.js +++ b/packages/google-cloud-asset/samples/generated/v1p1beta1/asset_service.search_all_resources.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p1beta1/snippet_metadata_google.cloud.asset.v1p1beta1.json b/packages/google-cloud-asset/samples/generated/v1p1beta1/snippet_metadata_google.cloud.asset.v1p1beta1.json index a3f1e18e579..f94d51dd629 100644 --- a/packages/google-cloud-asset/samples/generated/v1p1beta1/snippet_metadata_google.cloud.asset.v1p1beta1.json +++ b/packages/google-cloud-asset/samples/generated/v1p1beta1/snippet_metadata_google.cloud.asset.v1p1beta1.json @@ -1,127 +1,127 @@ { - "clientLibrary": { - "name": "nodejs-asset", - "version": "6.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.asset.v1p1beta1", - "version": "v1p1beta1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-asset", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.asset.v1p1beta1", + "version": "v1p1beta1" + } + ] + }, + "snippets": [ + { + "regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllResources_async", + "title": "AssetService searchAllResources Sample", + "origin": "API_DEFINITION", + "description": " Searches all the resources within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the resources within a scope, even if they don't have `.get` permission of all the resources. Callers should have `cloudasset.assets.searchAllResources` permission on the requested scope, otherwise the request will be rejected.", + "canonical": true, + "file": "asset_service.search_all_resources.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllResources_async", - "title": "AssetService searchAllResources Sample", - "origin": "API_DEFINITION", - "description": " Searches all the resources within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the resources within a scope, even if they don't have `.get` permission of all the resources. Callers should have `cloudasset.assets.searchAllResources` permission on the requested scope, otherwise the request will be rejected.", - "canonical": true, - "file": "asset_service.search_all_resources.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 91, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchAllResources", - "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllResources", - "async": true, - "parameters": [ - { - "name": "scope", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "asset_types", - "type": "TYPE_STRING[]" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1p1beta1.SearchAllResourcesResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p1beta1.AssetServiceClient" - }, - "method": { - "shortName": "SearchAllResources", - "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllResources", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p1beta1.AssetService" - } - } - } + "start": 25, + "end": 91, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchAllResources", + "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllResources", + "async": true, + "parameters": [ + { + "name": "scope", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "asset_types", + "type": "TYPE_STRING[]" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1p1beta1.SearchAllResourcesResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p1beta1.AssetServiceClient" }, + "method": { + "shortName": "SearchAllResources", + "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllResources", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p1beta1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllIamPolicies_async", + "title": "AssetService searchAllIamPolicies Sample", + "origin": "API_DEFINITION", + "description": " Searches all the IAM policies within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the IAM policies within a scope, even if they don't have `.getIamPolicy` permission of all the IAM policies. Callers should have `cloudasset.assets.searchAllIamPolicies` permission on the requested scope, otherwise the request will be rejected.", + "canonical": true, + "file": "asset_service.search_all_iam_policies.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllIamPolicies_async", - "title": "AssetService searchAllIamPolicies Sample", - "origin": "API_DEFINITION", - "description": " Searches all the IAM policies within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the IAM policies within a scope, even if they don't have `.getIamPolicy` permission of all the IAM policies. Callers should have `cloudasset.assets.searchAllIamPolicies` permission on the requested scope, otherwise the request will be rejected.", - "canonical": true, - "file": "asset_service.search_all_iam_policies.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchAllIamPolicies", - "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPolicies", - "async": true, - "parameters": [ - { - "name": "scope", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p1beta1.AssetServiceClient" - }, - "method": { - "shortName": "SearchAllIamPolicies", - "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPolicies", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p1beta1.AssetService" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "SearchAllIamPolicies", + "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPolicies", + "async": true, + "parameters": [ + { + "name": "scope", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p1beta1.AssetServiceClient" + }, + "method": { + "shortName": "SearchAllIamPolicies", + "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPolicies", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p1beta1.AssetService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.create_feed.js b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.create_feed.js index 7e2b1e006f5..88a81932194 100644 --- a/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.create_feed.js +++ b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.create_feed.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p2beta1/asset_service.delete_feed.js b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.delete_feed.js index b9c2386ec3d..638082f32ce 100644 --- a/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.delete_feed.js +++ b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.delete_feed.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p2beta1/asset_service.get_feed.js b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.get_feed.js index 2915a116b9c..ceb5327eff5 100644 --- a/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.get_feed.js +++ b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.get_feed.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p2beta1/asset_service.list_feeds.js b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.list_feeds.js index 003c7604aa7..4c909b769c9 100644 --- a/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.list_feeds.js +++ b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.list_feeds.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p2beta1/asset_service.update_feed.js b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.update_feed.js index 66e06349743..2a694fab36e 100644 --- a/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.update_feed.js +++ b/packages/google-cloud-asset/samples/generated/v1p2beta1/asset_service.update_feed.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p2beta1/snippet_metadata_google.cloud.asset.v1p2beta1.json b/packages/google-cloud-asset/samples/generated/v1p2beta1/snippet_metadata_google.cloud.asset.v1p2beta1.json index 04dd09efac5..1ce701288c9 100644 --- a/packages/google-cloud-asset/samples/generated/v1p2beta1/snippet_metadata_google.cloud.asset.v1p2beta1.json +++ b/packages/google-cloud-asset/samples/generated/v1p2beta1/snippet_metadata_google.cloud.asset.v1p2beta1.json @@ -1,227 +1,227 @@ { - "clientLibrary": { - "name": "nodejs-asset", - "version": "6.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.asset.v1p2beta1", - "version": "v1p2beta1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-asset", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.asset.v1p2beta1", + "version": "v1p2beta1" + } + ] + }, + "snippets": [ + { + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_CreateFeed_async", + "title": "AssetService createFeed Sample", + "origin": "API_DEFINITION", + "description": " Creates a feed in a parent project/folder/organization to listen to its asset updates.", + "canonical": true, + "file": "asset_service.create_feed.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_CreateFeed_async", - "title": "AssetService createFeed Sample", - "origin": "API_DEFINITION", - "description": " Creates a feed in a parent project/folder/organization to listen to its asset updates.", - "canonical": true, - "file": "asset_service.create_feed.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.CreateFeed", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "feed_id", - "type": "TYPE_STRING" - }, - { - "name": "feed", - "type": ".google.cloud.asset.v1p2beta1.Feed" - } - ], - "resultType": ".google.cloud.asset.v1p2beta1.Feed", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" - }, - "method": { - "shortName": "CreateFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.CreateFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.CreateFeed", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "feed_id", + "type": "TYPE_STRING" + }, + { + "name": "feed", + "type": ".google.cloud.asset.v1p2beta1.Feed" + } + ], + "resultType": ".google.cloud.asset.v1p2beta1.Feed", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" }, + "method": { + "shortName": "CreateFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.CreateFeed", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p2beta1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_GetFeed_async", + "title": "AssetService getFeed Sample", + "origin": "API_DEFINITION", + "description": " Gets details about an asset feed.", + "canonical": true, + "file": "asset_service.get_feed.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_GetFeed_async", - "title": "AssetService getFeed Sample", - "origin": "API_DEFINITION", - "description": " Gets details about an asset feed.", - "canonical": true, - "file": "asset_service.get_feed.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.GetFeed", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1p2beta1.Feed", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" - }, - "method": { - "shortName": "GetFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.GetFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.GetFeed", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1p2beta1.Feed", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" }, + "method": { + "shortName": "GetFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.GetFeed", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p2beta1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_ListFeeds_async", + "title": "AssetService listFeeds Sample", + "origin": "API_DEFINITION", + "description": " Lists all asset feeds in a parent project/folder/organization.", + "canonical": true, + "file": "asset_service.list_feeds.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_ListFeeds_async", - "title": "AssetService listFeeds Sample", - "origin": "API_DEFINITION", - "description": " Lists all asset feeds in a parent project/folder/organization.", - "canonical": true, - "file": "asset_service.list_feeds.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListFeeds", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.ListFeeds", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1p2beta1.ListFeedsResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" - }, - "method": { - "shortName": "ListFeeds", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.ListFeeds", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListFeeds", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.ListFeeds", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1p2beta1.ListFeedsResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" }, + "method": { + "shortName": "ListFeeds", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.ListFeeds", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p2beta1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_UpdateFeed_async", + "title": "AssetService updateFeed Sample", + "origin": "API_DEFINITION", + "description": " Updates an asset feed configuration.", + "canonical": true, + "file": "asset_service.update_feed.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_UpdateFeed_async", - "title": "AssetService updateFeed Sample", - "origin": "API_DEFINITION", - "description": " Updates an asset feed configuration.", - "canonical": true, - "file": "asset_service.update_feed.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.UpdateFeed", - "async": true, - "parameters": [ - { - "name": "feed", - "type": ".google.cloud.asset.v1p2beta1.Feed" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.asset.v1p2beta1.Feed", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" - }, - "method": { - "shortName": "UpdateFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.UpdateFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } - } + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.UpdateFeed", + "async": true, + "parameters": [ + { + "name": "feed", + "type": ".google.cloud.asset.v1p2beta1.Feed" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.asset.v1p2beta1.Feed", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" }, + "method": { + "shortName": "UpdateFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.UpdateFeed", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p2beta1.AssetService" + } + } + } + }, + { + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_DeleteFeed_async", + "title": "AssetService deleteFeed Sample", + "origin": "API_DEFINITION", + "description": " Deletes an asset feed.", + "canonical": true, + "file": "asset_service.delete_feed.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_DeleteFeed_async", - "title": "AssetService deleteFeed Sample", - "origin": "API_DEFINITION", - "description": " Deletes an asset feed.", - "canonical": true, - "file": "asset_service.delete_feed.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.DeleteFeed", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" - }, - "method": { - "shortName": "DeleteFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.DeleteFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "DeleteFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.DeleteFeed", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p2beta1.AssetServiceClient" + }, + "method": { + "shortName": "DeleteFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.DeleteFeed", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p2beta1.AssetService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-asset/samples/generated/v1p5beta1/asset_service.list_assets.js b/packages/google-cloud-asset/samples/generated/v1p5beta1/asset_service.list_assets.js index 0c106a4009d..81f115c35b9 100644 --- a/packages/google-cloud-asset/samples/generated/v1p5beta1/asset_service.list_assets.js +++ b/packages/google-cloud-asset/samples/generated/v1p5beta1/asset_service.list_assets.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p5beta1/snippet_metadata_google.cloud.asset.v1p5beta1.json b/packages/google-cloud-asset/samples/generated/v1p5beta1/snippet_metadata_google.cloud.asset.v1p5beta1.json index 6fe03e68700..4b5be9c80cd 100644 --- a/packages/google-cloud-asset/samples/generated/v1p5beta1/snippet_metadata_google.cloud.asset.v1p5beta1.json +++ b/packages/google-cloud-asset/samples/generated/v1p5beta1/snippet_metadata_google.cloud.asset.v1p5beta1.json @@ -1,75 +1,75 @@ { - "clientLibrary": { - "name": "nodejs-asset", - "version": "6.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.asset.v1p5beta1", - "version": "v1p5beta1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-asset", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.asset.v1p5beta1", + "version": "v1p5beta1" + } + ] + }, + "snippets": [ + { + "regionTag": "cloudasset_v1p5beta1_generated_AssetService_ListAssets_async", + "title": "AssetService listAssets Sample", + "origin": "API_DEFINITION", + "description": " Lists assets with time and resource types and returns paged results in response.", + "canonical": true, + "file": "asset_service.list_assets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p5beta1_generated_AssetService_ListAssets_async", - "title": "AssetService listAssets Sample", - "origin": "API_DEFINITION", - "description": " Lists assets with time and resource types and returns paged results in response.", - "canonical": true, - "file": "asset_service.list_assets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 99, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAssets", - "fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "read_time", - "type": ".google.protobuf.Timestamp" - }, - { - "name": "asset_types", - "type": "TYPE_STRING[]" - }, - { - "name": "content_type", - "type": ".google.cloud.asset.v1p5beta1.ContentType" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.asset.v1p5beta1.ListAssetsResponse", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p5beta1.AssetServiceClient" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p5beta1.AssetService" - } - } - } + "start": 25, + "end": 99, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "ListAssets", + "fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "read_time", + "type": ".google.protobuf.Timestamp" + }, + { + "name": "asset_types", + "type": "TYPE_STRING[]" + }, + { + "name": "content_type", + "type": ".google.cloud.asset.v1p5beta1.ContentType" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.asset.v1p5beta1.ListAssetsResponse", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p5beta1.AssetServiceClient" + }, + "method": { + "shortName": "ListAssets", + "fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p5beta1.AssetService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-asset/samples/generated/v1p7beta1/asset_service.export_assets.js b/packages/google-cloud-asset/samples/generated/v1p7beta1/asset_service.export_assets.js index f58b3350591..08d881a365a 100644 --- a/packages/google-cloud-asset/samples/generated/v1p7beta1/asset_service.export_assets.js +++ b/packages/google-cloud-asset/samples/generated/v1p7beta1/asset_service.export_assets.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/samples/generated/v1p7beta1/snippet_metadata_google.cloud.asset.v1p7beta1.json b/packages/google-cloud-asset/samples/generated/v1p7beta1/snippet_metadata_google.cloud.asset.v1p7beta1.json index 71b62eabffb..0f0b058801d 100644 --- a/packages/google-cloud-asset/samples/generated/v1p7beta1/snippet_metadata_google.cloud.asset.v1p7beta1.json +++ b/packages/google-cloud-asset/samples/generated/v1p7beta1/snippet_metadata_google.cloud.asset.v1p7beta1.json @@ -1,75 +1,75 @@ { - "clientLibrary": { - "name": "nodejs-asset", - "version": "6.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.asset.v1p7beta1", - "version": "v1p7beta1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-asset", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.asset.v1p7beta1", + "version": "v1p7beta1" + } + ] + }, + "snippets": [ + { + "regionTag": "cloudasset_v1p7beta1_generated_AssetService_ExportAssets_async", + "title": "AssetService exportAssets Sample", + "origin": "API_DEFINITION", + "description": " Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a [google.cloud.asset.v1p7beta1.Asset][google.cloud.asset.v1p7beta1.Asset] in the JSON format; for BigQuery table destinations, the output table stores the fields in asset proto as columns. This API implements the [google.longrunning.Operation][google.longrunning.Operation] API , which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", + "canonical": true, + "file": "asset_service.export_assets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "cloudasset_v1p7beta1_generated_AssetService_ExportAssets_async", - "title": "AssetService exportAssets Sample", - "origin": "API_DEFINITION", - "description": " Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a [google.cloud.asset.v1p7beta1.Asset][google.cloud.asset.v1p7beta1.Asset] in the JSON format; for BigQuery table destinations, the output table stores the fields in asset proto as columns. This API implements the [google.longrunning.Operation][google.longrunning.Operation] API , which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", - "canonical": true, - "file": "asset_service.export_assets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 106, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportAssets", - "fullName": "google.cloud.asset.v1p7beta1.AssetService.ExportAssets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "read_time", - "type": ".google.protobuf.Timestamp" - }, - { - "name": "asset_types", - "type": "TYPE_STRING[]" - }, - { - "name": "content_type", - "type": ".google.cloud.asset.v1p7beta1.ContentType" - }, - { - "name": "output_config", - "type": ".google.cloud.asset.v1p7beta1.OutputConfig" - }, - { - "name": "relationship_types", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AssetServiceClient", - "fullName": "google.cloud.asset.v1p7beta1.AssetServiceClient" - }, - "method": { - "shortName": "ExportAssets", - "fullName": "google.cloud.asset.v1p7beta1.AssetService.ExportAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p7beta1.AssetService" - } - } - } + "start": 25, + "end": 106, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "ExportAssets", + "fullName": "google.cloud.asset.v1p7beta1.AssetService.ExportAssets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "read_time", + "type": ".google.protobuf.Timestamp" + }, + { + "name": "asset_types", + "type": "TYPE_STRING[]" + }, + { + "name": "content_type", + "type": ".google.cloud.asset.v1p7beta1.ContentType" + }, + { + "name": "output_config", + "type": ".google.cloud.asset.v1p7beta1.OutputConfig" + }, + { + "name": "relationship_types", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AssetServiceClient", + "fullName": "google.cloud.asset.v1p7beta1.AssetServiceClient" + }, + "method": { + "shortName": "ExportAssets", + "fullName": "google.cloud.asset.v1p7beta1.AssetService.ExportAssets", + "service": { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p7beta1.AssetService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-asset/src/v1/asset_service_client.ts b/packages/google-cloud-asset/src/v1/asset_service_client.ts index 1b3809b71da..f9a8c96b2bf 100644 --- a/packages/google-cloud-asset/src/v1/asset_service_client.ts +++ b/packages/google-cloud-asset/src/v1/asset_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1/index.ts b/packages/google-cloud-asset/src/v1/index.ts index 53d0d30cd24..a104b4e2968 100644 --- a/packages/google-cloud-asset/src/v1/index.ts +++ b/packages/google-cloud-asset/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1p1beta1/asset_service_client.ts b/packages/google-cloud-asset/src/v1p1beta1/asset_service_client.ts index d0b109212ee..b7be9921e05 100644 --- a/packages/google-cloud-asset/src/v1p1beta1/asset_service_client.ts +++ b/packages/google-cloud-asset/src/v1p1beta1/asset_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1p1beta1/index.ts b/packages/google-cloud-asset/src/v1p1beta1/index.ts index 53d0d30cd24..a104b4e2968 100644 --- a/packages/google-cloud-asset/src/v1p1beta1/index.ts +++ b/packages/google-cloud-asset/src/v1p1beta1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1p2beta1/asset_service_client.ts b/packages/google-cloud-asset/src/v1p2beta1/asset_service_client.ts index b487587adde..1bd13fd4caf 100644 --- a/packages/google-cloud-asset/src/v1p2beta1/asset_service_client.ts +++ b/packages/google-cloud-asset/src/v1p2beta1/asset_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1p2beta1/index.ts b/packages/google-cloud-asset/src/v1p2beta1/index.ts index 53d0d30cd24..a104b4e2968 100644 --- a/packages/google-cloud-asset/src/v1p2beta1/index.ts +++ b/packages/google-cloud-asset/src/v1p2beta1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1p5beta1/asset_service_client.ts b/packages/google-cloud-asset/src/v1p5beta1/asset_service_client.ts index 4a3fdff9dac..b45003f3fa9 100644 --- a/packages/google-cloud-asset/src/v1p5beta1/asset_service_client.ts +++ b/packages/google-cloud-asset/src/v1p5beta1/asset_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1p5beta1/index.ts b/packages/google-cloud-asset/src/v1p5beta1/index.ts index 53d0d30cd24..a104b4e2968 100644 --- a/packages/google-cloud-asset/src/v1p5beta1/index.ts +++ b/packages/google-cloud-asset/src/v1p5beta1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1p7beta1/asset_service_client.ts b/packages/google-cloud-asset/src/v1p7beta1/asset_service_client.ts index 115de91a497..cc39a893197 100644 --- a/packages/google-cloud-asset/src/v1p7beta1/asset_service_client.ts +++ b/packages/google-cloud-asset/src/v1p7beta1/asset_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/src/v1p7beta1/index.ts b/packages/google-cloud-asset/src/v1p7beta1/index.ts index 53d0d30cd24..a104b4e2968 100644 --- a/packages/google-cloud-asset/src/v1p7beta1/index.ts +++ b/packages/google-cloud-asset/src/v1p7beta1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/system-test/fixtures/sample/src/index.js b/packages/google-cloud-asset/system-test/fixtures/sample/src/index.js index ff0ca53d4d7..a483c190259 100644 --- a/packages/google-cloud-asset/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-asset/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-asset/system-test/fixtures/sample/src/index.ts index 1c1323ac7b3..9e97334ff46 100644 --- a/packages/google-cloud-asset/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-asset/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/system-test/install.ts b/packages/google-cloud-asset/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-asset/system-test/install.ts +++ b/packages/google-cloud-asset/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/test/gapic_asset_service_v1.ts b/packages/google-cloud-asset/test/gapic_asset_service_v1.ts index 31bfe9935a6..96cc321bb9e 100644 --- a/packages/google-cloud-asset/test/gapic_asset_service_v1.ts +++ b/packages/google-cloud-asset/test/gapic_asset_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/test/gapic_asset_service_v1p1beta1.ts b/packages/google-cloud-asset/test/gapic_asset_service_v1p1beta1.ts index d97090a9774..346af6c7dc1 100644 --- a/packages/google-cloud-asset/test/gapic_asset_service_v1p1beta1.ts +++ b/packages/google-cloud-asset/test/gapic_asset_service_v1p1beta1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/test/gapic_asset_service_v1p2beta1.ts b/packages/google-cloud-asset/test/gapic_asset_service_v1p2beta1.ts index 1ef87391930..142107defe7 100644 --- a/packages/google-cloud-asset/test/gapic_asset_service_v1p2beta1.ts +++ b/packages/google-cloud-asset/test/gapic_asset_service_v1p2beta1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/test/gapic_asset_service_v1p5beta1.ts b/packages/google-cloud-asset/test/gapic_asset_service_v1p5beta1.ts index 01eb6b18fd7..a6576883f44 100644 --- a/packages/google-cloud-asset/test/gapic_asset_service_v1p5beta1.ts +++ b/packages/google-cloud-asset/test/gapic_asset_service_v1p5beta1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-asset/test/gapic_asset_service_v1p7beta1.ts b/packages/google-cloud-asset/test/gapic_asset_service_v1p7beta1.ts index 338f1c9696a..2fe3ba6c217 100644 --- a/packages/google-cloud-asset/test/gapic_asset_service_v1p7beta1.ts +++ b/packages/google-cloud-asset/test/gapic_asset_service_v1p7beta1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/.jsdoc.js b/packages/google-cloud-assuredworkloads/.jsdoc.js index b7fa081e0f0..82293bfb5c7 100644 --- a/packages/google-cloud-assuredworkloads/.jsdoc.js +++ b/packages/google-cloud-assuredworkloads/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/assured-workloads', diff --git a/packages/google-cloud-assuredworkloads/.mocharc.js b/packages/google-cloud-assuredworkloads/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-assuredworkloads/.mocharc.js +++ b/packages/google-cloud-assuredworkloads/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/.prettierrc.js b/packages/google-cloud-assuredworkloads/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-assuredworkloads/.prettierrc.js +++ b/packages/google-cloud-assuredworkloads/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/protos/protos.d.ts b/packages/google-cloud-assuredworkloads/protos/protos.d.ts index ca7284c6f46..c19fa79858a 100644 --- a/packages/google-cloud-assuredworkloads/protos/protos.d.ts +++ b/packages/google-cloud-assuredworkloads/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/protos/protos.js b/packages/google-cloud-assuredworkloads/protos/protos.js index 47db7e52e68..f8533360ee9 100644 --- a/packages/google-cloud-assuredworkloads/protos/protos.js +++ b/packages/google-cloud-assuredworkloads/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.acknowledge_violation.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.acknowledge_violation.js index f0745384b43..9320fda61fd 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.acknowledge_violation.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.acknowledge_violation.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.create_workload.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.create_workload.js index d62d248d67d..9c3971accdb 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.create_workload.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.create_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.delete_workload.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.delete_workload.js index 1a285cd0667..262f957096e 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.delete_workload.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.delete_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.get_violation.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.get_violation.js index 541a1fdd9f7..a7b599cf9b1 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.get_violation.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.get_violation.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.get_workload.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.get_workload.js index 7f3c3e825a7..b734891bd99 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.get_workload.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.get_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.list_violations.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.list_violations.js index 57da976bc3b..08528310af4 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.list_violations.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.list_violations.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.list_workloads.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.list_workloads.js index 28aad0e1b12..c49e97347f6 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.list_workloads.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.list_workloads.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.restrict_allowed_resources.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.restrict_allowed_resources.js index 84d22277fe3..1ee41cfea11 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.restrict_allowed_resources.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.restrict_allowed_resources.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1/assured_workloads_service.update_workload.js b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.update_workload.js index 5ef086442a5..da6b4ee9059 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.update_workload.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1/assured_workloads_service.update_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.analyze_workload_move.js b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.analyze_workload_move.js index 5df136ef309..affdfb2c695 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.analyze_workload_move.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.analyze_workload_move.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.create_workload.js b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.create_workload.js index 09ceea7ffe4..031a080a91f 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.create_workload.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.create_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.delete_workload.js b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.delete_workload.js index ee2dcdc2824..dd6b9cd922f 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.delete_workload.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.delete_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.get_workload.js b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.get_workload.js index aa9348eefde..e36caf1d416 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.get_workload.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.get_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.list_workloads.js b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.list_workloads.js index bdcc1115c4e..23bf2fd3df8 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.list_workloads.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.list_workloads.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.restrict_allowed_resources.js b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.restrict_allowed_resources.js index 378de998f63..82c379237a3 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.restrict_allowed_resources.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.restrict_allowed_resources.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.update_workload.js b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.update_workload.js index 046ad7986f2..82890fb8170 100644 --- a/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.update_workload.js +++ b/packages/google-cloud-assuredworkloads/samples/generated/v1beta1/assured_workloads_service.update_workload.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/src/v1/assured_workloads_service_client.ts b/packages/google-cloud-assuredworkloads/src/v1/assured_workloads_service_client.ts index b001b5a04cf..901e3c7e042 100644 --- a/packages/google-cloud-assuredworkloads/src/v1/assured_workloads_service_client.ts +++ b/packages/google-cloud-assuredworkloads/src/v1/assured_workloads_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/src/v1/index.ts b/packages/google-cloud-assuredworkloads/src/v1/index.ts index 1fee16c6a48..746e51f35ed 100644 --- a/packages/google-cloud-assuredworkloads/src/v1/index.ts +++ b/packages/google-cloud-assuredworkloads/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/src/v1beta1/assured_workloads_service_client.ts b/packages/google-cloud-assuredworkloads/src/v1beta1/assured_workloads_service_client.ts index 1c2c7dcc8de..8efb145fb0f 100644 --- a/packages/google-cloud-assuredworkloads/src/v1beta1/assured_workloads_service_client.ts +++ b/packages/google-cloud-assuredworkloads/src/v1beta1/assured_workloads_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/src/v1beta1/index.ts b/packages/google-cloud-assuredworkloads/src/v1beta1/index.ts index 1fee16c6a48..746e51f35ed 100644 --- a/packages/google-cloud-assuredworkloads/src/v1beta1/index.ts +++ b/packages/google-cloud-assuredworkloads/src/v1beta1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/system-test/fixtures/sample/src/index.js b/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.js index f03d6d1b695..8957ed3893b 100644 --- a/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.ts index 20e00ab569c..59c12c12e09 100644 --- a/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/system-test/install.ts b/packages/google-cloud-assuredworkloads/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-assuredworkloads/system-test/install.ts +++ b/packages/google-cloud-assuredworkloads/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/test/gapic_assured_workloads_service_v1.ts b/packages/google-cloud-assuredworkloads/test/gapic_assured_workloads_service_v1.ts index 94c21b5586e..1d7256bc0a0 100644 --- a/packages/google-cloud-assuredworkloads/test/gapic_assured_workloads_service_v1.ts +++ b/packages/google-cloud-assuredworkloads/test/gapic_assured_workloads_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-assuredworkloads/test/gapic_assured_workloads_service_v1beta1.ts b/packages/google-cloud-assuredworkloads/test/gapic_assured_workloads_service_v1beta1.ts index c54db3e858b..a07fd3381dd 100644 --- a/packages/google-cloud-assuredworkloads/test/gapic_assured_workloads_service_v1beta1.ts +++ b/packages/google-cloud-assuredworkloads/test/gapic_assured_workloads_service_v1beta1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/.jsdoc.js b/packages/google-cloud-automl/.jsdoc.js index d3ce0b445ee..8084eb8a21d 100644 --- a/packages/google-cloud-automl/.jsdoc.js +++ b/packages/google-cloud-automl/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/automl', diff --git a/packages/google-cloud-automl/.mocharc.js b/packages/google-cloud-automl/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-automl/.mocharc.js +++ b/packages/google-cloud-automl/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/.prettierrc.js b/packages/google-cloud-automl/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-automl/.prettierrc.js +++ b/packages/google-cloud-automl/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/protos/protos.d.ts b/packages/google-cloud-automl/protos/protos.d.ts index 8f63df59269..e0e2a312df8 100644 --- a/packages/google-cloud-automl/protos/protos.d.ts +++ b/packages/google-cloud-automl/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/protos/protos.js b/packages/google-cloud-automl/protos/protos.js index 62bb53a10f5..fd9c2eee2db 100644 --- a/packages/google-cloud-automl/protos/protos.js +++ b/packages/google-cloud-automl/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.create_dataset.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.create_dataset.js index 7032eb4d32c..9d66f336810 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.create_dataset.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.create_dataset.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.create_model.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.create_model.js index af23ec3666b..cb139ab5020 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.create_model.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.create_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.delete_dataset.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.delete_dataset.js index 6e2da682330..1336566ba85 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.delete_dataset.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.delete_dataset.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.delete_model.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.delete_model.js index d7c4eac88ee..69825188d10 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.delete_model.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.delete_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.deploy_model.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.deploy_model.js index 20860b92e5a..dbdfc6c0a8e 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.deploy_model.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.deploy_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.export_data.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.export_data.js index 0de99553dab..d2650d33a21 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.export_data.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.export_data.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.export_model.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.export_model.js index a6e323ca339..5ca537cd258 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.export_model.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.export_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.get_annotation_spec.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_annotation_spec.js index fdbd2c57d6e..da54ecbd938 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_annotation_spec.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_annotation_spec.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.get_dataset.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_dataset.js index d89ce1b6b49..3adcef9aae1 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_dataset.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_dataset.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.get_model.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_model.js index 9988c019292..37079f6bc43 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_model.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.get_model_evaluation.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_model_evaluation.js index 00a7e7e8f18..a74e60c73e1 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_model_evaluation.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.get_model_evaluation.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.import_data.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.import_data.js index 5153d83f3bc..8456419ee0d 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.import_data.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.import_data.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.list_datasets.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_datasets.js index 22f006f15d1..bfb62c9b3ee 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_datasets.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_datasets.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.list_model_evaluations.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_model_evaluations.js index 8c723fd90cf..8cd149ccfbf 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_model_evaluations.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_model_evaluations.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.list_models.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_models.js index a46640f459a..2bd8a8d2d32 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_models.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.list_models.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.undeploy_model.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.undeploy_model.js index 81cffaf53a2..ebb0276982b 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.undeploy_model.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.undeploy_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.update_dataset.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.update_dataset.js index e65c64e0ec1..d5d37c9a737 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.update_dataset.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.update_dataset.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/auto_ml.update_model.js b/packages/google-cloud-automl/samples/generated/v1/auto_ml.update_model.js index 05bc6ad020c..c7419fea879 100644 --- a/packages/google-cloud-automl/samples/generated/v1/auto_ml.update_model.js +++ b/packages/google-cloud-automl/samples/generated/v1/auto_ml.update_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/prediction_service.batch_predict.js b/packages/google-cloud-automl/samples/generated/v1/prediction_service.batch_predict.js index 02a4c4c72be..52967c7d056 100644 --- a/packages/google-cloud-automl/samples/generated/v1/prediction_service.batch_predict.js +++ b/packages/google-cloud-automl/samples/generated/v1/prediction_service.batch_predict.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1/prediction_service.predict.js b/packages/google-cloud-automl/samples/generated/v1/prediction_service.predict.js index 39f50746083..93170cc3254 100644 --- a/packages/google-cloud-automl/samples/generated/v1/prediction_service.predict.js +++ b/packages/google-cloud-automl/samples/generated/v1/prediction_service.predict.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.create_dataset.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.create_dataset.js index 0fb123925de..1611e8948a7 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.create_dataset.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.create_dataset.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.create_model.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.create_model.js index 3d80d104706..8b31d2bfa4f 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.create_model.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.create_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.delete_dataset.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.delete_dataset.js index 266f8d452de..3161dc12254 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.delete_dataset.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.delete_dataset.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.delete_model.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.delete_model.js index bfb08983a76..0bd2c08c24a 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.delete_model.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.delete_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.deploy_model.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.deploy_model.js index 752a3f9861e..a2b7a5c4acb 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.deploy_model.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.deploy_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.export_data.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_data.js index 3dd4ae48fa7..35f1dd35d16 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_data.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_data.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.export_evaluated_examples.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_evaluated_examples.js index 07ba45d7670..3956e7f8873 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_evaluated_examples.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_evaluated_examples.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.export_model.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_model.js index 404f4ac59c6..235d97ff5cc 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_model.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.export_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.get_annotation_spec.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_annotation_spec.js index 70244f42e9e..a64cb7cb912 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_annotation_spec.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_annotation_spec.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.get_column_spec.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_column_spec.js index f30f2690d07..ac7faff311e 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_column_spec.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_column_spec.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.get_dataset.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_dataset.js index f5051389ace..73b907d2a07 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_dataset.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_dataset.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.get_model.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_model.js index 9469751fd90..c67485b7bf5 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_model.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.get_model_evaluation.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_model_evaluation.js index 03e85c012c1..85ed8b6b382 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_model_evaluation.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_model_evaluation.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.get_table_spec.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_table_spec.js index 5b7280132fc..448a9b35af3 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_table_spec.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.get_table_spec.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.import_data.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.import_data.js index a88c9c1dbe0..e931f1c141a 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.import_data.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.import_data.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.list_column_specs.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_column_specs.js index 09221827e3a..50aeb393e67 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_column_specs.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_column_specs.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.list_datasets.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_datasets.js index aec09249299..26abb91d4d4 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_datasets.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_datasets.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.list_model_evaluations.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_model_evaluations.js index b7c29da33cf..bd3b47eec1f 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_model_evaluations.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_model_evaluations.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.list_models.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_models.js index deeef6b0d21..c1ef820ef7b 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_models.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_models.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.list_table_specs.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_table_specs.js index e0adbbf7242..93360381fab 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_table_specs.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.list_table_specs.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.undeploy_model.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.undeploy_model.js index e458df3d498..f03dcc05a6a 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.undeploy_model.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.undeploy_model.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.update_column_spec.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_column_spec.js index 39cb2be69f6..2ae47ac43c5 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_column_spec.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_column_spec.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.update_dataset.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_dataset.js index 90211c8d36c..739fa5a4cf9 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_dataset.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_dataset.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/auto_ml.update_table_spec.js b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_table_spec.js index 50c082d7ca0..94fb4a84741 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_table_spec.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/auto_ml.update_table_spec.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/prediction_service.batch_predict.js b/packages/google-cloud-automl/samples/generated/v1beta1/prediction_service.batch_predict.js index 27356eae05b..88cb7ac78e3 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/prediction_service.batch_predict.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/prediction_service.batch_predict.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/samples/generated/v1beta1/prediction_service.predict.js b/packages/google-cloud-automl/samples/generated/v1beta1/prediction_service.predict.js index b63ffc912c8..3ba54fa74a0 100644 --- a/packages/google-cloud-automl/samples/generated/v1beta1/prediction_service.predict.js +++ b/packages/google-cloud-automl/samples/generated/v1beta1/prediction_service.predict.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/src/v1/auto_ml_client.ts b/packages/google-cloud-automl/src/v1/auto_ml_client.ts index 9eec3462100..fb184afdf54 100644 --- a/packages/google-cloud-automl/src/v1/auto_ml_client.ts +++ b/packages/google-cloud-automl/src/v1/auto_ml_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/src/v1/index.ts b/packages/google-cloud-automl/src/v1/index.ts index 7f519b6408b..78601979104 100644 --- a/packages/google-cloud-automl/src/v1/index.ts +++ b/packages/google-cloud-automl/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/src/v1/prediction_service_client.ts b/packages/google-cloud-automl/src/v1/prediction_service_client.ts index 6f9a8a9cbdf..5b45b5196af 100644 --- a/packages/google-cloud-automl/src/v1/prediction_service_client.ts +++ b/packages/google-cloud-automl/src/v1/prediction_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/src/v1beta1/auto_ml_client.ts b/packages/google-cloud-automl/src/v1beta1/auto_ml_client.ts index 428b897f6aa..b8304dc586a 100644 --- a/packages/google-cloud-automl/src/v1beta1/auto_ml_client.ts +++ b/packages/google-cloud-automl/src/v1beta1/auto_ml_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/src/v1beta1/index.ts b/packages/google-cloud-automl/src/v1beta1/index.ts index 7f519b6408b..78601979104 100644 --- a/packages/google-cloud-automl/src/v1beta1/index.ts +++ b/packages/google-cloud-automl/src/v1beta1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/src/v1beta1/prediction_service_client.ts b/packages/google-cloud-automl/src/v1beta1/prediction_service_client.ts index 630d27f3e81..daf2803f918 100644 --- a/packages/google-cloud-automl/src/v1beta1/prediction_service_client.ts +++ b/packages/google-cloud-automl/src/v1beta1/prediction_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/system-test/fixtures/sample/src/index.js b/packages/google-cloud-automl/system-test/fixtures/sample/src/index.js index da7548b3371..be206475863 100644 --- a/packages/google-cloud-automl/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-automl/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-automl/system-test/fixtures/sample/src/index.ts index 1f2156edbb3..89c67eb67e3 100644 --- a/packages/google-cloud-automl/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-automl/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/system-test/install.ts b/packages/google-cloud-automl/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-automl/system-test/install.ts +++ b/packages/google-cloud-automl/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/test/gapic_auto_ml_v1.ts b/packages/google-cloud-automl/test/gapic_auto_ml_v1.ts index ae24a14144e..5337b09b18a 100644 --- a/packages/google-cloud-automl/test/gapic_auto_ml_v1.ts +++ b/packages/google-cloud-automl/test/gapic_auto_ml_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/test/gapic_auto_ml_v1beta1.ts b/packages/google-cloud-automl/test/gapic_auto_ml_v1beta1.ts index d83009e87c3..9140136d28c 100644 --- a/packages/google-cloud-automl/test/gapic_auto_ml_v1beta1.ts +++ b/packages/google-cloud-automl/test/gapic_auto_ml_v1beta1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/test/gapic_prediction_service_v1.ts b/packages/google-cloud-automl/test/gapic_prediction_service_v1.ts index 3cc37370bb7..76b56c2ef11 100644 --- a/packages/google-cloud-automl/test/gapic_prediction_service_v1.ts +++ b/packages/google-cloud-automl/test/gapic_prediction_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-automl/test/gapic_prediction_service_v1beta1.ts b/packages/google-cloud-automl/test/gapic_prediction_service_v1beta1.ts index 7e36d0078cb..ef71980041a 100644 --- a/packages/google-cloud-automl/test/gapic_prediction_service_v1beta1.ts +++ b/packages/google-cloud-automl/test/gapic_prediction_service_v1beta1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/.jsdoc.js b/packages/google-cloud-backupdr/.jsdoc.js index f6b96e7b70a..c694adb20c8 100644 --- a/packages/google-cloud-backupdr/.jsdoc.js +++ b/packages/google-cloud-backupdr/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/backupdr', diff --git a/packages/google-cloud-backupdr/.mocharc.js b/packages/google-cloud-backupdr/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-backupdr/.mocharc.js +++ b/packages/google-cloud-backupdr/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/.prettierrc.js b/packages/google-cloud-backupdr/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-backupdr/.prettierrc.js +++ b/packages/google-cloud-backupdr/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/protos/protos.d.ts b/packages/google-cloud-backupdr/protos/protos.d.ts index 1795a47a51d..c6f1332454c 100644 --- a/packages/google-cloud-backupdr/protos/protos.d.ts +++ b/packages/google-cloud-backupdr/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/protos/protos.js b/packages/google-cloud-backupdr/protos/protos.js index 41d226cbad6..a2bfe2e1c04 100644 --- a/packages/google-cloud-backupdr/protos/protos.js +++ b/packages/google-cloud-backupdr/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.create_backup_plan.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_plan.js index 34422f5ac48..744efb47244 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_plan.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_plan.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.create_backup_plan_association.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_plan_association.js index a74b80de6f7..71be228e09e 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_plan_association.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_plan_association.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.create_backup_vault.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_vault.js index 923ca067d04..aa8fe7e1485 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_vault.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_backup_vault.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.create_management_server.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_management_server.js index 23f73ab5e2f..19d882e52e5 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_management_server.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.create_management_server.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.delete_backup.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup.js index a480d8a31bd..dc9bee40a34 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.delete_backup_plan.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_plan.js index 7c23ff0b23a..70a490a5b4b 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_plan.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_plan.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.delete_backup_plan_association.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_plan_association.js index 14e7b0d4fa2..70e1ca0efc2 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_plan_association.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_plan_association.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.delete_backup_vault.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_vault.js index fdaace6b914..6a3e236ab2c 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_vault.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_backup_vault.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.delete_management_server.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_management_server.js index ec29bc7662d..c7a17945e6b 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_management_server.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.delete_management_server.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.fetch_backup_plan_associations_for_resource_type.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_backup_plan_associations_for_resource_type.js index 49101edc88d..eb9ebd76fe4 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_backup_plan_associations_for_resource_type.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_backup_plan_associations_for_resource_type.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.fetch_backups_for_resource_type.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_backups_for_resource_type.js index 9306acf839c..83d92447b52 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_backups_for_resource_type.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_backups_for_resource_type.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.fetch_data_source_references_for_resource_type.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_data_source_references_for_resource_type.js index 1eed5c7fbb1..ba8227643a3 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_data_source_references_for_resource_type.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_data_source_references_for_resource_type.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.fetch_usable_backup_vaults.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_usable_backup_vaults.js index dd8f9c2dcc0..5bfda0bb76d 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_usable_backup_vaults.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.fetch_usable_backup_vaults.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.get_backup.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup.js index 95703087caa..1db664e9c80 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.get_backup_plan.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan.js index e2e4a2bdb7c..cd367d4a1ce 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.get_backup_plan_association.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan_association.js index 5eedcbc578a..d79ba972be0 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan_association.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan_association.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.get_backup_plan_revision.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan_revision.js index 7385373d46c..7b00b5c17df 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan_revision.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_plan_revision.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.get_backup_vault.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_vault.js index 2538adfbc95..14fdb5572ad 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_vault.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_backup_vault.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.get_data_source.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_data_source.js index 59d79e6723d..b6be2c0fe07 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_data_source.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_data_source.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.get_data_source_reference.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_data_source_reference.js index 7883c3b750c..8bcb3f16254 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_data_source_reference.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_data_source_reference.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.get_management_server.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_management_server.js index b562e39a2a3..03e80ac1640 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_management_server.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.get_management_server.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.initialize_service.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.initialize_service.js index 705e463ce3c..55c53e70194 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.initialize_service.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.initialize_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.list_backup_plan_associations.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plan_associations.js index 6fe29bc8480..3b8a476c2b0 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plan_associations.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plan_associations.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.list_backup_plan_revisions.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plan_revisions.js index d08353dd840..2fcc7d36b5b 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plan_revisions.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plan_revisions.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.list_backup_plans.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plans.js index 29b6515587c..3be463bf2e7 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plans.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_plans.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.list_backup_vaults.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_vaults.js index dfcb8cd5288..e1bb4508c4e 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_vaults.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backup_vaults.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.list_backups.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backups.js index 677db55a76f..b2736b060b3 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backups.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_backups.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.list_data_source_references.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_data_source_references.js index 94a13d6c9ad..c84c7594aa3 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_data_source_references.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_data_source_references.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.list_data_sources.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_data_sources.js index 7d90b0c58f8..e27878ed103 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_data_sources.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_data_sources.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.list_management_servers.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_management_servers.js index 1d98e7b7f88..90c999155be 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_management_servers.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.list_management_servers.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.restore_backup.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.restore_backup.js index 2ab1df9ec14..26250028fd3 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.restore_backup.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.restore_backup.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.trigger_backup.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.trigger_backup.js index 828beeb5072..b8c0ade8a11 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.trigger_backup.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.trigger_backup.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.update_backup.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup.js index 1164041efa2..80cb7a400e7 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.update_backup_plan.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_plan.js index 3f34d5289ba..45ee6f6baae 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_plan.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_plan.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.update_backup_plan_association.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_plan_association.js index f5fd25f1043..cb6d94b74b1 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_plan_association.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_plan_association.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.update_backup_vault.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_vault.js index 6b4b90e509a..cf8aba9e2b3 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_vault.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_backup_vault.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/samples/generated/v1/backup_d_r.update_data_source.js b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_data_source.js index 609fcfa4098..23861e49849 100644 --- a/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_data_source.js +++ b/packages/google-cloud-backupdr/samples/generated/v1/backup_d_r.update_data_source.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/src/v1/backup_d_r_client.ts b/packages/google-cloud-backupdr/src/v1/backup_d_r_client.ts index 7f2b6f2e8a2..6d7e55c209a 100644 --- a/packages/google-cloud-backupdr/src/v1/backup_d_r_client.ts +++ b/packages/google-cloud-backupdr/src/v1/backup_d_r_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/src/v1/index.ts b/packages/google-cloud-backupdr/src/v1/index.ts index 48638cc0789..ac651558180 100644 --- a/packages/google-cloud-backupdr/src/v1/index.ts +++ b/packages/google-cloud-backupdr/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/system-test/fixtures/sample/src/index.js b/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.js index f26a63e5173..c7e9190af86 100644 --- a/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.ts index ebee08c8273..1096fb2842b 100644 --- a/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/system-test/install.ts b/packages/google-cloud-backupdr/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-backupdr/system-test/install.ts +++ b/packages/google-cloud-backupdr/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-backupdr/test/gapic_backup_d_r_v1.ts b/packages/google-cloud-backupdr/test/gapic_backup_d_r_v1.ts index 985f77897d2..2ba0c1aa6f6 100644 --- a/packages/google-cloud-backupdr/test/gapic_backup_d_r_v1.ts +++ b/packages/google-cloud-backupdr/test/gapic_backup_d_r_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/.jsdoc.js b/packages/google-cloud-baremetalsolution/.jsdoc.js index da9a0d9009e..7c706ce4814 100644 --- a/packages/google-cloud-baremetalsolution/.jsdoc.js +++ b/packages/google-cloud-baremetalsolution/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/bare-metal-solution', diff --git a/packages/google-cloud-baremetalsolution/.mocharc.js b/packages/google-cloud-baremetalsolution/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-baremetalsolution/.mocharc.js +++ b/packages/google-cloud-baremetalsolution/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/.prettierrc.js b/packages/google-cloud-baremetalsolution/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-baremetalsolution/.prettierrc.js +++ b/packages/google-cloud-baremetalsolution/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/protos/protos.d.ts b/packages/google-cloud-baremetalsolution/protos/protos.d.ts index 497ffe98cfa..b042d6245d9 100644 --- a/packages/google-cloud-baremetalsolution/protos/protos.d.ts +++ b/packages/google-cloud-baremetalsolution/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/protos/protos.js b/packages/google-cloud-baremetalsolution/protos/protos.js index 6eab23460f2..d2f83ac3b53 100644 --- a/packages/google-cloud-baremetalsolution/protos/protos.js +++ b/packages/google-cloud-baremetalsolution/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.create_nfs_share.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_nfs_share.js index 66dfad7f628..a0a24916478 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_nfs_share.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_nfs_share.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.create_provisioning_config.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_provisioning_config.js index 4c8cccc1e57..d47fe4fe272 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_provisioning_config.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_provisioning_config.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.create_s_s_h_key.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_s_s_h_key.js index 9273d71fad8..2af14915cc8 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_s_s_h_key.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_s_s_h_key.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.create_volume_snapshot.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_volume_snapshot.js index 5d97cf1343d..6d07861f954 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_volume_snapshot.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.create_volume_snapshot.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_nfs_share.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_nfs_share.js index 7a5446f5a77..f0bfc87995f 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_nfs_share.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_nfs_share.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_s_s_h_key.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_s_s_h_key.js index 5765e0b42fb..17b5c7b6fd6 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_s_s_h_key.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_s_s_h_key.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_volume_snapshot.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_volume_snapshot.js index 7fa29580ce0..743f4f85ab2 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_volume_snapshot.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.delete_volume_snapshot.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.detach_lun.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.detach_lun.js index eb2b42cceb7..44bc6360374 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.detach_lun.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.detach_lun.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.disable_interactive_serial_console.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.disable_interactive_serial_console.js index 059315fce79..fec83b75e77 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.disable_interactive_serial_console.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.disable_interactive_serial_console.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.enable_interactive_serial_console.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.enable_interactive_serial_console.js index 246b2c3823f..39024167e85 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.enable_interactive_serial_console.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.enable_interactive_serial_console.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.evict_lun.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.evict_lun.js index f1966518ea4..fd979ff3dfa 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.evict_lun.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.evict_lun.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.evict_volume.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.evict_volume.js index 55cb4a1af25..dc430ecd8e8 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.evict_volume.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.evict_volume.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.get_instance.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_instance.js index f832e786df8..34ce9234b21 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_instance.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_instance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.get_lun.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_lun.js index d7da84c7235..198691ef089 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_lun.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_lun.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.get_network.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_network.js index fcf6d6658f2..c85638b0c86 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_network.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_network.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.get_nfs_share.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_nfs_share.js index 9194aa650dd..1fa149e2c28 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_nfs_share.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_nfs_share.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.get_provisioning_config.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_provisioning_config.js index 7b5aa31e494..302ee569cef 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_provisioning_config.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_provisioning_config.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.get_volume.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_volume.js index a494f4de59f..d99c9184609 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_volume.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_volume.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.get_volume_snapshot.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_volume_snapshot.js index ddeb1416d0c..81c10d80c66 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_volume_snapshot.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.get_volume_snapshot.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_instances.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_instances.js index d4519fbcc42..af3e2ed5b94 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_instances.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_instances.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_luns.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_luns.js index e24b55b1ae1..2e2dece0321 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_luns.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_luns.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_network_usage.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_network_usage.js index db8a1703f7d..1e1371eca6e 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_network_usage.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_network_usage.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_networks.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_networks.js index 940b2706416..226551519bf 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_networks.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_networks.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_nfs_shares.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_nfs_shares.js index b2507929796..52181c1a6ce 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_nfs_shares.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_nfs_shares.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_o_s_images.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_o_s_images.js index d581f6aa7a1..04793344208 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_o_s_images.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_o_s_images.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_provisioning_quotas.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_provisioning_quotas.js index ddadb7f7e86..7620efc31bb 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_provisioning_quotas.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_provisioning_quotas.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_s_s_h_keys.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_s_s_h_keys.js index 6b83a1628c6..681f25c7ec3 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_s_s_h_keys.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_s_s_h_keys.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_volume_snapshots.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_volume_snapshots.js index c3982ae728b..03d2efed225 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_volume_snapshots.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_volume_snapshots.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.list_volumes.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_volumes.js index bef44147a38..01c960ce305 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_volumes.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.list_volumes.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_instance.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_instance.js index 6bcba7ffb0b..cb2a8cb33d5 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_instance.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_instance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_network.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_network.js index 94cbc168eaf..2403b0d4c62 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_network.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_network.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_nfs_share.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_nfs_share.js index 114940a91c8..ae4a3e8c975 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_nfs_share.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_nfs_share.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_volume.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_volume.js index 4f22e0ac5b7..0664166405b 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_volume.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.rename_volume.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.reset_instance.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.reset_instance.js index 55d110da886..4ccc71fc82d 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.reset_instance.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.reset_instance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.resize_volume.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.resize_volume.js index c177ca1d76c..c019754adb5 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.resize_volume.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.resize_volume.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.restore_volume_snapshot.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.restore_volume_snapshot.js index 13409b44ae6..1038e0390f5 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.restore_volume_snapshot.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.restore_volume_snapshot.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.start_instance.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.start_instance.js index 919af80e859..04bbde3bcde 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.start_instance.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.start_instance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.stop_instance.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.stop_instance.js index f65a9c190fb..0760b5d7cee 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.stop_instance.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.stop_instance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.submit_provisioning_config.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.submit_provisioning_config.js index 771cf186307..83092664547 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.submit_provisioning_config.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.submit_provisioning_config.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.update_instance.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_instance.js index ef4d3c6c87c..ce513e9ba94 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_instance.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_instance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.update_network.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_network.js index 61493f5106b..809855fa251 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_network.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_network.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.update_nfs_share.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_nfs_share.js index efda49821b3..8d0bf2c64b5 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_nfs_share.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_nfs_share.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.update_provisioning_config.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_provisioning_config.js index 2fe1e778e61..e27e81279f0 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_provisioning_config.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_provisioning_config.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/samples/generated/v2/bare_metal_solution.update_volume.js b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_volume.js index a8d9e547c0f..bc0a2521c6f 100644 --- a/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_volume.js +++ b/packages/google-cloud-baremetalsolution/samples/generated/v2/bare_metal_solution.update_volume.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/src/v2/bare_metal_solution_client.ts b/packages/google-cloud-baremetalsolution/src/v2/bare_metal_solution_client.ts index 1d4af26c7ac..358edad7fde 100644 --- a/packages/google-cloud-baremetalsolution/src/v2/bare_metal_solution_client.ts +++ b/packages/google-cloud-baremetalsolution/src/v2/bare_metal_solution_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/src/v2/index.ts b/packages/google-cloud-baremetalsolution/src/v2/index.ts index 98ddf17b466..6a3227958e9 100644 --- a/packages/google-cloud-baremetalsolution/src/v2/index.ts +++ b/packages/google-cloud-baremetalsolution/src/v2/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/system-test/fixtures/sample/src/index.js b/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.js index cab7159394a..464acb3dc3d 100644 --- a/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.ts index dc99cc280bd..33c6b132f26 100644 --- a/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/system-test/install.ts b/packages/google-cloud-baremetalsolution/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-baremetalsolution/system-test/install.ts +++ b/packages/google-cloud-baremetalsolution/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-baremetalsolution/test/gapic_bare_metal_solution_v2.ts b/packages/google-cloud-baremetalsolution/test/gapic_bare_metal_solution_v2.ts index 89a839ec592..6e550e3b21a 100644 --- a/packages/google-cloud-baremetalsolution/test/gapic_bare_metal_solution_v2.ts +++ b/packages/google-cloud-baremetalsolution/test/gapic_bare_metal_solution_v2.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/.jsdoc.js b/packages/google-cloud-batch/.jsdoc.js index 2d06043e186..3c9378726ad 100644 --- a/packages/google-cloud-batch/.jsdoc.js +++ b/packages/google-cloud-batch/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/batch', diff --git a/packages/google-cloud-batch/.mocharc.js b/packages/google-cloud-batch/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-batch/.mocharc.js +++ b/packages/google-cloud-batch/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/.prettierrc.js b/packages/google-cloud-batch/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-batch/.prettierrc.js +++ b/packages/google-cloud-batch/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/protos/protos.d.ts b/packages/google-cloud-batch/protos/protos.d.ts index 1fb4b52f1b7..45e1f5dd955 100644 --- a/packages/google-cloud-batch/protos/protos.d.ts +++ b/packages/google-cloud-batch/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/protos/protos.js b/packages/google-cloud-batch/protos/protos.js index e09fe802bf1..143a7df298b 100644 --- a/packages/google-cloud-batch/protos/protos.js +++ b/packages/google-cloud-batch/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1/batch_service.cancel_job.js b/packages/google-cloud-batch/samples/generated/v1/batch_service.cancel_job.js index 25c8839d96b..b49ce362512 100644 --- a/packages/google-cloud-batch/samples/generated/v1/batch_service.cancel_job.js +++ b/packages/google-cloud-batch/samples/generated/v1/batch_service.cancel_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1/batch_service.create_job.js b/packages/google-cloud-batch/samples/generated/v1/batch_service.create_job.js index 806d932a19d..f0e8b6b1153 100644 --- a/packages/google-cloud-batch/samples/generated/v1/batch_service.create_job.js +++ b/packages/google-cloud-batch/samples/generated/v1/batch_service.create_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1/batch_service.delete_job.js b/packages/google-cloud-batch/samples/generated/v1/batch_service.delete_job.js index ce9cef3f697..805811d4ff1 100644 --- a/packages/google-cloud-batch/samples/generated/v1/batch_service.delete_job.js +++ b/packages/google-cloud-batch/samples/generated/v1/batch_service.delete_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1/batch_service.get_job.js b/packages/google-cloud-batch/samples/generated/v1/batch_service.get_job.js index c49ffa7cdc6..84b05ae3212 100644 --- a/packages/google-cloud-batch/samples/generated/v1/batch_service.get_job.js +++ b/packages/google-cloud-batch/samples/generated/v1/batch_service.get_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1/batch_service.get_task.js b/packages/google-cloud-batch/samples/generated/v1/batch_service.get_task.js index bead3e76eb6..b6a5b38be33 100644 --- a/packages/google-cloud-batch/samples/generated/v1/batch_service.get_task.js +++ b/packages/google-cloud-batch/samples/generated/v1/batch_service.get_task.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1/batch_service.list_jobs.js b/packages/google-cloud-batch/samples/generated/v1/batch_service.list_jobs.js index 2c32c026c77..d6aefd95bf9 100644 --- a/packages/google-cloud-batch/samples/generated/v1/batch_service.list_jobs.js +++ b/packages/google-cloud-batch/samples/generated/v1/batch_service.list_jobs.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1/batch_service.list_tasks.js b/packages/google-cloud-batch/samples/generated/v1/batch_service.list_tasks.js index eb82f84ee19..db98079b6c2 100644 --- a/packages/google-cloud-batch/samples/generated/v1/batch_service.list_tasks.js +++ b/packages/google-cloud-batch/samples/generated/v1/batch_service.list_tasks.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.cancel_job.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.cancel_job.js index d6535e21359..5991dabfeb1 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.cancel_job.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.cancel_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.create_job.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.create_job.js index 90e89e0d18b..f62dc64b534 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.create_job.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.create_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.create_resource_allowance.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.create_resource_allowance.js index d6210f7109e..12155a82db7 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.create_resource_allowance.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.create_resource_allowance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.delete_job.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.delete_job.js index 0e1c461d54e..179d1c3f67a 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.delete_job.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.delete_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.delete_resource_allowance.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.delete_resource_allowance.js index c8031f1000f..39d0a3e95b2 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.delete_resource_allowance.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.delete_resource_allowance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.get_job.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_job.js index 091ac0d11be..22603ff56dd 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_job.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.get_resource_allowance.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_resource_allowance.js index 23dcdc17053..8f803bc8990 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_resource_allowance.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_resource_allowance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.get_task.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_task.js index cc9b8056129..cab9105a172 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_task.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.get_task.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.list_jobs.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_jobs.js index 7cf7c63b735..48565bfcccb 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_jobs.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_jobs.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.list_resource_allowances.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_resource_allowances.js index 5ccd0f93a96..8069b293d2a 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_resource_allowances.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_resource_allowances.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.list_tasks.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_tasks.js index e18a34b75a5..8545342702a 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_tasks.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.list_tasks.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.update_job.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.update_job.js index 1b594a7e809..2fc662ca838 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.update_job.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.update_job.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/samples/generated/v1alpha/batch_service.update_resource_allowance.js b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.update_resource_allowance.js index f2440d8afd5..89953df0f26 100644 --- a/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.update_resource_allowance.js +++ b/packages/google-cloud-batch/samples/generated/v1alpha/batch_service.update_resource_allowance.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/src/v1/batch_service_client.ts b/packages/google-cloud-batch/src/v1/batch_service_client.ts index c62f8ae2c88..0c24fcc65d3 100644 --- a/packages/google-cloud-batch/src/v1/batch_service_client.ts +++ b/packages/google-cloud-batch/src/v1/batch_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/src/v1/index.ts b/packages/google-cloud-batch/src/v1/index.ts index 773d0a62deb..a7f4a218144 100644 --- a/packages/google-cloud-batch/src/v1/index.ts +++ b/packages/google-cloud-batch/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/src/v1alpha/batch_service_client.ts b/packages/google-cloud-batch/src/v1alpha/batch_service_client.ts index 88b054803e3..f9d0442ea7f 100644 --- a/packages/google-cloud-batch/src/v1alpha/batch_service_client.ts +++ b/packages/google-cloud-batch/src/v1alpha/batch_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/src/v1alpha/index.ts b/packages/google-cloud-batch/src/v1alpha/index.ts index 773d0a62deb..a7f4a218144 100644 --- a/packages/google-cloud-batch/src/v1alpha/index.ts +++ b/packages/google-cloud-batch/src/v1alpha/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/system-test/fixtures/sample/src/index.js b/packages/google-cloud-batch/system-test/fixtures/sample/src/index.js index b84f599070f..a7b74dabf30 100644 --- a/packages/google-cloud-batch/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-batch/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-batch/system-test/fixtures/sample/src/index.ts index dee1892dfa6..4eb442e3067 100644 --- a/packages/google-cloud-batch/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-batch/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/system-test/install.ts b/packages/google-cloud-batch/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-batch/system-test/install.ts +++ b/packages/google-cloud-batch/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/test/gapic_batch_service_v1.ts b/packages/google-cloud-batch/test/gapic_batch_service_v1.ts index f6951bd2b42..b7dd41fe09e 100644 --- a/packages/google-cloud-batch/test/gapic_batch_service_v1.ts +++ b/packages/google-cloud-batch/test/gapic_batch_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-batch/test/gapic_batch_service_v1alpha.ts b/packages/google-cloud-batch/test/gapic_batch_service_v1alpha.ts index c7f8a11e197..80dbdcbf1a2 100644 --- a/packages/google-cloud-batch/test/gapic_batch_service_v1alpha.ts +++ b/packages/google-cloud-batch/test/gapic_batch_service_v1alpha.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/.jsdoc.js b/packages/google-cloud-beyondcorp-appconnections/.jsdoc.js index 093ddf8de36..bd7e7659d38 100644 --- a/packages/google-cloud-beyondcorp-appconnections/.jsdoc.js +++ b/packages/google-cloud-beyondcorp-appconnections/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/appconnections', diff --git a/packages/google-cloud-beyondcorp-appconnections/.mocharc.js b/packages/google-cloud-beyondcorp-appconnections/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-beyondcorp-appconnections/.mocharc.js +++ b/packages/google-cloud-beyondcorp-appconnections/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/.prettierrc.js b/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-appconnections/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/protos/protos.d.ts b/packages/google-cloud-beyondcorp-appconnections/protos/protos.d.ts index db346eafcc5..86a0ac980dc 100644 --- a/packages/google-cloud-beyondcorp-appconnections/protos/protos.d.ts +++ b/packages/google-cloud-beyondcorp-appconnections/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/protos/protos.js b/packages/google-cloud-beyondcorp-appconnections/protos/protos.js index f692927b215..fb8c80c4615 100644 --- a/packages/google-cloud-beyondcorp-appconnections/protos/protos.js +++ b/packages/google-cloud-beyondcorp-appconnections/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/samples/generated/v1/app_connections_service.create_app_connection.js b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.create_app_connection.js index 3a4d373fc43..eb3e26594e7 100644 --- a/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.create_app_connection.js +++ b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.create_app_connection.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/samples/generated/v1/app_connections_service.delete_app_connection.js b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.delete_app_connection.js index e2a7cb29f5e..1184ca2de11 100644 --- a/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.delete_app_connection.js +++ b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.delete_app_connection.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/samples/generated/v1/app_connections_service.get_app_connection.js b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.get_app_connection.js index a49b897192e..3fb89805b79 100644 --- a/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.get_app_connection.js +++ b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.get_app_connection.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/samples/generated/v1/app_connections_service.list_app_connections.js b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.list_app_connections.js index f7e22dcfa4f..a5ec0b15a5a 100644 --- a/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.list_app_connections.js +++ b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.list_app_connections.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/samples/generated/v1/app_connections_service.resolve_app_connections.js b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.resolve_app_connections.js index b9f6d77c3ce..c39a8b604fc 100644 --- a/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.resolve_app_connections.js +++ b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.resolve_app_connections.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/samples/generated/v1/app_connections_service.update_app_connection.js b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.update_app_connection.js index 12886356afd..f2eabc7ff7e 100644 --- a/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.update_app_connection.js +++ b/packages/google-cloud-beyondcorp-appconnections/samples/generated/v1/app_connections_service.update_app_connection.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/src/v1/app_connections_service_client.ts b/packages/google-cloud-beyondcorp-appconnections/src/v1/app_connections_service_client.ts index f5e579e10c9..1168cbbac59 100644 --- a/packages/google-cloud-beyondcorp-appconnections/src/v1/app_connections_service_client.ts +++ b/packages/google-cloud-beyondcorp-appconnections/src/v1/app_connections_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/src/v1/index.ts b/packages/google-cloud-beyondcorp-appconnections/src/v1/index.ts index 96718a80ebd..5c7d03317a3 100644 --- a/packages/google-cloud-beyondcorp-appconnections/src/v1/index.ts +++ b/packages/google-cloud-beyondcorp-appconnections/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.js index d1f102b988a..b09f20bd394 100644 --- a/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.ts index b542f3b4361..ac20fb6e029 100644 --- a/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/system-test/install.ts b/packages/google-cloud-beyondcorp-appconnections/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-beyondcorp-appconnections/system-test/install.ts +++ b/packages/google-cloud-beyondcorp-appconnections/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnections/test/gapic_app_connections_service_v1.ts b/packages/google-cloud-beyondcorp-appconnections/test/gapic_app_connections_service_v1.ts index 1cfb7eb14e0..d6aabc5b5be 100644 --- a/packages/google-cloud-beyondcorp-appconnections/test/gapic_app_connections_service_v1.ts +++ b/packages/google-cloud-beyondcorp-appconnections/test/gapic_app_connections_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/.jsdoc.js b/packages/google-cloud-beyondcorp-appconnectors/.jsdoc.js index 128273ab08c..e05d5660d9b 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/.jsdoc.js +++ b/packages/google-cloud-beyondcorp-appconnectors/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/appconnectors', diff --git a/packages/google-cloud-beyondcorp-appconnectors/.mocharc.js b/packages/google-cloud-beyondcorp-appconnectors/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/.mocharc.js +++ b/packages/google-cloud-beyondcorp-appconnectors/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/.prettierrc.js b/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-appconnectors/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/protos/protos.d.ts b/packages/google-cloud-beyondcorp-appconnectors/protos/protos.d.ts index 2242aa15735..a6edfce920e 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/protos/protos.d.ts +++ b/packages/google-cloud-beyondcorp-appconnectors/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/protos/protos.js b/packages/google-cloud-beyondcorp-appconnectors/protos/protos.js index 7185d04c063..9b2b649f999 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/protos/protos.js +++ b/packages/google-cloud-beyondcorp-appconnectors/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.create_app_connector.js b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.create_app_connector.js index 8e4ed255f8d..913bd3c535a 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.create_app_connector.js +++ b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.create_app_connector.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.delete_app_connector.js b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.delete_app_connector.js index a20296d255c..14a83ed5c08 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.delete_app_connector.js +++ b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.delete_app_connector.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.get_app_connector.js b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.get_app_connector.js index 8c517522d5b..abf457c7708 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.get_app_connector.js +++ b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.get_app_connector.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.list_app_connectors.js b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.list_app_connectors.js index a68fa64c94c..3aa0bfae2c0 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.list_app_connectors.js +++ b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.list_app_connectors.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.report_status.js b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.report_status.js index 74246e02311..187898fa57d 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.report_status.js +++ b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.report_status.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.update_app_connector.js b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.update_app_connector.js index 5fa6f9a2d72..f25bae0cf0f 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.update_app_connector.js +++ b/packages/google-cloud-beyondcorp-appconnectors/samples/generated/v1/app_connectors_service.update_app_connector.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/src/v1/app_connectors_service_client.ts b/packages/google-cloud-beyondcorp-appconnectors/src/v1/app_connectors_service_client.ts index c1bc35a24f5..3345fc0ee71 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/src/v1/app_connectors_service_client.ts +++ b/packages/google-cloud-beyondcorp-appconnectors/src/v1/app_connectors_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/src/v1/index.ts b/packages/google-cloud-beyondcorp-appconnectors/src/v1/index.ts index 4482760eb38..0bc89815d47 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/src/v1/index.ts +++ b/packages/google-cloud-beyondcorp-appconnectors/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.js index 3b64ff6fea3..e5357fd30d0 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.ts index 4785e3c9651..356d53a6198 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/system-test/install.ts b/packages/google-cloud-beyondcorp-appconnectors/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/system-test/install.ts +++ b/packages/google-cloud-beyondcorp-appconnectors/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appconnectors/test/gapic_app_connectors_service_v1.ts b/packages/google-cloud-beyondcorp-appconnectors/test/gapic_app_connectors_service_v1.ts index 42ca6a5db97..cdf4dd6bcdf 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/test/gapic_app_connectors_service_v1.ts +++ b/packages/google-cloud-beyondcorp-appconnectors/test/gapic_app_connectors_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/.jsdoc.js b/packages/google-cloud-beyondcorp-appgateways/.jsdoc.js index a65abe1e821..a18a245d4e5 100644 --- a/packages/google-cloud-beyondcorp-appgateways/.jsdoc.js +++ b/packages/google-cloud-beyondcorp-appgateways/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/appgateways', diff --git a/packages/google-cloud-beyondcorp-appgateways/.mocharc.js b/packages/google-cloud-beyondcorp-appgateways/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-beyondcorp-appgateways/.mocharc.js +++ b/packages/google-cloud-beyondcorp-appgateways/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/.prettierrc.js b/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-appgateways/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/protos/protos.d.ts b/packages/google-cloud-beyondcorp-appgateways/protos/protos.d.ts index 849b11f8d62..bb2f36e5376 100644 --- a/packages/google-cloud-beyondcorp-appgateways/protos/protos.d.ts +++ b/packages/google-cloud-beyondcorp-appgateways/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/protos/protos.js b/packages/google-cloud-beyondcorp-appgateways/protos/protos.js index 0871a3fcd0a..7f40645a4a6 100644 --- a/packages/google-cloud-beyondcorp-appgateways/protos/protos.js +++ b/packages/google-cloud-beyondcorp-appgateways/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.create_app_gateway.js b/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.create_app_gateway.js index 25f1714a463..a4662fb9b62 100644 --- a/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.create_app_gateway.js +++ b/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.create_app_gateway.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.delete_app_gateway.js b/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.delete_app_gateway.js index 3ad97351868..4a26b945c23 100644 --- a/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.delete_app_gateway.js +++ b/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.delete_app_gateway.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.get_app_gateway.js b/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.get_app_gateway.js index f9e56c34eb7..e6fe8ade476 100644 --- a/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.get_app_gateway.js +++ b/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.get_app_gateway.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.list_app_gateways.js b/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.list_app_gateways.js index 957ee54073d..82261e57e19 100644 --- a/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.list_app_gateways.js +++ b/packages/google-cloud-beyondcorp-appgateways/samples/generated/v1/app_gateways_service.list_app_gateways.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/src/v1/app_gateways_service_client.ts b/packages/google-cloud-beyondcorp-appgateways/src/v1/app_gateways_service_client.ts index 60599bb011f..da8503c323f 100644 --- a/packages/google-cloud-beyondcorp-appgateways/src/v1/app_gateways_service_client.ts +++ b/packages/google-cloud-beyondcorp-appgateways/src/v1/app_gateways_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/src/v1/index.ts b/packages/google-cloud-beyondcorp-appgateways/src/v1/index.ts index 4a7c69e3a53..14fc16dfd23 100644 --- a/packages/google-cloud-beyondcorp-appgateways/src/v1/index.ts +++ b/packages/google-cloud-beyondcorp-appgateways/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.js index c093f84a0d0..9a73e003dae 100644 --- a/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.ts index 0559a52f13f..3e6bc692a9a 100644 --- a/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/system-test/install.ts b/packages/google-cloud-beyondcorp-appgateways/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-beyondcorp-appgateways/system-test/install.ts +++ b/packages/google-cloud-beyondcorp-appgateways/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-appgateways/test/gapic_app_gateways_service_v1.ts b/packages/google-cloud-beyondcorp-appgateways/test/gapic_app_gateways_service_v1.ts index a1af6e9dcdf..31e64d6a6b8 100644 --- a/packages/google-cloud-beyondcorp-appgateways/test/gapic_app_gateways_service_v1.ts +++ b/packages/google-cloud-beyondcorp-appgateways/test/gapic_app_gateways_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/.jsdoc.js b/packages/google-cloud-beyondcorp-clientconnectorservices/.jsdoc.js index bd9e99612a9..9ef15475dfb 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/.jsdoc.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/clientconnectorservices', diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/.mocharc.js b/packages/google-cloud-beyondcorp-clientconnectorservices/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/.mocharc.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/.prettierrc.js b/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/protos/protos.d.ts b/packages/google-cloud-beyondcorp-clientconnectorservices/protos/protos.d.ts index 1bd6cf1d6cc..3d5917098d0 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/protos/protos.d.ts +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/protos/protos.js b/packages/google-cloud-beyondcorp-clientconnectorservices/protos/protos.js index 88abd39252a..63a00d584c5 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/protos/protos.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.create_client_connector_service.js b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.create_client_connector_service.js index e4067a1a606..17185c1669f 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.create_client_connector_service.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.create_client_connector_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.delete_client_connector_service.js b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.delete_client_connector_service.js index d0853e73a4d..0b4ae521280 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.delete_client_connector_service.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.delete_client_connector_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.get_client_connector_service.js b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.get_client_connector_service.js index 818d102aebb..0df9314538d 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.get_client_connector_service.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.get_client_connector_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.list_client_connector_services.js b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.list_client_connector_services.js index bfd40cb7c52..2adf13564b4 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.list_client_connector_services.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.list_client_connector_services.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.update_client_connector_service.js b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.update_client_connector_service.js index 86bc030484f..b134cbacf77 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.update_client_connector_service.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/samples/generated/v1/client_connector_services_service.update_client_connector_service.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/src/v1/client_connector_services_service_client.ts b/packages/google-cloud-beyondcorp-clientconnectorservices/src/v1/client_connector_services_service_client.ts index 3ee853b8cb5..d1c2a76ad60 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/src/v1/client_connector_services_service_client.ts +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/src/v1/client_connector_services_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/src/v1/index.ts b/packages/google-cloud-beyondcorp-clientconnectorservices/src/v1/index.ts index 502cd33ef9f..4e238195291 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/src/v1/index.ts +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.js index 5cfeb77c83d..b3005b60fcf 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.ts index 9403a252136..46e8dd6351e 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/system-test/install.ts b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/install.ts +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientconnectorservices/test/gapic_client_connector_services_service_v1.ts b/packages/google-cloud-beyondcorp-clientconnectorservices/test/gapic_client_connector_services_service_v1.ts index 525f3266021..c4fe0939cb5 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/test/gapic_client_connector_services_service_v1.ts +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/test/gapic_client_connector_services_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/.jsdoc.js b/packages/google-cloud-beyondcorp-clientgateways/.jsdoc.js index cf39062cf8b..68435467bf7 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/.jsdoc.js +++ b/packages/google-cloud-beyondcorp-clientgateways/.jsdoc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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 2025 Google LLC', + copyright: 'Copyright 2026 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/clientgateways', diff --git a/packages/google-cloud-beyondcorp-clientgateways/.mocharc.js b/packages/google-cloud-beyondcorp-clientgateways/.mocharc.js index 24e9d15257f..5eb34e86c87 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/.mocharc.js +++ b/packages/google-cloud-beyondcorp-clientgateways/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/.prettierrc.js b/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js index d89a632f90b..7649ee3c254 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js +++ b/packages/google-cloud-beyondcorp-clientgateways/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/protos/protos.d.ts b/packages/google-cloud-beyondcorp-clientgateways/protos/protos.d.ts index b9fea59f6b7..5e25117ed8b 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/protos/protos.d.ts +++ b/packages/google-cloud-beyondcorp-clientgateways/protos/protos.d.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/protos/protos.js b/packages/google-cloud-beyondcorp-clientgateways/protos/protos.js index 9bbffe09d43..df75a79feda 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/protos/protos.js +++ b/packages/google-cloud-beyondcorp-clientgateways/protos/protos.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.create_client_gateway.js b/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.create_client_gateway.js index c4d7632689e..9ff5e5f0403 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.create_client_gateway.js +++ b/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.create_client_gateway.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.delete_client_gateway.js b/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.delete_client_gateway.js index ae5a75caa09..8cf249484a9 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.delete_client_gateway.js +++ b/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.delete_client_gateway.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.get_client_gateway.js b/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.get_client_gateway.js index 526cbdaef0c..f354dd8bf0a 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.get_client_gateway.js +++ b/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.get_client_gateway.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.list_client_gateways.js b/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.list_client_gateways.js index 34144f69af0..2352f96e4b8 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.list_client_gateways.js +++ b/packages/google-cloud-beyondcorp-clientgateways/samples/generated/v1/client_gateways_service.list_client_gateways.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/src/v1/client_gateways_service_client.ts b/packages/google-cloud-beyondcorp-clientgateways/src/v1/client_gateways_service_client.ts index 0fcf2999dbb..d441eb6adea 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/src/v1/client_gateways_service_client.ts +++ b/packages/google-cloud-beyondcorp-clientgateways/src/v1/client_gateways_service_client.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/src/v1/index.ts b/packages/google-cloud-beyondcorp-clientgateways/src/v1/index.ts index 40fe4f7f805..92c1ff54db1 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/src/v1/index.ts +++ b/packages/google-cloud-beyondcorp-clientgateways/src/v1/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.js index 25fcf1c70d3..1d26b8f15db 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.js @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.ts index 84663277c4b..99e9494e427 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/system-test/install.ts b/packages/google-cloud-beyondcorp-clientgateways/system-test/install.ts index 2a505d6df0c..394f3362d20 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/system-test/install.ts +++ b/packages/google-cloud-beyondcorp-clientgateways/system-test/install.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-beyondcorp-clientgateways/test/gapic_client_gateways_service_v1.ts b/packages/google-cloud-beyondcorp-clientgateways/test/gapic_client_gateways_service_v1.ts index 04c36fdd06e..84298403257 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/test/gapic_client_gateways_service_v1.ts +++ b/packages/google-cloud-beyondcorp-clientgateways/test/gapic_client_gateways_service_v1.ts @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 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-bigquery-analyticshub/.jsdoc.js b/packages/google-cloud-bigquery-analyticshub/.jsdoc.js index 5eae4452f2f..fefaca9b0d5 100644 --- a/packages/google-cloud-bigquery-analyticshub/.jsdoc.js +++ b/packages/google-cloud-bigquery-analyticshub/.jsdoc.j{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}