Skip to content

Commit

Permalink
docs: Fix formatting of request arg in docstring (#266)
Browse files Browse the repository at this point in the history
* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 23, 2023
1 parent 5cf91a9 commit 9d3114c
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ def __call__(
[LookupService.ResolveService][google.cloud.servicedirectory.v1.LookupService.ResolveService].
Looks up a service by its name, returns the service and
its endpoints.
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 @@ -1099,8 +1099,8 @@ async def sample_get_service():
The request object. The request message for
[RegistrationService.GetService][google.cloud.servicedirectory.v1.RegistrationService.GetService].
This should not be used for looking up a service.
Insead, use the `resolve` method as it will contain all
endpoints and associated metadata.
Insead, use the ``resolve`` method as it will contain
all endpoints and associated metadata.
name (:class:`str`):
Required. The name of the service to
get.
Expand Down Expand Up @@ -1664,7 +1664,7 @@ async def sample_get_endpoint():
The request object. The request message for
[RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint].
This should not be used to lookup endpoints at runtime.
Instead, use the `resolve` method.
Instead, use the ``resolve`` method.
name (:class:`str`):
Required. The name of the endpoint to
get.
Expand Down Expand Up @@ -1973,8 +1973,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 @@ -2117,8 +2116,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 @@ -2262,8 +2260,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 @@ -1373,8 +1373,8 @@ def sample_get_service():
The request object. The request message for
[RegistrationService.GetService][google.cloud.servicedirectory.v1.RegistrationService.GetService].
This should not be used for looking up a service.
Insead, use the `resolve` method as it will contain all
endpoints and associated metadata.
Insead, use the ``resolve`` method as it will contain
all endpoints and associated metadata.
name (str):
Required. The name of the service to
get.
Expand Down Expand Up @@ -1938,7 +1938,7 @@ def sample_get_endpoint():
The request object. The request message for
[RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint].
This should not be used to lookup endpoints at runtime.
Instead, use the `resolve` method.
Instead, use the ``resolve`` method.
name (str):
Required. The name of the endpoint to
get.
Expand Down Expand Up @@ -2247,8 +2247,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 @@ -2390,8 +2389,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 @@ -2534,8 +2532,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 @@ -719,7 +719,6 @@ def __call__(
request (~.registration_service.CreateEndpointRequest):
The request object. The request message for
[RegistrationService.CreateEndpoint][google.cloud.servicedirectory.v1.RegistrationService.CreateEndpoint].
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 @@ -821,7 +820,6 @@ def __call__(
request (~.registration_service.CreateNamespaceRequest):
The request object. The request message for
[RegistrationService.CreateNamespace][google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace].
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 @@ -927,7 +925,6 @@ def __call__(
request (~.registration_service.CreateServiceRequest):
The request object. The request message for
[RegistrationService.CreateService][google.cloud.servicedirectory.v1.RegistrationService.CreateService].
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 @@ -1028,7 +1025,6 @@ def __call__(
request (~.registration_service.DeleteEndpointRequest):
The request object. The request message for
[RegistrationService.DeleteEndpoint][google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpoint].
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 @@ -1104,7 +1100,6 @@ def __call__(
request (~.registration_service.DeleteNamespaceRequest):
The request object. The request message for
[RegistrationService.DeleteNamespace][google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespace].
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 @@ -1182,7 +1177,6 @@ def __call__(
request (~.registration_service.DeleteServiceRequest):
The request object. The request message for
[RegistrationService.DeleteService][google.cloud.servicedirectory.v1.RegistrationService.DeleteService].
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 @@ -1260,7 +1254,6 @@ def __call__(
[RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint].
This should not be used to lookup endpoints at runtime.
Instead, use the ``resolve`` 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 @@ -1526,7 +1519,6 @@ def __call__(
request (~.registration_service.GetNamespaceRequest):
The request object. The request message for
[RegistrationService.GetNamespace][google.cloud.servicedirectory.v1.RegistrationService.GetNamespace].
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 @@ -1622,7 +1614,6 @@ def __call__(
This should not be used for looking up a service.
Insead, use the ``resolve`` method as it will contain
all endpoints and associated metadata.
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 @@ -1714,7 +1705,6 @@ def __call__(
request (~.registration_service.ListEndpointsRequest):
The request object. The request message for
[RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints].
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 @@ -1804,7 +1794,6 @@ def __call__(
request (~.registration_service.ListNamespacesRequest):
The request object. The request message for
[RegistrationService.ListNamespaces][google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces].
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 @@ -1894,7 +1883,6 @@ def __call__(
request (~.registration_service.ListServicesRequest):
The request object. The request message for
[RegistrationService.ListServices][google.cloud.servicedirectory.v1.RegistrationService.ListServices].
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 @@ -2263,7 +2251,6 @@ def __call__(
request (~.registration_service.UpdateEndpointRequest):
The request object. The request message for
[RegistrationService.UpdateEndpoint][google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpoint].
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 @@ -2365,7 +2352,6 @@ def __call__(
request (~.registration_service.UpdateNamespaceRequest):
The request object. The request message for
[RegistrationService.UpdateNamespace][google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespace].
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 @@ -2471,7 +2457,6 @@ def __call__(
request (~.registration_service.UpdateServiceRequest):
The request object. The request message for
[RegistrationService.UpdateService][google.cloud.servicedirectory.v1.RegistrationService.UpdateService].
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 @@ -227,7 +227,6 @@ def __call__(
[LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService].
Looks up a service by its name, returns the service and
its endpoints.
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 @@ -1103,7 +1103,7 @@ async def sample_get_service():
The request object. The request message for
[RegistrationService.GetService][google.cloud.servicedirectory.v1beta1.RegistrationService.GetService].
This should not be used for looking up a service.
Insead, use the `resolve` method as it contains all
Insead, use the ``resolve`` method as it contains all
endpoints and associated metadata.
name (:class:`str`):
Required. The name of the service to
Expand Down Expand Up @@ -1668,7 +1668,7 @@ async def sample_get_endpoint():
The request object. The request message for
[RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint].
This should not be used to lookup endpoints at runtime.
Instead, use the `resolve` method.
Instead, use the ``resolve`` method.
name (:class:`str`):
Required. The name of the endpoint to
get.
Expand Down Expand Up @@ -1977,8 +1977,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 @@ -2121,8 +2120,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 @@ -2266,8 +2264,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 @@ -1395,7 +1395,7 @@ def sample_get_service():
The request object. The request message for
[RegistrationService.GetService][google.cloud.servicedirectory.v1beta1.RegistrationService.GetService].
This should not be used for looking up a service.
Insead, use the `resolve` method as it contains all
Insead, use the ``resolve`` method as it contains all
endpoints and associated metadata.
name (str):
Required. The name of the service to
Expand Down Expand Up @@ -1960,7 +1960,7 @@ def sample_get_endpoint():
The request object. The request message for
[RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint].
This should not be used to lookup endpoints at runtime.
Instead, use the `resolve` method.
Instead, use the ``resolve`` method.
name (str):
Required. The name of the endpoint to
get.
Expand Down Expand Up @@ -2269,8 +2269,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 @@ -2412,8 +2411,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 @@ -2556,8 +2554,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
Loading

0 comments on commit 9d3114c

Please sign in to comment.