Summary of entries of Methods for servicedirectory.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient
LookupServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicedirectory_v1.services.lookup_service.transports.base.LookupServiceTransport, typing.Callable[[...], google.cloud.servicedirectory_v1.services.lookup_service.transports.base.LookupServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the lookup service async client.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.common_folder_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.endpoint_path
endpoint_path(
project: str, location: str, namespace: str, service: str, endpoint: str
) -> str
Returns a fully-qualified endpoint string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.endpoint_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.get_location
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.servicedirectory_v1.services.lookup_service.transports.base.LookupServiceTransport
]
Returns an appropriate transport class.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.list_locations
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.network_path
network_path(project: str, network: str) -> str
Returns a fully-qualified network string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.network_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_endpoint_path
parse_endpoint_path(path: str) -> typing.Dict[str, str]
Parses a endpoint path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_network_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.parse_service_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.resolve_service
resolve_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.lookup_service.ResolveServiceRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.lookup_service.ResolveServiceResponse
Returns a xref_service and its associated endpoints.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.resolve_service
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.service_path
service_path(project: str, location: str, namespace: str, service: str) -> str
Returns a fully-qualified service string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceAsyncClient.service_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient
LookupServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicedirectory_v1.services.lookup_service.transports.base.LookupServiceTransport, typing.Callable[[...], google.cloud.servicedirectory_v1.services.lookup_service.transports.base.LookupServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the lookup service client.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.exit
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.common_folder_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.common_location_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.common_project_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.endpoint_path
endpoint_path(
project: str, location: str, namespace: str, service: str, endpoint: str
) -> str
Returns a fully-qualified endpoint string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.endpoint_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.get_location
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.list_locations
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.network_path
network_path(project: str, network: str) -> str
Returns a fully-qualified network string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.network_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_endpoint_path
parse_endpoint_path(path: str) -> typing.Dict[str, str]
Parses a endpoint path into its component segments.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_endpoint_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_network_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.parse_service_path
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.resolve_service
resolve_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.lookup_service.ResolveServiceRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.lookup_service.ResolveServiceResponse
Returns a xref_service and its associated endpoints.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.resolve_service
google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.service_path
service_path(project: str, location: str, namespace: str, service: str) -> str
Returns a fully-qualified service string.
See more: google.cloud.servicedirectory_v1.services.lookup_service.LookupServiceClient.service_path
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient
RegistrationServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicedirectory_v1.services.registration_service.transports.base.RegistrationServiceTransport, typing.Callable[[...], google.cloud.servicedirectory_v1.services.registration_service.transports.base.RegistrationServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the registration service async client.
See more: google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.create_endpoint
create_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.CreateEndpointRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
endpoint: typing.Optional[
google.cloud.servicedirectory_v1.types.endpoint.Endpoint
] = None,
endpoint_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.endpoint.Endpoint
Creates an endpoint, and returns the new endpoint.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.create_namespace
create_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.CreateNamespaceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
namespace: typing.Optional[
google.cloud.servicedirectory_v1.types.namespace.Namespace
] = None,
namespace_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.namespace.Namespace
Creates a namespace, and returns the new namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.create_service
create_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.CreateServiceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
service: typing.Optional[
google.cloud.servicedirectory_v1.types.service.Service
] = None,
service_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.service.Service
Creates a service, and returns the new service.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.delete_endpoint
delete_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.DeleteEndpointRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an endpoint.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.delete_namespace
delete_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.DeleteNamespaceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.delete_service
delete_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.DeleteServiceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a service.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.endpoint_path
endpoint_path(
project: str, location: str, namespace: str, service: str, endpoint: str
) -> str
Returns a fully-qualified endpoint string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.get_endpoint
get_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.GetEndpointRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.endpoint.Endpoint
Gets an endpoint.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM Policy for a resource (namespace or service only).
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.get_namespace
get_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.GetNamespaceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.namespace.Namespace
Gets a namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.get_service
get_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.GetServiceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.service.Service
Gets a service.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.servicedirectory_v1.services.registration_service.transports.base.RegistrationServiceTransport
]
Returns an appropriate transport class.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.list_endpoints
list_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListEndpointsAsyncPager
)
Lists all endpoints.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.list_namespaces
list_namespaces(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListNamespacesAsyncPager
)
Lists all namespaces.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.list_services
list_services(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.ListServicesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListServicesAsyncPager
)
Lists all services belonging to a namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.namespace_path
namespace_path(project: str, location: str, namespace: str) -> str
Returns a fully-qualified namespace string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.network_path
network_path(project: str, network: str) -> str
Returns a fully-qualified network string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_endpoint_path
parse_endpoint_path(path: str) -> typing.Dict[str, str]
Parses a endpoint path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_namespace_path
parse_namespace_path(path: str) -> typing.Dict[str, str]
Parses a namespace path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.service_path
service_path(project: str, location: str, namespace: str, service: str) -> str
Returns a fully-qualified service string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM Policy for a resource (namespace or service only).
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests IAM permissions for a resource (namespace or service only).
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.update_endpoint
update_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.UpdateEndpointRequest,
dict,
]
] = None,
*,
endpoint: typing.Optional[
google.cloud.servicedirectory_v1.types.endpoint.Endpoint
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.endpoint.Endpoint
Updates an endpoint.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.update_namespace
update_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.UpdateNamespaceRequest,
dict,
]
] = None,
*,
namespace: typing.Optional[
google.cloud.servicedirectory_v1.types.namespace.Namespace
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.namespace.Namespace
Updates a namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceAsyncClient.update_service
update_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.UpdateServiceRequest,
dict,
]
] = None,
*,
service: typing.Optional[
google.cloud.servicedirectory_v1.types.service.Service
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.service.Service
Updates a service.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient
RegistrationServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicedirectory_v1.services.registration_service.transports.base.RegistrationServiceTransport, typing.Callable[[...], google.cloud.servicedirectory_v1.services.registration_service.transports.base.RegistrationServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the registration service client.
See more: google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.exit
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.create_endpoint
create_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.CreateEndpointRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
endpoint: typing.Optional[
google.cloud.servicedirectory_v1.types.endpoint.Endpoint
] = None,
endpoint_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.endpoint.Endpoint
Creates an endpoint, and returns the new endpoint.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.create_namespace
create_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.CreateNamespaceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
namespace: typing.Optional[
google.cloud.servicedirectory_v1.types.namespace.Namespace
] = None,
namespace_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.namespace.Namespace
Creates a namespace, and returns the new namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.create_service
create_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.CreateServiceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
service: typing.Optional[
google.cloud.servicedirectory_v1.types.service.Service
] = None,
service_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.service.Service
Creates a service, and returns the new service.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.delete_endpoint
delete_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.DeleteEndpointRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an endpoint.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.delete_namespace
delete_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.DeleteNamespaceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.delete_service
delete_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.DeleteServiceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a service.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.endpoint_path
endpoint_path(
project: str, location: str, namespace: str, service: str, endpoint: str
) -> str
Returns a fully-qualified endpoint string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.get_endpoint
get_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.GetEndpointRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.endpoint.Endpoint
Gets an endpoint.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM Policy for a resource (namespace or service only).
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.get_namespace
get_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.GetNamespaceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.namespace.Namespace
Gets a namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.get_service
get_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.GetServiceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.service.Service
Gets a service.
See more: google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.get_service
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.list_endpoints
list_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListEndpointsPager
)
Lists all endpoints.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.list_namespaces
list_namespaces(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListNamespacesPager
)
Lists all namespaces.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.list_services
list_services(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.ListServicesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListServicesPager
)
Lists all services belonging to a namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.namespace_path
namespace_path(project: str, location: str, namespace: str) -> str
Returns a fully-qualified namespace string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.network_path
network_path(project: str, network: str) -> str
Returns a fully-qualified network string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_endpoint_path
parse_endpoint_path(path: str) -> typing.Dict[str, str]
Parses a endpoint path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_namespace_path
parse_namespace_path(path: str) -> typing.Dict[str, str]
Parses a namespace path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.service_path
service_path(project: str, location: str, namespace: str, service: str) -> str
Returns a fully-qualified service string.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM Policy for a resource (namespace or service only).
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests IAM permissions for a resource (namespace or service only).
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.update_endpoint
update_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.UpdateEndpointRequest,
dict,
]
] = None,
*,
endpoint: typing.Optional[
google.cloud.servicedirectory_v1.types.endpoint.Endpoint
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.endpoint.Endpoint
Updates an endpoint.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.update_namespace
update_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.UpdateNamespaceRequest,
dict,
]
] = None,
*,
namespace: typing.Optional[
google.cloud.servicedirectory_v1.types.namespace.Namespace
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.namespace.Namespace
Updates a namespace.
google.cloud.servicedirectory_v1.services.registration_service.RegistrationServiceClient.update_service
update_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1.types.registration_service.UpdateServiceRequest,
dict,
]
] = None,
*,
service: typing.Optional[
google.cloud.servicedirectory_v1.types.service.Service
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1.types.service.Service
Updates a service.
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListEndpointsAsyncPager
ListEndpointsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsResponse
],
],
request: google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsRequest,
response: google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.servicedirectory_v1.services.registration_service.pagers.ListEndpointsAsyncPager
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListEndpointsPager
ListEndpointsPager(
method: typing.Callable[
[...],
google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsResponse,
],
request: google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsRequest,
response: google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.servicedirectory_v1.services.registration_service.pagers.ListEndpointsPager
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListNamespacesAsyncPager
ListNamespacesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesResponse
],
],
request: google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesRequest,
response: google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.servicedirectory_v1.services.registration_service.pagers.ListNamespacesAsyncPager
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListNamespacesPager
ListNamespacesPager(
method: typing.Callable[
[...],
google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesResponse,
],
request: google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesRequest,
response: google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.servicedirectory_v1.services.registration_service.pagers.ListNamespacesPager
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListServicesAsyncPager
ListServicesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.servicedirectory_v1.types.registration_service.ListServicesResponse
],
],
request: google.cloud.servicedirectory_v1.types.registration_service.ListServicesRequest,
response: google.cloud.servicedirectory_v1.types.registration_service.ListServicesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.servicedirectory_v1.services.registration_service.pagers.ListServicesAsyncPager
google.cloud.servicedirectory_v1.services.registration_service.pagers.ListServicesPager
ListServicesPager(
method: typing.Callable[
[...],
google.cloud.servicedirectory_v1.types.registration_service.ListServicesResponse,
],
request: google.cloud.servicedirectory_v1.types.registration_service.ListServicesRequest,
response: google.cloud.servicedirectory_v1.types.registration_service.ListServicesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.servicedirectory_v1.services.registration_service.pagers.ListServicesPager
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient
LookupServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicedirectory_v1beta1.services.lookup_service.transports.base.LookupServiceTransport, typing.Callable[[...], google.cloud.servicedirectory_v1beta1.services.lookup_service.transports.base.LookupServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the lookup service async client.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.endpoint_path
endpoint_path(
project: str, location: str, namespace: str, service: str, endpoint: str
) -> str
Returns a fully-qualified endpoint string.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.endpoint_path
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.get_location
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.servicedirectory_v1beta1.services.lookup_service.transports.base.LookupServiceTransport
]
Returns an appropriate transport class.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.network_path
network_path(project: str, network: str) -> str
Returns a fully-qualified network string.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.network_path
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.parse_endpoint_path
parse_endpoint_path(path: str) -> typing.Dict[str, str]
Parses a endpoint path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.resolve_service
resolve_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.lookup_service.ResolveServiceRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.lookup_service.ResolveServiceResponse
Returns a xref_service and its associated endpoints.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.service_path
service_path(project: str, location: str, namespace: str, service: str) -> str
Returns a fully-qualified service string.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceAsyncClient.service_path
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient
LookupServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicedirectory_v1beta1.services.lookup_service.transports.base.LookupServiceTransport, typing.Callable[[...], google.cloud.servicedirectory_v1beta1.services.lookup_service.transports.base.LookupServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the lookup service client.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.exit
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.common_folder_path
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.endpoint_path
endpoint_path(
project: str, location: str, namespace: str, service: str, endpoint: str
) -> str
Returns a fully-qualified endpoint string.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.endpoint_path
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.get_location
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.list_locations
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.network_path
network_path(project: str, network: str) -> str
Returns a fully-qualified network string.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.network_path
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_endpoint_path
parse_endpoint_path(path: str) -> typing.Dict[str, str]
Parses a endpoint path into its component segments.
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_network_path
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.parse_service_path
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.resolve_service
resolve_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.lookup_service.ResolveServiceRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.lookup_service.ResolveServiceResponse
Returns a xref_service and its associated endpoints.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.resolve_service
google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.service_path
service_path(project: str, location: str, namespace: str, service: str) -> str
Returns a fully-qualified service string.
See more: google.cloud.servicedirectory_v1beta1.services.lookup_service.LookupServiceClient.service_path
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient
RegistrationServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicedirectory_v1beta1.services.registration_service.transports.base.RegistrationServiceTransport, typing.Callable[[...], google.cloud.servicedirectory_v1beta1.services.registration_service.transports.base.RegistrationServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the registration service async client.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.create_endpoint
create_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.CreateEndpointRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
endpoint: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
] = None,
endpoint_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
Creates an endpoint, and returns the new endpoint.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.create_namespace
create_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.CreateNamespaceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
namespace: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
] = None,
namespace_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
Creates a namespace, and returns the new namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.create_service
create_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.CreateServiceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
service: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.service.Service
] = None,
service_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.service.Service
Creates a service, and returns the new service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.delete_endpoint
delete_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.DeleteEndpointRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an endpoint.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.delete_namespace
delete_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.DeleteNamespaceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.delete_service
delete_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.DeleteServiceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.endpoint_path
endpoint_path(
project: str, location: str, namespace: str, service: str, endpoint: str
) -> str
Returns a fully-qualified endpoint string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.get_endpoint
get_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.GetEndpointRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
Gets an endpoint.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM Policy for a resource.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.get_namespace
get_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.GetNamespaceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
Gets a namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.get_service
get_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.GetServiceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.service.Service
Gets a service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.servicedirectory_v1beta1.services.registration_service.transports.base.RegistrationServiceTransport
]
Returns an appropriate transport class.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.list_endpoints
list_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListEndpointsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListEndpointsAsyncPager
)
Lists all endpoints.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.list_namespaces
list_namespaces(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListNamespacesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListNamespacesAsyncPager
)
Lists all namespaces.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.list_services
list_services(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListServicesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListServicesAsyncPager
)
Lists all services belonging to a namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.namespace_path
namespace_path(project: str, location: str, namespace: str) -> str
Returns a fully-qualified namespace string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.network_path
network_path(project: str, network: str) -> str
Returns a fully-qualified network string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_endpoint_path
parse_endpoint_path(path: str) -> typing.Dict[str, str]
Parses a endpoint path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_namespace_path
parse_namespace_path(path: str) -> typing.Dict[str, str]
Parses a namespace path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.service_path
service_path(project: str, location: str, namespace: str, service: str) -> str
Returns a fully-qualified service string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM Policy for a resource.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests IAM permissions for a resource (namespace, service or service workload only).
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.update_endpoint
update_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.UpdateEndpointRequest,
dict,
]
] = None,
*,
endpoint: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
Updates an endpoint.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.update_namespace
update_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.UpdateNamespaceRequest,
dict,
]
] = None,
*,
namespace: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
Updates a namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceAsyncClient.update_service
update_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.UpdateServiceRequest,
dict,
]
] = None,
*,
service: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.service.Service
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.service.Service
Updates a service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient
RegistrationServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicedirectory_v1beta1.services.registration_service.transports.base.RegistrationServiceTransport, typing.Callable[[...], google.cloud.servicedirectory_v1beta1.services.registration_service.transports.base.RegistrationServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the registration service client.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.exit
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.create_endpoint
create_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.CreateEndpointRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
endpoint: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
] = None,
endpoint_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
Creates an endpoint, and returns the new endpoint.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.create_namespace
create_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.CreateNamespaceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
namespace: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
] = None,
namespace_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
Creates a namespace, and returns the new namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.create_service
create_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.CreateServiceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
service: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.service.Service
] = None,
service_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.service.Service
Creates a service, and returns the new service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.delete_endpoint
delete_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.DeleteEndpointRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an endpoint.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.delete_namespace
delete_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.DeleteNamespaceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.delete_service
delete_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.DeleteServiceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.endpoint_path
endpoint_path(
project: str, location: str, namespace: str, service: str, endpoint: str
) -> str
Returns a fully-qualified endpoint string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.get_endpoint
get_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.GetEndpointRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
Gets an endpoint.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM Policy for a resource.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.get_namespace
get_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.GetNamespaceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
Gets a namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.get_service
get_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.GetServiceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.service.Service
Gets a service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.list_endpoints
list_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListEndpointsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListEndpointsPager
)
Lists all endpoints.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.list_namespaces
list_namespaces(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListNamespacesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListNamespacesPager
)
Lists all namespaces.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.list_services
list_services(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListServicesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListServicesPager
)
Lists all services belonging to a namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.namespace_path
namespace_path(project: str, location: str, namespace: str) -> str
Returns a fully-qualified namespace string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.network_path
network_path(project: str, network: str) -> str
Returns a fully-qualified network string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_endpoint_path
parse_endpoint_path(path: str) -> typing.Dict[str, str]
Parses a endpoint path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_namespace_path
parse_namespace_path(path: str) -> typing.Dict[str, str]
Parses a namespace path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]
Parses a network path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.parse_service_path
parse_service_path(path: str) -> typing.Dict[str, str]
Parses a service path into its component segments.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.service_path
service_path(project: str, location: str, namespace: str, service: str) -> str
Returns a fully-qualified service string.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM Policy for a resource.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests IAM permissions for a resource (namespace, service or service workload only).
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.update_endpoint
update_endpoint(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.UpdateEndpointRequest,
dict,
]
] = None,
*,
endpoint: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.endpoint.Endpoint
Updates an endpoint.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.update_namespace
update_namespace(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.UpdateNamespaceRequest,
dict,
]
] = None,
*,
namespace: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.namespace.Namespace
Updates a namespace.
google.cloud.servicedirectory_v1beta1.services.registration_service.RegistrationServiceClient.update_service
update_service(
request: typing.Optional[
typing.Union[
google.cloud.servicedirectory_v1beta1.types.registration_service.UpdateServiceRequest,
dict,
]
] = None,
*,
service: typing.Optional[
google.cloud.servicedirectory_v1beta1.types.service.Service
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.servicedirectory_v1beta1.types.service.Service
Updates a service.
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListEndpointsAsyncPager
ListEndpointsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListEndpointsResponse
],
],
request: google.cloud.servicedirectory_v1beta1.types.registration_service.ListEndpointsRequest,
response: google.cloud.servicedirectory_v1beta1.types.registration_service.ListEndpointsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListEndpointsAsyncPager
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListEndpointsPager
ListEndpointsPager(
method: typing.Callable[
[...],
google.cloud.servicedirectory_v1beta1.types.registration_service.ListEndpointsResponse,
],
request: google.cloud.servicedirectory_v1beta1.types.registration_service.ListEndpointsRequest,
response: google.cloud.servicedirectory_v1beta1.types.registration_service.ListEndpointsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListEndpointsPager
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListNamespacesAsyncPager
ListNamespacesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListNamespacesResponse
],
],
request: google.cloud.servicedirectory_v1beta1.types.registration_service.ListNamespacesRequest,
response: google.cloud.servicedirectory_v1beta1.types.registration_service.ListNamespacesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListNamespacesAsyncPager
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListNamespacesPager
ListNamespacesPager(
method: typing.Callable[
[...],
google.cloud.servicedirectory_v1beta1.types.registration_service.ListNamespacesResponse,
],
request: google.cloud.servicedirectory_v1beta1.types.registration_service.ListNamespacesRequest,
response: google.cloud.servicedirectory_v1beta1.types.registration_service.ListNamespacesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListNamespacesPager
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListServicesAsyncPager
ListServicesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.servicedirectory_v1beta1.types.registration_service.ListServicesResponse
],
],
request: google.cloud.servicedirectory_v1beta1.types.registration_service.ListServicesRequest,
response: google.cloud.servicedirectory_v1beta1.types.registration_service.ListServicesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListServicesAsyncPager
google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListServicesPager
ListServicesPager(
method: typing.Callable[
[...],
google.cloud.servicedirectory_v1beta1.types.registration_service.ListServicesResponse,
],
request: google.cloud.servicedirectory_v1beta1.types.registration_service.ListServicesRequest,
response: google.cloud.servicedirectory_v1beta1.types.registration_service.ListServicesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.servicedirectory_v1beta1.services.registration_service.pagers.ListServicesPager