Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1727)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 1, 2022
1 parent 0ce5403 commit 1e1eab9
Show file tree
Hide file tree
Showing 45 changed files with 10,944 additions and 672 deletions.
8 changes: 4 additions & 4 deletions admob/v1/admob-api.json
Expand Up @@ -253,7 +253,7 @@
"mediationReport": {
"methods": {
"generate": {
"description": "Generates an AdMob Mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.",
"description": "Generates an AdMob mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.",
"flatPath": "v1/accounts/{accountsId}/mediationReport:generate",
"httpMethod": "POST",
"id": "admob.accounts.mediationReport.generate",
Expand Down Expand Up @@ -321,7 +321,7 @@
}
}
},
"revision": "20221024",
"revision": "20221026",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdUnit": {
Expand Down Expand Up @@ -450,7 +450,7 @@
"type": "object"
},
"GenerateMediationReportRequest": {
"description": "Request to generate an AdMob Mediation report.",
"description": "Request to generate an AdMob mediation report.",
"id": "GenerateMediationReportRequest",
"properties": {
"reportSpec": {
Expand All @@ -461,7 +461,7 @@
"type": "object"
},
"GenerateMediationReportResponse": {
"description": "The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]",
"description": "The streaming response for the AdMob mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]",
"id": "GenerateMediationReportResponse",
"properties": {
"footer": {
Expand Down
8 changes: 4 additions & 4 deletions admob/v1/admob-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions admob/v1beta/admob-api.json
Expand Up @@ -291,7 +291,7 @@
"mediationReport": {
"methods": {
"generate": {
"description": "Generates an AdMob Mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.",
"description": "Generates an AdMob mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.",
"flatPath": "v1beta/accounts/{accountsId}/mediationReport:generate",
"httpMethod": "POST",
"id": "admob.accounts.mediationReport.generate",
Expand Down Expand Up @@ -359,7 +359,7 @@
}
}
},
"revision": "20221024",
"revision": "20221026",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdSource": {
Expand Down Expand Up @@ -507,7 +507,7 @@
"type": "object"
},
"GenerateMediationReportRequest": {
"description": "Request to generate an AdMob Mediation report.",
"description": "Request to generate an AdMob mediation report.",
"id": "GenerateMediationReportRequest",
"properties": {
"reportSpec": {
Expand All @@ -518,7 +518,7 @@
"type": "object"
},
"GenerateMediationReportResponse": {
"description": "The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]",
"description": "The streaming response for the AdMob mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]",
"id": "GenerateMediationReportResponse",
"properties": {
"footer": {
Expand Down
8 changes: 4 additions & 4 deletions admob/v1beta/admob-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions api-list.json
Expand Up @@ -736,21 +736,6 @@
"documentationLink": "https://cloud.google.com/bigquery-transfer/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "bigqueryreservation:v1beta1",
"name": "bigqueryreservation",
"version": "v1beta1",
"title": "BigQuery Reservation API",
"description": "A service to modify your BigQuery flat-rate reservations.",
"discoveryRestUrl": "https://bigqueryreservation.googleapis.com/$discovery/rest?version=v1beta1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/bigquery/",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "bigqueryreservation:v1",
Expand Down Expand Up @@ -5480,6 +5465,21 @@
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/tpu/",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "tpu:v2",
"name": "tpu",
"version": "v2",
"title": "Cloud TPU API",
"description": "TPU API provides customers with access to Google TPU technology.",
"discoveryRestUrl": "https://tpu.googleapis.com/$discovery/rest?version=v2",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/tpu/",
"preferred": true
},
{
Expand Down
36 changes: 34 additions & 2 deletions cloudfunctions/v2/cloudfunctions-api.json
Expand Up @@ -571,7 +571,7 @@
}
}
},
"revision": "20220824",
"revision": "20221020",
"rootUrl": "https://cloudfunctions.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -653,8 +653,26 @@
"readOnly": true,
"type": "string"
},
"buildpackStack": {
"description": "Specifies one of the Google provided buildpack stacks.",
"type": "string"
},
"dockerRegistry": {
"description": "Optional. Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.",
"enum": [
"DOCKER_REGISTRY_UNSPECIFIED",
"CONTAINER_REGISTRY",
"ARTIFACT_REGISTRY"
],
"enumDescriptions": [
"Unspecified.",
"Docker images will be stored in multi-regional Container Registry repositories named `gcf`.",
"Docker images will be stored in regional Artifact Registry repositories. By default, GCF will create and use repositories named `gcf-artifacts` in every region in which a function is deployed. But the repository to use can also be specified by the user using the `docker_repository` field."
],
"type": "string"
},
"dockerRepository": {
"description": "Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.",
"description": "User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.",
"type": "string"
},
"entryPoint": {
Expand Down Expand Up @@ -1798,6 +1816,20 @@
},
"type": "array"
},
"securityLevel": {
"description": "Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.",
"enum": [
"SECURITY_LEVEL_UNSPECIFIED",
"SECURE_ALWAYS",
"SECURE_OPTIONAL"
],
"enumDescriptions": [
"Unspecified.",
"Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect.",
"Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly."
],
"type": "string"
},
"service": {
"description": "Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}`",
"readOnly": true,
Expand Down
51 changes: 45 additions & 6 deletions cloudfunctions/v2/cloudfunctions-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1e1eab9

Please sign in to comment.