From 672fb77e0ce1b4f2caea771984ba7e8a54ba9492 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 11 Jan 2023 15:22:53 -0800 Subject: [PATCH] fix: [Many APIs] expose numericEnums option in rest client config (#5765) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(bazel): update gapic-generator-php to v1.6.4 PiperOrigin-RevId: 499941754 Source-Link: https://github.com/googleapis/googleapis/commit/71b5bbcb2e8343bf08de56ccd239d308327a114f Source-Link: https://github.com/googleapis/googleapis-gen/commit/113c51b303b47fe8315c536260da50a92c277b39 Copy-Tag: eyJwIjoiVmlkZW9JbnRlbGxpZ2VuY2UvLk93bEJvdC55YW1sIiwiaCI6IjExM2M1MWIzMDNiNDdmZTgzMTVjNTM2MjYwZGE1MGE5MmMyNzdiMzkifQ== Copy-Tag: eyJwIjoiVmlkZW9MaXZlU3RyZWFtLy5Pd2xCb3QueWFtbCIsImgiOiIxMTNjNTFiMzAzYjQ3ZmU4MzE1YzUzNjI2MGRhNTBhOTJjMjc3YjM5In0= Copy-Tag: eyJwIjoiVmlkZW9TdGl0Y2hlci8uT3dsQm90LnlhbWwiLCJoIjoiMTEzYzUxYjMwM2I0N2ZlODMxNWM1MzYyNjBkYTUwYTkyYzI3N2IzOSJ9 Copy-Tag: eyJwIjoiVmlkZW9UcmFuc2NvZGVyLy5Pd2xCb3QueWFtbCIsImgiOiIxMTNjNTFiMzAzYjQ3ZmU4MzE1YzUzNjI2MGRhNTBhOTJjMjc3YjM5In0= Copy-Tag: eyJwIjoiVmlzaW9uLy5Pd2xCb3QueWFtbCIsImgiOiIxMTNjNTFiMzAzYjQ3ZmU4MzE1YzUzNjI2MGRhNTBhOTJjMjc3YjM5In0= Copy-Tag: eyJwIjoiVm1NaWdyYXRpb24vLk93bEJvdC55YW1sIiwiaCI6IjExM2M1MWIzMDNiNDdmZTgzMTVjNTM2MjYwZGE1MGE5MmMyNzdiMzkifQ== Copy-Tag: eyJwIjoiVm13YXJlRW5naW5lLy5Pd2xCb3QueWFtbCIsImgiOiIxMTNjNTFiMzAzYjQ3ZmU4MzE1YzUzNjI2MGRhNTBhOTJjMjc3YjM5In0= Copy-Tag: eyJwIjoiVnBjQWNjZXNzLy5Pd2xCb3QueWFtbCIsImgiOiIxMTNjNTFiMzAzYjQ3ZmU4MzE1YzUzNjI2MGRhNTBhOTJjMjc3YjM5In0= Copy-Tag: eyJwIjoiV2ViUmlzay8uT3dsQm90LnlhbWwiLCJoIjoiMTEzYzUxYjMwM2I0N2ZlODMxNWM1MzYyNjBkYTUwYTkyYzI3N2IzOSJ9 Copy-Tag: eyJwIjoiV2ViU2VjdXJpdHlTY2FubmVyLy5Pd2xCb3QueWFtbCIsImgiOiIxMTNjNTFiMzAzYjQ3ZmU4MzE1YzUzNjI2MGRhNTBhOTJjMjc3YjM5In0= Copy-Tag: eyJwIjoiV29ya2Zsb3dzLy5Pd2xCb3QueWFtbCIsImgiOiIxMTNjNTFiMzAzYjQ3ZmU4MzE1YzUzNjI2MGRhNTBhOTJjMjc3YjM5In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../resources/video_intelligence_service_rest_client_config.php | 1 + .../resources/video_intelligence_service_rest_client_config.php | 1 + .../src/V1/resources/livestream_service_rest_client_config.php | 1 + .../V1/resources/video_stitcher_service_rest_client_config.php | 1 + .../src/V1/resources/transcoder_service_rest_client_config.php | 1 + Vision/src/V1/resources/image_annotator_rest_client_config.php | 1 + Vision/src/V1/resources/product_search_rest_client_config.php | 1 + VmMigration/src/V1/resources/vm_migration_rest_client_config.php | 1 + .../src/V1/resources/vmware_engine_rest_client_config.php | 1 + .../src/V1/resources/vpc_access_service_rest_client_config.php | 1 + WebRisk/src/V1/resources/web_risk_service_rest_client_config.php | 1 + .../resources/web_risk_service_v1_beta1_rest_client_config.php | 1 + .../V1beta/resources/web_security_scanner_rest_client_config.php | 1 + Workflows/src/V1beta/resources/workflows_rest_client_config.php | 1 + 14 files changed, 14 insertions(+) diff --git a/VideoIntelligence/src/V1/resources/video_intelligence_service_rest_client_config.php b/VideoIntelligence/src/V1/resources/video_intelligence_service_rest_client_config.php index 574f0f5bf0b6..91be17c63ed7 100644 --- a/VideoIntelligence/src/V1/resources/video_intelligence_service_rest_client_config.php +++ b/VideoIntelligence/src/V1/resources/video_intelligence_service_rest_client_config.php @@ -76,4 +76,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/VideoIntelligence/src/V1beta2/resources/video_intelligence_service_rest_client_config.php b/VideoIntelligence/src/V1beta2/resources/video_intelligence_service_rest_client_config.php index 65f523e51538..86b6189ac474 100644 --- a/VideoIntelligence/src/V1beta2/resources/video_intelligence_service_rest_client_config.php +++ b/VideoIntelligence/src/V1beta2/resources/video_intelligence_service_rest_client_config.php @@ -76,4 +76,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/VideoLiveStream/src/V1/resources/livestream_service_rest_client_config.php b/VideoLiveStream/src/V1/resources/livestream_service_rest_client_config.php index 428eb94b51e9..17b5bb70d3f5 100644 --- a/VideoLiveStream/src/V1/resources/livestream_service_rest_client_config.php +++ b/VideoLiveStream/src/V1/resources/livestream_service_rest_client_config.php @@ -270,4 +270,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/VideoStitcher/src/V1/resources/video_stitcher_service_rest_client_config.php b/VideoStitcher/src/V1/resources/video_stitcher_service_rest_client_config.php index b89b5716f581..062e13ea9283 100644 --- a/VideoStitcher/src/V1/resources/video_stitcher_service_rest_client_config.php +++ b/VideoStitcher/src/V1/resources/video_stitcher_service_rest_client_config.php @@ -245,4 +245,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/VideoTranscoder/src/V1/resources/transcoder_service_rest_client_config.php b/VideoTranscoder/src/V1/resources/transcoder_service_rest_client_config.php index 389e018d8c53..bedf0d6bda0e 100644 --- a/VideoTranscoder/src/V1/resources/transcoder_service_rest_client_config.php +++ b/VideoTranscoder/src/V1/resources/transcoder_service_rest_client_config.php @@ -98,4 +98,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/Vision/src/V1/resources/image_annotator_rest_client_config.php b/Vision/src/V1/resources/image_annotator_rest_client_config.php index e0391e9447bd..5ca910208251 100644 --- a/Vision/src/V1/resources/image_annotator_rest_client_config.php +++ b/Vision/src/V1/resources/image_annotator_rest_client_config.php @@ -128,4 +128,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/Vision/src/V1/resources/product_search_rest_client_config.php b/Vision/src/V1/resources/product_search_rest_client_config.php index af0938240f86..9ce3ae045331 100644 --- a/Vision/src/V1/resources/product_search_rest_client_config.php +++ b/Vision/src/V1/resources/product_search_rest_client_config.php @@ -252,4 +252,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/VmMigration/src/V1/resources/vm_migration_rest_client_config.php b/VmMigration/src/V1/resources/vm_migration_rest_client_config.php index 49ec06481cf6..093045ea94a0 100644 --- a/VmMigration/src/V1/resources/vm_migration_rest_client_config.php +++ b/VmMigration/src/V1/resources/vm_migration_rest_client_config.php @@ -633,4 +633,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/VmwareEngine/src/V1/resources/vmware_engine_rest_client_config.php b/VmwareEngine/src/V1/resources/vmware_engine_rest_client_config.php index eee36755418f..7946f284ffdd 100644 --- a/VmwareEngine/src/V1/resources/vmware_engine_rest_client_config.php +++ b/VmwareEngine/src/V1/resources/vmware_engine_rest_client_config.php @@ -519,4 +519,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/VpcAccess/src/V1/resources/vpc_access_service_rest_client_config.php b/VpcAccess/src/V1/resources/vpc_access_service_rest_client_config.php index 50d230541707..941ea8196186 100644 --- a/VpcAccess/src/V1/resources/vpc_access_service_rest_client_config.php +++ b/VpcAccess/src/V1/resources/vpc_access_service_rest_client_config.php @@ -90,4 +90,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/WebRisk/src/V1/resources/web_risk_service_rest_client_config.php b/WebRisk/src/V1/resources/web_risk_service_rest_client_config.php index 0ecacb0d81b3..46e7e0d01efc 100644 --- a/WebRisk/src/V1/resources/web_risk_service_rest_client_config.php +++ b/WebRisk/src/V1/resources/web_risk_service_rest_client_config.php @@ -29,4 +29,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/WebRisk/src/V1beta1/resources/web_risk_service_v1_beta1_rest_client_config.php b/WebRisk/src/V1beta1/resources/web_risk_service_v1_beta1_rest_client_config.php index 9498ce14b80c..d7ca5b4f9931 100644 --- a/WebRisk/src/V1beta1/resources/web_risk_service_v1_beta1_rest_client_config.php +++ b/WebRisk/src/V1beta1/resources/web_risk_service_v1_beta1_rest_client_config.php @@ -17,4 +17,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/WebSecurityScanner/src/V1beta/resources/web_security_scanner_rest_client_config.php b/WebSecurityScanner/src/V1beta/resources/web_security_scanner_rest_client_config.php index 122c82ce8f88..e3cc5c7648f0 100644 --- a/WebSecurityScanner/src/V1beta/resources/web_security_scanner_rest_client_config.php +++ b/WebSecurityScanner/src/V1beta/resources/web_security_scanner_rest_client_config.php @@ -159,4 +159,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/Workflows/src/V1beta/resources/workflows_rest_client_config.php b/Workflows/src/V1beta/resources/workflows_rest_client_config.php index a79b897c6597..35bd2027c0e3 100644 --- a/Workflows/src/V1beta/resources/workflows_rest_client_config.php +++ b/Workflows/src/V1beta/resources/workflows_rest_client_config.php @@ -125,4 +125,5 @@ ], ], ], + 'numericEnums' => true, ];