Package Methods (1.11.1)

Summary of entries of Methods for serviceusage.

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient

ServiceUsageAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.service_usage_v1.services.service_usage.transports.base.ServiceUsageTransport, typing.Callable[[...], google.cloud.service_usage_v1.services.service_usage.transports.base.ServiceUsageTransport]]] = '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 service usage async client.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.batch_enable_services

batch_enable_services(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.BatchEnableServicesRequest,
            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.api_core.operation_async.AsyncOperation

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.batch_get_services

batch_get_services(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.BatchGetServicesRequest,
            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.service_usage_v1.types.serviceusage.BatchGetServicesResponse

Returns the service configurations and enabled states for a given list of services.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.batch_get_services

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.disable_service

disable_service(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.DisableServiceRequest, 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.api_core.operation_async.AsyncOperation

Disable a service so that it can no longer be used with a project.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.disable_service

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.enable_service

enable_service(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.EnableServiceRequest, 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.api_core.operation_async.AsyncOperation

Enable a service so that it can be used with a project.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.enable_service

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.from_service_account_file

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.from_service_account_info

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.from_service_account_json

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.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.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.get_mtls_endpoint_and_cert_source

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.get_operation

get_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.GetOperationRequest
    ] = 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.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.get_operation

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.get_service

get_service(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.GetServiceRequest, 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.service_usage_v1.types.resources.Service

Returns the service configuration and enabled state for a given service.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.get_service

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.get_transport_class

get_transport_class(
    label: typing.Optional[str] = None,
) -> typing.Type[
    google.cloud.service_usage_v1.services.service_usage.transports.base.ServiceUsageTransport
]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.list_operations

list_operations(
    request: typing.Optional[
        google.longrunning.operations_pb2.ListOperationsRequest
    ] = 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.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.list_operations

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.list_services

list_services(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.ListServicesRequest, 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.service_usage_v1.services.service_usage.pagers.ListServicesAsyncPager

List all services available to the specified project, and the current state of those services with respect to the project.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.list_services

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.parse_service_path

parse_service_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient.service_path

service_path(project: str, service: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient

ServiceUsageClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.service_usage_v1.services.service_usage.transports.base.ServiceUsageTransport, typing.Callable[[...], google.cloud.service_usage_v1.services.service_usage.transports.base.ServiceUsageTransport]]] = 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 service usage client.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.__exit__

__exit__(type, value, traceback)

Releases underlying transport's resources.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.exit

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.batch_enable_services

batch_enable_services(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.BatchEnableServicesRequest,
            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.api_core.operation.Operation

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.batch_get_services

batch_get_services(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.BatchGetServicesRequest,
            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.service_usage_v1.types.serviceusage.BatchGetServicesResponse

Returns the service configurations and enabled states for a given list of services.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.batch_get_services

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.common_project_path

common_project_path(project: str) -> str

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.disable_service

disable_service(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.DisableServiceRequest, 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.api_core.operation.Operation

Disable a service so that it can no longer be used with a project.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.disable_service

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.enable_service

enable_service(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.EnableServiceRequest, 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.api_core.operation.Operation

Enable a service so that it can be used with a project.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.enable_service

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.from_service_account_file

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.from_service_account_info

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.from_service_account_json

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.get_operation

get_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.GetOperationRequest
    ] = 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.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.get_operation

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.get_service

get_service(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.GetServiceRequest, 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.service_usage_v1.types.resources.Service

Returns the service configuration and enabled state for a given service.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.get_service

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.list_operations

list_operations(
    request: typing.Optional[
        google.longrunning.operations_pb2.ListOperationsRequest
    ] = 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.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.list_operations

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.list_services

list_services(
    request: typing.Optional[
        typing.Union[
            google.cloud.service_usage_v1.types.serviceusage.ListServicesRequest, 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.service_usage_v1.services.service_usage.pagers.ListServicesPager

List all services available to the specified project, and the current state of those services with respect to the project.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.list_services

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.parse_service_path

parse_service_path(path: str) -> typing.Dict[str, str]

Parses a service path into its component segments.

See more: google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.parse_service_path

google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient.service_path

service_path(project: str, service: str) -> str

google.cloud.service_usage_v1.services.service_usage.pagers.ListServicesAsyncPager

ListServicesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.service_usage_v1.types.serviceusage.ListServicesResponse
        ],
    ],
    request: google.cloud.service_usage_v1.types.serviceusage.ListServicesRequest,
    response: google.cloud.service_usage_v1.types.serviceusage.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]] = ()
)

google.cloud.service_usage_v1.services.service_usage.pagers.ListServicesPager

ListServicesPager(
    method: typing.Callable[
        [...], google.cloud.service_usage_v1.types.serviceusage.ListServicesResponse
    ],
    request: google.cloud.service_usage_v1.types.serviceusage.ListServicesRequest,
    response: google.cloud.service_usage_v1.types.serviceusage.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]] = ()
)