You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.</p>
<pclass="firstline">Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.</p>
@@ -119,6 +122,7 @@ <h3>Method Details</h3>
119
122
"approveTime": "A String", # The time at which approval was granted.
120
123
"autoApproved": True or False, # True when the request has been auto-approved.
121
124
"expireTime": "A String", # The time at which the approval expires.
125
+
"invalidateTime": "A String", # If set, denotes the timestamp at which the approval is invalidated.
122
126
"signatureInfo": { # Information about the digital signature of the resource. # The signature for the ApprovalRequest and details on how it was signed.
123
127
"customerKmsKeyVersion": "A String", # The resource name of the customer CryptoKeyVersion used for signing.
124
128
"googlePublicKeyPem": "A String", # The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.
@@ -177,6 +181,7 @@ <h3>Method Details</h3>
177
181
"approveTime": "A String", # The time at which approval was granted.
178
182
"autoApproved": True or False, # True when the request has been auto-approved.
179
183
"expireTime": "A String", # The time at which the approval expires.
184
+
"invalidateTime": "A String", # If set, denotes the timestamp at which the approval is invalidated.
180
185
"signatureInfo": { # Information about the digital signature of the resource. # The signature for the ApprovalRequest and details on how it was signed.
181
186
"customerKmsKeyVersion": "A String", # The resource name of the customer CryptoKeyVersion used for signing.
182
187
"googlePublicKeyPem": "A String", # The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.
@@ -224,6 +229,61 @@ <h3>Method Details</h3>
224
229
"approveTime": "A String", # The time at which approval was granted.
225
230
"autoApproved": True or False, # True when the request has been auto-approved.
226
231
"expireTime": "A String", # The time at which the approval expires.
232
+
"invalidateTime": "A String", # If set, denotes the timestamp at which the approval is invalidated.
233
+
"signatureInfo": { # Information about the digital signature of the resource. # The signature for the ApprovalRequest and details on how it was signed.
234
+
"customerKmsKeyVersion": "A String", # The resource name of the customer CryptoKeyVersion used for signing.
235
+
"googlePublicKeyPem": "A String", # The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.
236
+
"signature": "A String", # The digital signature.
237
+
},
238
+
},
239
+
"dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
240
+
"dismissTime": "A String", # The time at which the approval request was dismissed.
241
+
"implicit": True or False, # This field will be true if the ApprovalRequest was implicitly dismissed due to inaction by the access approval approvers (the request is not acted on by the approvers before the exiration time).
242
+
},
243
+
"name": "A String", # The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}".
244
+
"requestTime": "A String", # The time at which approval was requested.
245
+
"requestedExpiration": "A String", # The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
246
+
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
247
+
"principalOfficeCountry": "A String", # The "home office" location of the principal. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes: * ASI: Asia * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: North America * SAM: South America * ANT: Antarctica * ANY: Any location
248
+
"principalPhysicalLocationCountry": "A String", # Physical location of the principal at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes: * ASI: Asia * EUR: Europe * OCE: Oceania * AFR: Africa * NAM: North America * SAM: South America * ANT: Antarctica * ANY: Any location
249
+
},
250
+
"requestedReason": { # The justification for which approval is being requested.
251
+
"detail": "A String", # More detail about certain reason types. See comments for each type above.
252
+
"type": "A String", # Type of access justification.
253
+
},
254
+
"requestedResourceName": "A String", # The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a "full" resource name (e.g. "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" resource name (e.g. "shelves/shelf1/books/book2") as described in the resource name specification.
255
+
"requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
256
+
"excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being requested.
<pre>Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.
264
+
265
+
Args:
266
+
name: string, Name of the ApprovalRequest to invalidate. (required)
267
+
body: object, The request body.
268
+
The object takes the form of:
269
+
270
+
{ # Request to invalidate an existing approval.
271
+
}
272
+
273
+
x__xgafv: string, V1 error format.
274
+
Allowed values
275
+
1 - v1 error format
276
+
2 - v2 error format
277
+
278
+
Returns:
279
+
An object of the form:
280
+
281
+
{ # A request for the customer to approve access to a resource.
282
+
"approve": { # A decision that has been made to approve access to a resource. # Access was approved.
283
+
"approveTime": "A String", # The time at which approval was granted.
284
+
"autoApproved": True or False, # True when the request has been auto-approved.
285
+
"expireTime": "A String", # The time at which the approval expires.
286
+
"invalidateTime": "A String", # If set, denotes the timestamp at which the approval is invalidated.
227
287
"signatureInfo": { # Information about the digital signature of the resource. # The signature for the ApprovalRequest and details on how it was signed.
228
288
"customerKmsKeyVersion": "A String", # The resource name of the customer CryptoKeyVersion used for signing.
229
289
"googlePublicKeyPem": "A String", # The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.
@@ -276,6 +336,7 @@ <h3>Method Details</h3>
276
336
"approveTime": "A String", # The time at which approval was granted.
277
337
"autoApproved": True or False, # True when the request has been auto-approved.
278
338
"expireTime": "A String", # The time at which the approval expires.
339
+
"invalidateTime": "A String", # If set, denotes the timestamp at which the approval is invalidated.
279
340
"signatureInfo": { # Information about the digital signature of the resource. # The signature for the ApprovalRequest and details on how it was signed.
280
341
"customerKmsKeyVersion": "A String", # The resource name of the customer CryptoKeyVersion used for signing.
281
342
"googlePublicKeyPem": "A String", # The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.
0 commit comments