Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

docs: Fix formatting of request arg in docstring #231

Merged
merged 2 commits into from
Mar 23, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1502,8 +1502,7 @@ async def sample_get_repository():

Args:
request (Optional[Union[google.cloud.artifactregistry_v1.types.GetRepositoryRequest, dict]]):
The request object. The request to retrieve a
repository.
The request object. The request to retrieve a repository.
name (:class:`str`):
Required. The name of the repository
to retrieve.
Expand Down Expand Up @@ -3401,8 +3400,7 @@ async def sample_set_iam_policy():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` method.
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 @@ -3544,8 +3542,7 @@ async def sample_get_iam_policy():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` method.
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 @@ -3689,8 +3686,7 @@ async def sample_test_iam_permissions():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` method.
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 @@ -3983,8 +3979,7 @@ async def sample_get_vpcsc_config():

Args:
request (Optional[Union[google.cloud.artifactregistry_v1.types.GetVPCSCConfigRequest, dict]]):
The request object. Gets the VPC SC config for a
project.
The request object. Gets the VPC SC config for a project.
name (:class:`str`):
Required. The name of the VPCSCConfig
resource.
Expand Down Expand Up @@ -4087,8 +4082,7 @@ async def sample_update_vpcsc_config():

Args:
request (Optional[Union[google.cloud.artifactregistry_v1.types.UpdateVPCSCConfigRequest, dict]]):
The request object. Sets the VPCSC config of the
project.
The request object. Sets the VPCSC config of the project.
vpcsc_config (:class:`google.cloud.artifactregistry_v1.types.VPCSCConfig`):
The project config.
This corresponds to the ``vpcsc_config`` field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1975,8 +1975,7 @@ def sample_get_repository():

Args:
request (Union[google.cloud.artifactregistry_v1.types.GetRepositoryRequest, dict]):
The request object. The request to retrieve a
repository.
The request object. The request to retrieve a repository.
name (str):
Required. The name of the repository
to retrieve.
Expand Down Expand Up @@ -3874,8 +3873,7 @@ def sample_set_iam_policy():

Args:
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` method.
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 @@ -4016,8 +4014,7 @@ def sample_get_iam_policy():

Args:
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` method.
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 @@ -4160,8 +4157,7 @@ def sample_test_iam_permissions():

Args:
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` method.
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 @@ -4453,8 +4449,7 @@ def sample_get_vpcsc_config():

Args:
request (Union[google.cloud.artifactregistry_v1.types.GetVPCSCConfigRequest, dict]):
The request object. Gets the VPC SC config for a
project.
The request object. Gets the VPC SC config for a project.
name (str):
Required. The name of the VPCSCConfig
resource.
Expand Down Expand Up @@ -4557,8 +4552,7 @@ def sample_update_vpcsc_config():

Args:
request (Union[google.cloud.artifactregistry_v1.types.UpdateVPCSCConfigRequest, dict]):
The request object. Sets the VPCSC config of the
project.
The request object. Sets the VPCSC config of the project.
vpcsc_config (google.cloud.artifactregistry_v1.types.VPCSCConfig):
The project config.
This corresponds to the ``vpcsc_config`` field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,6 @@ def __call__(
request (~.gda_repository.CreateRepositoryRequest):
The request object. The request to create a new
repository.

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 @@ -2472,7 +2471,6 @@ def __call__(
request (~.settings.GetProjectSettingsRequest):
The request object. Gets the redirection status for a
project.

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 @@ -2980,7 +2978,6 @@ def __call__(
request (~.apt_artifact.ImportAptArtifactsRequest):
The request object. The request to import new apt
artifacts.

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 @@ -3069,7 +3066,6 @@ def __call__(
request (~.yum_artifact.ImportYumArtifactsRequest):
The request object. The request to import new yum
artifacts.

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 @@ -4373,7 +4369,6 @@ def __call__(
request (~.gda_tag.UpdateTagRequest):
The request object. The request to create or update a
tag.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,7 @@ async def sample_get_repository():

Args:
request (Optional[Union[google.cloud.artifactregistry_v1beta2.types.GetRepositoryRequest, dict]]):
The request object. The request to retrieve a
repository.
The request object. The request to retrieve a repository.
name (:class:`str`):
Required. The name of the repository
to retrieve.
Expand Down Expand Up @@ -2625,8 +2624,7 @@ async def sample_set_iam_policy():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` method.
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 @@ -2768,8 +2766,7 @@ async def sample_get_iam_policy():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` method.
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 @@ -2922,8 +2919,7 @@ async def sample_test_iam_permissions():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,7 @@ def sample_get_repository():

Args:
request (Union[google.cloud.artifactregistry_v1beta2.types.GetRepositoryRequest, dict]):
The request object. The request to retrieve a
repository.
The request object. The request to retrieve a repository.
name (str):
Required. The name of the repository
to retrieve.
Expand Down Expand Up @@ -2853,8 +2852,7 @@ def sample_set_iam_policy():

Args:
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` method.
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 @@ -2995,8 +2993,7 @@ def sample_get_iam_policy():

Args:
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` method.
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 @@ -3139,8 +3136,7 @@ def sample_test_iam_permissions():

Args:
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,6 @@ def __call__(
request (~.gda_repository.CreateRepositoryRequest):
The request object. The request to create a new
repository.

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 @@ -1828,7 +1827,6 @@ def __call__(
request (~.settings.GetProjectSettingsRequest):
The request object. Gets the redirection status for a
project.

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 @@ -2156,7 +2154,6 @@ def __call__(
request (~.apt_artifact.ImportAptArtifactsRequest):
The request object. The request to import new apt
artifacts.

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 @@ -2245,7 +2242,6 @@ def __call__(
request (~.yum_artifact.ImportYumArtifactsRequest):
The request object. The request to import new yum
artifacts.

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 @@ -3167,7 +3163,6 @@ def __call__(
request (~.gda_tag.UpdateTagRequest):
The request object. The request to create or update a
tag.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down