docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/accessapproval_v1.projects.approvalRequests.html b/docs/dyn/accessapproval_v1.projects.approvalRequests.html
index 8fd765e..a7a037d 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, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(parent, pageToken=None, pageSize=None, filter=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,22 +115,31 @@
An object of the form:
{ # A request for the customer to approve access to a resource.
+ "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.
+ "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.
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
- "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:
- # <ol>
- # <li>ASI: Asia</li>
- # <li>EUR: Europe</li>
- # <li>OCE: Oceania</li>
- # <li>AFR: Africa</li>
- # <li>NAM: North America</li>
- # <li>SAM: South America</li>
- # <li>ANT: Antarctica</li>
- # <li>ANY: Any location</li>
- # </ol>
"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
@@ -146,34 +155,25 @@
# <li>ANT: Antarctica</li>
# <li>ANY: Any location</li>
# </ol>
+ "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:
+ # <ol>
+ # <li>ASI: Asia</li>
+ # <li>EUR: Europe</li>
+ # <li>OCE: Oceania</li>
+ # <li>AFR: Africa</li>
+ # <li>NAM: North America</li>
+ # <li>SAM: South America</li>
+ # <li>ANT: Antarctica</li>
+ # <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.
},
- "name": "A String", # The resource name of the request. Format is
- # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
- "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.
- "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.
- "expireTime": "A String", # The time at which the approval expires.
- "approveTime": "A String", # The time at which approval was granted.
- },
- "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.
}</pre>
</div>
@@ -207,22 +207,31 @@
An object of the form:
{ # A request for the customer to approve access to a resource.
+ "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.
+ "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.
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
- "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:
- # <ol>
- # <li>ASI: Asia</li>
- # <li>EUR: Europe</li>
- # <li>OCE: Oceania</li>
- # <li>AFR: Africa</li>
- # <li>NAM: North America</li>
- # <li>SAM: South America</li>
- # <li>ANT: Antarctica</li>
- # <li>ANY: Any location</li>
- # </ol>
"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
@@ -238,34 +247,25 @@
# <li>ANT: Antarctica</li>
# <li>ANY: Any location</li>
# </ol>
+ "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:
+ # <ol>
+ # <li>ASI: Asia</li>
+ # <li>EUR: Europe</li>
+ # <li>OCE: Oceania</li>
+ # <li>AFR: Africa</li>
+ # <li>NAM: North America</li>
+ # <li>SAM: South America</li>
+ # <li>ANT: Antarctica</li>
+ # <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.
},
- "name": "A String", # The resource name of the request. Format is
- # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
- "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.
- "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.
- "expireTime": "A String", # The time at which the approval expires.
- "approveTime": "A String", # The time at which approval was granted.
- },
- "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.
}</pre>
</div>
@@ -284,22 +284,31 @@
An object of the form:
{ # A request for the customer to approve access to a resource.
+ "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.
+ "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.
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
- "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:
- # <ol>
- # <li>ASI: Asia</li>
- # <li>EUR: Europe</li>
- # <li>OCE: Oceania</li>
- # <li>AFR: Africa</li>
- # <li>NAM: North America</li>
- # <li>SAM: South America</li>
- # <li>ANT: Antarctica</li>
- # <li>ANY: Any location</li>
- # </ol>
"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
@@ -315,39 +324,30 @@
# <li>ANT: Antarctica</li>
# <li>ANY: Any location</li>
# </ol>
+ "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:
+ # <ol>
+ # <li>ASI: Asia</li>
+ # <li>EUR: Europe</li>
+ # <li>OCE: Oceania</li>
+ # <li>AFR: Africa</li>
+ # <li>NAM: North America</li>
+ # <li>SAM: South America</li>
+ # <li>ANT: Antarctica</li>
+ # <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.
},
- "name": "A String", # The resource name of the request. Format is
- # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
- "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.
- "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.
- "expireTime": "A String", # The time at which the approval expires.
- "approveTime": "A String", # The time at which approval was granted.
- },
- "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.
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(parent, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(parent, pageToken=None, pageSize=None, filter=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,6 +355,8 @@
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>
@@ -364,8 +366,6 @@
<li>ACTIVE: Only active (i.e. currently approved) requests.</li>
<li>DISMISSED: Only 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,22 +378,31 @@
"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.
+ "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.
+ "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.
"requestedLocations": { # Home office and physical location of the principal. # The locations for which approval is being requested.
- "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:
- # <ol>
- # <li>ASI: Asia</li>
- # <li>EUR: Europe</li>
- # <li>OCE: Oceania</li>
- # <li>AFR: Africa</li>
- # <li>NAM: North America</li>
- # <li>SAM: South America</li>
- # <li>ANT: Antarctica</li>
- # <li>ANY: Any location</li>
- # </ol>
"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
@@ -409,34 +418,25 @@
# <li>ANT: Antarctica</li>
# <li>ANY: Any location</li>
# </ol>
+ "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:
+ # <ol>
+ # <li>ASI: Asia</li>
+ # <li>EUR: Europe</li>
+ # <li>OCE: Oceania</li>
+ # <li>AFR: Africa</li>
+ # <li>NAM: North America</li>
+ # <li>SAM: South America</li>
+ # <li>ANT: Antarctica</li>
+ # <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.
},
- "name": "A String", # The resource name of the request. Format is
- # "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
- "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.
- "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.
- "expireTime": "A String", # The time at which the approval expires.
- "approveTime": "A String", # The time at which approval was granted.
- },
- "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.
},
],
}</pre>