Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jun 17, 2022
1 parent 59d5b95 commit 8f39c3e
Show file tree
Hide file tree
Showing 13 changed files with 93 additions and 170 deletions.
19 changes: 17 additions & 2 deletions api-list.json
Expand Up @@ -571,13 +571,28 @@
"documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "baremetalsolution:v1alpha1",
"name": "baremetalsolution",
"version": "v1alpha1",
"title": "Bare Metal Solution API",
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
"discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v1alpha1",
"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/bare-metal",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "baremetalsolution:v1",
"name": "baremetalsolution",
"version": "v1",
"title": "Bare Metal Solution API",
"description": "Bare Metal Solution provides hardware to run specialized workloads with low latency on Google Cloud.",
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
"discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand All @@ -592,7 +607,7 @@
"name": "baremetalsolution",
"version": "v2",
"title": "Bare Metal Solution API",
"description": "Bare Metal Solution provides hardware to run specialized workloads with low latency on Google Cloud.",
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
"discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v2",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand Down
16 changes: 15 additions & 1 deletion appengine/v1/appengine-api.json
Expand Up @@ -1595,7 +1595,7 @@
}
}
},
"revision": "20220509",
"revision": "20220612",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ApiConfigHandler": {
Expand Down Expand Up @@ -2812,6 +2812,20 @@
},
"type": "array"
},
"instanceIpMode": {
"description": "The IP mode for instances. Only applicable in the App Engine flexible environment.",
"enum": [
"INSTANCE_IP_MODE_UNSPECIFIED",
"EXTERNAL",
"INTERNAL"
],
"enumDescriptions": [
"Unspecified is treated as EXTERNAL.",
"Instances are created with both internal and external IP addresses.",
"Instances are created with internal IP addresses only."
],
"type": "string"
},
"instanceTag": {
"description": "Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.",
"type": "string"
Expand Down
11 changes: 11 additions & 0 deletions appengine/v1/appengine-gen.go

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

6 changes: 3 additions & 3 deletions firebasedatabase/v1beta/firebasedatabase-api.json
Expand Up @@ -160,7 +160,7 @@
]
},
"delete": {
"description": "Marks a DatabaseInstance to be deleted. The DatabaseInstance will be purged within 30 days. The default database cannot be deleted. IDs for deleted database instances may never be recovered or re-used. The Database may only be deleted if it is already in a DISABLED state.",
"description": "Marks a DatabaseInstance to be deleted. The DatabaseInstance will be set to the DELETED state for 20 days, and will be purged within 30 days. The default database cannot be deleted. IDs for deleted database instances may never be recovered or re-used. The Database may only be deleted if it is already in a DISABLED state.",
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}",
"httpMethod": "DELETE",
"id": "firebasedatabase.projects.locations.instances.delete",
Expand Down Expand Up @@ -316,7 +316,7 @@
]
},
"undelete": {
"description": "Restores a DatabaseInstance that was previously marked to be deleted. This may only be used on a DatabaseInstance in the DELETED state. Purged DatabaseInstance's may not be recovered.",
"description": "Restores a DatabaseInstance that was previously marked to be deleted. After the delete method is used, DatabaseInstances are set to the DELETED state for 20 days, and will be purged within 30 days. Databases in the DELETED state can be undeleted without losing any data. This method may only be used on a DatabaseInstance in the DELETED state. Purged DatabaseInstances may not be recovered.",
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:undelete",
"httpMethod": "POST",
"id": "firebasedatabase.projects.locations.instances.undelete",
Expand Down Expand Up @@ -351,7 +351,7 @@
}
}
},
"revision": "20220602",
"revision": "20220615",
"rootUrl": "https://firebasedatabase.googleapis.com/",
"schemas": {
"DatabaseInstance": {
Expand Down
19 changes: 11 additions & 8 deletions firebasedatabase/v1beta/firebasedatabase-gen.go

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

23 changes: 1 addition & 22 deletions serviceconsumermanagement/v1/serviceconsumermanagement-api.json
Expand Up @@ -542,7 +542,7 @@
}
}
},
"revision": "20220607",
"revision": "20220615",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"AddTenantProjectRequest": {
Expand Down Expand Up @@ -1662,27 +1662,6 @@
"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.",
"id": "MetricRule",
"properties": {
"dynamicMetricCosts": {
"additionalProperties": {
"enum": [
"DYNAMIC_COST_TYPE_UNSPECIFIED",
"REQUEST_BODY_BYTES",
"REQUEST_BODY_AND_HEADER_BYTES",
"RESPONSE_BODY_BYTES",
"RESPONSE_BODY_AND_HEADER_BYTES"
],
"enumDescriptions": [
"Unspecified dynamic cost type.",
"Cost is the request body bytes",
"Cost is the request body and HTTP header bytes",
"Cost is the response body bytes",
"Cost is the response body and header bytes"
],
"type": "string"
},
"description": "Metrics to update when the selected methods are called. The key of the map is the metric name, the value is the DynamicCostType to specify how to calculate the cost from the request. The cost amount will be increased for the metric against which the quota limits are defined. It is only implemented in CloudESF(go/cloudesf)",
"type": "object"
},
"metricCosts": {
"additionalProperties": {
"format": "int64",
Expand Down
25 changes: 8 additions & 17 deletions serviceconsumermanagement/v1/serviceconsumermanagement-gen.go

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

Expand Up @@ -500,7 +500,7 @@
}
}
},
"revision": "20220513",
"revision": "20220615",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"Api": {
Expand Down Expand Up @@ -1496,27 +1496,6 @@
"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.",
"id": "MetricRule",
"properties": {
"dynamicMetricCosts": {
"additionalProperties": {
"enum": [
"DYNAMIC_COST_TYPE_UNSPECIFIED",
"REQUEST_BODY_BYTES",
"REQUEST_BODY_AND_HEADER_BYTES",
"RESPONSE_BODY_BYTES",
"RESPONSE_BODY_AND_HEADER_BYTES"
],
"enumDescriptions": [
"Unspecified dynamic cost type.",
"Cost is the request body bytes",
"Cost is the request body and HTTP header bytes",
"Cost is the response body bytes",
"Cost is the response body and header bytes"
],
"type": "string"
},
"description": "Metrics to update when the selected methods are called. The key of the map is the metric name, the value is the DynamicCostType to specify how to calculate the cost from the request. The cost amount will be increased for the metric against which the quota limits are defined. It is only implemented in CloudESF(go/cloudesf)",
"type": "object"
},
"metricCosts": {
"additionalProperties": {
"format": "int64",
Expand Down
25 changes: 8 additions & 17 deletions serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go

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

23 changes: 1 addition & 22 deletions serviceusage/v1/serviceusage-api.json
Expand Up @@ -426,7 +426,7 @@
}
}
},
"revision": "20220513",
"revision": "20220615",
"rootUrl": "https://serviceusage.googleapis.com/",
"schemas": {
"AdminQuotaPolicy": {
Expand Down Expand Up @@ -2026,27 +2026,6 @@
"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.",
"id": "MetricRule",
"properties": {
"dynamicMetricCosts": {
"additionalProperties": {
"enum": [
"DYNAMIC_COST_TYPE_UNSPECIFIED",
"REQUEST_BODY_BYTES",
"REQUEST_BODY_AND_HEADER_BYTES",
"RESPONSE_BODY_BYTES",
"RESPONSE_BODY_AND_HEADER_BYTES"
],
"enumDescriptions": [
"Unspecified dynamic cost type.",
"Cost is the request body bytes",
"Cost is the request body and HTTP header bytes",
"Cost is the response body bytes",
"Cost is the response body and header bytes"
],
"type": "string"
},
"description": "Metrics to update when the selected methods are called. The key of the map is the metric name, the value is the DynamicCostType to specify how to calculate the cost from the request. The cost amount will be increased for the metric against which the quota limits are defined. It is only implemented in CloudESF(go/cloudesf)",
"type": "object"
},
"metricCosts": {
"additionalProperties": {
"format": "int64",
Expand Down

0 comments on commit 8f39c3e

Please sign in to comment.