Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2392)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Feb 2, 2024
1 parent c8e77f6 commit e5a7a15
Show file tree
Hide file tree
Showing 35 changed files with 3,016 additions and 171 deletions.
12 changes: 9 additions & 3 deletions admob/v1beta/admob-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@
}
}
},
"revision": "20231113",
"revision": "20240201",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdSource": {
Expand Down Expand Up @@ -1489,12 +1489,18 @@
"enum": [
"VARIANT_LEADER_UNSPECIFIED",
"CONTROL",
"TREATMENT"
"TREATMENT",
"INSUFFICIENT_DATA",
"TOO_EARLY_TO_CALL",
"NO_VARIANT_LEADER"
],
"enumDescriptions": [
"Default value of the enum. Do not use.",
"The control leading the experiment.",
"The treatment leading the experiment."
"The treatment leading the experiment.",
"Collected data (impressions) are insufficient to determine a leader.",
"Experiment hasn't run long enough to determine a leader.",
"Neither variant is a decisive winner in the observed data."
],
"readOnly": true,
"type": "string"
Expand Down
6 changes: 6 additions & 0 deletions admob/v1beta/admob-gen.go

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

15 changes: 15 additions & 0 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -2194,6 +2194,21 @@
"documentationLink": "https://cloud.google.com/dataplex/docs",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "dataportability:v1beta",
"name": "dataportability",
"version": "v1beta",
"title": "Data Portability API",
"description": "The Data Portability API lets you build applications that request authorization from a user to move a copy of data from Google services into your application. This enables data portability and facilitates switching services.",
"discoveryRestUrl": "https://dataportability.googleapis.com/$discovery/rest?version=v1beta",
"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://developers.google.com/data-portability",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "dataproc:v1",
Expand Down
144 changes: 143 additions & 1 deletion apphub/v1alpha/apphub-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,52 @@
},
"discoveredServices": {
"methods": {
"find": {
"description": "Finds discovered services that could be added to an application in a host project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredServices:find",
"httpMethod": "GET",
"id": "apphub.projects.locations.discoveredServices.find",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. Filtering results",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Hint for how to order the results",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. A token identifying a page of results the server should return.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Value for parent.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+parent}/discoveredServices:find",
"response": {
"$ref": "FindDiscoveredServicesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"findUnregistered": {
"description": "Finds unregistered services in a host project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredServices:findUnregistered",
Expand Down Expand Up @@ -988,6 +1034,52 @@
},
"discoveredWorkloads": {
"methods": {
"find": {
"description": "Finds discovered workloads that could be added to an application in a host project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:find",
"httpMethod": "GET",
"id": "apphub.projects.locations.discoveredWorkloads.find",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. Filtering results",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Hint for how to order the results",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. A token identifying a page of results the server should return.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Value for parent.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+parent}/discoveredWorkloads:find",
"response": {
"$ref": "FindDiscoveredWorkloadsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"findUnregistered": {
"description": "Finds unregistered workloads in a host project and location.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:findUnregistered",
Expand Down Expand Up @@ -1378,7 +1470,7 @@
}
}
},
"revision": "20240122",
"revision": "20240125",
"rootUrl": "https://apphub.googleapis.com/",
"schemas": {
"Application": {
Expand Down Expand Up @@ -1693,6 +1785,56 @@
},
"type": "object"
},
"FindDiscoveredServicesResponse": {
"description": "Response for FindDiscoveredServices.",
"id": "FindDiscoveredServicesResponse",
"properties": {
"discoveredServices": {
"description": "List of discovered services.",
"items": {
"$ref": "DiscoveredService"
},
"type": "array"
},
"nextPageToken": {
"description": "A token identifying a page of results the server should return.",
"type": "string"
},
"unreachable": {
"description": "Locations that could not be reached.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"FindDiscoveredWorkloadsResponse": {
"description": "Response for FindDiscoveredWorkloads.",
"id": "FindDiscoveredWorkloadsResponse",
"properties": {
"discoveredWorkloads": {
"description": "List of discovered workloads.",
"items": {
"$ref": "DiscoveredWorkload"
},
"type": "array"
},
"nextPageToken": {
"description": "A token identifying a page of results the server should return.",
"type": "string"
},
"unreachable": {
"description": "Locations that could not be reached.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"FindUnregisteredServicesResponse": {
"description": "Response for FindUnregisteredServices.",
"id": "FindUnregisteredServicesResponse",
Expand Down
Loading

0 comments on commit e5a7a15

Please sign in to comment.