Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Dec 5, 2023
1 parent 9f55397 commit 0a6ebe4
Show file tree
Hide file tree
Showing 46 changed files with 12,056 additions and 3,495 deletions.
10 changes: 6 additions & 4 deletions accessapproval/v1/accessapproval-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
}
}
},
"revision": "20231110",
"revision": "20231201",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalServiceAccount": {
Expand Down Expand Up @@ -1018,15 +1018,17 @@
"GOOGLE_INITIATED_SERVICE",
"GOOGLE_INITIATED_REVIEW",
"THIRD_PARTY_DATA_REQUEST",
"GOOGLE_RESPONSE_TO_PRODUCTION_ALERT"
"GOOGLE_RESPONSE_TO_PRODUCTION_ALERT",
"CLOUD_INITIATED_ACCESS"
],
"enumDescriptions": [
"Default value for proto, shouldn't be used.",
"Customer made a request or raised an issue that required the principal to access customer data. `detail` is of the form (\"#####\" is the issue ID): * \"Feedback Report: #####\" * \"Case Number: #####\" * \"Case ID: #####\" * \"E-PIN Reference: #####\" * \"Google-#####\" * \"T-#####\"",
"The principal accessed customer data in order to diagnose or resolve a suspected issue in services. Often this access is used to confirm that customers are not affected by a suspected service issue or to remediate a reversible system issue.",
"Google initiated service for security, fraud, abuse, or compliance purposes.",
"The principal was compelled to access customer data in order to respond to a legal third party data request or process, including legal processes from customers themselves.",
"The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage."
"The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage.",
"Similar to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but meant to reflect when the cloud operator is not Google (namely, a TPC operator), and accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage, or for security, fraud, abuse, or compliance review purposes."
],
"type": "string"
}
Expand Down Expand Up @@ -1302,7 +1304,7 @@
"type": "string"
},
"serializedApprovalRequest": {
"description": "The serialized ApprovalRequest message without the approve.signature_info field. This to allow the customer to verify signatures if they want to.",
"description": "The ApprovalRequest that is serialized without the SignatureInfo message field. This data is used with the hashing algorithm to generate the digital signature, and it can be used for signature verification.",
"format": "byte",
"type": "string"
},
Expand Down
13 changes: 10 additions & 3 deletions accessapproval/v1/accessapproval-gen.go

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

111 changes: 104 additions & 7 deletions advisorynotifications/v1/advisorynotifications-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
],
"parameters": {
"name": {
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
"required": true,
Expand Down Expand Up @@ -181,7 +181,7 @@
"type": "string"
},
"name": {
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.",
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/notifications/[^/]+$",
"required": true,
Expand Down Expand Up @@ -222,7 +222,7 @@
"type": "string"
},
"parent": {
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\"",
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -257,9 +257,107 @@
}
}
}
},
"projects": {
"resources": {
"locations": {
"resources": {
"notifications": {
"methods": {
"get": {
"description": "Gets a notification.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications/{notificationsId}",
"httpMethod": "GET",
"id": "advisorynotifications.projects.locations.notifications.get",
"parameterOrder": [
"name"
],
"parameters": {
"languageCode": {
"description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.",
"location": "query",
"type": "string"
},
"name": {
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/notifications/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleCloudAdvisorynotificationsV1Notification"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists notifications under a given parent.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications",
"httpMethod": "GET",
"id": "advisorynotifications.projects.locations.notifications.list",
"parameterOrder": [
"parent"
],
"parameters": {
"languageCode": {
"description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "Specifies which parts of the notification resource should be returned in the response.",
"enum": [
"NOTIFICATION_VIEW_UNSPECIFIED",
"BASIC",
"FULL"
],
"enumDescriptions": [
"Not specified, equivalent to BASIC.",
"Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments.",
"Include everything."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/notifications",
"response": {
"$ref": "GoogleCloudAdvisorynotificationsV1ListNotificationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
},
"revision": "20230912",
"revision": "20231203",
"rootUrl": "https://advisorynotifications.googleapis.com/",
"schemas": {
"GoogleCloudAdvisorynotificationsV1Attachment": {
Expand Down Expand Up @@ -392,7 +490,7 @@
"type": "array"
},
"name": {
"description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.",
"description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.",
"type": "string"
},
"notificationType": {
Expand Down Expand Up @@ -440,8 +538,7 @@
"type": "string"
},
"name": {
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
"readOnly": true,
"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
"type": "string"
},
"notificationSettings": {
Expand Down

0 comments on commit 0a6ebe4

Please sign in to comment.