Summary of entries of Methods for google-cloud-sql.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient
BlueGreenDeploymentsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the blue green deployments service async client.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.blue_green_deployment_path
blue_green_deployment_path(
project: str, location: str, blue_green_deployment: str
) -> strReturns a fully-qualified blue_green_deployment string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.create_blue_green_deployment
create_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.CreateBlueGreenDeploymentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
blue_green_deployment: typing.Optional[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.BlueGreenDeployment
] = None,
blue_green_deployment_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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a blue-green deployment under a given project and location.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.delete_blue_green_deployment
delete_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.DeleteBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes a blue-green deployment.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.get_blue_green_deployment
get_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.GetBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.BlueGreenDeployment
)Retrieves a blue-green deployment resource under a given project and location.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.instance_path
instance_path(project: str, instance: str) -> strReturns a fully-qualified instance string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.list_blue_green_deployments
list_blue_green_deployments(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.services.blue_green_deployments_service.pagers.ListBlueGreenDeploymentsAsyncPager
)Lists blue-green deployments under a given project.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_blue_green_deployment_path
parse_blue_green_deployment_path(path: str) -> typing.Dict[str, str]Parses a blue_green_deployment path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]Parses a instance path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.switchover_blue_green_deployment
switchover_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.SwitchoverBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationSwitches over to green instance for a blue-green deployment.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient
BlueGreenDeploymentsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the blue green deployments service client.
See more: google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.blue_green_deployment_path
blue_green_deployment_path(
project: str, location: str, blue_green_deployment: str
) -> strReturns a fully-qualified blue_green_deployment string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.create_blue_green_deployment
create_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.CreateBlueGreenDeploymentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
blue_green_deployment: typing.Optional[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.BlueGreenDeployment
] = None,
blue_green_deployment_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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a blue-green deployment under a given project and location.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.delete_blue_green_deployment
delete_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.DeleteBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes a blue-green deployment.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.get_blue_green_deployment
get_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.GetBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.BlueGreenDeployment
)Retrieves a blue-green deployment resource under a given project and location.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.instance_path
instance_path(project: str, instance: str) -> strReturns a fully-qualified instance string.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.list_blue_green_deployments
list_blue_green_deployments(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.services.blue_green_deployments_service.pagers.ListBlueGreenDeploymentsPager
)Lists blue-green deployments under a given project.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_blue_green_deployment_path
parse_blue_green_deployment_path(path: str) -> typing.Dict[str, str]Parses a blue_green_deployment path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]Parses a instance path into its component segments.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.switchover_blue_green_deployment
switchover_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.SwitchoverBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationSwitches over to green instance for a blue-green deployment.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.pagers.ListBlueGreenDeploymentsAsyncPager
ListBlueGreenDeploymentsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsResponse
],
],
request: google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
google.cloud.sqladmin_v1.services.blue_green_deployments_service.pagers.ListBlueGreenDeploymentsPager
ListBlueGreenDeploymentsPager(
method: typing.Callable[
[...],
google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsResponse,
],
request: google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient
SqlAvailableDatabaseVersionsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.transports.base.SqlAvailableDatabaseVersionsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.transports.base.SqlAvailableDatabaseVersionsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql available database versions service async client.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.transports.base.SqlAvailableDatabaseVersionsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient
SqlAvailableDatabaseVersionsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.transports.base.SqlAvailableDatabaseVersionsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.transports.base.SqlAvailableDatabaseVersionsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql available database versions service client.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.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.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_available_database_versions_service.SqlAvailableDatabaseVersionsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient
SqlBackupRunsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql backup runs service async client.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes the backup taken by a backup run.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.delete
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.BackupRunRetrieves a resource containing information about a backup run.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.get
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a new backup run on demand.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.insert
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.services.sql_backup_runs_service.pagers.ListAsyncPagerLists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.list
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient
SqlBackupRunsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql backup runs service client.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.exit
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.crypto_key_path
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes the backup taken by a backup run.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.delete
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.BackupRunRetrieves a resource containing information about a backup run.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.get
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a new backup run on demand.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.insert
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.services.sql_backup_runs_service.pagers.ListPagerLists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.list
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1.services.sql_backup_runs_service.pagers.ListAsyncPager
ListAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.BackupRunsListResponse
],
],
request: google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsListRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.BackupRunsListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.pagers.ListAsyncPager
google.cloud.sqladmin_v1.services.sql_backup_runs_service.pagers.ListPager
ListPager(
method: typing.Callable[
[...],
google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.BackupRunsListResponse,
],
request: google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.SqlBackupRunsListRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_backup_runs.BackupRunsListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
See more: google.cloud.sqladmin_v1.services.sql_backup_runs_service.pagers.ListPager
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient
SqlBackupsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_backups_service.transports.base.SqlBackupsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_backups_service.transports.base.SqlBackupsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql backups service async client.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.backup_path
backup_path(project: str, backup: str) -> strReturns a fully-qualified backup string.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.backup_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.create_backup
create_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.CreateBackupRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
backup: typing.Optional[
google.cloud.sqladmin_v1.types.cloud_sql_backups.Backup
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a backup for a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.create_backup
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.crypto_key_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.delete_backup
delete_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.DeleteBackupRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes the backup.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.delete_backup
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.get_backup
get_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.GetBackupRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_backups.BackupRetrieves a resource containing information about a backup.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.get_backup
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_backups_service.transports.base.SqlBackupsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.list_backups
list_backups(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.ListBackupsRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.services.sql_backups_service.pagers.ListBackupsAsyncPagerLists all backups associated with the project.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.list_backups
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.network_attachment_path
network_attachment_path(project: str, region: str, network_attachment: str) -> strReturns a fully-qualified network_attachment string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_backup_path
parse_backup_path(path: str) -> typing.Dict[str, str]Parses a backup path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_backup_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_network_attachment_path
parse_network_attachment_path(path: str) -> typing.Dict[str, str]Parses a network_attachment path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_service_connection_policy_path
parse_service_connection_policy_path(path: str) -> typing.Dict[str, str]Parses a service_connection_policy path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.service_connection_policy_path
service_connection_policy_path(
project: str, region: str, service_connection_policy: str
) -> strReturns a fully-qualified service_connection_policy string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.update_backup
update_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.UpdateBackupRequest, dict
]
] = None,
*,
backup: typing.Optional[
google.cloud.sqladmin_v1.types.cloud_sql_backups.Backup
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationUpdates the retention period and description of the backup.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceAsyncClient.update_backup
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient
SqlBackupsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_backups_service.transports.base.SqlBackupsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_backups_service.transports.base.SqlBackupsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql backups service client.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.exit
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.backup_path
backup_path(project: str, backup: str) -> strReturns a fully-qualified backup string.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.backup_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.common_location_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.common_project_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.create_backup
create_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.CreateBackupRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
backup: typing.Optional[
google.cloud.sqladmin_v1.types.cloud_sql_backups.Backup
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a backup for a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.create_backup
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.crypto_key_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.delete_backup
delete_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.DeleteBackupRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes the backup.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.delete_backup
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.get_backup
get_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.GetBackupRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_backups.BackupRetrieves a resource containing information about a backup.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.get_backup
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.list_backups
list_backups(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.ListBackupsRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.services.sql_backups_service.pagers.ListBackupsPagerLists all backups associated with the project.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.list_backups
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.network_attachment_path
network_attachment_path(project: str, region: str, network_attachment: str) -> strReturns a fully-qualified network_attachment string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_backup_path
parse_backup_path(path: str) -> typing.Dict[str, str]Parses a backup path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_backup_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_crypto_key_path
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_network_attachment_path
parse_network_attachment_path(path: str) -> typing.Dict[str, str]Parses a network_attachment path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.parse_service_connection_policy_path
parse_service_connection_policy_path(path: str) -> typing.Dict[str, str]Parses a service_connection_policy path into its component segments.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.service_connection_policy_path
service_connection_policy_path(
project: str, region: str, service_connection_policy: str
) -> strReturns a fully-qualified service_connection_policy string.
google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.update_backup
update_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_backups.UpdateBackupRequest, dict
]
] = None,
*,
backup: typing.Optional[
google.cloud.sqladmin_v1.types.cloud_sql_backups.Backup
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationUpdates the retention period and description of the backup.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.SqlBackupsServiceClient.update_backup
google.cloud.sqladmin_v1.services.sql_backups_service.pagers.ListBackupsAsyncPager
ListBackupsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1.types.cloud_sql_backups.ListBackupsResponse
],
],
request: google.cloud.sqladmin_v1.types.cloud_sql_backups.ListBackupsRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_backups.ListBackupsResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.pagers.ListBackupsAsyncPager
google.cloud.sqladmin_v1.services.sql_backups_service.pagers.ListBackupsPager
ListBackupsPager(
method: typing.Callable[
[...], google.cloud.sqladmin_v1.types.cloud_sql_backups.ListBackupsResponse
],
request: google.cloud.sqladmin_v1.types.cloud_sql_backups.ListBackupsRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_backups.ListBackupsResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
See more: google.cloud.sqladmin_v1.services.sql_backups_service.pagers.ListBackupsPager
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient
SqlConnectServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_connect_service.transports.base.SqlConnectServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_connect_service.transports.base.SqlConnectServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql connect service async client.
See more: google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.generate_ephemeral_cert
generate_ephemeral_cert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_connect.GenerateEphemeralCertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_connect.GenerateEphemeralCertResponseGenerates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.get_connect_settings
get_connect_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_connect.GetConnectSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_connect.ConnectSettingsRetrieves connect settings about a Cloud SQL instance.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_connect_service.transports.base.SqlConnectServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceAsyncClient.resolve_connect_settings
resolve_connect_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_connect.ResolveConnectSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_connect.ConnectSettingsRetrieves connect settings about a Cloud SQL instance using the instance DNS name.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient
SqlConnectServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_connect_service.transports.base.SqlConnectServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_connect_service.transports.base.SqlConnectServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql connect service client.
See more: google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.exit
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.common_location_path
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.common_project_path
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.generate_ephemeral_cert
generate_ephemeral_cert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_connect.GenerateEphemeralCertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_connect.GenerateEphemeralCertResponseGenerates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.get_connect_settings
get_connect_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_connect.GetConnectSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_connect.ConnectSettingsRetrieves connect settings about a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.get_connect_settings
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_connect_service.SqlConnectServiceClient.resolve_connect_settings
resolve_connect_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_connect.ResolveConnectSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_connect.ConnectSettingsRetrieves connect settings about a Cloud SQL instance using the instance DNS name.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient
SqlDatabasesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql databases service async client.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes a database from a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.delete
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.DatabaseRetrieves a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.get
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationInserts a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.insert
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_databases.DatabasesListResponseLists databases in the specified Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.list
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPartially updates a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.patch
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationUpdates a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceAsyncClient.update
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient
SqlDatabasesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql databases service client.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.exit
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes a database from a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.delete
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.DatabaseRetrieves a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.get
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationInserts a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.insert
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_databases.DatabasesListResponseLists databases in the specified Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.list
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPartially updates a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.patch
google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_databases.SqlDatabasesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationUpdates a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_databases_service.SqlDatabasesServiceClient.update
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient
SqlEventsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_events_service.transports.base.SqlEventsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_events_service.transports.base.SqlEventsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql events service async client.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.common_project_path
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_events_service.transports.base.SqlEventsServiceTransport
]Returns an appropriate transport class.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.get_transport_class
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient
SqlEventsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_events_service.transports.base.SqlEventsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_events_service.transports.base.SqlEventsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql events service client.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.exit
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_location_path
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_organization_path
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.common_project_path
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.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.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.parse_common_folder_path
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_events_service.SqlEventsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient
SqlFeatureEligibilityServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.transports.base.SqlFeatureEligibilityServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.transports.base.SqlFeatureEligibilityServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql feature eligibility service async client.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.transports.base.SqlFeatureEligibilityServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient
SqlFeatureEligibilityServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.transports.base.SqlFeatureEligibilityServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.transports.base.SqlFeatureEligibilityServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql feature eligibility service client.
See more: google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.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.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_feature_eligibility_service.SqlFeatureEligibilityServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient
SqlFlagsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_flags_service.transports.base.SqlFlagsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_flags_service.transports.base.SqlFlagsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql flags service async client.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_location_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_project_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_flags_service.transports.base.SqlFlagsServiceTransport
]Returns an appropriate transport class.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.get_transport_class
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_flags.SqlFlagsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_flags.FlagsListResponseLists all available database flags for Cloud SQL instances.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.list
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient
SqlFlagsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_flags_service.transports.base.SqlFlagsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_flags_service.transports.base.SqlFlagsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql flags service client.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.exit
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_location_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_organization_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.common_project_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.from_service_account_file
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.from_service_account_info
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.from_service_account_json
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_flags.SqlFlagsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_flags.FlagsListResponseLists all available database flags for Cloud SQL instances.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.list
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.parse_common_folder_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.parse_common_location_path
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_flags_service.SqlFlagsServiceClient.parse_common_project_path
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient
SqlIamPoliciesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql iam policies service async client.
See more: google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient
SqlIamPoliciesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql iam policies service client.
See more: google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.exit
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient
SqlInstanceNamesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_instance_names_service.transports.base.SqlInstanceNamesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_instance_names_service.transports.base.SqlInstanceNamesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql instance names service async client.
See more: google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_instance_names_service.transports.base.SqlInstanceNamesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient
SqlInstanceNamesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_instance_names_service.transports.base.SqlInstanceNamesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_instance_names_service.transports.base.SqlInstanceNamesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql instance names service client.
See more: google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.exit
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.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.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_instance_names_service.SqlInstanceNamesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient
SqlInstancesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_instances_service.transports.base.SqlInstancesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_instances_service.transports.base.SqlInstancesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql instances service async client.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.acquire_ssrs_lease
acquire_ssrs_lease(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAcquireSsrsLeaseRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAcquireSsrsLeaseResponse
)Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.add_entra_id_certificate
add_entra_id_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAddEntraIdCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationAdds a new Entra ID certificate for the specified instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.add_server_ca
add_server_ca(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAddServerCaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationAdds a new trusted Certificate Authority (CA) version for the specified instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.add_server_ca
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.add_server_certificate
add_server_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAddServerCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationAdd a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.backup_dr_backup_path
backup_dr_backup_path(
project: str, location: str, backupvault: str, datasource: str, backup: str
) -> strReturns a fully-qualified backup_dr_backup string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.backup_path
backup_path(project: str, backup: str) -> strReturns a fully-qualified backup string.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.backup_path
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.clone
clone(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesCloneRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a Cloud SQL instance as a clone of the source instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.clone
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.create_ephemeral
create_ephemeral(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesCreateEphemeralCertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.SslCertGenerates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.delete
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.demote
demote(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesDemoteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDemotes an existing standalone instance to be a Cloud SQL read replica for an external database server.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.demote
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.demote_master
demote_master(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesDemoteMasterRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDemotes the stand-alone instance to be a Cloud SQL read replica for an external database server.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.demote_master
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.execute_sql
execute_sql(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesExecuteSqlRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesExecuteSqlResponseExecute SQL statements.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.execute_sql
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.export
export(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesExportRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationExports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.export
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.failover
failover(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesFailoverRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationInitiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.failover
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_instances.DatabaseInstanceRetrieves a resource containing information about a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.get
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.get_disk_shrink_config
get_disk_shrink_config(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetDiskShrinkConfigRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetDiskShrinkConfigResponse
)Get Disk Shrink Config for a given instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.get_latest_recovery_time
get_latest_recovery_time(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetLatestRecoveryTimeRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetLatestRecoveryTimeResponse
)Get Latest Recovery Time for a given instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_instances_service.transports.base.SqlInstancesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.import_
import_(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesImportRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationImports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.import_
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a new Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.insert
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.services.sql_instances_service.pagers.ListAsyncPagerLists instances under a given project.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.list
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.list_entra_id_certificates
list_entra_id_certificates(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListEntraIdCertificatesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListEntraIdCertificatesResponse
)Lists all versions of EntraID certificates for the specified instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.list_server_cas
list_server_cas(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListServerCasRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListServerCasResponseLists all of the trusted Certificate Authorities (CAs) for the specified instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.list_server_certificates
list_server_certificates(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListServerCertificatesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListServerCertificatesResponse
)Lists all versions of server certificates and certificate authorities (CAs) for the specified instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.network_attachment_path
network_attachment_path(project: str, region: str, network_attachment: str) -> strReturns a fully-qualified network_attachment string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.network_path
network_path(project: str, network: str) -> strReturns a fully-qualified network string.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.network_path
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_backup_dr_backup_path
parse_backup_dr_backup_path(path: str) -> typing.Dict[str, str]Parses a backup_dr_backup path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_backup_path
parse_backup_path(path: str) -> typing.Dict[str, str]Parses a backup path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_network_attachment_path
parse_network_attachment_path(path: str) -> typing.Dict[str, str]Parses a network_attachment path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]Parses a network path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]Parses a secret_version path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_service_connection_policy_path
parse_service_connection_policy_path(path: str) -> typing.Dict[str, str]Parses a service_connection_policy path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPatchRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPartially updates settings of a Cloud SQL instance by merging the request with the current configuration.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.patch
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.perform_disk_shrink
perform_disk_shrink(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPerformDiskShrinkRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPerform Disk Shrink on primary instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.point_in_time_restore
point_in_time_restore(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPointInTimeRestoreRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPoint in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.pre_check_major_version_upgrade
pre_check_major_version_upgrade(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPreCheckMajorVersionUpgradeRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationExecute MVU Pre-checks.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.promote_replica
promote_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPromoteReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPromotes the read replica instance to be an independent Cloud SQL primary instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.reencrypt
reencrypt(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesReencryptRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationReencrypt CMEK instance with latest key version.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.reencrypt
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.release_ssrs_lease
release_ssrs_lease(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesReleaseSsrsLeaseRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesReleaseSsrsLeaseResponse
)Release a lease for the setup of SQL Server Reporting Services (SSRS).
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.reschedule_maintenance
reschedule_maintenance(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRescheduleMaintenanceRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationReschedules the maintenance on the given instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.reset_replica_size
reset_replica_size(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesResetReplicaSizeRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationReset Replica Size to primary instance disk size.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.reset_ssl_config
reset_ssl_config(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesResetSslConfigRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes all client certificates and generates a new server SSL certificate for the instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.restart
restart(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRestartRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRestarts a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.restart
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.restore_backup
restore_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRestoreBackupRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRestores a backup of a Cloud SQL instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.rotate_entra_id_certificate
rotate_entra_id_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRotateEntraIdCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRotates the server certificate version to one previously added with the addEntraIdCertificate method.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.rotate_server_ca
rotate_server_ca(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRotateServerCaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.rotate_server_certificate
rotate_server_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRotateServerCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRotates the server certificate version to one previously added with the addServerCertificate method.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> strReturns a fully-qualified secret_version string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.service_connection_policy_path
service_connection_policy_path(
project: str, region: str, service_connection_policy: str
) -> strReturns a fully-qualified service_connection_policy string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.start_external_sync
start_external_sync(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesStartExternalSyncRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStart External primary instance migration.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.start_replica
start_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesStartReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStarts the replication in the read replica instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.start_replica
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.stop_replica
stop_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesStopReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStops the replication in the read replica instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.stop_replica
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.switchover
switchover(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesSwitchoverRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationSwitches over from the primary instance to the DR replica instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.switchover
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.truncate_log
truncate_log(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesTruncateLogRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationTruncate MySQL general and slow query log tables MySQL only.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.truncate_log
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationUpdates settings of a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.update
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceAsyncClient.verify_external_sync_settings
verify_external_sync_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesVerifyExternalSyncSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesVerifyExternalSyncSettingsResponse
)Verify External primary instance external sync settings.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient
SqlInstancesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_instances_service.transports.base.SqlInstancesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_instances_service.transports.base.SqlInstancesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql instances service client.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.exit
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.acquire_ssrs_lease
acquire_ssrs_lease(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAcquireSsrsLeaseRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAcquireSsrsLeaseResponse
)Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.acquire_ssrs_lease
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.add_entra_id_certificate
add_entra_id_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAddEntraIdCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationAdds a new Entra ID certificate for the specified instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.add_server_ca
add_server_ca(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAddServerCaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationAdds a new trusted Certificate Authority (CA) version for the specified instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.add_server_ca
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.add_server_certificate
add_server_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesAddServerCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationAdd a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.backup_dr_backup_path
backup_dr_backup_path(
project: str, location: str, backupvault: str, datasource: str, backup: str
) -> strReturns a fully-qualified backup_dr_backup string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.backup_path
backup_path(project: str, backup: str) -> strReturns a fully-qualified backup string.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.backup_path
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.clone
clone(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesCloneRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a Cloud SQL instance as a clone of the source instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.clone
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.create_ephemeral
create_ephemeral(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesCreateEphemeralCertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.SslCertGenerates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.create_ephemeral
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.crypto_key_path
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.delete
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.demote
demote(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesDemoteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDemotes an existing standalone instance to be a Cloud SQL read replica for an external database server.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.demote
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.demote_master
demote_master(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesDemoteMasterRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDemotes the stand-alone instance to be a Cloud SQL read replica for an external database server.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.demote_master
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.execute_sql
execute_sql(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesExecuteSqlRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesExecuteSqlResponseExecute SQL statements.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.execute_sql
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.export
export(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesExportRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationExports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.export
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.failover
failover(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesFailoverRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationInitiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.failover
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_instances.DatabaseInstanceRetrieves a resource containing information about a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.get
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.get_disk_shrink_config
get_disk_shrink_config(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetDiskShrinkConfigRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetDiskShrinkConfigResponse
)Get Disk Shrink Config for a given instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.get_latest_recovery_time
get_latest_recovery_time(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetLatestRecoveryTimeRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesGetLatestRecoveryTimeResponse
)Get Latest Recovery Time for a given instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.import_
import_(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesImportRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationImports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.import_
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a new Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.insert
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.services.sql_instances_service.pagers.ListPagerLists instances under a given project.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.list
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.list_entra_id_certificates
list_entra_id_certificates(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListEntraIdCertificatesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListEntraIdCertificatesResponse
)Lists all versions of EntraID certificates for the specified instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.list_server_cas
list_server_cas(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListServerCasRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListServerCasResponseLists all of the trusted Certificate Authorities (CAs) for the specified instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.list_server_cas
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.list_server_certificates
list_server_certificates(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListServerCertificatesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListServerCertificatesResponse
)Lists all versions of server certificates and certificate authorities (CAs) for the specified instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.network_attachment_path
network_attachment_path(project: str, region: str, network_attachment: str) -> strReturns a fully-qualified network_attachment string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.network_path
network_path(project: str, network: str) -> strReturns a fully-qualified network string.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.network_path
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_backup_dr_backup_path
parse_backup_dr_backup_path(path: str) -> typing.Dict[str, str]Parses a backup_dr_backup path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_backup_path
parse_backup_path(path: str) -> typing.Dict[str, str]Parses a backup path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_backup_path
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_network_attachment_path
parse_network_attachment_path(path: str) -> typing.Dict[str, str]Parses a network_attachment path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]Parses a network path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_network_path
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]Parses a secret_version path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.parse_service_connection_policy_path
parse_service_connection_policy_path(path: str) -> typing.Dict[str, str]Parses a service_connection_policy path into its component segments.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPatchRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPartially updates settings of a Cloud SQL instance by merging the request with the current configuration.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.patch
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.perform_disk_shrink
perform_disk_shrink(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPerformDiskShrinkRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPerform Disk Shrink on primary instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.point_in_time_restore
point_in_time_restore(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPointInTimeRestoreRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPoint in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.pre_check_major_version_upgrade
pre_check_major_version_upgrade(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPreCheckMajorVersionUpgradeRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationExecute MVU Pre-checks.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.promote_replica
promote_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesPromoteReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationPromotes the read replica instance to be an independent Cloud SQL primary instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.promote_replica
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.reencrypt
reencrypt(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesReencryptRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationReencrypt CMEK instance with latest key version.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.reencrypt
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.release_ssrs_lease
release_ssrs_lease(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesReleaseSsrsLeaseRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesReleaseSsrsLeaseResponse
)Release a lease for the setup of SQL Server Reporting Services (SSRS).
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.release_ssrs_lease
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.reschedule_maintenance
reschedule_maintenance(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRescheduleMaintenanceRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationReschedules the maintenance on the given instance.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.reset_replica_size
reset_replica_size(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesResetReplicaSizeRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationReset Replica Size to primary instance disk size.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.reset_replica_size
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.reset_ssl_config
reset_ssl_config(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesResetSslConfigRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes all client certificates and generates a new server SSL certificate for the instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.reset_ssl_config
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.restart
restart(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRestartRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRestarts a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.restart
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.restore_backup
restore_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRestoreBackupRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRestores a backup of a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.restore_backup
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.rotate_entra_id_certificate
rotate_entra_id_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRotateEntraIdCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRotates the server certificate version to one previously added with the addEntraIdCertificate method.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.rotate_server_ca
rotate_server_ca(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRotateServerCaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.rotate_server_ca
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.rotate_server_certificate
rotate_server_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesRotateServerCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRotates the server certificate version to one previously added with the addServerCertificate method.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> strReturns a fully-qualified secret_version string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.service_connection_policy_path
service_connection_policy_path(
project: str, region: str, service_connection_policy: str
) -> strReturns a fully-qualified service_connection_policy string.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.start_external_sync
start_external_sync(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesStartExternalSyncRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStart External primary instance migration.
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.start_replica
start_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesStartReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStarts the replication in the read replica instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.start_replica
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.stop_replica
stop_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesStopReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStops the replication in the read replica instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.stop_replica
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.switchover
switchover(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesSwitchoverRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationSwitches over from the primary instance to the DR replica instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.switchover
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.truncate_log
truncate_log(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesTruncateLogRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationTruncate MySQL general and slow query log tables MySQL only.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.truncate_log
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationUpdates settings of a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.update
google.cloud.sqladmin_v1.services.sql_instances_service.SqlInstancesServiceClient.verify_external_sync_settings
verify_external_sync_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesVerifyExternalSyncSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesVerifyExternalSyncSettingsResponse
)Verify External primary instance external sync settings.
google.cloud.sqladmin_v1.services.sql_instances_service.pagers.ListAsyncPager
ListAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListResponse
],
],
request: google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.pagers.ListAsyncPager
google.cloud.sqladmin_v1.services.sql_instances_service.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListResponse
],
request: google.cloud.sqladmin_v1.types.cloud_sql_instances.SqlInstancesListRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_instances.InstancesListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
See more: google.cloud.sqladmin_v1.services.sql_instances_service.pagers.ListPager
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient
SqlOperationsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_operations_service.transports.base.SqlOperationsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_operations_service.transports.base.SqlOperationsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql operations service async client.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.cancel
cancel(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_operations.SqlOperationsCancelRequest,
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, typing.Union[str, bytes]]] = ()
) -> NoneCancels an instance operation that has been performed on an instance.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.cancel
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_operations.SqlOperationsGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRetrieves an instance operation that has been performed on an instance.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.get
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_operations_service.transports.base.SqlOperationsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_operations.SqlOperationsListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.services.sql_operations_service.pagers.ListAsyncPagerLists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.list
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient
SqlOperationsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_operations_service.transports.base.SqlOperationsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_operations_service.transports.base.SqlOperationsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql operations service client.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.exit
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.cancel
cancel(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_operations.SqlOperationsCancelRequest,
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, typing.Union[str, bytes]]] = ()
) -> NoneCancels an instance operation that has been performed on an instance.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.cancel
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_operations.SqlOperationsGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationRetrieves an instance operation that has been performed on an instance.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.get
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_operations.SqlOperationsListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.services.sql_operations_service.pagers.ListPagerLists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.list
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_operations_service.SqlOperationsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_operations_service.pagers.ListAsyncPager
ListAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1.types.cloud_sql_operations.OperationsListResponse
],
],
request: google.cloud.sqladmin_v1.types.cloud_sql_operations.SqlOperationsListRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_operations.OperationsListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.pagers.ListAsyncPager
google.cloud.sqladmin_v1.services.sql_operations_service.pagers.ListPager
ListPager(
method: typing.Callable[
[...],
google.cloud.sqladmin_v1.types.cloud_sql_operations.OperationsListResponse,
],
request: google.cloud.sqladmin_v1.types.cloud_sql_operations.SqlOperationsListRequest,
response: google.cloud.sqladmin_v1.types.cloud_sql_operations.OperationsListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
See more: google.cloud.sqladmin_v1.services.sql_operations_service.pagers.ListPager
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient
SqlRegionsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_regions_service.transports.base.SqlRegionsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_regions_service.transports.base.SqlRegionsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql regions service async client.
See more: google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_regions_service.transports.base.SqlRegionsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient
SqlRegionsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_regions_service.transports.base.SqlRegionsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_regions_service.transports.base.SqlRegionsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql regions service client.
See more: google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.exit
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.common_location_path
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.common_project_path
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.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.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_regions_service.SqlRegionsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient
SqlSslCertsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql ssl certs service async client.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SqlSslCertsDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes the SSL certificate.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.delete
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SqlSslCertsGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.SslCertRetrieves a particular SSL certificate.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.get
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SqlSslCertsInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SslCertsInsertResponseCreates an SSL certificate and returns it along with the private key and server certificate authority.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.insert
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SqlSslCertsListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SslCertsListResponseLists all of the current SSL certificates for the instance.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.list
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient
SqlSslCertsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql ssl certs service client.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.exit
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_project_path
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SqlSslCertsDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes the SSL certificate.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.delete
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SqlSslCertsGetRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.SslCertRetrieves a particular SSL certificate.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.get
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SqlSslCertsInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SslCertsInsertResponseCreates an SSL certificate and returns it along with the private key and server certificate authority.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.insert
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SqlSslCertsListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_ssl_certs.SslCertsListResponseLists all of the current SSL certificates for the instance.
See more: google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.list
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_ssl_certs_service.SqlSslCertsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient
SqlTiersServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_tiers_service.transports.base.SqlTiersServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_tiers_service.transports.base.SqlTiersServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql tiers service async client.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_location_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_project_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_tiers_service.transports.base.SqlTiersServiceTransport
]Returns an appropriate transport class.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.get_transport_class
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_tiers.SqlTiersListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_tiers.TiersListResponseLists all available machine types (tiers) for Cloud SQL, for
example, db-custom-1-3840.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.list
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient
SqlTiersServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_tiers_service.transports.base.SqlTiersServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_tiers_service.transports.base.SqlTiersServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql tiers service client.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.exit
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_location_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_organization_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.common_project_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.from_service_account_file
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.from_service_account_info
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.from_service_account_json
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_tiers.SqlTiersListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_tiers.TiersListResponseLists all available machine types (tiers) for Cloud SQL, for
example, db-custom-1-3840.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.list
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.parse_common_folder_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.parse_common_location_path
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_tiers_service.SqlTiersServiceClient.parse_common_project_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient
SqlUsersServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_users_service.transports.base.SqlUsersServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_users_service.transports.base.SqlUsersServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql users service async client.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.common_location_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.common_project_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersDeleteRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes a user from a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.delete
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_users.UserRetrieves a resource containing information about a user.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.get
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_users_service.transports.base.SqlUsersServiceTransport
]Returns an appropriate transport class.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.get_transport_class
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersInsertRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a new user in a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.insert
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_users.UsersListResponseLists users in the specified Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.list
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersUpdateRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationUpdates an existing user in a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceAsyncClient.update
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient
SqlUsersServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_users_service.transports.base.SqlUsersServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_users_service.transports.base.SqlUsersServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql users service client.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.exit
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_folder_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_location_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_organization_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.common_project_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersDeleteRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationDeletes a user from a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.delete
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.from_service_account_file
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.from_service_account_info
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.from_service_account_json
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_users.UserRetrieves a resource containing information about a user.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.get
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersInsertRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationCreates a new user in a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.insert
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_users.UsersListResponseLists users in the specified Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.list
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.parse_common_folder_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.parse_common_location_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.parse_common_project_path
google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_users.SqlUsersUpdateRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationUpdates an existing user in a Cloud SQL instance.
See more: google.cloud.sqladmin_v1.services.sql_users_service.SqlUsersServiceClient.update
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient
SqlWorkloadCapturesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql workload captures service async client.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.instance_path
instance_path(project: str, instance: str) -> strReturns a fully-qualified instance string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.SqlWorkloadCapturesListRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesListResponse
)Lists all captured workloads associated with the instance.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]Parses a instance path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.start
start(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesStartRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStarts capturing the SQL queries, transactions, and other operations executed on the primary instance.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.start_replay
start_replay(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStarts executing a captured workload on a separate Cloud SQL instance provisioned for workload replay.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.stop
stop(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesStopRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStops capturing the query traffic and related operations executed on the primary instance.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.stop_replay
stop_replay(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStops an active workload replay on the target Cloud SQL replay instance.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient
SqlWorkloadCapturesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql workload captures service client.
See more: google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.instance_path
instance_path(project: str, instance: str) -> strReturns a fully-qualified instance string.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.SqlWorkloadCapturesListRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesListResponse
)Lists all captured workloads associated with the instance.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]Parses a instance path into its component segments.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.start
start(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesStartRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStarts capturing the SQL queries, transactions, and other operations executed on the primary instance.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.start_replay
start_replay(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStarts executing a captured workload on a separate Cloud SQL instance provisioned for workload replay.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.stop
stop(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesStopRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStops capturing the query traffic and related operations executed on the primary instance.
google.cloud.sqladmin_v1.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.stop_replay
stop_replay(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1.types.cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1.types.cloud_sql_resources.OperationStops an active workload replay on the target Cloud SQL replay instance.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient
BlueGreenDeploymentsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the blue green deployments service async client.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.blue_green_deployment_path
blue_green_deployment_path(
project: str, location: str, blue_green_deployment: str
) -> strReturns a fully-qualified blue_green_deployment string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.create_blue_green_deployment
create_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.CreateBlueGreenDeploymentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
blue_green_deployment: typing.Optional[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.BlueGreenDeployment
] = None,
blue_green_deployment_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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a blue-green deployment under a given project and location.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.delete_blue_green_deployment
delete_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.DeleteBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes a blue-green deployment, including metadata and underlying resources based on the deployment state.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.get_blue_green_deployment
get_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.GetBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.BlueGreenDeployment
)Retrieves a blue-green deployment resource under a given project and location.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.list_blue_green_deployments
list_blue_green_deployments(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.pagers.ListBlueGreenDeploymentsAsyncPager
)Lists blue-green deployments under a given project.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_blue_green_deployment_path
parse_blue_green_deployment_path(path: str) -> typing.Dict[str, str]Parses a blue_green_deployment path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceAsyncClient.switchover_blue_green_deployment
switchover_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.SwitchoverBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationSwitches over to green instance for a blue-green deployment.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient
BlueGreenDeploymentsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.transports.base.BlueGreenDeploymentsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the blue green deployments service client.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.blue_green_deployment_path
blue_green_deployment_path(
project: str, location: str, blue_green_deployment: str
) -> strReturns a fully-qualified blue_green_deployment string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.create_blue_green_deployment
create_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.CreateBlueGreenDeploymentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
blue_green_deployment: typing.Optional[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.BlueGreenDeployment
] = None,
blue_green_deployment_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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a blue-green deployment under a given project and location.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.delete_blue_green_deployment
delete_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.DeleteBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes a blue-green deployment, including metadata and underlying resources based on the deployment state.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.get_blue_green_deployment
get_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.GetBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.BlueGreenDeployment
)Retrieves a blue-green deployment resource under a given project and location.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.list_blue_green_deployments
list_blue_green_deployments(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.pagers.ListBlueGreenDeploymentsPager
)Lists blue-green deployments under a given project.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_blue_green_deployment_path
parse_blue_green_deployment_path(path: str) -> typing.Dict[str, str]Parses a blue_green_deployment path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.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.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.BlueGreenDeploymentsServiceClient.switchover_blue_green_deployment
switchover_blue_green_deployment(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.SwitchoverBlueGreenDeploymentRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationSwitches over to green instance for a blue-green deployment.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.pagers.ListBlueGreenDeploymentsAsyncPager
ListBlueGreenDeploymentsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsResponse
],
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
google.cloud.sqladmin_v1beta4.services.blue_green_deployments_service.pagers.ListBlueGreenDeploymentsPager
ListBlueGreenDeploymentsPager(
method: typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsResponse,
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql_blue_green_deployments.ListBlueGreenDeploymentsResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient
SqlBackupRunsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql backup runs service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes the backup taken by a backup run.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.BackupRunRetrieves a resource containing information about a backup run.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.get
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a new backup run on demand.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.pagers.ListAsyncPager
)Lists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.list
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceAsyncClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient
SqlBackupRunsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.transports.base.SqlBackupRunsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql backup runs service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes the backup taken by a backup run.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.delete
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.BackupRunRetrieves a resource containing information about a backup run.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.get
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a new backup run on demand.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.insert
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.pagers.ListPagerLists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.list
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.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.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.SqlBackupRunsServiceClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.pagers.ListAsyncPager
ListAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.BackupRunsListResponse
],
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsListRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.BackupRunsListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.pagers.ListAsyncPager
google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.pagers.ListPager
ListPager(
method: typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.BackupRunsListResponse,
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlBackupRunsListRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.BackupRunsListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
See more: google.cloud.sqladmin_v1beta4.services.sql_backup_runs_service.pagers.ListPager
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient
SqlBackupsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_backups_service.transports.base.SqlBackupsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_backups_service.transports.base.SqlBackupsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql backups service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.backup_path
backup_path(project: str, backup: str) -> strReturns a fully-qualified backup string.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.backup_path
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.create_backup
create_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.CreateBackupRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
backup: typing.Optional[
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.Backup
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a backup for a Cloud SQL instance.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.delete_backup
delete_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.DeleteBackupRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes the backup.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.get_backup
get_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.GetBackupRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.BackupRetrieves a resource containing information about a backup.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.get_backup
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_backups_service.transports.base.SqlBackupsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.list_backups
list_backups(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.ListBackupsRequest, 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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.services.sql_backups_service.pagers.ListBackupsAsyncPager
)Lists all backups associated with the project.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.list_backups
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.network_attachment_path
network_attachment_path(project: str, region: str, network_attachment: str) -> strReturns a fully-qualified network_attachment string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_backup_path
parse_backup_path(path: str) -> typing.Dict[str, str]Parses a backup path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_network_attachment_path
parse_network_attachment_path(path: str) -> typing.Dict[str, str]Parses a network_attachment path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.parse_service_connection_policy_path
parse_service_connection_policy_path(path: str) -> typing.Dict[str, str]Parses a service_connection_policy path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.service_connection_policy_path
service_connection_policy_path(
project: str, region: str, service_connection_policy: str
) -> strReturns a fully-qualified service_connection_policy string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceAsyncClient.update_backup
update_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.UpdateBackupRequest, dict
]
] = None,
*,
backup: typing.Optional[
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.Backup
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationUpdates the retention period and the description of the backup.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient
SqlBackupsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_backups_service.transports.base.SqlBackupsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_backups_service.transports.base.SqlBackupsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql backups service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.backup_path
backup_path(project: str, backup: str) -> strReturns a fully-qualified backup string.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.backup_path
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.create_backup
create_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.CreateBackupRequest, dict
]
] = None,
*,
parent: typing.Optional[str] = None,
backup: typing.Optional[
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.Backup
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a backup for a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.create_backup
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.crypto_key_path
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.delete_backup
delete_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.DeleteBackupRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes the backup.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.delete_backup
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.get_backup
get_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.GetBackupRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.BackupRetrieves a resource containing information about a backup.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.get_backup
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.list_backups
list_backups(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.ListBackupsRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.services.sql_backups_service.pagers.ListBackupsPagerLists all backups associated with the project.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.list_backups
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.network_attachment_path
network_attachment_path(project: str, region: str, network_attachment: str) -> strReturns a fully-qualified network_attachment string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_backup_path
parse_backup_path(path: str) -> typing.Dict[str, str]Parses a backup path into its component segments.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_backup_path
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.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.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_network_attachment_path
parse_network_attachment_path(path: str) -> typing.Dict[str, str]Parses a network_attachment path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.parse_service_connection_policy_path
parse_service_connection_policy_path(path: str) -> typing.Dict[str, str]Parses a service_connection_policy path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.service_connection_policy_path
service_connection_policy_path(
project: str, region: str, service_connection_policy: str
) -> strReturns a fully-qualified service_connection_policy string.
google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.update_backup
update_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.UpdateBackupRequest, dict
]
] = None,
*,
backup: typing.Optional[
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.Backup
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationUpdates the retention period and the description of the backup.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.SqlBackupsServiceClient.update_backup
google.cloud.sqladmin_v1beta4.services.sql_backups_service.pagers.ListBackupsAsyncPager
ListBackupsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1beta4.types.cloud_sql.ListBackupsResponse
],
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql.ListBackupsRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql.ListBackupsResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.pagers.ListBackupsAsyncPager
google.cloud.sqladmin_v1beta4.services.sql_backups_service.pagers.ListBackupsPager
ListBackupsPager(
method: typing.Callable[
[...], google.cloud.sqladmin_v1beta4.types.cloud_sql.ListBackupsResponse
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql.ListBackupsRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql.ListBackupsResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
See more: google.cloud.sqladmin_v1beta4.services.sql_backups_service.pagers.ListBackupsPager
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient
SqlConnectServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_connect_service.transports.base.SqlConnectServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_connect_service.transports.base.SqlConnectServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql connect service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.generate_ephemeral_cert
generate_ephemeral_cert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.GenerateEphemeralCertRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.GenerateEphemeralCertResponse
)Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.get_connect_settings
get_connect_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.GetConnectSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.ConnectSettingsRetrieves connect settings about a Cloud SQL instance.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_connect_service.transports.base.SqlConnectServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceAsyncClient.resolve_connect_settings
resolve_connect_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.ResolveConnectSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.ConnectSettingsRetrieves connect settings about a Cloud SQL instance using the instance DNS name.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient
SqlConnectServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_connect_service.transports.base.SqlConnectServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_connect_service.transports.base.SqlConnectServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql connect service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.generate_ephemeral_cert
generate_ephemeral_cert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.GenerateEphemeralCertRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.GenerateEphemeralCertResponse
)Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.get_connect_settings
get_connect_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.GetConnectSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.ConnectSettingsRetrieves connect settings about a Cloud SQL instance.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.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.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_connect_service.SqlConnectServiceClient.resolve_connect_settings
resolve_connect_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.ResolveConnectSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_connect.ConnectSettingsRetrieves connect settings about a Cloud SQL instance using the instance DNS name.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient
SqlDataServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_data_service.transports.base.SqlDataServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_data_service.transports.base.SqlDataServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql data service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.common_folder_path
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_data_service.transports.base.SqlDataServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.instance_path
instance_path(project: str, instance: str) -> strReturns a fully-qualified instance string.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.instance_path
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]Parses a instance path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.stream_sql_data
stream_sql_data(
requests: typing.Optional[
typing.AsyncIterator[
google.cloud.sqladmin_v1beta4.types.cloud_sql_data.StreamSqlDataRequest
]
] = 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, typing.Union[str, bytes]]] = ()
) -> typing.Awaitable[
typing.AsyncIterable[
google.cloud.sqladmin_v1beta4.types.cloud_sql_data.StreamSqlDataResponse
]
]StreamSqlData establishes a bidirectional stream to a Cloud
SQL instance, and then streams data to and from the instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceAsyncClient.stream_sql_data
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient
SqlDataServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_data_service.transports.base.SqlDataServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_data_service.transports.base.SqlDataServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql data service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.common_folder_path
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.common_location_path
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.common_project_path
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.instance_path
instance_path(project: str, instance: str) -> strReturns a fully-qualified instance string.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.instance_path
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.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.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]Parses a instance path into its component segments.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.parse_instance_path
google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.stream_sql_data
stream_sql_data(
requests: typing.Optional[
typing.Iterator[
google.cloud.sqladmin_v1beta4.types.cloud_sql_data.StreamSqlDataRequest
]
] = 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, typing.Union[str, bytes]]] = ()
) -> typing.Iterable[
google.cloud.sqladmin_v1beta4.types.cloud_sql_data.StreamSqlDataResponse
]StreamSqlData establishes a bidirectional stream to a Cloud
SQL instance, and then streams data to and from the instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_data_service.SqlDataServiceClient.stream_sql_data
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient
SqlDatabasesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql databases service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes a database from a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.delete
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.DatabaseRetrieves a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.get
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationInserts a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.insert
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.DatabasesListResponseLists databases in the specified Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.list
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPartially updates a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.patch
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationUpdates a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceAsyncClient.update
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient
SqlDatabasesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_databases_service.transports.base.SqlDatabasesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql databases service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes a database from a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.delete
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.DatabaseRetrieves a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.get
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationInserts a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.insert
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.DatabasesListResponseLists databases in the specified Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.list
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.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.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPartially updates a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.patch
google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlDatabasesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationUpdates a resource containing information about a database inside a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_databases_service.SqlDatabasesServiceClient.update
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient
SqlFlagsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_flags_service.transports.base.SqlFlagsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_flags_service.transports.base.SqlFlagsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql flags service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_flags_service.transports.base.SqlFlagsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlFlagsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.FlagsListResponseLists all available database flags for Cloud SQL instances.
See more: google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.list
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient
SqlFlagsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_flags_service.transports.base.SqlFlagsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_flags_service.transports.base.SqlFlagsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql flags service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.common_folder_path
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.common_location_path
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.common_project_path
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlFlagsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.FlagsListResponseLists all available database flags for Cloud SQL instances.
See more: google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.list
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.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.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_flags_service.SqlFlagsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient
SqlIamPoliciesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql iam policies service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient
SqlIamPoliciesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.transports.base.SqlIamPoliciesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql iam policies service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.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.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_iam_policies_service.SqlIamPoliciesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient
SqlInstancesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_instances_service.transports.base.SqlInstancesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_instances_service.transports.base.SqlInstancesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql instances service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.acquire_ssrs_lease
acquire_ssrs_lease(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAcquireSsrsLeaseRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAcquireSsrsLeaseResponseAcquire a lease for the setup of SQL Server Reporting Services (SSRS).
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.add_entra_id_certificate
add_entra_id_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAddEntraIdCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationAdds a new Entra ID certificate for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.add_server_ca
add_server_ca(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAddServerCaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationAdd a new trusted Certificate Authority (CA) version for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.add_server_certificate
add_server_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAddServerCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationAdd a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.backup_dr_backup_path
backup_dr_backup_path(
project: str, location: str, backupvault: str, datasource: str, backup: str
) -> strReturns a fully-qualified backup_dr_backup string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.backup_path
backup_path(project: str, backup: str) -> strReturns a fully-qualified backup string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.clone
clone(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesCloneRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a Cloud SQL instance as a clone of the source instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.clone
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.create_ephemeral
create_ephemeral(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesCreateEphemeralCertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SslCertGenerates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.delete
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.demote
demote(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesDemoteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDemotes an existing standalone instance to be a Cloud SQL read replica for an external database server.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.demote
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.demote_master
demote_master(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesDemoteMasterRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDemotes the stand-alone instance to be a Cloud SQL read replica for an external database server.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.execute_sql
execute_sql(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesExecuteSqlRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesExecuteSqlResponseExecute SQL statements.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.export
export(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesExportRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationExports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.export
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.failover
failover(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesFailoverRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationInitiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.failover
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.DatabaseInstanceRetrieves a resource containing information about a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.get
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.get_disk_shrink_config
get_disk_shrink_config(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesGetDiskShrinkConfigRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SqlInstancesGetDiskShrinkConfigResponse
)Get Disk Shrink Config for a given instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.get_latest_recovery_time
get_latest_recovery_time(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesGetLatestRecoveryTimeRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesGetLatestRecoveryTimeResponse
)Get Latest Recovery Time for a given instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_instances_service.transports.base.SqlInstancesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.import_
import_(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesImportRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationImports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.import_
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a new Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.insert
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.services.sql_instances_service.pagers.ListAsyncPagerLists instances under a given project.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.list
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.list_entra_id_certificates
list_entra_id_certificates(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListEntraIdCertificatesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListEntraIdCertificatesResponse
)Lists all versions of EntraID certificates for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.list_server_cas
list_server_cas(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListServerCasRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListServerCasResponse
)Lists all of the trusted Certificate Authorities (CAs) for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.list_server_certificates
list_server_certificates(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListServerCertificatesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListServerCertificatesResponse
)Lists all versions of server certificates and certificate authorities (CAs) for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.network_attachment_path
network_attachment_path(project: str, region: str, network_attachment: str) -> strReturns a fully-qualified network_attachment string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.network_path
network_path(project: str, network: str) -> strReturns a fully-qualified network string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_backup_dr_backup_path
parse_backup_dr_backup_path(path: str) -> typing.Dict[str, str]Parses a backup_dr_backup path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_backup_path
parse_backup_path(path: str) -> typing.Dict[str, str]Parses a backup path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_network_attachment_path
parse_network_attachment_path(path: str) -> typing.Dict[str, str]Parses a network_attachment path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]Parses a network path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]Parses a secret_version path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.parse_service_connection_policy_path
parse_service_connection_policy_path(path: str) -> typing.Dict[str, str]Parses a service_connection_policy path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPatchRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPartially updates settings of a Cloud SQL instance by merging the request with the current configuration.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.patch
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.perform_disk_shrink
perform_disk_shrink(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPerformDiskShrinkRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPerform Disk Shrink on primary instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.point_in_time_restore
point_in_time_restore(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPointInTimeRestoreRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPoint in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.pre_check_major_version_upgrade
pre_check_major_version_upgrade(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPreCheckMajorVersionUpgradeRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationExecute MVU Pre-checks.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.promote_replica
promote_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPromoteReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPromotes the read replica instance to be an independent Cloud SQL primary instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.reencrypt
reencrypt(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesReencryptRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationReencrypt CMEK instance with latest key version.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.release_ssrs_lease
release_ssrs_lease(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesReleaseSsrsLeaseRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesReleaseSsrsLeaseResponseRelease a lease for the setup of SQL Server Reporting Services (SSRS).
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.reschedule_maintenance
reschedule_maintenance(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRescheduleMaintenanceRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationReschedules the maintenance on the given instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.reset_replica_size
reset_replica_size(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesResetReplicaSizeRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationReset Replica Size to primary instance disk size.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.reset_ssl_config
reset_ssl_config(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesResetSslConfigRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes all client certificates and generates a new server SSL certificate for the instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.restart
restart(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRestartRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRestarts a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.restart
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.restore_backup
restore_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRestoreBackupRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRestores a backup of a Cloud SQL instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.rotate_entra_id_certificate
rotate_entra_id_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRotateEntraIdCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRotates the Entra Id certificate version to one previously added with the addEntraIdCertificate method.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.rotate_server_ca
rotate_server_ca(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRotateServerCaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.rotate_server_certificate
rotate_server_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRotateServerCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRotates the server certificate version to one previously added with the addServerCertificate method.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> strReturns a fully-qualified secret_version string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.service_connection_policy_path
service_connection_policy_path(
project: str, region: str, service_connection_policy: str
) -> strReturns a fully-qualified service_connection_policy string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.start_external_sync
start_external_sync(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesStartExternalSyncRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStart External primary instance migration.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.start_replica
start_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesStartReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStarts the replication in the read replica instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.stop_replica
stop_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesStopReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStops the replication in the read replica instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.switchover
switchover(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesSwitchoverRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationSwitches over from the primary instance to the DR replica instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.truncate_log
truncate_log(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesTruncateLogRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationTruncate MySQL general and slow query log tables MySQL only.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationUpdates settings of a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.update
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceAsyncClient.verify_external_sync_settings
verify_external_sync_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesVerifyExternalSyncSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SqlInstancesVerifyExternalSyncSettingsResponse
)Verify External primary instance external sync settings.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient
SqlInstancesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_instances_service.transports.base.SqlInstancesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_instances_service.transports.base.SqlInstancesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql instances service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.acquire_ssrs_lease
acquire_ssrs_lease(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAcquireSsrsLeaseRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAcquireSsrsLeaseResponseAcquire a lease for the setup of SQL Server Reporting Services (SSRS).
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.add_entra_id_certificate
add_entra_id_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAddEntraIdCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationAdds a new Entra ID certificate for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.add_server_ca
add_server_ca(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAddServerCaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationAdd a new trusted Certificate Authority (CA) version for the specified instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.add_server_ca
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.add_server_certificate
add_server_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesAddServerCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationAdd a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.backup_dr_backup_path
backup_dr_backup_path(
project: str, location: str, backupvault: str, datasource: str, backup: str
) -> strReturns a fully-qualified backup_dr_backup string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.backup_path
backup_path(project: str, backup: str) -> strReturns a fully-qualified backup string.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.backup_path
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.clone
clone(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesCloneRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a Cloud SQL instance as a clone of the source instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.clone
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.create_ephemeral
create_ephemeral(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesCreateEphemeralCertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SslCertGenerates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> strReturns a fully-qualified crypto_key string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.crypto_key_version_path
crypto_key_version_path(
project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> strReturns a fully-qualified crypto_key_version string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.delete
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.demote
demote(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesDemoteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDemotes an existing standalone instance to be a Cloud SQL read replica for an external database server.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.demote
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.demote_master
demote_master(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesDemoteMasterRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDemotes the stand-alone instance to be a Cloud SQL read replica for an external database server.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.demote_master
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.execute_sql
execute_sql(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesExecuteSqlRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesExecuteSqlResponseExecute SQL statements.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.execute_sql
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.export
export(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesExportRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationExports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.export
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.failover
failover(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesFailoverRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationInitiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.failover
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.DatabaseInstanceRetrieves a resource containing information about a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.get
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.get_disk_shrink_config
get_disk_shrink_config(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesGetDiskShrinkConfigRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SqlInstancesGetDiskShrinkConfigResponse
)Get Disk Shrink Config for a given instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.get_latest_recovery_time
get_latest_recovery_time(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesGetLatestRecoveryTimeRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesGetLatestRecoveryTimeResponse
)Get Latest Recovery Time for a given instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.import_
import_(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesImportRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationImports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.import_
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a new Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.insert
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.services.sql_instances_service.pagers.ListPagerLists instances under a given project.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.list
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.list_entra_id_certificates
list_entra_id_certificates(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListEntraIdCertificatesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListEntraIdCertificatesResponse
)Lists all versions of EntraID certificates for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.list_server_cas
list_server_cas(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListServerCasRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListServerCasResponse
)Lists all of the trusted Certificate Authorities (CAs) for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.list_server_certificates
list_server_certificates(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListServerCertificatesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListServerCertificatesResponse
)Lists all versions of server certificates and certificate authorities (CAs) for the specified instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.network_attachment_path
network_attachment_path(project: str, region: str, network_attachment: str) -> strReturns a fully-qualified network_attachment string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.network_path
network_path(project: str, network: str) -> strReturns a fully-qualified network string.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.network_path
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_backup_dr_backup_path
parse_backup_dr_backup_path(path: str) -> typing.Dict[str, str]Parses a backup_dr_backup path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_backup_path
parse_backup_path(path: str) -> typing.Dict[str, str]Parses a backup path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.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.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]Parses a crypto_key path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_crypto_key_version_path
parse_crypto_key_version_path(path: str) -> typing.Dict[str, str]Parses a crypto_key_version path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_network_attachment_path
parse_network_attachment_path(path: str) -> typing.Dict[str, str]Parses a network_attachment path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_network_path
parse_network_path(path: str) -> typing.Dict[str, str]Parses a network path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_secret_version_path
parse_secret_version_path(path: str) -> typing.Dict[str, str]Parses a secret_version path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.parse_service_connection_policy_path
parse_service_connection_policy_path(path: str) -> typing.Dict[str, str]Parses a service_connection_policy path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPatchRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPartially updates settings of a Cloud SQL instance by merging the request with the current configuration.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.patch
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.perform_disk_shrink
perform_disk_shrink(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPerformDiskShrinkRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPerform Disk Shrink on primary instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.point_in_time_restore
point_in_time_restore(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPointInTimeRestoreRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPoint in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.pre_check_major_version_upgrade
pre_check_major_version_upgrade(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPreCheckMajorVersionUpgradeRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationExecute MVU Pre-checks.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.promote_replica
promote_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesPromoteReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationPromotes the read replica instance to be an independent Cloud SQL primary instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.reencrypt
reencrypt(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesReencryptRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationReencrypt CMEK instance with latest key version.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.reencrypt
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.release_ssrs_lease
release_ssrs_lease(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesReleaseSsrsLeaseRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesReleaseSsrsLeaseResponseRelease a lease for the setup of SQL Server Reporting Services (SSRS).
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.reschedule_maintenance
reschedule_maintenance(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRescheduleMaintenanceRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationReschedules the maintenance on the given instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.reset_replica_size
reset_replica_size(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesResetReplicaSizeRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationReset Replica Size to primary instance disk size.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.reset_ssl_config
reset_ssl_config(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesResetSslConfigRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes all client certificates and generates a new server SSL certificate for the instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.restart
restart(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRestartRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRestarts a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.restart
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.restore_backup
restore_backup(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRestoreBackupRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRestores a backup of a Cloud SQL instance.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.rotate_entra_id_certificate
rotate_entra_id_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRotateEntraIdCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRotates the Entra Id certificate version to one previously added with the addEntraIdCertificate method.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.rotate_server_ca
rotate_server_ca(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRotateServerCaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.rotate_server_certificate
rotate_server_certificate(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesRotateServerCertificateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRotates the server certificate version to one previously added with the addServerCertificate method.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.secret_version_path
secret_version_path(project: str, secret: str, secret_version: str) -> strReturns a fully-qualified secret_version string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.service_connection_policy_path
service_connection_policy_path(
project: str, region: str, service_connection_policy: str
) -> strReturns a fully-qualified service_connection_policy string.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.start_external_sync
start_external_sync(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesStartExternalSyncRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStart External primary instance migration.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.start_replica
start_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesStartReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStarts the replication in the read replica instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.start_replica
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.stop_replica
stop_replica(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesStopReplicaRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStops the replication in the read replica instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.stop_replica
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.switchover
switchover(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesSwitchoverRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationSwitches over from the primary instance to the DR replica instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.switchover
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.truncate_log
truncate_log(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesTruncateLogRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationTruncate MySQL general and slow query log tables MySQL only.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.truncate_log
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationUpdates settings of a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.update
google.cloud.sqladmin_v1beta4.services.sql_instances_service.SqlInstancesServiceClient.verify_external_sync_settings
verify_external_sync_settings(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesVerifyExternalSyncSettingsRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SqlInstancesVerifyExternalSyncSettingsResponse
)Verify External primary instance external sync settings.
google.cloud.sqladmin_v1beta4.services.sql_instances_service.pagers.ListAsyncPager
ListAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListResponse
],
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.pagers.ListAsyncPager
google.cloud.sqladmin_v1beta4.services.sql_instances_service.pagers.ListPager
ListPager(
method: typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListResponse,
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlInstancesListRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.InstancesListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
See more: google.cloud.sqladmin_v1beta4.services.sql_instances_service.pagers.ListPager
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient
SqlOperationsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_operations_service.transports.base.SqlOperationsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_operations_service.transports.base.SqlOperationsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql operations service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.cancel
cancel(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlOperationsCancelRequest,
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, typing.Union[str, bytes]]] = ()
) -> NoneCancels an instance operation that has been performed on an instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.cancel
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlOperationsGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRetrieves an instance operation that has been performed on an instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.get
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_operations_service.transports.base.SqlOperationsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlOperationsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.services.sql_operations_service.pagers.ListAsyncPager
)Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.list
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient
SqlOperationsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_operations_service.transports.base.SqlOperationsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_operations_service.transports.base.SqlOperationsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql operations service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.cancel
cancel(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlOperationsCancelRequest,
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, typing.Union[str, bytes]]] = ()
) -> NoneCancels an instance operation that has been performed on an instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.cancel
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlOperationsGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationRetrieves an instance operation that has been performed on an instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.get
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlOperationsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.services.sql_operations_service.pagers.ListPagerLists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.list
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.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.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.SqlOperationsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_operations_service.pagers.ListAsyncPager
ListAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationsListResponse
],
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlOperationsListRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationsListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiates the pager.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.pagers.ListAsyncPager
google.cloud.sqladmin_v1beta4.services.sql_operations_service.pagers.ListPager
ListPager(
method: typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationsListResponse,
],
request: google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlOperationsListRequest,
response: google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationsListResponse,
*,
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, typing.Union[str, bytes]]] = ()
)Instantiate the pager.
See more: google.cloud.sqladmin_v1beta4.services.sql_operations_service.pagers.ListPager
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient
SqlSslCertsServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql ssl certs service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlSslCertsDeleteRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes the SSL certificate.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.delete
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlSslCertsGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SslCertRetrieves a particular SSL certificate.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.get
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlSslCertsInsertRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SslCertsInsertResponseCreates an SSL certificate and returns it along with the private key and server certificate authority.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.insert
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlSslCertsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SslCertsListResponseLists all of the current SSL certificates for the instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.list
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient
SqlSslCertsServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.transports.base.SqlSslCertsServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql ssl certs service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlSslCertsDeleteRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes the SSL certificate.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.delete
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlSslCertsGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SslCertRetrieves a particular SSL certificate.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.get
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlSslCertsInsertRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SslCertsInsertResponseCreates an SSL certificate and returns it along with the private key and server certificate authority.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.insert
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql.SqlSslCertsListRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.SslCertsListResponseLists all of the current SSL certificates for the instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.list
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.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.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_ssl_certs_service.SqlSslCertsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient
SqlTiersServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.transports.base.SqlTiersServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.transports.base.SqlTiersServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql tiers service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.transports.base.SqlTiersServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_tiers.SqlTiersListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_tiers.TiersListResponseLists all available machine types (tiers) for Cloud SQL, for
example, db-custom-1-3840.
See more: google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.list
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient
SqlTiersServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.transports.base.SqlTiersServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.transports.base.SqlTiersServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql tiers service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.common_folder_path
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.common_location_path
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.common_project_path
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_tiers.SqlTiersListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_tiers.TiersListResponseLists all available machine types (tiers) for Cloud SQL, for
example, db-custom-1-3840.
See more: google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.list
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.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.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_tiers_service.SqlTiersServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient
SqlUsersServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_users_service.transports.base.SqlUsersServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_users_service.transports.base.SqlUsersServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql users service async client.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes a user from a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.delete
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_users.UserRetrieves a resource containing information about a user.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.get
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_users_service.transports.base.SqlUsersServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a new user in a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.insert
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_users.UsersListResponseLists users in the specified Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.list
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationUpdates an existing user in a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceAsyncClient.update
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient
SqlUsersServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_users_service.transports.base.SqlUsersServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_users_service.transports.base.SqlUsersServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql users service client.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.exit
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.common_folder_path
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.common_location_path
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.common_project_path
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersDeleteRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationDeletes a user from a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.delete
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersGetRequest, 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_users.UserRetrieves a resource containing information about a user.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.get
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersInsertRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationCreates a new user in a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.insert
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersListRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_users.UsersListResponseLists users in the specified Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.list
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.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.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_users.SqlUsersUpdateRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationUpdates an existing user in a Cloud SQL instance.
See more: google.cloud.sqladmin_v1beta4.services.sql_users_service.SqlUsersServiceClient.update
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient
SqlWorkloadCapturesServiceAsyncClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport,
],
]
] = "grpc_asyncio",
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
client_info: google.api_core.gapic_v1.client_info.ClientInfo = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql workload captures service async client.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport
]Returns an appropriate transport class.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.instance_path
instance_path(project: str, instance: str) -> strReturns a fully-qualified instance string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.SqlWorkloadCapturesListRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesListResponse
)Lists all captured workloads associated with the instance.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]Parses a instance path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.start
start(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesStartRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStarts capturing the SQL queries, transactions, and other operations executed on the primary instance.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.start_replay
start_replay(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStarts executing a captured workload on a separate Cloud SQL instance provisioned for workload replay.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.stop
stop(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesStopRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStops capturing the query traffic and related operations executed on the primary instance.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceAsyncClient.stop_replay
stop_replay(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStops an active workload replay on the target Cloud SQL replay instance.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient
SqlWorkloadCapturesServiceClient(
*,
credentials: typing.Optional[google.auth.credentials.Credentials] = None,
transport: typing.Optional[
typing.Union[
str,
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport,
typing.Callable[
[...],
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.transports.base.SqlWorkloadCapturesServiceTransport,
],
]
] = 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 = google.api_core.gapic_v1.client_info.ClientInfo
)Instantiates the sql workload captures service client.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.__exit__
__exit__(type, value, traceback)Releases underlying transport's resources.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> strReturns a fully-qualified billing_account string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_folder_path
common_folder_path(folder: str) -> strReturns a fully-qualified folder string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_location_path
common_location_path(project: str, location: str) -> strReturns a fully-qualified location string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_organization_path
common_organization_path(organization: str) -> strReturns a fully-qualified organization string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.common_project_path
common_project_path(project: str) -> strReturns a fully-qualified project string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.instance_path
instance_path(project: str, instance: str) -> strReturns a fully-qualified instance string.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.SqlWorkloadCapturesListRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesListResponse
)Lists all captured workloads associated with the instance.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.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.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]Parse a folder path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]Parse a location path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]Parse a organization path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]Parse a project path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]Parses a instance path into its component segments.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.start
start(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesStartRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStarts capturing the SQL queries, transactions, and other operations executed on the primary instance.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.start_replay
start_replay(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStarts executing a captured workload on a separate Cloud SQL instance provisioned for workload replay.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.stop
stop(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesStopRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStops capturing the query traffic and related operations executed on the primary instance.
google.cloud.sqladmin_v1beta4.services.sql_workload_captures_service.SqlWorkloadCapturesServiceClient.stop_replay
stop_replay(
request: typing.Optional[
typing.Union[
google.cloud.sqladmin_v1beta4.types.cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.sqladmin_v1beta4.types.cloud_sql_resources.OperationStops an active workload replay on the target Cloud SQL replay instance.