From f174bc08c3d6e70153c889c9c21773c63d3c2968 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Wed, 21 Jan 2026 14:34:19 -0800 Subject: [PATCH 1/3] fix: add post-processor for removing protobuf deprecations --- composer.json | 3 +- googleapis | 2 +- src/PostProcessor/PostProcessor.php | 5 +- .../ProtobufDeprecationsProcessor.php | 72 ++++++++++ .../FragmentInjectionProcessorTest.php | 3 +- .../ProtobufDeprecationsProcessorTest.php | 134 ++++++++++++++++++ 6 files changed, 215 insertions(+), 4 deletions(-) create mode 100644 src/PostProcessor/ProtobufDeprecationsProcessor.php create mode 100644 tests/Unit/PostProcessor/ProtobufDeprecationsProcessorTest.php diff --git a/composer.json b/composer.json index d9e0ca646..4b84d8816 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,8 @@ }, "require-dev": { "phpunit/phpunit": "^9.5", - "google/gax": "^1.37.0" + "google/gax": "^1.37.0", + "phpdocumentor/reflection-docblock": "^6.0" }, "scripts": { "update-all-tests": [ diff --git a/googleapis b/googleapis index 9841522f9..d931df43c 160000 --- a/googleapis +++ b/googleapis @@ -1 +1 @@ -Subproject commit 9841522f92c6542aad0049d98721cba04f541f29 +Subproject commit d931df43c4686be708ddfee74ee3be64571af0a2 diff --git a/src/PostProcessor/PostProcessor.php b/src/PostProcessor/PostProcessor.php index 9a96cd9ba..ec3b31e6e 100644 --- a/src/PostProcessor/PostProcessor.php +++ b/src/PostProcessor/PostProcessor.php @@ -45,6 +45,9 @@ private function execute(): void private static function loadProcessors(array $opts): Vector { - return Vector::new([FragmentInjectionProcessor::class]); + return Vector::new([ + FragmentInjectionProcessor::class, + ProtobufDeprecationsProcessor::class, + ]); } } diff --git a/src/PostProcessor/ProtobufDeprecationsProcessor.php b/src/PostProcessor/ProtobufDeprecationsProcessor.php new file mode 100644 index 000000000..9a83066d3 --- /dev/null +++ b/src/PostProcessor/ProtobufDeprecationsProcessor.php @@ -0,0 +1,72 @@ +fixRepeatedFieldDeprecations(); + + // Write the new contents to the class file. + file_put_contents($classFile, $processor->getContents()); + print("Deprecations fixed in $classFile\n"); + } + + public function __construct(private string $contents) + { + } + + public function fixRepeatedFieldDeprecations(): void + { + $this->contents = str_replace( + [ + 'use Google\Protobuf\Internal\RepeatedField;', + '\Google\Protobuf\Internal\RepeatedField', + ], + [ + 'use Google\Protobuf\RepeatedField;', + '\Google\Protobuf\RepeatedField', + ], + $this->contents, + ); + } + + public function getContents(): string + { + return $this->contents; + } +} diff --git a/tests/Unit/PostProcessor/FragmentInjectionProcessorTest.php b/tests/Unit/PostProcessor/FragmentInjectionProcessorTest.php index e60a4871f..dc26aec97 100644 --- a/tests/Unit/PostProcessor/FragmentInjectionProcessorTest.php +++ b/tests/Unit/PostProcessor/FragmentInjectionProcessorTest.php @@ -21,6 +21,7 @@ use PHPUnit\Framework\TestCase; use Google\PostProcessor\FragmentInjectionProcessor; use ParseError; +use Throwable; final class FragmentInjectionProcessorTest extends TestCase { @@ -123,7 +124,7 @@ public function testAstMethodReplacerWithSyntaxError() public function testFragmentInjectionProcessor( string $methodFragment, string $classContents, - \Throwable $expectedException = null + ?Throwable $expectedException = null ) { if ($expectedException) { $this->expectException(get_class($expectedException)); diff --git a/tests/Unit/PostProcessor/ProtobufDeprecationsProcessorTest.php b/tests/Unit/PostProcessor/ProtobufDeprecationsProcessorTest.php new file mode 100644 index 000000000..08ecde82a --- /dev/null +++ b/tests/Unit/PostProcessor/ProtobufDeprecationsProcessorTest.php @@ -0,0 +1,134 @@ +classContents, 'getConstructor()->getParameters()[0]; + $this->assertNotEquals(RepeatedField::class, $param->getType()); + } + + /** + * @runInSeparateProcess + */ + public function testFixRepeatedFieldDeprecations() + { + $addFragmentUtil = new ProtobufDeprecationsProcessor($this->classContents); + + // Fix the deprecations + $addFragmentUtil->fixRepeatedFieldDeprecations(); + $newClassContents = $addFragmentUtil->getContents(); + + eval(ltrim($newClassContents, 'getConstructor()->getParameters()[0]; + $this->assertEquals(RepeatedField::class, $param->getType()); + } + + /** + * @runInSeparateProcess + */ + public function testFixRepeatedFieldDeprecationsWithProtobufMessage() + { + $protobufMessage = __DIR__ . '/../../../generated/Google/Api/RoutingRule.php'; + + $addFragmentUtil = new ProtobufDeprecationsProcessor(file_get_contents($protobufMessage)); + + // Fix the deprecations + $addFragmentUtil->fixRepeatedFieldDeprecations(); + $newClassContents = $addFragmentUtil->getContents(); + + eval(ltrim($newClassContents, 'create($reflection->getDocComment()); + $returnTags = $docblock->getTagsByName('return'); + + $this->assertEquals('\\' . RepeatedField::class, (string) $returnTags[0]->getType()); + + $reflection = new ReflectionMethod(RoutingRule::class, 'setRoutingParameters'); + $docblock = $factory->create($reflection->getDocComment()); + $paramTags = $docblock->getTagsByName('param'); + + $this->assertStringContainsString(RepeatedField::class, (string) $paramTags[0]->getType()); + } + + /** + * @runInSeparateProcess + */ + public function testFragmentInjectionProcessor() + { + $tmpDir = sys_get_temp_dir() . '/test-fragment-injection-processor-' . rand(); + mkdir($tmpDir . '/proto/src', 0777, true); + file_put_contents($toFile = $tmpDir . '/proto/src/Bar.php', $this->classContents); + + ProtobufDeprecationsProcessor::run($tmpDir); + + // Verify the deprecations were fixed + require_once($toFile); + $param = (new ReflectionClass(\Bar::class))->getConstructor()->getParameters()[0]; + $this->assertEquals(RepeatedField::class, $param->getType()); + + // Verify post-processor output + $this->expectOutputString('Deprecations fixed in ' . $toFile . PHP_EOL); + } +} From 5e49388bd2820c93cd135e029b4f503745ae963d Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Thu, 22 Jan 2026 10:07:23 -0800 Subject: [PATCH 2/3] fix unit tests --- .../Basic/out/src/resources/basic_descriptor_config.php | 2 +- .../Basic/out/src/resources/basic_rest_client_config.php | 2 +- .../src/resources/basic_auto_population_descriptor_config.php | 2 +- .../src/resources/basic_auto_population_rest_client_config.php | 2 +- .../src/resources/basic_bidi_streaming_descriptor_config.php | 2 +- .../src/resources/basic_bidi_streaming_rest_client_config.php | 2 +- .../src/resources/basic_client_streaming_descriptor_config.php | 2 +- .../src/resources/basic_client_streaming_rest_client_config.php | 2 +- .../out/src/resources/library_descriptor_config.php | 2 +- .../out/src/resources/library_rest_client_config.php | 2 +- .../resources/basic_explicit_paginated_descriptor_config.php | 2 +- .../resources/basic_explicit_paginated_rest_client_config.php | 2 +- .../out/src/resources/basic_grpc_only_descriptor_config.php | 2 +- .../BasicLro/out/src/resources/basic_lro_descriptor_config.php | 2 +- .../BasicLro/out/src/resources/basic_lro_rest_client_config.php | 2 +- .../out/src/resources/basic_oneof_descriptor_config.php | 2 +- .../out/src/resources/basic_oneof_rest_client_config.php | 2 +- .../out/src/resources/basic_oneof_new_descriptor_config.php | 2 +- .../out/src/resources/basic_oneof_new_rest_client_config.php | 2 +- .../out/src/resources/basic_paginated_descriptor_config.php | 2 +- .../out/src/resources/basic_paginated_rest_client_config.php | 2 +- .../src/resources/basic_server_streaming_descriptor_config.php | 2 +- .../src/resources/basic_server_streaming_rest_client_config.php | 2 +- .../out/src/resources/custom_lro_descriptor_config.php | 2 +- .../src/resources/custom_lro_operations_descriptor_config.php | 2 +- .../src/resources/custom_lro_operations_rest_client_config.php | 2 +- .../out/src/resources/custom_lro_rest_client_config.php | 2 +- .../out/src/resources/custom_lro_descriptor_config.php | 2 +- .../src/resources/custom_lro_operations_descriptor_config.php | 2 +- .../src/resources/custom_lro_operations_rest_client_config.php | 2 +- .../out/src/resources/custom_lro_rest_client_config.php | 2 +- .../out/src/resources/deprecated_service_descriptor_config.php | 2 +- .../out/src/resources/deprecated_service_rest_client_config.php | 2 +- .../resources/heuristic_pagination_client_descriptor_config.php | 2 +- .../heuristic_pagination_client_rest_client_config.php | 2 +- .../out/src/resources/disable_snippets_descriptor_config.php | 2 +- .../out/src/resources/disable_snippets_rest_client_config.php | 2 +- .../grpc_service_config_with_retry1_descriptor_config.php | 2 +- .../grpc_service_config_with_retry1_rest_client_config.php | 2 +- tests/Unit/ProtoTests/ProtoTest.php | 2 +- .../out/src/resources/resource_names_descriptor_config.php | 2 +- .../out/src/resources/resource_names_rest_client_config.php | 2 +- .../out/src/resources/routing_headers_descriptor_config.php | 2 +- .../out/src/resources/routing_headers_rest_client_config.php | 2 +- 44 files changed, 44 insertions(+), 44 deletions(-) diff --git a/tests/Unit/ProtoTests/Basic/out/src/resources/basic_descriptor_config.php b/tests/Unit/ProtoTests/Basic/out/src/resources/basic_descriptor_config.php index bed8c0a43..356ebf9e4 100644 --- a/tests/Unit/ProtoTests/Basic/out/src/resources/basic_descriptor_config.php +++ b/tests/Unit/ProtoTests/Basic/out/src/resources/basic_descriptor_config.php @@ -1,6 +1,6 @@ assertTrue(file_exists($filename), "Expected code file missing: '{$filename}'"); $expectedCode = file_get_contents($filename); if (trim($expectedCode) !== 'IGNORE' && trim($expectedCode) !== 'assertEquals($expectedCode, $code); + $this->assertEquals($expectedCode, $code, str_replace(__DIR__ . '/', '', $filename)); } unset($files[$filename]); } diff --git a/tests/Unit/ProtoTests/ResourceNames/out/src/resources/resource_names_descriptor_config.php b/tests/Unit/ProtoTests/ResourceNames/out/src/resources/resource_names_descriptor_config.php index 1a9f2abad..66adca8aa 100644 --- a/tests/Unit/ProtoTests/ResourceNames/out/src/resources/resource_names_descriptor_config.php +++ b/tests/Unit/ProtoTests/ResourceNames/out/src/resources/resource_names_descriptor_config.php @@ -1,6 +1,6 @@ Date: Thu, 22 Jan 2026 18:20:30 +0000 Subject: [PATCH 3/3] fix copyright year integration tests --- .../asset/samples/V1/AssetServiceClient/analyze_iam_policy.php | 2 +- .../V1/AssetServiceClient/analyze_iam_policy_longrunning.php | 2 +- .../asset/samples/V1/AssetServiceClient/analyze_move.php | 2 +- .../samples/V1/AssetServiceClient/analyze_org_policies.php | 2 +- .../AssetServiceClient/analyze_org_policy_governed_assets.php | 2 +- .../analyze_org_policy_governed_containers.php | 2 +- .../samples/V1/AssetServiceClient/batch_get_assets_history.php | 2 +- .../V1/AssetServiceClient/batch_get_effective_iam_policies.php | 2 +- .../goldens/asset/samples/V1/AssetServiceClient/create_feed.php | 2 +- .../asset/samples/V1/AssetServiceClient/create_saved_query.php | 2 +- .../goldens/asset/samples/V1/AssetServiceClient/delete_feed.php | 2 +- .../asset/samples/V1/AssetServiceClient/delete_saved_query.php | 2 +- .../asset/samples/V1/AssetServiceClient/export_assets.php | 2 +- .../goldens/asset/samples/V1/AssetServiceClient/get_feed.php | 2 +- .../asset/samples/V1/AssetServiceClient/get_saved_query.php | 2 +- .../goldens/asset/samples/V1/AssetServiceClient/list_assets.php | 2 +- .../goldens/asset/samples/V1/AssetServiceClient/list_feeds.php | 2 +- .../asset/samples/V1/AssetServiceClient/list_saved_queries.php | 2 +- .../asset/samples/V1/AssetServiceClient/query_assets.php | 2 +- .../samples/V1/AssetServiceClient/search_all_iam_policies.php | 2 +- .../samples/V1/AssetServiceClient/search_all_resources.php | 2 +- .../goldens/asset/samples/V1/AssetServiceClient/update_feed.php | 2 +- .../asset/samples/V1/AssetServiceClient/update_saved_query.php | 2 +- tests/Integration/goldens/asset/src/V1/AssetServiceClient.php | 2 +- .../goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php | 2 +- .../asset/src/V1/resources/asset_service_descriptor_config.php | 2 +- .../asset/src/V1/resources/asset_service_rest_client_config.php | 2 +- .../goldens/asset/tests/Unit/V1/AssetServiceClientTest.php | 2 +- .../samples/V1/AddressesClient/aggregated_list.php | 2 +- .../goldens/compute_small/samples/V1/AddressesClient/delete.php | 2 +- .../goldens/compute_small/samples/V1/AddressesClient/insert.php | 2 +- .../goldens/compute_small/samples/V1/AddressesClient/list.php | 2 +- .../compute_small/samples/V1/RegionOperationsClient/get.php | 2 +- .../compute_small/samples/V1/SubnetworksClient/list_usable.php | 2 +- .../goldens/compute_small/src/V1/AddressesClient.php | 2 +- .../goldens/compute_small/src/V1/Enums/Address/AddressType.php | 2 +- .../goldens/compute_small/src/V1/Enums/Address/IpVersion.php | 2 +- .../goldens/compute_small/src/V1/Enums/Address/NetworkTier.php | 2 +- .../goldens/compute_small/src/V1/Enums/Address/Purpose.php | 2 +- .../goldens/compute_small/src/V1/Enums/Address/Status.php | 2 +- .../goldens/compute_small/src/V1/Enums/Operation/Status.php | 2 +- .../src/V1/Enums/UsableSubnetwork/Ipv6AccessType.php | 2 +- .../compute_small/src/V1/Enums/UsableSubnetwork/Purpose.php | 2 +- .../compute_small/src/V1/Enums/UsableSubnetwork/Role.php | 2 +- .../compute_small/src/V1/Enums/UsableSubnetwork/StackType.php | 2 +- .../goldens/compute_small/src/V1/Enums/Warning/Code.php | 2 +- .../goldens/compute_small/src/V1/Enums/Warnings/Code.php | 2 +- .../goldens/compute_small/src/V1/Gapic/AddressesGapicClient.php | 2 +- .../compute_small/src/V1/Gapic/RegionOperationsGapicClient.php | 2 +- .../compute_small/src/V1/Gapic/SubnetworksGapicClient.php | 2 +- .../goldens/compute_small/src/V1/RegionOperationsClient.php | 2 +- .../goldens/compute_small/src/V1/SubnetworksClient.php | 2 +- .../src/V1/resources/addresses_descriptor_config.php | 2 +- .../src/V1/resources/addresses_rest_client_config.php | 2 +- .../src/V1/resources/region_operations_descriptor_config.php | 2 +- .../src/V1/resources/region_operations_rest_client_config.php | 2 +- .../src/V1/resources/subnetworks_descriptor_config.php | 2 +- .../src/V1/resources/subnetworks_rest_client_config.php | 2 +- .../goldens/compute_small/tests/Unit/V1/AddressesClientTest.php | 2 +- .../compute_small/tests/Unit/V1/RegionOperationsClientTest.php | 2 +- .../compute_small/tests/Unit/V1/SubnetworksClientTest.php | 2 +- .../samples/V1/ClusterManagerClient/cancel_operation.php | 2 +- .../V1/ClusterManagerClient/check_autopilot_compatibility.php | 2 +- .../samples/V1/ClusterManagerClient/complete_ip_rotation.php | 2 +- .../V1/ClusterManagerClient/complete_node_pool_upgrade.php | 2 +- .../samples/V1/ClusterManagerClient/create_cluster.php | 2 +- .../samples/V1/ClusterManagerClient/create_node_pool.php | 2 +- .../samples/V1/ClusterManagerClient/delete_cluster.php | 2 +- .../samples/V1/ClusterManagerClient/delete_node_pool.php | 2 +- .../V1/ClusterManagerClient/fetch_cluster_upgrade_info.php | 2 +- .../V1/ClusterManagerClient/fetch_node_pool_upgrade_info.php | 2 +- .../container/samples/V1/ClusterManagerClient/get_cluster.php | 2 +- .../samples/V1/ClusterManagerClient/get_json_web_keys.php | 2 +- .../container/samples/V1/ClusterManagerClient/get_node_pool.php | 2 +- .../container/samples/V1/ClusterManagerClient/get_operation.php | 2 +- .../samples/V1/ClusterManagerClient/get_server_config.php | 2 +- .../container/samples/V1/ClusterManagerClient/list_clusters.php | 2 +- .../samples/V1/ClusterManagerClient/list_node_pools.php | 2 +- .../samples/V1/ClusterManagerClient/list_operations.php | 2 +- .../samples/V1/ClusterManagerClient/list_usable_subnetworks.php | 2 +- .../V1/ClusterManagerClient/rollback_node_pool_upgrade.php | 2 +- .../samples/V1/ClusterManagerClient/set_addons_config.php | 2 +- .../container/samples/V1/ClusterManagerClient/set_labels.php | 2 +- .../samples/V1/ClusterManagerClient/set_legacy_abac.php | 2 +- .../container/samples/V1/ClusterManagerClient/set_locations.php | 2 +- .../samples/V1/ClusterManagerClient/set_logging_service.php | 2 +- .../samples/V1/ClusterManagerClient/set_maintenance_policy.php | 2 +- .../samples/V1/ClusterManagerClient/set_master_auth.php | 2 +- .../samples/V1/ClusterManagerClient/set_monitoring_service.php | 2 +- .../samples/V1/ClusterManagerClient/set_network_policy.php | 2 +- .../V1/ClusterManagerClient/set_node_pool_autoscaling.php | 2 +- .../V1/ClusterManagerClient/set_node_pool_management.php | 2 +- .../samples/V1/ClusterManagerClient/set_node_pool_size.php | 2 +- .../samples/V1/ClusterManagerClient/start_ip_rotation.php | 2 +- .../samples/V1/ClusterManagerClient/update_cluster.php | 2 +- .../container/samples/V1/ClusterManagerClient/update_master.php | 2 +- .../samples/V1/ClusterManagerClient/update_node_pool.php | 2 +- .../goldens/container/src/V1/ClusterManagerClient.php | 2 +- .../container/src/V1/Gapic/ClusterManagerGapicClient.php | 2 +- .../src/V1/resources/cluster_manager_descriptor_config.php | 2 +- .../src/V1/resources/cluster_manager_rest_client_config.php | 2 +- .../container/tests/Unit/V1/ClusterManagerClientTest.php | 2 +- .../create_autoscaling_policy.php | 2 +- .../delete_autoscaling_policy.php | 2 +- .../AutoscalingPolicyServiceClient/get_autoscaling_policy.php | 2 +- .../V1/AutoscalingPolicyServiceClient/get_iam_policy.php | 2 +- .../list_autoscaling_policies.php | 2 +- .../V1/AutoscalingPolicyServiceClient/set_iam_policy.php | 2 +- .../V1/AutoscalingPolicyServiceClient/test_iam_permissions.php | 2 +- .../update_autoscaling_policy.php | 2 +- .../dataproc/samples/V1/BatchControllerClient/create_batch.php | 2 +- .../dataproc/samples/V1/BatchControllerClient/delete_batch.php | 2 +- .../dataproc/samples/V1/BatchControllerClient/get_batch.php | 2 +- .../samples/V1/BatchControllerClient/get_iam_policy.php | 2 +- .../dataproc/samples/V1/BatchControllerClient/list_batches.php | 2 +- .../samples/V1/BatchControllerClient/set_iam_policy.php | 2 +- .../samples/V1/BatchControllerClient/test_iam_permissions.php | 2 +- .../samples/V1/ClusterControllerClient/create_cluster.php | 2 +- .../samples/V1/ClusterControllerClient/delete_cluster.php | 2 +- .../samples/V1/ClusterControllerClient/diagnose_cluster.php | 2 +- .../dataproc/samples/V1/ClusterControllerClient/get_cluster.php | 2 +- .../samples/V1/ClusterControllerClient/get_iam_policy.php | 2 +- .../samples/V1/ClusterControllerClient/list_clusters.php | 2 +- .../samples/V1/ClusterControllerClient/set_iam_policy.php | 2 +- .../samples/V1/ClusterControllerClient/start_cluster.php | 2 +- .../samples/V1/ClusterControllerClient/stop_cluster.php | 2 +- .../samples/V1/ClusterControllerClient/test_iam_permissions.php | 2 +- .../samples/V1/ClusterControllerClient/update_cluster.php | 2 +- .../dataproc/samples/V1/JobControllerClient/cancel_job.php | 2 +- .../dataproc/samples/V1/JobControllerClient/delete_job.php | 2 +- .../dataproc/samples/V1/JobControllerClient/get_iam_policy.php | 2 +- .../goldens/dataproc/samples/V1/JobControllerClient/get_job.php | 2 +- .../dataproc/samples/V1/JobControllerClient/list_jobs.php | 2 +- .../dataproc/samples/V1/JobControllerClient/set_iam_policy.php | 2 +- .../dataproc/samples/V1/JobControllerClient/submit_job.php | 2 +- .../samples/V1/JobControllerClient/submit_job_as_operation.php | 2 +- .../samples/V1/JobControllerClient/test_iam_permissions.php | 2 +- .../dataproc/samples/V1/JobControllerClient/update_job.php | 2 +- .../samples/V1/NodeGroupControllerClient/create_node_group.php | 2 +- .../samples/V1/NodeGroupControllerClient/get_iam_policy.php | 2 +- .../samples/V1/NodeGroupControllerClient/get_node_group.php | 2 +- .../samples/V1/NodeGroupControllerClient/resize_node_group.php | 2 +- .../samples/V1/NodeGroupControllerClient/set_iam_policy.php | 2 +- .../V1/NodeGroupControllerClient/test_iam_permissions.php | 2 +- .../samples/V1/SessionControllerClient/create_session.php | 2 +- .../samples/V1/SessionControllerClient/delete_session.php | 2 +- .../samples/V1/SessionControllerClient/get_iam_policy.php | 2 +- .../dataproc/samples/V1/SessionControllerClient/get_session.php | 2 +- .../samples/V1/SessionControllerClient/list_sessions.php | 2 +- .../samples/V1/SessionControllerClient/set_iam_policy.php | 2 +- .../samples/V1/SessionControllerClient/terminate_session.php | 2 +- .../samples/V1/SessionControllerClient/test_iam_permissions.php | 2 +- .../SessionTemplateControllerClient/create_session_template.php | 2 +- .../SessionTemplateControllerClient/delete_session_template.php | 2 +- .../V1/SessionTemplateControllerClient/get_iam_policy.php | 2 +- .../V1/SessionTemplateControllerClient/get_session_template.php | 2 +- .../SessionTemplateControllerClient/list_session_templates.php | 2 +- .../V1/SessionTemplateControllerClient/set_iam_policy.php | 2 +- .../V1/SessionTemplateControllerClient/test_iam_permissions.php | 2 +- .../SessionTemplateControllerClient/update_session_template.php | 2 +- .../WorkflowTemplateServiceClient/create_workflow_template.php | 2 +- .../WorkflowTemplateServiceClient/delete_workflow_template.php | 2 +- .../samples/V1/WorkflowTemplateServiceClient/get_iam_policy.php | 2 +- .../V1/WorkflowTemplateServiceClient/get_workflow_template.php | 2 +- .../instantiate_inline_workflow_template.php | 2 +- .../instantiate_workflow_template.php | 2 +- .../WorkflowTemplateServiceClient/list_workflow_templates.php | 2 +- .../samples/V1/WorkflowTemplateServiceClient/set_iam_policy.php | 2 +- .../V1/WorkflowTemplateServiceClient/test_iam_permissions.php | 2 +- .../WorkflowTemplateServiceClient/update_workflow_template.php | 2 +- .../goldens/dataproc/src/V1/AutoscalingPolicyServiceClient.php | 2 +- .../goldens/dataproc/src/V1/BatchControllerClient.php | 2 +- .../goldens/dataproc/src/V1/ClusterControllerClient.php | 2 +- .../src/V1/Gapic/AutoscalingPolicyServiceGapicClient.php | 2 +- .../dataproc/src/V1/Gapic/BatchControllerGapicClient.php | 2 +- .../dataproc/src/V1/Gapic/ClusterControllerGapicClient.php | 2 +- .../goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php | 2 +- .../dataproc/src/V1/Gapic/NodeGroupControllerGapicClient.php | 2 +- .../dataproc/src/V1/Gapic/SessionControllerGapicClient.php | 2 +- .../src/V1/Gapic/SessionTemplateControllerGapicClient.php | 2 +- .../src/V1/Gapic/WorkflowTemplateServiceGapicClient.php | 2 +- .../Integration/goldens/dataproc/src/V1/JobControllerClient.php | 2 +- .../goldens/dataproc/src/V1/NodeGroupControllerClient.php | 2 +- .../goldens/dataproc/src/V1/SessionControllerClient.php | 2 +- .../goldens/dataproc/src/V1/SessionTemplateControllerClient.php | 2 +- .../goldens/dataproc/src/V1/WorkflowTemplateServiceClient.php | 2 +- .../resources/autoscaling_policy_service_descriptor_config.php | 2 +- .../resources/autoscaling_policy_service_rest_client_config.php | 2 +- .../src/V1/resources/batch_controller_descriptor_config.php | 2 +- .../src/V1/resources/batch_controller_rest_client_config.php | 2 +- .../src/V1/resources/cluster_controller_descriptor_config.php | 2 +- .../src/V1/resources/cluster_controller_rest_client_config.php | 2 +- .../src/V1/resources/job_controller_descriptor_config.php | 2 +- .../src/V1/resources/job_controller_rest_client_config.php | 2 +- .../V1/resources/node_group_controller_descriptor_config.php | 2 +- .../V1/resources/node_group_controller_rest_client_config.php | 2 +- .../src/V1/resources/session_controller_descriptor_config.php | 2 +- .../src/V1/resources/session_controller_rest_client_config.php | 2 +- .../resources/session_template_controller_descriptor_config.php | 2 +- .../session_template_controller_rest_client_config.php | 2 +- .../resources/workflow_template_service_descriptor_config.php | 2 +- .../resources/workflow_template_service_rest_client_config.php | 2 +- .../tests/Unit/V1/AutoscalingPolicyServiceClientTest.php | 2 +- .../dataproc/tests/Unit/V1/BatchControllerClientTest.php | 2 +- .../dataproc/tests/Unit/V1/ClusterControllerClientTest.php | 2 +- .../goldens/dataproc/tests/Unit/V1/JobControllerClientTest.php | 2 +- .../dataproc/tests/Unit/V1/NodeGroupControllerClientTest.php | 2 +- .../dataproc/tests/Unit/V1/SessionControllerClientTest.php | 2 +- .../tests/Unit/V1/SessionTemplateControllerClientTest.php | 2 +- .../tests/Unit/V1/WorkflowTemplateServiceClientTest.php | 2 +- .../samples/V1/CloudFunctionsServiceClient/call_function.php | 2 +- .../samples/V1/CloudFunctionsServiceClient/create_function.php | 2 +- .../samples/V1/CloudFunctionsServiceClient/delete_function.php | 2 +- .../V1/CloudFunctionsServiceClient/generate_download_url.php | 2 +- .../V1/CloudFunctionsServiceClient/generate_upload_url.php | 2 +- .../samples/V1/CloudFunctionsServiceClient/get_function.php | 2 +- .../samples/V1/CloudFunctionsServiceClient/get_iam_policy.php | 2 +- .../samples/V1/CloudFunctionsServiceClient/list_functions.php | 2 +- .../samples/V1/CloudFunctionsServiceClient/set_iam_policy.php | 2 +- .../V1/CloudFunctionsServiceClient/test_iam_permissions.php | 2 +- .../samples/V1/CloudFunctionsServiceClient/update_function.php | 2 +- .../functions/src/V1/Client/CloudFunctionsServiceClient.php | 2 +- .../V1/resources/cloud_functions_service_descriptor_config.php | 2 +- .../V1/resources/cloud_functions_service_rest_client_config.php | 2 +- .../tests/Unit/V1/Client/CloudFunctionsServiceClientTest.php | 2 +- .../goldens/iam/samples/V1/IAMPolicyClient/get_iam_policy.php | 2 +- .../goldens/iam/samples/V1/IAMPolicyClient/set_iam_policy.php | 2 +- .../iam/samples/V1/IAMPolicyClient/test_iam_permissions.php | 2 +- .../goldens/iam/src/V1/Gapic/IAMPolicyGapicClient.php | 2 +- tests/Integration/goldens/iam/src/V1/IAMPolicyClient.php | 2 +- .../iam/src/V1/resources/iam_policy_descriptor_config.php | 2 +- .../iam/src/V1/resources/iam_policy_rest_client_config.php | 2 +- .../goldens/iam/tests/Unit/V1/IAMPolicyClientTest.php | 2 +- .../V1/KeyManagementServiceClient/asymmetric_decrypt.php | 2 +- .../samples/V1/KeyManagementServiceClient/asymmetric_sign.php | 2 +- .../samples/V1/KeyManagementServiceClient/create_crypto_key.php | 2 +- .../V1/KeyManagementServiceClient/create_crypto_key_version.php | 2 +- .../samples/V1/KeyManagementServiceClient/create_import_job.php | 2 +- .../samples/V1/KeyManagementServiceClient/create_key_ring.php | 2 +- .../kms/samples/V1/KeyManagementServiceClient/decrypt.php | 2 +- .../KeyManagementServiceClient/destroy_crypto_key_version.php | 2 +- .../kms/samples/V1/KeyManagementServiceClient/encrypt.php | 2 +- .../samples/V1/KeyManagementServiceClient/get_crypto_key.php | 2 +- .../V1/KeyManagementServiceClient/get_crypto_key_version.php | 2 +- .../samples/V1/KeyManagementServiceClient/get_iam_policy.php | 2 +- .../samples/V1/KeyManagementServiceClient/get_import_job.php | 2 +- .../kms/samples/V1/KeyManagementServiceClient/get_key_ring.php | 2 +- .../kms/samples/V1/KeyManagementServiceClient/get_location.php | 2 +- .../samples/V1/KeyManagementServiceClient/get_public_key.php | 2 +- .../V1/KeyManagementServiceClient/import_crypto_key_version.php | 2 +- .../V1/KeyManagementServiceClient/list_crypto_key_versions.php | 2 +- .../samples/V1/KeyManagementServiceClient/list_crypto_keys.php | 2 +- .../samples/V1/KeyManagementServiceClient/list_import_jobs.php | 2 +- .../samples/V1/KeyManagementServiceClient/list_key_rings.php | 2 +- .../samples/V1/KeyManagementServiceClient/list_locations.php | 2 +- .../KeyManagementServiceClient/restore_crypto_key_version.php | 2 +- .../samples/V1/KeyManagementServiceClient/set_iam_policy.php | 2 +- .../V1/KeyManagementServiceClient/test_iam_permissions.php | 2 +- .../samples/V1/KeyManagementServiceClient/update_crypto_key.php | 2 +- .../update_crypto_key_primary_version.php | 2 +- .../V1/KeyManagementServiceClient/update_crypto_key_version.php | 2 +- .../kms/src/V1/Gapic/KeyManagementServiceGapicClient.php | 2 +- .../goldens/kms/src/V1/KeyManagementServiceClient.php | 2 +- .../V1/resources/key_management_service_descriptor_config.php | 2 +- .../V1/resources/key_management_service_rest_client_config.php | 2 +- .../kms/tests/Unit/V1/KeyManagementServiceClientTest.php | 2 +- .../samples/V2/ConfigServiceV2Client/copy_log_entries.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/create_bucket.php | 2 +- .../samples/V2/ConfigServiceV2Client/create_bucket_async.php | 2 +- .../samples/V2/ConfigServiceV2Client/create_exclusion.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/create_link.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/create_sink.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/create_view.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/delete_bucket.php | 2 +- .../samples/V2/ConfigServiceV2Client/delete_exclusion.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/delete_link.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/delete_sink.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/delete_view.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/get_bucket.php | 2 +- .../samples/V2/ConfigServiceV2Client/get_cmek_settings.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/get_exclusion.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/get_link.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/get_settings.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/get_sink.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/get_view.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/list_buckets.php | 2 +- .../samples/V2/ConfigServiceV2Client/list_exclusions.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/list_links.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/list_sinks.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/list_views.php | 2 +- .../samples/V2/ConfigServiceV2Client/undelete_bucket.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/update_bucket.php | 2 +- .../samples/V2/ConfigServiceV2Client/update_bucket_async.php | 2 +- .../samples/V2/ConfigServiceV2Client/update_cmek_settings.php | 2 +- .../samples/V2/ConfigServiceV2Client/update_exclusion.php | 2 +- .../samples/V2/ConfigServiceV2Client/update_settings.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/update_sink.php | 2 +- .../logging/samples/V2/ConfigServiceV2Client/update_view.php | 2 +- .../logging/samples/V2/LoggingServiceV2Client/delete_log.php | 2 +- .../samples/V2/LoggingServiceV2Client/list_log_entries.php | 2 +- .../logging/samples/V2/LoggingServiceV2Client/list_logs.php | 2 +- .../list_monitored_resource_descriptors.php | 2 +- .../samples/V2/LoggingServiceV2Client/tail_log_entries.php | 2 +- .../samples/V2/LoggingServiceV2Client/write_log_entries.php | 2 +- .../samples/V2/MetricsServiceV2Client/create_log_metric.php | 2 +- .../samples/V2/MetricsServiceV2Client/delete_log_metric.php | 2 +- .../samples/V2/MetricsServiceV2Client/get_log_metric.php | 2 +- .../samples/V2/MetricsServiceV2Client/list_log_metrics.php | 2 +- .../samples/V2/MetricsServiceV2Client/update_log_metric.php | 2 +- .../goldens/logging/src/V2/ConfigServiceV2Client.php | 2 +- .../goldens/logging/src/V2/Gapic/ConfigServiceV2GapicClient.php | 2 +- .../logging/src/V2/Gapic/LoggingServiceV2GapicClient.php | 2 +- .../logging/src/V2/Gapic/MetricsServiceV2GapicClient.php | 2 +- .../goldens/logging/src/V2/LoggingServiceV2Client.php | 2 +- .../goldens/logging/src/V2/MetricsServiceV2Client.php | 2 +- .../src/V2/resources/config_service_v2_descriptor_config.php | 2 +- .../src/V2/resources/config_service_v2_rest_client_config.php | 2 +- .../src/V2/resources/logging_service_v2_descriptor_config.php | 2 +- .../src/V2/resources/logging_service_v2_rest_client_config.php | 2 +- .../src/V2/resources/metrics_service_v2_descriptor_config.php | 2 +- .../src/V2/resources/metrics_service_v2_rest_client_config.php | 2 +- .../goldens/logging/tests/Unit/V2/ConfigServiceV2ClientTest.php | 2 +- .../logging/tests/Unit/V2/LoggingServiceV2ClientTest.php | 2 +- .../logging/tests/Unit/V2/MetricsServiceV2ClientTest.php | 2 +- .../redis/samples/V1/CloudRedisClient/create_instance.php | 2 +- .../redis/samples/V1/CloudRedisClient/delete_instance.php | 2 +- .../redis/samples/V1/CloudRedisClient/export_instance.php | 2 +- .../redis/samples/V1/CloudRedisClient/failover_instance.php | 2 +- .../goldens/redis/samples/V1/CloudRedisClient/get_instance.php | 2 +- .../samples/V1/CloudRedisClient/get_instance_auth_string.php | 2 +- .../goldens/redis/samples/V1/CloudRedisClient/get_location.php | 2 +- .../redis/samples/V1/CloudRedisClient/import_instance.php | 2 +- .../redis/samples/V1/CloudRedisClient/list_instances.php | 2 +- .../redis/samples/V1/CloudRedisClient/list_locations.php | 2 +- .../samples/V1/CloudRedisClient/reschedule_maintenance.php | 2 +- .../redis/samples/V1/CloudRedisClient/update_instance.php | 2 +- .../redis/samples/V1/CloudRedisClient/upgrade_instance.php | 2 +- .../goldens/redis/src/V1/Client/CloudRedisClient.php | 2 +- .../redis/src/V1/resources/cloud_redis_descriptor_config.php | 2 +- .../goldens/redis/tests/Unit/V1/Client/CloudRedisClientTest.php | 2 +- .../V2alpha/AnalyticsServiceClient/export_analytics_metrics.php | 2 +- .../retail/samples/V2alpha/BranchServiceClient/get_branch.php | 2 +- .../samples/V2alpha/BranchServiceClient/list_branches.php | 2 +- .../V2alpha/CatalogServiceClient/add_catalog_attribute.php | 2 +- .../CatalogServiceClient/batch_remove_catalog_attributes.php | 2 +- .../V2alpha/CatalogServiceClient/get_attributes_config.php | 2 +- .../V2alpha/CatalogServiceClient/get_completion_config.php | 2 +- .../samples/V2alpha/CatalogServiceClient/get_default_branch.php | 2 +- .../samples/V2alpha/CatalogServiceClient/list_catalogs.php | 2 +- .../V2alpha/CatalogServiceClient/remove_catalog_attribute.php | 2 +- .../V2alpha/CatalogServiceClient/replace_catalog_attribute.php | 2 +- .../samples/V2alpha/CatalogServiceClient/set_default_branch.php | 2 +- .../V2alpha/CatalogServiceClient/update_attributes_config.php | 2 +- .../samples/V2alpha/CatalogServiceClient/update_catalog.php | 2 +- .../V2alpha/CatalogServiceClient/update_completion_config.php | 2 +- .../samples/V2alpha/CompletionServiceClient/complete_query.php | 2 +- .../V2alpha/CompletionServiceClient/import_completion_data.php | 2 +- .../samples/V2alpha/ControlServiceClient/create_control.php | 2 +- .../samples/V2alpha/ControlServiceClient/delete_control.php | 2 +- .../retail/samples/V2alpha/ControlServiceClient/get_control.php | 2 +- .../samples/V2alpha/ControlServiceClient/list_controls.php | 2 +- .../samples/V2alpha/ControlServiceClient/update_control.php | 2 +- .../ConversationalSearchServiceClient/conversational_search.php | 2 +- .../batch_update_generative_question_configs.php | 2 +- .../get_generative_questions_feature_config.php | 2 +- .../list_generative_question_configs.php | 2 +- .../update_generative_question_config.php | 2 +- .../update_generative_questions_feature_config.php | 2 +- .../create_merchant_center_account_link.php | 2 +- .../delete_merchant_center_account_link.php | 2 +- .../list_merchant_center_account_links.php | 2 +- .../retail/samples/V2alpha/ModelServiceClient/create_model.php | 2 +- .../retail/samples/V2alpha/ModelServiceClient/delete_model.php | 2 +- .../retail/samples/V2alpha/ModelServiceClient/get_model.php | 2 +- .../retail/samples/V2alpha/ModelServiceClient/list_models.php | 2 +- .../retail/samples/V2alpha/ModelServiceClient/pause_model.php | 2 +- .../retail/samples/V2alpha/ModelServiceClient/resume_model.php | 2 +- .../retail/samples/V2alpha/ModelServiceClient/tune_model.php | 2 +- .../retail/samples/V2alpha/ModelServiceClient/update_model.php | 2 +- .../retail/samples/V2alpha/PredictionServiceClient/predict.php | 2 +- .../V2alpha/ProductServiceClient/add_fulfillment_places.php | 2 +- .../V2alpha/ProductServiceClient/add_local_inventories.php | 2 +- .../samples/V2alpha/ProductServiceClient/create_product.php | 2 +- .../samples/V2alpha/ProductServiceClient/delete_product.php | 2 +- .../samples/V2alpha/ProductServiceClient/export_products.php | 2 +- .../retail/samples/V2alpha/ProductServiceClient/get_product.php | 2 +- .../samples/V2alpha/ProductServiceClient/import_products.php | 2 +- .../samples/V2alpha/ProductServiceClient/list_products.php | 2 +- .../samples/V2alpha/ProductServiceClient/purge_products.php | 2 +- .../V2alpha/ProductServiceClient/remove_fulfillment_places.php | 2 +- .../V2alpha/ProductServiceClient/remove_local_inventories.php | 2 +- .../samples/V2alpha/ProductServiceClient/set_inventory.php | 2 +- .../samples/V2alpha/ProductServiceClient/update_product.php | 2 +- .../samples/V2alpha/ProjectServiceClient/accept_terms.php | 2 +- .../samples/V2alpha/ProjectServiceClient/enroll_solution.php | 2 +- .../samples/V2alpha/ProjectServiceClient/get_alert_config.php | 2 +- .../samples/V2alpha/ProjectServiceClient/get_logging_config.php | 2 +- .../retail/samples/V2alpha/ProjectServiceClient/get_project.php | 2 +- .../V2alpha/ProjectServiceClient/list_enrolled_solutions.php | 2 +- .../V2alpha/ProjectServiceClient/update_alert_config.php | 2 +- .../V2alpha/ProjectServiceClient/update_logging_config.php | 2 +- .../retail/samples/V2alpha/SearchServiceClient/search.php | 2 +- .../samples/V2alpha/ServingConfigServiceClient/add_control.php | 2 +- .../ServingConfigServiceClient/create_serving_config.php | 2 +- .../ServingConfigServiceClient/delete_serving_config.php | 2 +- .../V2alpha/ServingConfigServiceClient/get_serving_config.php | 2 +- .../V2alpha/ServingConfigServiceClient/list_serving_configs.php | 2 +- .../V2alpha/ServingConfigServiceClient/remove_control.php | 2 +- .../ServingConfigServiceClient/update_serving_config.php | 2 +- .../V2alpha/UserEventServiceClient/collect_user_event.php | 2 +- .../V2alpha/UserEventServiceClient/export_user_events.php | 2 +- .../V2alpha/UserEventServiceClient/import_user_events.php | 2 +- .../V2alpha/UserEventServiceClient/purge_user_events.php | 2 +- .../V2alpha/UserEventServiceClient/rejoin_user_events.php | 2 +- .../samples/V2alpha/UserEventServiceClient/write_user_event.php | 2 +- .../goldens/retail/src/V2alpha/AnalyticsServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/BranchServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/CatalogServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/CompletionServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/ControlServiceClient.php | 2 +- .../retail/src/V2alpha/ConversationalSearchServiceClient.php | 2 +- .../retail/src/V2alpha/Gapic/AnalyticsServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/BranchServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/CatalogServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/ControlServiceGapicClient.php | 2 +- .../V2alpha/Gapic/ConversationalSearchServiceGapicClient.php | 2 +- .../src/V2alpha/Gapic/GenerativeQuestionServiceGapicClient.php | 2 +- .../Gapic/MerchantCenterAccountLinkServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/ModelServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/PredictionServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/ProductServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/ProjectServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/SearchServiceGapicClient.php | 2 +- .../src/V2alpha/Gapic/ServingConfigServiceGapicClient.php | 2 +- .../retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php | 2 +- .../retail/src/V2alpha/GenerativeQuestionServiceClient.php | 2 +- .../src/V2alpha/MerchantCenterAccountLinkServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/ModelServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/PredictionServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/ProductServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/ProjectServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/SearchServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/ServingConfigServiceClient.php | 2 +- .../goldens/retail/src/V2alpha/UserEventServiceClient.php | 2 +- .../V2alpha/resources/analytics_service_descriptor_config.php | 2 +- .../V2alpha/resources/analytics_service_rest_client_config.php | 2 +- .../src/V2alpha/resources/branch_service_descriptor_config.php | 2 +- .../src/V2alpha/resources/branch_service_rest_client_config.php | 2 +- .../src/V2alpha/resources/catalog_service_descriptor_config.php | 2 +- .../V2alpha/resources/catalog_service_rest_client_config.php | 2 +- .../V2alpha/resources/completion_service_descriptor_config.php | 2 +- .../V2alpha/resources/completion_service_rest_client_config.php | 2 +- .../src/V2alpha/resources/control_service_descriptor_config.php | 2 +- .../V2alpha/resources/control_service_rest_client_config.php | 2 +- .../conversational_search_service_descriptor_config.php | 2 +- .../conversational_search_service_rest_client_config.php | 2 +- .../resources/generative_question_service_descriptor_config.php | 2 +- .../generative_question_service_rest_client_config.php | 2 +- .../merchant_center_account_link_service_descriptor_config.php | 2 +- .../merchant_center_account_link_service_rest_client_config.php | 2 +- .../src/V2alpha/resources/model_service_descriptor_config.php | 2 +- .../src/V2alpha/resources/model_service_rest_client_config.php | 2 +- .../V2alpha/resources/prediction_service_descriptor_config.php | 2 +- .../V2alpha/resources/prediction_service_rest_client_config.php | 2 +- .../src/V2alpha/resources/product_service_descriptor_config.php | 2 +- .../V2alpha/resources/product_service_rest_client_config.php | 2 +- .../src/V2alpha/resources/project_service_descriptor_config.php | 2 +- .../V2alpha/resources/project_service_rest_client_config.php | 2 +- .../src/V2alpha/resources/search_service_descriptor_config.php | 2 +- .../src/V2alpha/resources/search_service_rest_client_config.php | 2 +- .../resources/serving_config_service_descriptor_config.php | 2 +- .../resources/serving_config_service_rest_client_config.php | 2 +- .../V2alpha/resources/user_event_service_descriptor_config.php | 2 +- .../V2alpha/resources/user_event_service_rest_client_config.php | 2 +- .../retail/tests/Unit/V2alpha/AnalyticsServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/BranchServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/CatalogServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/CompletionServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/ControlServiceClientTest.php | 2 +- .../Unit/V2alpha/ConversationalSearchServiceClientTest.php | 2 +- .../tests/Unit/V2alpha/GenerativeQuestionServiceClientTest.php | 2 +- .../Unit/V2alpha/MerchantCenterAccountLinkServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/ModelServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/PredictionServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/ProductServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/ProjectServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/SearchServiceClientTest.php | 2 +- .../tests/Unit/V2alpha/ServingConfigServiceClientTest.php | 2 +- .../retail/tests/Unit/V2alpha/UserEventServiceClientTest.php | 2 +- .../batch_create_resource_value_configs.php | 2 +- .../samples/V1/SecurityCenterClient/bulk_mute_findings.php | 2 +- .../samples/V1/SecurityCenterClient/create_big_query_export.php | 2 +- .../create_event_threat_detection_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/create_finding.php | 2 +- .../samples/V1/SecurityCenterClient/create_mute_config.php | 2 +- .../V1/SecurityCenterClient/create_notification_config.php | 2 +- .../create_security_health_analytics_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/create_source.php | 2 +- .../samples/V1/SecurityCenterClient/delete_big_query_export.php | 2 +- .../delete_event_threat_detection_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/delete_mute_config.php | 2 +- .../V1/SecurityCenterClient/delete_notification_config.php | 2 +- .../V1/SecurityCenterClient/delete_resource_value_config.php | 2 +- .../delete_security_health_analytics_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/get_big_query_export.php | 2 +- .../get_effective_event_threat_detection_custom_module.php | 2 +- .../get_effective_security_health_analytics_custom_module.php | 2 +- .../get_event_threat_detection_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/get_iam_policy.php | 2 +- .../samples/V1/SecurityCenterClient/get_mute_config.php | 2 +- .../samples/V1/SecurityCenterClient/get_notification_config.php | 2 +- .../V1/SecurityCenterClient/get_organization_settings.php | 2 +- .../V1/SecurityCenterClient/get_resource_value_config.php | 2 +- .../get_security_health_analytics_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/get_simulation.php | 2 +- .../samples/V1/SecurityCenterClient/get_source.php | 2 +- .../samples/V1/SecurityCenterClient/get_valued_resource.php | 2 +- .../samples/V1/SecurityCenterClient/group_assets.php | 2 +- .../samples/V1/SecurityCenterClient/group_findings.php | 2 +- .../samples/V1/SecurityCenterClient/list_assets.php | 2 +- .../samples/V1/SecurityCenterClient/list_attack_paths.php | 2 +- .../samples/V1/SecurityCenterClient/list_big_query_exports.php | 2 +- .../list_descendant_event_threat_detection_custom_modules.php | 2 +- ...list_descendant_security_health_analytics_custom_modules.php | 2 +- .../list_effective_event_threat_detection_custom_modules.php | 2 +- .../list_effective_security_health_analytics_custom_modules.php | 2 +- .../list_event_threat_detection_custom_modules.php | 2 +- .../samples/V1/SecurityCenterClient/list_findings.php | 2 +- .../samples/V1/SecurityCenterClient/list_mute_configs.php | 2 +- .../V1/SecurityCenterClient/list_notification_configs.php | 2 +- .../V1/SecurityCenterClient/list_resource_value_configs.php | 2 +- .../list_security_health_analytics_custom_modules.php | 2 +- .../samples/V1/SecurityCenterClient/list_sources.php | 2 +- .../samples/V1/SecurityCenterClient/list_valued_resources.php | 2 +- .../samples/V1/SecurityCenterClient/run_asset_discovery.php | 2 +- .../samples/V1/SecurityCenterClient/set_finding_state.php | 2 +- .../samples/V1/SecurityCenterClient/set_iam_policy.php | 2 +- .../securitycenter/samples/V1/SecurityCenterClient/set_mute.php | 2 +- .../simulate_security_health_analytics_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/test_iam_permissions.php | 2 +- .../samples/V1/SecurityCenterClient/update_big_query_export.php | 2 +- .../update_event_threat_detection_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/update_external_system.php | 2 +- .../samples/V1/SecurityCenterClient/update_finding.php | 2 +- .../samples/V1/SecurityCenterClient/update_mute_config.php | 2 +- .../V1/SecurityCenterClient/update_notification_config.php | 2 +- .../V1/SecurityCenterClient/update_organization_settings.php | 2 +- .../V1/SecurityCenterClient/update_resource_value_config.php | 2 +- .../update_security_health_analytics_custom_module.php | 2 +- .../samples/V1/SecurityCenterClient/update_security_marks.php | 2 +- .../samples/V1/SecurityCenterClient/update_source.php | 2 +- .../validate_event_threat_detection_custom_module.php | 2 +- .../securitycenter/src/V1/Client/SecurityCenterClient.php | 2 +- .../securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php | 2 +- .../goldens/securitycenter/src/V1/SecurityCenterClient.php | 2 +- .../src/V1/resources/security_center_descriptor_config.php | 2 +- .../src/V1/resources/security_center_rest_client_config.php | 2 +- .../tests/Unit/V1/Client/SecurityCenterClientTest.php | 2 +- .../securitycenter/tests/Unit/V1/SecurityCenterClientTest.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/add_split_points.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/copy_backup.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/create_backup.php | 2 +- .../samples/V1/DatabaseAdminClient/create_backup_schedule.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/create_database.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/delete_backup.php | 2 +- .../samples/V1/DatabaseAdminClient/delete_backup_schedule.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/drop_database.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/get_backup.php | 2 +- .../samples/V1/DatabaseAdminClient/get_backup_schedule.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/get_database.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/get_database_ddl.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/get_iam_policy.php | 2 +- .../V1/DatabaseAdminClient/internal_update_graph_operation.php | 2 +- .../samples/V1/DatabaseAdminClient/list_backup_operations.php | 2 +- .../samples/V1/DatabaseAdminClient/list_backup_schedules.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/list_backups.php | 2 +- .../samples/V1/DatabaseAdminClient/list_database_operations.php | 2 +- .../samples/V1/DatabaseAdminClient/list_database_roles.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/list_databases.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/restore_database.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/set_iam_policy.php | 2 +- .../samples/V1/DatabaseAdminClient/test_iam_permissions.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/update_backup.php | 2 +- .../samples/V1/DatabaseAdminClient/update_backup_schedule.php | 2 +- .../spanner/samples/V1/DatabaseAdminClient/update_database.php | 2 +- .../samples/V1/DatabaseAdminClient/update_database_ddl.php | 2 +- .../goldens/spanner/src/V1/Client/DatabaseAdminClient.php | 2 +- .../Integration/goldens/spanner/src/V1/DatabaseAdminClient.php | 2 +- .../goldens/spanner/src/V1/Gapic/DatabaseAdminGapicClient.php | 2 +- .../src/V1/resources/database_admin_descriptor_config.php | 2 +- .../src/V1/resources/database_admin_rest_client_config.php | 2 +- .../spanner/tests/Unit/V1/Client/DatabaseAdminClientTest.php | 2 +- .../goldens/spanner/tests/Unit/V1/DatabaseAdminClientTest.php | 2 +- .../speech/samples/V1/AdaptationClient/create_custom_class.php | 2 +- .../speech/samples/V1/AdaptationClient/create_phrase_set.php | 2 +- .../speech/samples/V1/AdaptationClient/delete_custom_class.php | 2 +- .../speech/samples/V1/AdaptationClient/delete_phrase_set.php | 2 +- .../speech/samples/V1/AdaptationClient/get_custom_class.php | 2 +- .../speech/samples/V1/AdaptationClient/get_phrase_set.php | 2 +- .../speech/samples/V1/AdaptationClient/list_custom_classes.php | 2 +- .../speech/samples/V1/AdaptationClient/list_phrase_set.php | 2 +- .../speech/samples/V1/AdaptationClient/update_custom_class.php | 2 +- .../speech/samples/V1/AdaptationClient/update_phrase_set.php | 2 +- .../speech/samples/V1/SpeechClient/long_running_recognize.php | 2 +- .../goldens/speech/samples/V1/SpeechClient/recognize.php | 2 +- .../speech/samples/V1/SpeechClient/streaming_recognize.php | 2 +- tests/Integration/goldens/speech/src/V1/AdaptationClient.php | 2 +- .../goldens/speech/src/V1/Gapic/AdaptationGapicClient.php | 2 +- .../goldens/speech/src/V1/Gapic/SpeechGapicClient.php | 2 +- tests/Integration/goldens/speech/src/V1/SpeechClient.php | 2 +- .../speech/src/V1/resources/adaptation_descriptor_config.php | 2 +- .../speech/src/V1/resources/adaptation_rest_client_config.php | 2 +- .../speech/src/V1/resources/speech_descriptor_config.php | 2 +- .../speech/src/V1/resources/speech_rest_client_config.php | 2 +- .../goldens/speech/tests/Unit/V1/AdaptationClientTest.php | 2 +- .../goldens/speech/tests/Unit/V1/SpeechClientTest.php | 2 +- .../samples/V4beta1/CompanyServiceClient/create_company.php | 2 +- .../samples/V4beta1/CompanyServiceClient/delete_company.php | 2 +- .../talent/samples/V4beta1/CompanyServiceClient/get_company.php | 2 +- .../samples/V4beta1/CompanyServiceClient/list_companies.php | 2 +- .../samples/V4beta1/CompanyServiceClient/update_company.php | 2 +- .../talent/samples/V4beta1/CompletionClient/complete_query.php | 2 +- .../samples/V4beta1/EventServiceClient/create_client_event.php | 2 +- .../samples/V4beta1/JobServiceClient/batch_create_jobs.php | 2 +- .../samples/V4beta1/JobServiceClient/batch_delete_jobs.php | 2 +- .../samples/V4beta1/JobServiceClient/batch_update_jobs.php | 2 +- .../talent/samples/V4beta1/JobServiceClient/create_job.php | 2 +- .../talent/samples/V4beta1/JobServiceClient/delete_job.php | 2 +- .../goldens/talent/samples/V4beta1/JobServiceClient/get_job.php | 2 +- .../talent/samples/V4beta1/JobServiceClient/list_jobs.php | 2 +- .../talent/samples/V4beta1/JobServiceClient/search_jobs.php | 2 +- .../samples/V4beta1/JobServiceClient/search_jobs_for_alert.php | 2 +- .../talent/samples/V4beta1/JobServiceClient/update_job.php | 2 +- .../samples/V4beta1/TenantServiceClient/create_tenant.php | 2 +- .../samples/V4beta1/TenantServiceClient/delete_tenant.php | 2 +- .../talent/samples/V4beta1/TenantServiceClient/get_tenant.php | 2 +- .../talent/samples/V4beta1/TenantServiceClient/list_tenants.php | 2 +- .../samples/V4beta1/TenantServiceClient/update_tenant.php | 2 +- .../goldens/talent/src/V4beta1/CompanyServiceClient.php | 2 +- .../Integration/goldens/talent/src/V4beta1/CompletionClient.php | 2 +- .../goldens/talent/src/V4beta1/EventServiceClient.php | 2 +- .../talent/src/V4beta1/Gapic/CompanyServiceGapicClient.php | 2 +- .../goldens/talent/src/V4beta1/Gapic/CompletionGapicClient.php | 2 +- .../talent/src/V4beta1/Gapic/EventServiceGapicClient.php | 2 +- .../goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php | 2 +- .../talent/src/V4beta1/Gapic/TenantServiceGapicClient.php | 2 +- .../Integration/goldens/talent/src/V4beta1/JobServiceClient.php | 2 +- .../goldens/talent/src/V4beta1/TenantServiceClient.php | 2 +- .../src/V4beta1/resources/company_service_descriptor_config.php | 2 +- .../V4beta1/resources/company_service_rest_client_config.php | 2 +- .../src/V4beta1/resources/completion_descriptor_config.php | 2 +- .../src/V4beta1/resources/completion_rest_client_config.php | 2 +- .../src/V4beta1/resources/event_service_descriptor_config.php | 2 +- .../src/V4beta1/resources/event_service_rest_client_config.php | 2 +- .../src/V4beta1/resources/job_service_descriptor_config.php | 2 +- .../src/V4beta1/resources/job_service_rest_client_config.php | 2 +- .../src/V4beta1/resources/tenant_service_descriptor_config.php | 2 +- .../src/V4beta1/resources/tenant_service_rest_client_config.php | 2 +- .../talent/tests/Unit/V4beta1/CompanyServiceClientTest.php | 2 +- .../goldens/talent/tests/Unit/V4beta1/CompletionClientTest.php | 2 +- .../talent/tests/Unit/V4beta1/EventServiceClientTest.php | 2 +- .../goldens/talent/tests/Unit/V4beta1/JobServiceClientTest.php | 2 +- .../talent/tests/Unit/V4beta1/TenantServiceClientTest.php | 2 +- .../V1/VideoIntelligenceServiceClient/annotate_video.php | 2 +- .../src/V1/Gapic/VideoIntelligenceServiceGapicClient.php | 2 +- .../videointelligence/src/V1/VideoIntelligenceServiceClient.php | 2 +- .../resources/video_intelligence_service_descriptor_config.php | 2 +- .../resources/video_intelligence_service_rest_client_config.php | 2 +- .../tests/Unit/V1/VideoIntelligenceServiceClientTest.php | 2 +- 670 files changed, 670 insertions(+), 670 deletions(-) diff --git a/tests/Integration/goldens/asset/samples/V1/AssetServiceClient/analyze_iam_policy.php b/tests/Integration/goldens/asset/samples/V1/AssetServiceClient/analyze_iam_policy.php index 7f3523874..8ab8eea07 100644 --- a/tests/Integration/goldens/asset/samples/V1/AssetServiceClient/analyze_iam_policy.php +++ b/tests/Integration/goldens/asset/samples/V1/AssetServiceClient/analyze_iam_policy.php @@ -1,6 +1,6 @@