Skip to content
This repository was archived by the owner on Oct 16, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions google/cloud/iam_v2/services/policies/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ async def sample_list_policies():

Args:
request (Optional[Union[google.cloud.iam_v2.types.ListPoliciesRequest, dict]]):
The request object. Request message for `ListPolicies`.
The request object. Request message for ``ListPolicies``.
parent (:class:`str`):
Required. The resource that the policy is attached to,
along with the kind of policy to list. Format:
Expand Down Expand Up @@ -388,7 +388,7 @@ async def sample_get_policy():

Args:
request (Optional[Union[google.cloud.iam_v2.types.GetPolicyRequest, dict]]):
The request object. Request message for `GetPolicy`.
The request object. Request message for ``GetPolicy``.
name (:class:`str`):
Required. The resource name of the policy to retrieve.
Format:
Expand Down Expand Up @@ -512,7 +512,7 @@ async def sample_create_policy():

Args:
request (Optional[Union[google.cloud.iam_v2.types.CreatePolicyRequest, dict]]):
The request object. Request message for `CreatePolicy`.
The request object. Request message for ``CreatePolicy``.
parent (:class:`str`):
Required. The resource that the policy is attached to,
along with the kind of policy to create. Format:
Expand Down Expand Up @@ -678,7 +678,7 @@ async def sample_update_policy():

Args:
request (Optional[Union[google.cloud.iam_v2.types.UpdatePolicyRequest, dict]]):
The request object. Request message for `UpdatePolicy`.
The request object. Request message for ``UpdatePolicy``.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -784,7 +784,7 @@ async def sample_delete_policy():

Args:
request (Optional[Union[google.cloud.iam_v2.types.DeletePolicyRequest, dict]]):
The request object. Request message for `DeletePolicy`.
The request object. Request message for ``DeletePolicy``.
name (:class:`str`):
Required. The resource name of the policy to delete.
Format:
Expand Down
10 changes: 5 additions & 5 deletions google/cloud/iam_v2/services/policies/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def sample_list_policies():

Args:
request (Union[google.cloud.iam_v2.types.ListPoliciesRequest, dict]):
The request object. Request message for `ListPolicies`.
The request object. Request message for ``ListPolicies``.
parent (str):
Required. The resource that the policy is attached to,
along with the kind of policy to list. Format:
Expand Down Expand Up @@ -594,7 +594,7 @@ def sample_get_policy():

Args:
request (Union[google.cloud.iam_v2.types.GetPolicyRequest, dict]):
The request object. Request message for `GetPolicy`.
The request object. Request message for ``GetPolicy``.
name (str):
Required. The resource name of the policy to retrieve.
Format:
Expand Down Expand Up @@ -709,7 +709,7 @@ def sample_create_policy():

Args:
request (Union[google.cloud.iam_v2.types.CreatePolicyRequest, dict]):
The request object. Request message for `CreatePolicy`.
The request object. Request message for ``CreatePolicy``.
parent (str):
Required. The resource that the policy is attached to,
along with the kind of policy to create. Format:
Expand Down Expand Up @@ -866,7 +866,7 @@ def sample_update_policy():

Args:
request (Union[google.cloud.iam_v2.types.UpdatePolicyRequest, dict]):
The request object. Request message for `UpdatePolicy`.
The request object. Request message for ``UpdatePolicy``.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -964,7 +964,7 @@ def sample_delete_policy():

Args:
request (Union[google.cloud.iam_v2.types.DeletePolicyRequest, dict]):
The request object. Request message for `DeletePolicy`.
The request object. Request message for ``DeletePolicy``.
name (str):
Required. The resource name of the policy to delete.
Format:
Expand Down
10 changes: 5 additions & 5 deletions google/cloud/iam_v2beta/services/policies/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ async def sample_list_policies():

Args:
request (Optional[Union[google.cloud.iam_v2beta.types.ListPoliciesRequest, dict]]):
The request object. Request message for `ListPolicies`.
The request object. Request message for ``ListPolicies``.
parent (:class:`str`):
Required. The resource that the policy is attached to,
along with the kind of policy to list. Format:
Expand Down Expand Up @@ -388,7 +388,7 @@ async def sample_get_policy():

Args:
request (Optional[Union[google.cloud.iam_v2beta.types.GetPolicyRequest, dict]]):
The request object. Request message for `GetPolicy`.
The request object. Request message for ``GetPolicy``.
name (:class:`str`):
Required. The resource name of the policy to retrieve.
Format:
Expand Down Expand Up @@ -512,7 +512,7 @@ async def sample_create_policy():

Args:
request (Optional[Union[google.cloud.iam_v2beta.types.CreatePolicyRequest, dict]]):
The request object. Request message for `CreatePolicy`.
The request object. Request message for ``CreatePolicy``.
parent (:class:`str`):
Required. The resource that the policy is attached to,
along with the kind of policy to create. Format:
Expand Down Expand Up @@ -678,7 +678,7 @@ async def sample_update_policy():

Args:
request (Optional[Union[google.cloud.iam_v2beta.types.UpdatePolicyRequest, dict]]):
The request object. Request message for `UpdatePolicy`.
The request object. Request message for ``UpdatePolicy``.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -784,7 +784,7 @@ async def sample_delete_policy():

Args:
request (Optional[Union[google.cloud.iam_v2beta.types.DeletePolicyRequest, dict]]):
The request object. Request message for `DeletePolicy`.
The request object. Request message for ``DeletePolicy``.
name (:class:`str`):
Required. The resource name of the policy to delete.
Format:
Expand Down
10 changes: 5 additions & 5 deletions google/cloud/iam_v2beta/services/policies/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def sample_list_policies():

Args:
request (Union[google.cloud.iam_v2beta.types.ListPoliciesRequest, dict]):
The request object. Request message for `ListPolicies`.
The request object. Request message for ``ListPolicies``.
parent (str):
Required. The resource that the policy is attached to,
along with the kind of policy to list. Format:
Expand Down Expand Up @@ -592,7 +592,7 @@ def sample_get_policy():

Args:
request (Union[google.cloud.iam_v2beta.types.GetPolicyRequest, dict]):
The request object. Request message for `GetPolicy`.
The request object. Request message for ``GetPolicy``.
name (str):
Required. The resource name of the policy to retrieve.
Format:
Expand Down Expand Up @@ -707,7 +707,7 @@ def sample_create_policy():

Args:
request (Union[google.cloud.iam_v2beta.types.CreatePolicyRequest, dict]):
The request object. Request message for `CreatePolicy`.
The request object. Request message for ``CreatePolicy``.
parent (str):
Required. The resource that the policy is attached to,
along with the kind of policy to create. Format:
Expand Down Expand Up @@ -864,7 +864,7 @@ def sample_update_policy():

Args:
request (Union[google.cloud.iam_v2beta.types.UpdatePolicyRequest, dict]):
The request object. Request message for `UpdatePolicy`.
The request object. Request message for ``UpdatePolicy``.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -962,7 +962,7 @@ def sample_delete_policy():

Args:
request (Union[google.cloud.iam_v2beta.types.DeletePolicyRequest, dict]):
The request object. Request message for `DeletePolicy`.
The request object. Request message for ``DeletePolicy``.
name (str):
Required. The resource name of the policy to delete.
Format:
Expand Down