docs: update generated docs (#981)
diff --git a/docs/dyn/accessapproval_v1.projects.approvalRequests.html b/docs/dyn/accessapproval_v1.projects.approvalRequests.html
index a7a037d..2ba1b4a 100644
--- a/docs/dyn/accessapproval_v1.projects.approvalRequests.html
+++ b/docs/dyn/accessapproval_v1.projects.approvalRequests.html
@@ -84,7 +84,7 @@
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets an approval request. Returns NOT_FOUND if the request does not exist.</p>
<p class="toc_element">
- <code><a href="#list">list(parent, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(parent, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists approval requests associated with a project, folder, or organization.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -115,6 +115,10 @@
An object of the form:
{ # A request for the customer to approve access to a resource.
+ "requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
+ "excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being
+ # requested.
+ },
"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
@@ -122,23 +126,22 @@
# "//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.
- "name": "A String", # The resource name of the request. Format is
- # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
- "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.
"approve": { # A decision that has been made to approve access to a resource. # Access was approved.
"approveTime": "A String", # The time at which approval was granted.
"expireTime": "A String", # The time at which the approval expires.
},
- "requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
- "excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being
- # requested.
- },
- "requestedReason": { # The justification for which approval is being requested.
- "type": "A String", # Type of access justification.
- "detail": "A String", # More detail about certain reason types. See comments for each type above.
- },
"requestTime": "A String", # The time at which approval was requested.
+ "name": "A String", # The resource name of the request. Format is
+ # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
+ "requestedReason": { # The justification for which approval is being requested.
+ "detail": "A String", # More detail about certain reason types. See comments for each type above.
+ "type": "A String", # Type of access justification.
+ },
+ "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.
+ "dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
+ "dismissTime": "A String", # The time at which the approval request was dismissed.
+ },
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
"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
@@ -171,9 +174,6 @@
# <li>ANY: Any location</li>
# </ol>
},
- "dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
- "dismissTime": "A String", # The time at which the approval request was dismissed.
- },
}</pre>
</div>
@@ -207,6 +207,10 @@
An object of the form:
{ # A request for the customer to approve access to a resource.
+ "requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
+ "excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being
+ # requested.
+ },
"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
@@ -214,23 +218,22 @@
# "//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.
- "name": "A String", # The resource name of the request. Format is
- # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
- "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.
"approve": { # A decision that has been made to approve access to a resource. # Access was approved.
"approveTime": "A String", # The time at which approval was granted.
"expireTime": "A String", # The time at which the approval expires.
},
- "requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
- "excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being
- # requested.
- },
- "requestedReason": { # The justification for which approval is being requested.
- "type": "A String", # Type of access justification.
- "detail": "A String", # More detail about certain reason types. See comments for each type above.
- },
"requestTime": "A String", # The time at which approval was requested.
+ "name": "A String", # The resource name of the request. Format is
+ # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
+ "requestedReason": { # The justification for which approval is being requested.
+ "detail": "A String", # More detail about certain reason types. See comments for each type above.
+ "type": "A String", # Type of access justification.
+ },
+ "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.
+ "dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
+ "dismissTime": "A String", # The time at which the approval request was dismissed.
+ },
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
"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
@@ -263,9 +266,6 @@
# <li>ANY: Any location</li>
# </ol>
},
- "dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
- "dismissTime": "A String", # The time at which the approval request was dismissed.
- },
}</pre>
</div>
@@ -284,6 +284,10 @@
An object of the form:
{ # A request for the customer to approve access to a resource.
+ "requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
+ "excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being
+ # requested.
+ },
"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
@@ -291,23 +295,22 @@
# "//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.
- "name": "A String", # The resource name of the request. Format is
- # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
- "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.
"approve": { # A decision that has been made to approve access to a resource. # Access was approved.
"approveTime": "A String", # The time at which approval was granted.
"expireTime": "A String", # The time at which the approval expires.
},
- "requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
- "excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being
- # requested.
- },
- "requestedReason": { # The justification for which approval is being requested.
- "type": "A String", # Type of access justification.
- "detail": "A String", # More detail about certain reason types. See comments for each type above.
- },
"requestTime": "A String", # The time at which approval was requested.
+ "name": "A String", # The resource name of the request. Format is
+ # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
+ "requestedReason": { # The justification for which approval is being requested.
+ "detail": "A String", # More detail about certain reason types. See comments for each type above.
+ "type": "A String", # Type of access justification.
+ },
+ "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.
+ "dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
+ "dismissTime": "A String", # The time at which the approval request was dismissed.
+ },
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
"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
@@ -340,14 +343,11 @@
# <li>ANY: Any location</li>
# </ol>
},
- "dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
- "dismissTime": "A String", # The time at which the approval request was dismissed.
- },
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(parent, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(parent, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
<pre>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.
@@ -355,8 +355,6 @@
Args:
parent: string, The parent resource. This may be "projects/{project_id}",
"folders/{folder_id}", or "organizations/{organization_id}". (required)
- pageToken: string, A token identifying the page of results to return.
- pageSize: integer, Requested page size.
filter: string, A filter on the type of approval requests to retrieve. Must be one of the
following values:
<ol>
@@ -365,7 +363,10 @@
<li>PENDING: Only pending requests.</li>
<li>ACTIVE: Only active (i.e. currently approved) requests.</li>
<li>DISMISSED: Only dismissed (including expired) requests.</li>
+ <li>HISTORY: Active and dismissed (including expired) requests.</li>
</ol>
+ pageToken: string, A token identifying the page of results to return.
+ pageSize: integer, Requested page size.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -378,6 +379,10 @@
"nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more.
"approvalRequests": [ # Approval request details.
{ # A request for the customer to approve access to a resource.
+ "requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
+ "excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being
+ # requested.
+ },
"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
@@ -385,23 +390,22 @@
# "//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.
- "name": "A String", # The resource name of the request. Format is
- # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
- "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.
"approve": { # A decision that has been made to approve access to a resource. # Access was approved.
"approveTime": "A String", # The time at which approval was granted.
"expireTime": "A String", # The time at which the approval expires.
},
- "requestedResourceProperties": { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
- "excludesDescendants": True or False, # Whether an approval will exclude the descendants of the resource being
- # requested.
- },
- "requestedReason": { # The justification for which approval is being requested.
- "type": "A String", # Type of access justification.
- "detail": "A String", # More detail about certain reason types. See comments for each type above.
- },
"requestTime": "A String", # The time at which approval was requested.
+ "name": "A String", # The resource name of the request. Format is
+ # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
+ "requestedReason": { # The justification for which approval is being requested.
+ "detail": "A String", # More detail about certain reason types. See comments for each type above.
+ "type": "A String", # Type of access justification.
+ },
+ "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.
+ "dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
+ "dismissTime": "A String", # The time at which the approval request was dismissed.
+ },
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
"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
@@ -434,9 +438,6 @@
# <li>ANY: Any location</li>
# </ol>
},
- "dismiss": { # A decision that has been made to dismiss an approval request. # The request was dismissed.
- "dismissTime": "A String", # The time at which the approval request was dismissed.
- },
},
],
}</pre>