Skip to content

Commit 0a6ebe4

Browse files
feat(all): auto-regenerate discovery clients (#2291)
1 parent 9f55397 commit 0a6ebe4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+12056
-3495
lines changed

accessapproval/v1/accessapproval-api.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@
913913
}
914914
}
915915
},
916-
"revision": "20231110",
916+
"revision": "20231201",
917917
"rootUrl": "https://accessapproval.googleapis.com/",
918918
"schemas": {
919919
"AccessApprovalServiceAccount": {
@@ -1018,15 +1018,17 @@
10181018
"GOOGLE_INITIATED_SERVICE",
10191019
"GOOGLE_INITIATED_REVIEW",
10201020
"THIRD_PARTY_DATA_REQUEST",
1021-
"GOOGLE_RESPONSE_TO_PRODUCTION_ALERT"
1021+
"GOOGLE_RESPONSE_TO_PRODUCTION_ALERT",
1022+
"CLOUD_INITIATED_ACCESS"
10221023
],
10231024
"enumDescriptions": [
10241025
"Default value for proto, shouldn't be used.",
10251026
"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-#####\"",
10261027
"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.",
10271028
"Google initiated service for security, fraud, abuse, or compliance purposes.",
10281029
"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.",
1029-
"The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage."
1030+
"The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage.",
1031+
"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."
10301032
],
10311033
"type": "string"
10321034
}
@@ -1302,7 +1304,7 @@
13021304
"type": "string"
13031305
},
13041306
"serializedApprovalRequest": {
1305-
"description": "The serialized ApprovalRequest message without the approve.signature_info field. This to allow the customer to verify signatures if they want to.",
1307+
"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.",
13061308
"format": "byte",
13071309
"type": "string"
13081310
},

accessapproval/v1/accessapproval-gen.go

+10-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

advisorynotifications/v1/advisorynotifications-api.json

+104-7
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"name": {
147-
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
147+
"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
148148
"location": "path",
149149
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
150150
"required": true,
@@ -181,7 +181,7 @@
181181
"type": "string"
182182
},
183183
"name": {
184-
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.",
184+
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.",
185185
"location": "path",
186186
"pattern": "^organizations/[^/]+/locations/[^/]+/notifications/[^/]+$",
187187
"required": true,
@@ -222,7 +222,7 @@
222222
"type": "string"
223223
},
224224
"parent": {
225-
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\"",
225+
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"",
226226
"location": "path",
227227
"pattern": "^organizations/[^/]+/locations/[^/]+$",
228228
"required": true,
@@ -257,9 +257,107 @@
257257
}
258258
}
259259
}
260+
},
261+
"projects": {
262+
"resources": {
263+
"locations": {
264+
"resources": {
265+
"notifications": {
266+
"methods": {
267+
"get": {
268+
"description": "Gets a notification.",
269+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications/{notificationsId}",
270+
"httpMethod": "GET",
271+
"id": "advisorynotifications.projects.locations.notifications.get",
272+
"parameterOrder": [
273+
"name"
274+
],
275+
"parameters": {
276+
"languageCode": {
277+
"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.",
278+
"location": "query",
279+
"type": "string"
280+
},
281+
"name": {
282+
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.",
283+
"location": "path",
284+
"pattern": "^projects/[^/]+/locations/[^/]+/notifications/[^/]+$",
285+
"required": true,
286+
"type": "string"
287+
}
288+
},
289+
"path": "v1/{+name}",
290+
"response": {
291+
"$ref": "GoogleCloudAdvisorynotificationsV1Notification"
292+
},
293+
"scopes": [
294+
"https://www.googleapis.com/auth/cloud-platform"
295+
]
296+
},
297+
"list": {
298+
"description": "Lists notifications under a given parent.",
299+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications",
300+
"httpMethod": "GET",
301+
"id": "advisorynotifications.projects.locations.notifications.list",
302+
"parameterOrder": [
303+
"parent"
304+
],
305+
"parameters": {
306+
"languageCode": {
307+
"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.",
308+
"location": "query",
309+
"type": "string"
310+
},
311+
"pageSize": {
312+
"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.",
313+
"format": "int32",
314+
"location": "query",
315+
"type": "integer"
316+
},
317+
"pageToken": {
318+
"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.",
319+
"location": "query",
320+
"type": "string"
321+
},
322+
"parent": {
323+
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"",
324+
"location": "path",
325+
"pattern": "^projects/[^/]+/locations/[^/]+$",
326+
"required": true,
327+
"type": "string"
328+
},
329+
"view": {
330+
"description": "Specifies which parts of the notification resource should be returned in the response.",
331+
"enum": [
332+
"NOTIFICATION_VIEW_UNSPECIFIED",
333+
"BASIC",
334+
"FULL"
335+
],
336+
"enumDescriptions": [
337+
"Not specified, equivalent to BASIC.",
338+
"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.",
339+
"Include everything."
340+
],
341+
"location": "query",
342+
"type": "string"
343+
}
344+
},
345+
"path": "v1/{+parent}/notifications",
346+
"response": {
347+
"$ref": "GoogleCloudAdvisorynotificationsV1ListNotificationsResponse"
348+
},
349+
"scopes": [
350+
"https://www.googleapis.com/auth/cloud-platform"
351+
]
352+
}
353+
}
354+
}
355+
}
356+
}
357+
}
260358
}
261359
},
262-
"revision": "20230912",
360+
"revision": "20231203",
263361
"rootUrl": "https://advisorynotifications.googleapis.com/",
264362
"schemas": {
265363
"GoogleCloudAdvisorynotificationsV1Attachment": {
@@ -392,7 +490,7 @@
392490
"type": "array"
393491
},
394492
"name": {
395-
"description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.",
493+
"description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.",
396494
"type": "string"
397495
},
398496
"notificationType": {
@@ -440,8 +538,7 @@
440538
"type": "string"
441539
},
442540
"name": {
443-
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
444-
"readOnly": true,
541+
"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
445542
"type": "string"
446543
},
447544
"notificationSettings": {

0 commit comments

Comments
 (0)