diff --git a/AccessApproval/owlbot.py b/AccessApproval/owlbot.py index 9d3d872ca407..dc5f6535e264 100644 --- a/AccessApproval/owlbot.py +++ b/AccessApproval/owlbot.py @@ -20,13 +20,16 @@ import synthtool as s from synthtool.languages import php - +from synthtool import _tracked_paths logging.basicConfig(level=logging.DEBUG) src = Path(f"../{php.STAGING_DIR}/AccessApproval").resolve() dest = Path().resolve() +# Added so that we can pass copy_excludes in the owlbot_main() call +_tracked_paths.add(src) + php.owlbot_main( src=src, dest=dest, diff --git a/AccessApproval/src/V1/resources/access_approval_rest_client_config.php b/AccessApproval/src/V1/resources/access_approval_rest_client_config.php index f8b61bcd51c1..df20af0770ad 100644 --- a/AccessApproval/src/V1/resources/access_approval_rest_client_config.php +++ b/AccessApproval/src/V1/resources/access_approval_rest_client_config.php @@ -207,4 +207,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AccessContextManager/owlbot.py b/AccessContextManager/owlbot.py index 5c553b96567a..e10940791ca0 100644 --- a/AccessContextManager/owlbot.py +++ b/AccessContextManager/owlbot.py @@ -20,14 +20,17 @@ import synthtool as s from synthtool.languages import php +from synthtool import _tracked_paths logging.basicConfig(level=logging.DEBUG) src = Path(f"../{php.STAGING_DIR}/AccessContextManager").resolve() dest = Path().resolve() -php.owlbot_main(src=src, dest=dest) +# Added so that we can pass copy_excludes in the owlbot_main() call +_tracked_paths.add(src) +php.owlbot_main(src=src, dest=dest) # document and utilize apiEndpoint instead of serviceAddress s.replace( diff --git a/AccessContextManager/src/V1/resources/access_context_manager_rest_client_config.php b/AccessContextManager/src/V1/resources/access_context_manager_rest_client_config.php index d879671c1610..d0532c25d3ac 100644 --- a/AccessContextManager/src/V1/resources/access_context_manager_rest_client_config.php +++ b/AccessContextManager/src/V1/resources/access_context_manager_rest_client_config.php @@ -335,4 +335,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php index 27f78cb08fea..105bdf2a24e0 100644 --- a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php +++ b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php @@ -992,4 +992,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AnalyticsAdmin/src/V1beta/resources/analytics_admin_service_rest_client_config.php b/AnalyticsAdmin/src/V1beta/resources/analytics_admin_service_rest_client_config.php index 6db79e90c168..9c0dee0666a3 100644 --- a/AnalyticsAdmin/src/V1beta/resources/analytics_admin_service_rest_client_config.php +++ b/AnalyticsAdmin/src/V1beta/resources/analytics_admin_service_rest_client_config.php @@ -540,4 +540,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AnalyticsData/src/V1beta/resources/beta_analytics_data_rest_client_config.php b/AnalyticsData/src/V1beta/resources/beta_analytics_data_rest_client_config.php index cae5c13e58d7..5c2fc8a6ba49 100644 --- a/AnalyticsData/src/V1beta/resources/beta_analytics_data_rest_client_config.php +++ b/AnalyticsData/src/V1beta/resources/beta_analytics_data_rest_client_config.php @@ -88,4 +88,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/ApiGateway/owlbot.py b/ApiGateway/owlbot.py index 7d7a0f7212e3..978df8c60e09 100644 --- a/ApiGateway/owlbot.py +++ b/ApiGateway/owlbot.py @@ -20,15 +20,19 @@ import synthtool as s from synthtool.languages import php +from synthtool import _tracked_paths logging.basicConfig(level=logging.DEBUG) src = Path(f"../{php.STAGING_DIR}/ApiGateway").resolve() dest = Path().resolve() +# Added so that we can pass copy_excludes in the owlbot_main() call +_tracked_paths.add(src) + php.owlbot_main( src=src, - dest=dest + dest=dest, copy_excludes=[ src / "**/[A-Z]*_*.php", src / "**/*GrpcClient.php", diff --git a/ApiGateway/src/V1/resources/api_gateway_service_rest_client_config.php b/ApiGateway/src/V1/resources/api_gateway_service_rest_client_config.php index 9dbb9180f993..efacec0cefc8 100644 --- a/ApiGateway/src/V1/resources/api_gateway_service_rest_client_config.php +++ b/ApiGateway/src/V1/resources/api_gateway_service_rest_client_config.php @@ -330,4 +330,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/ApiKeys/src/V2/resources/api_keys_rest_client_config.php b/ApiKeys/src/V2/resources/api_keys_rest_client_config.php index 02f25a7c2639..8a6b2ba0f2e9 100644 --- a/ApiKeys/src/V2/resources/api_keys_rest_client_config.php +++ b/ApiKeys/src/V2/resources/api_keys_rest_client_config.php @@ -103,4 +103,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/ApigeeConnect/owlbot.py b/ApigeeConnect/owlbot.py index b9d3c270b703..1b6b3e6faa07 100644 --- a/ApigeeConnect/owlbot.py +++ b/ApigeeConnect/owlbot.py @@ -20,12 +20,16 @@ import synthtool as s from synthtool.languages import php +from synthtool import _tracked_paths logging.basicConfig(level=logging.DEBUG) src = Path(f"../{php.STAGING_DIR}/ApigeeConnect").resolve() dest = Path().resolve() +# Added so that we can pass copy_excludes in the owlbot_main() call +_tracked_paths.add(src) + php.owlbot_main( src=src, dest=dest, diff --git a/ApigeeConnect/src/V1/resources/connection_service_rest_client_config.php b/ApigeeConnect/src/V1/resources/connection_service_rest_client_config.php index 751d81e9f380..9e83bee656f7 100644 --- a/ApigeeConnect/src/V1/resources/connection_service_rest_client_config.php +++ b/ApigeeConnect/src/V1/resources/connection_service_rest_client_config.php @@ -16,4 +16,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/ApigeeConnect/src/V1/resources/tether_rest_client_config.php b/ApigeeConnect/src/V1/resources/tether_rest_client_config.php index f066b83ba8cd..180f8ce91961 100644 --- a/ApigeeConnect/src/V1/resources/tether_rest_client_config.php +++ b/ApigeeConnect/src/V1/resources/tether_rest_client_config.php @@ -2,4 +2,5 @@ return [ 'interfaces' => [], + 'numericEnums' => true, ]; diff --git a/ApigeeRegistry/src/V1/resources/provisioning_rest_client_config.php b/ApigeeRegistry/src/V1/resources/provisioning_rest_client_config.php index 00ff3ecc7840..4c802901d908 100644 --- a/ApigeeRegistry/src/V1/resources/provisioning_rest_client_config.php +++ b/ApigeeRegistry/src/V1/resources/provisioning_rest_client_config.php @@ -282,4 +282,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/ApigeeRegistry/src/V1/resources/registry_rest_client_config.php b/ApigeeRegistry/src/V1/resources/registry_rest_client_config.php index ad77d53c1577..a9f49918eb33 100644 --- a/ApigeeRegistry/src/V1/resources/registry_rest_client_config.php +++ b/ApigeeRegistry/src/V1/resources/registry_rest_client_config.php @@ -792,4 +792,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AppEngineAdmin/owlbot.py b/AppEngineAdmin/owlbot.py index 22e20094900c..aff129f66876 100644 --- a/AppEngineAdmin/owlbot.py +++ b/AppEngineAdmin/owlbot.py @@ -20,12 +20,16 @@ import synthtool as s from synthtool.languages import php +from synthtool import _tracked_paths logging.basicConfig(level=logging.DEBUG) src = Path(f"../{php.STAGING_DIR}/AppEngineAdmin").resolve() dest = Path().resolve() +# Added so that we can pass copy_excludes in the owlbot_main() call +_tracked_paths.add(src) + php.owlbot_main( src=src, dest=dest, diff --git a/AppEngineAdmin/src/V1/resources/applications_rest_client_config.php b/AppEngineAdmin/src/V1/resources/applications_rest_client_config.php index ab49bf42daf9..9607d4e3ac6e 100644 --- a/AppEngineAdmin/src/V1/resources/applications_rest_client_config.php +++ b/AppEngineAdmin/src/V1/resources/applications_rest_client_config.php @@ -93,4 +93,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AppEngineAdmin/src/V1/resources/authorized_certificates_rest_client_config.php b/AppEngineAdmin/src/V1/resources/authorized_certificates_rest_client_config.php index fef6ef35afd5..e4e9b270b246 100644 --- a/AppEngineAdmin/src/V1/resources/authorized_certificates_rest_client_config.php +++ b/AppEngineAdmin/src/V1/resources/authorized_certificates_rest_client_config.php @@ -110,4 +110,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AppEngineAdmin/src/V1/resources/authorized_domains_rest_client_config.php b/AppEngineAdmin/src/V1/resources/authorized_domains_rest_client_config.php index b0ecb743e08d..e681c7cf56c2 100644 --- a/AppEngineAdmin/src/V1/resources/authorized_domains_rest_client_config.php +++ b/AppEngineAdmin/src/V1/resources/authorized_domains_rest_client_config.php @@ -64,4 +64,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AppEngineAdmin/src/V1/resources/domain_mappings_rest_client_config.php b/AppEngineAdmin/src/V1/resources/domain_mappings_rest_client_config.php index b9380b9c917a..8a66489c0cc5 100644 --- a/AppEngineAdmin/src/V1/resources/domain_mappings_rest_client_config.php +++ b/AppEngineAdmin/src/V1/resources/domain_mappings_rest_client_config.php @@ -110,4 +110,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AppEngineAdmin/src/V1/resources/firewall_rest_client_config.php b/AppEngineAdmin/src/V1/resources/firewall_rest_client_config.php index 65b30985acb6..f48c545b121f 100644 --- a/AppEngineAdmin/src/V1/resources/firewall_rest_client_config.php +++ b/AppEngineAdmin/src/V1/resources/firewall_rest_client_config.php @@ -122,4 +122,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AppEngineAdmin/src/V1/resources/instances_rest_client_config.php b/AppEngineAdmin/src/V1/resources/instances_rest_client_config.php index f64e31ecaa78..f8d13edde85f 100644 --- a/AppEngineAdmin/src/V1/resources/instances_rest_client_config.php +++ b/AppEngineAdmin/src/V1/resources/instances_rest_client_config.php @@ -98,4 +98,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AppEngineAdmin/src/V1/resources/services_rest_client_config.php b/AppEngineAdmin/src/V1/resources/services_rest_client_config.php index 609aa4fb9a55..6636de3cac00 100644 --- a/AppEngineAdmin/src/V1/resources/services_rest_client_config.php +++ b/AppEngineAdmin/src/V1/resources/services_rest_client_config.php @@ -98,4 +98,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AppEngineAdmin/src/V1/resources/versions_rest_client_config.php b/AppEngineAdmin/src/V1/resources/versions_rest_client_config.php index f4836d69edb0..fb38b5a51c0d 100644 --- a/AppEngineAdmin/src/V1/resources/versions_rest_client_config.php +++ b/AppEngineAdmin/src/V1/resources/versions_rest_client_config.php @@ -110,4 +110,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/ArtifactRegistry/src/V1beta2/resources/artifact_registry_rest_client_config.php b/ArtifactRegistry/src/V1beta2/resources/artifact_registry_rest_client_config.php index a42483945679..ec08229babc9 100644 --- a/ArtifactRegistry/src/V1beta2/resources/artifact_registry_rest_client_config.php +++ b/ArtifactRegistry/src/V1beta2/resources/artifact_registry_rest_client_config.php @@ -329,4 +329,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/Asset/src/V1/resources/asset_service_rest_client_config.php b/Asset/src/V1/resources/asset_service_rest_client_config.php index 9b4aa36edf20..4f4a7cfd9a08 100644 --- a/Asset/src/V1/resources/asset_service_rest_client_config.php +++ b/Asset/src/V1/resources/asset_service_rest_client_config.php @@ -255,4 +255,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AutoMl/src/V1/resources/auto_ml_rest_client_config.php b/AutoMl/src/V1/resources/auto_ml_rest_client_config.php index cbbf97f4dab9..aa38c00cefe6 100644 --- a/AutoMl/src/V1/resources/auto_ml_rest_client_config.php +++ b/AutoMl/src/V1/resources/auto_ml_rest_client_config.php @@ -365,4 +365,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AutoMl/src/V1/resources/prediction_service_rest_client_config.php b/AutoMl/src/V1/resources/prediction_service_rest_client_config.php index 33e149eb7915..32381e5b7225 100644 --- a/AutoMl/src/V1/resources/prediction_service_rest_client_config.php +++ b/AutoMl/src/V1/resources/prediction_service_rest_client_config.php @@ -171,4 +171,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AutoMl/src/V1beta1/resources/auto_ml_rest_client_config.php b/AutoMl/src/V1beta1/resources/auto_ml_rest_client_config.php index a320b1e40b45..86f2c7258c3e 100644 --- a/AutoMl/src/V1beta1/resources/auto_ml_rest_client_config.php +++ b/AutoMl/src/V1beta1/resources/auto_ml_rest_client_config.php @@ -401,4 +401,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AutoMl/src/V1beta1/resources/prediction_service_rest_client_config.php b/AutoMl/src/V1beta1/resources/prediction_service_rest_client_config.php index 5d8422f07787..0dc92edcc953 100644 --- a/AutoMl/src/V1beta1/resources/prediction_service_rest_client_config.php +++ b/AutoMl/src/V1beta1/resources/prediction_service_rest_client_config.php @@ -147,4 +147,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/BareMetalSolution/src/V2/resources/bare_metal_solution_rest_client_config.php b/BareMetalSolution/src/V2/resources/bare_metal_solution_rest_client_config.php index ee860b09d731..61d57779bbaa 100644 --- a/BareMetalSolution/src/V2/resources/bare_metal_solution_rest_client_config.php +++ b/BareMetalSolution/src/V2/resources/bare_metal_solution_rest_client_config.php @@ -262,4 +262,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/BeyondCorpAppConnections/src/V1/resources/app_connections_service_rest_client_config.php b/BeyondCorpAppConnections/src/V1/resources/app_connections_service_rest_client_config.php index 57f0439ac76d..1094f3784fcd 100644 --- a/BeyondCorpAppConnections/src/V1/resources/app_connections_service_rest_client_config.php +++ b/BeyondCorpAppConnections/src/V1/resources/app_connections_service_rest_client_config.php @@ -247,4 +247,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/BeyondCorpAppConnectors/src/V1/resources/app_connectors_service_rest_client_config.php b/BeyondCorpAppConnectors/src/V1/resources/app_connectors_service_rest_client_config.php index dcbec66cdaf6..e2c275550503 100644 --- a/BeyondCorpAppConnectors/src/V1/resources/app_connectors_service_rest_client_config.php +++ b/BeyondCorpAppConnectors/src/V1/resources/app_connectors_service_rest_client_config.php @@ -248,4 +248,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/BeyondCorpAppGateways/src/V1/resources/app_gateways_service_rest_client_config.php b/BeyondCorpAppGateways/src/V1/resources/app_gateways_service_rest_client_config.php index 8781cd972809..11864d505ad2 100644 --- a/BeyondCorpAppGateways/src/V1/resources/app_gateways_service_rest_client_config.php +++ b/BeyondCorpAppGateways/src/V1/resources/app_gateways_service_rest_client_config.php @@ -220,4 +220,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/BeyondCorpClientConnectorServices/src/V1/resources/client_connector_services_service_rest_client_config.php b/BeyondCorpClientConnectorServices/src/V1/resources/client_connector_services_service_rest_client_config.php index 9634e2d2c423..6875e581606c 100644 --- a/BeyondCorpClientConnectorServices/src/V1/resources/client_connector_services_service_rest_client_config.php +++ b/BeyondCorpClientConnectorServices/src/V1/resources/client_connector_services_service_rest_client_config.php @@ -236,4 +236,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/BeyondCorpClientGateways/src/V1/resources/client_gateways_service_rest_client_config.php b/BeyondCorpClientGateways/src/V1/resources/client_gateways_service_rest_client_config.php index 464130fa5066..eacb5dffb661 100644 --- a/BeyondCorpClientGateways/src/V1/resources/client_gateways_service_rest_client_config.php +++ b/BeyondCorpClientGateways/src/V1/resources/client_gateways_service_rest_client_config.php @@ -220,4 +220,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/BigQueryConnection/owlbot.py b/BigQueryConnection/owlbot.py index 26f35c6de28d..1d9959ef8632 100644 --- a/BigQueryConnection/owlbot.py +++ b/BigQueryConnection/owlbot.py @@ -20,12 +20,16 @@ import synthtool as s from synthtool.languages import php +from synthtool import _tracked_paths logging.basicConfig(level=logging.DEBUG) src = Path(f"../{php.STAGING_DIR}/BigQueryConnection").resolve() dest = Path().resolve() +# Added so that we can pass copy_excludes in the owlbot_main() call +_tracked_paths.add(src) + php.owlbot_main( src=src, dest=dest, diff --git a/BigQueryConnection/src/V1/resources/connection_service_rest_client_config.php b/BigQueryConnection/src/V1/resources/connection_service_rest_client_config.php index 1bef0392066c..6b7d7f7813b7 100644 --- a/BigQueryConnection/src/V1/resources/connection_service_rest_client_config.php +++ b/BigQueryConnection/src/V1/resources/connection_service_rest_client_config.php @@ -104,4 +104,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/BigQueryDataPolicies/src/V1/resources/data_policy_service_rest_client_config.php b/BigQueryDataPolicies/src/V1/resources/data_policy_service_rest_client_config.php index 6a7324e75776..0e1f8f6bdad2 100644 --- a/BigQueryDataPolicies/src/V1/resources/data_policy_service_rest_client_config.php +++ b/BigQueryDataPolicies/src/V1/resources/data_policy_service_rest_client_config.php @@ -111,4 +111,5 @@ ], ], ], + 'numericEnums' => true, ];