Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1470)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Mar 9, 2022
1 parent 3d588dd commit 6826fe2
Show file tree
Hide file tree
Showing 35 changed files with 1,303 additions and 629 deletions.
2 changes: 1 addition & 1 deletion api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@
"name": "chat",
"version": "v1",
"title": "Google Chat API",
"description": "Enables bots to fetch information and perform actions in Google Chat. Authentication using a service account is a prerequisite for using the Google Chat REST API.",
"description": "Enables apps to fetch information and perform actions in Google Chat. Authentication using a service account is a prerequisite for using the Google Chat REST API.",
"discoveryRestUrl": "https://chat.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand Down
8 changes: 4 additions & 4 deletions chat/v1/chat-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": "https://chat.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Hangouts Chat",
"description": "Enables bots to fetch information and perform actions in Google Chat. Authentication using a service account is a prerequisite for using the Google Chat REST API.",
"description": "Enables apps to fetch information and perform actions in Google Chat. Authentication using a service account is a prerequisite for using the Google Chat REST API.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/hangouts/chat",
"fullyEncodeReservedExpansion": true,
Expand Down Expand Up @@ -623,7 +623,7 @@
],
"parameters": {
"name": {
"description": "Resource name of the attachment, in the form \"spaces/*/messages/*/attachments/*\".",
"description": "Required. Resource name of the attachment, in the form \"spaces/*/messages/*/attachments/*\".",
"location": "path",
"pattern": "^spaces/[^/]+/messages/[^/]+/attachments/[^/]+$",
"required": true,
Expand All @@ -642,7 +642,7 @@
}
}
},
"revision": "20220302",
"revision": "20220308",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down Expand Up @@ -2600,7 +2600,7 @@
"type": "string"
},
"name": {
"description": "Resource name of the space, in the form \"spaces/*\". Example: spaces/AAAAAAAAAAAA",
"description": "Optional. Resource name of the space, in the form \"spaces/*\". Example: spaces/AAAAAAAAAAAA",
"type": "string"
},
"singleUserBotDm": {
Expand Down
6 changes: 3 additions & 3 deletions chat/v1/chat-gen.go

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

4 changes: 2 additions & 2 deletions cloudasset/v1/cloudasset-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@
}
}
},
"revision": "20220225",
"revision": "20220304",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AccessSelector": {
Expand Down Expand Up @@ -1283,7 +1283,7 @@
"type": "object"
},
"Date": {
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day, with a zero year (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
"id": "Date",
"properties": {
"day": {
Expand Down
11 changes: 6 additions & 5 deletions cloudasset/v1/cloudasset-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 cloudbuild/v1/cloudbuild-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
"type": "string"
},
"parent": {
"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`",
"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/{location}`",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1028,7 +1028,7 @@
"type": "string"
},
"parent": {
"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`",
"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/{location}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2039,7 +2039,7 @@
}
}
},
"revision": "20220218",
"revision": "20220301",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"AddBitbucketServerConnectedRepositoryRequest": {
Expand Down
8 changes: 4 additions & 4 deletions cloudbuild/v1/cloudbuild-gen.go

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

39 changes: 36 additions & 3 deletions cloudsearch/v1/cloudsearch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@
}
}
},
"revision": "20220215",
"revision": "20220301",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"AclInfo": {
Expand Down Expand Up @@ -2067,7 +2067,8 @@
"FILE_SUGGESTION_APP",
"CONTACTS_APP",
"ACTIVITY_FEED_APP",
"DRIVE_APP"
"DRIVE_APP",
"ASSISTIVE_SUGGESTION_APP"
],
"enumDescriptions": [
"",
Expand All @@ -2080,7 +2081,8 @@
"Powered by Bullseye",
"",
"",
""
"",
"TODO (b/220205747): replace the above FILE_SUGGESTION_APP in the future."
],
"type": "string"
},
Expand Down Expand Up @@ -2723,6 +2725,33 @@
},
"type": "object"
},
"DynamiteSpacesScoringInfo": {
"description": "This is the proto for holding space level scoring information. This data is used for logging in query-api server and for testing purposes.",
"id": "DynamiteSpacesScoringInfo",
"properties": {
"finalScore": {
"format": "double",
"type": "number"
},
"freshnessScore": {
"format": "double",
"type": "number"
},
"messageScore": {
"format": "double",
"type": "number"
},
"spaceAgeInDays": {
"format": "double",
"type": "number"
},
"topicalityScore": {
"format": "double",
"type": "number"
}
},
"type": "object"
},
"EmailAddress": {
"description": "A person's email address.",
"id": "EmailAddress",
Expand Down Expand Up @@ -5435,6 +5464,10 @@
"groupId": {
"$ref": "GroupId"
},
"isExternal": {
"description": "Whether this is an external space outside of user's organization",
"type": "boolean"
},
"name": {
"type": "string"
},
Expand Down
65 changes: 65 additions & 0 deletions cloudsearch/v1/cloudsearch-gen.go

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

54 changes: 52 additions & 2 deletions compute/v0.beta/compute-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -10569,7 +10569,7 @@
]
},
"reset": {
"description": "Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. For more information, see Resetting an instance.",
"description": "Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance.",
"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/reset",
"httpMethod": "POST",
"id": "compute.instances.reset",
Expand Down Expand Up @@ -24792,6 +24792,56 @@
"https://www.googleapis.com/auth/compute.readonly"
]
},
"patch": {
"description": "Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.",
"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}",
"httpMethod": "PATCH",
"id": "compute.regionTargetHttpsProxies.patch",
"parameterOrder": [
"project",
"region",
"targetHttpsProxy"
],
"parameters": {
"project": {
"description": "Project ID for this request.",
"location": "path",
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"required": true,
"type": "string"
},
"region": {
"description": "Name of the region for this request.",
"location": "path",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"required": true,
"type": "string"
},
"requestId": {
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).",
"location": "query",
"type": "string"
},
"targetHttpsProxy": {
"description": "Name of the TargetHttpsProxy resource to patch.",
"location": "path",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
"required": true,
"type": "string"
}
},
"path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}",
"request": {
"$ref": "TargetHttpsProxy"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute"
]
},
"setSslCertificates": {
"description": "Replaces SslCertificates for TargetHttpsProxy.",
"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates",
Expand Down Expand Up @@ -34166,7 +34216,7 @@
}
}
},
"revision": "20220224",
"revision": "20220301",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down
Loading

0 comments on commit 6826fe2

Please sign in to comment.