Summary of entries of Methods for servicecontrol.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient
QuotaControllerAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicecontrol_v1.services.quota_controller.transports.base.QuotaControllerTransport, typing.Callable[[...], google.cloud.servicecontrol_v1.services.quota_controller.transports.base.QuotaControllerTransport]]] = '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 quota controller async client.
See more: google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.allocate_quota
allocate_quota(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v1.types.quota_controller.AllocateQuotaRequest,
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.servicecontrol_v1.types.quota_controller.AllocateQuotaResponse
Attempts to allocate quota for the specified consumer.
See more: google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.allocate_quota
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.servicecontrol_v1.services.quota_controller.transports.base.QuotaControllerTransport
]
Returns an appropriate transport class.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient
QuotaControllerClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicecontrol_v1.services.quota_controller.transports.base.QuotaControllerTransport, typing.Callable[[...], google.cloud.servicecontrol_v1.services.quota_controller.transports.base.QuotaControllerTransport]]] = 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 quota controller client.
See more: google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.exit
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.allocate_quota
allocate_quota(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v1.types.quota_controller.AllocateQuotaRequest,
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.servicecontrol_v1.types.quota_controller.AllocateQuotaResponse
Attempts to allocate quota for the specified consumer.
See more: google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.allocate_quota
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.common_folder_path
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.common_location_path
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.common_project_path
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerClient.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.servicecontrol_v1.services.quota_controller.QuotaControllerClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicecontrol_v1.services.quota_controller.QuotaControllerClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient
ServiceControllerAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicecontrol_v1.services.service_controller.transports.base.ServiceControllerTransport, typing.Callable[[...], google.cloud.servicecontrol_v1.services.service_controller.transports.base.ServiceControllerTransport]]] = '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 controller async client.
See more: google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.check
check(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v1.types.service_controller.CheckRequest, 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.servicecontrol_v1.types.service_controller.CheckResponse
Checks whether an operation on a service should be allowed to proceed based on the configuration of the service and related policies.
See more: google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.check
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.servicecontrol_v1.services.service_controller.transports.base.ServiceControllerTransport
]
Returns an appropriate transport class.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.report
report(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v1.types.service_controller.ReportRequest, 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.servicecontrol_v1.types.service_controller.ReportResponse
Reports operation results to Google Service Control, such as logs and metrics.
See more: google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerAsyncClient.report
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient
ServiceControllerClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicecontrol_v1.services.service_controller.transports.base.ServiceControllerTransport, typing.Callable[[...], google.cloud.servicecontrol_v1.services.service_controller.transports.base.ServiceControllerTransport]]] = 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 controller client.
See more: google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.exit
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.check
check(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v1.types.service_controller.CheckRequest, 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.servicecontrol_v1.types.service_controller.CheckResponse
Checks whether an operation on a service should be allowed to proceed based on the configuration of the service and related policies.
See more: google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.check
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.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.servicecontrol_v1.services.service_controller.ServiceControllerClient.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.servicecontrol_v1.services.service_controller.ServiceControllerClient.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.servicecontrol_v1.services.service_controller.ServiceControllerClient.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.servicecontrol_v1.services.service_controller.ServiceControllerClient.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.servicecontrol_v1.services.service_controller.ServiceControllerClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.report
report(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v1.types.service_controller.ReportRequest, 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.servicecontrol_v1.types.service_controller.ReportResponse
Reports operation results to Google Service Control, such as logs and metrics.
See more: google.cloud.servicecontrol_v1.services.service_controller.ServiceControllerClient.report
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient
ServiceControllerAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicecontrol_v2.services.service_controller.transports.base.ServiceControllerTransport, typing.Callable[[...], google.cloud.servicecontrol_v2.services.service_controller.transports.base.ServiceControllerTransport]]] = '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 controller async client.
See more: google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.check
check(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v2.types.service_controller.CheckRequest, 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.servicecontrol_v2.types.service_controller.CheckResponse
Private Preview.
See more: google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.check
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.servicecontrol_v2.services.service_controller.transports.base.ServiceControllerTransport
]
Returns an appropriate transport class.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.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.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.report
report(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v2.types.service_controller.ReportRequest, 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.servicecontrol_v2.types.service_controller.ReportResponse
Private Preview.
See more: google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerAsyncClient.report
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient
ServiceControllerClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.servicecontrol_v2.services.service_controller.transports.base.ServiceControllerTransport, typing.Callable[[...], google.cloud.servicecontrol_v2.services.service_controller.transports.base.ServiceControllerTransport]]] = 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 controller client.
See more: google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.exit
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.check
check(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v2.types.service_controller.CheckRequest, 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.servicecontrol_v2.types.service_controller.CheckResponse
Private Preview.
See more: google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.check
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.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.servicecontrol_v2.services.service_controller.ServiceControllerClient.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.servicecontrol_v2.services.service_controller.ServiceControllerClient.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.servicecontrol_v2.services.service_controller.ServiceControllerClient.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.servicecontrol_v2.services.service_controller.ServiceControllerClient.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.servicecontrol_v2.services.service_controller.ServiceControllerClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.report
report(
request: typing.Optional[
typing.Union[
google.cloud.servicecontrol_v2.types.service_controller.ReportRequest, 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.servicecontrol_v2.types.service_controller.ReportResponse
Private Preview.
See more: google.cloud.servicecontrol_v2.services.service_controller.ServiceControllerClient.report