Summary of entries of Methods for assuredworkloads.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient
AssuredWorkloadsServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.assuredworkloads_v1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport, typing.Callable[[...], google.cloud.assuredworkloads_v1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the assured workloads service async client.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.acknowledge_violation
acknowledge_violation(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.AcknowledgeViolationRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1.types.assuredworkloads.AcknowledgeViolationResponse
)
Acknowledges an existing violation.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.create_workload
create_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.CreateWorkloadRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
workload: typing.Optional[
google.cloud.assuredworkloads_v1.types.assuredworkloads.Workload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates Assured Workload.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.delete_workload
delete_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.DeleteWorkloadRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes the workload.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.assuredworkloads_v1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.get_violation
get_violation(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.GetViolationRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1.types.assuredworkloads.Violation
Retrieves Assured Workload Violation based on ID.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.get_workload
get_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.GetWorkloadRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1.types.assuredworkloads.Workload
Gets Assured Workload associated with a CRM Node.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.list_violations
list_violations(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.ListViolationsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListViolationsAsyncPager
)
Lists the Violations in the AssuredWorkload Environment.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.list_workloads
list_workloads(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.ListWorkloadsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListWorkloadsAsyncPager
)
Lists Assured Workloads under a CRM Node.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_violation_path
parse_violation_path(path: str) -> typing.Dict[str, str]
Parses a violation path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_workload_path
parse_workload_path(path: str) -> typing.Dict[str, str]
Parses a workload path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.restrict_allowed_resources
restrict_allowed_resources(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.RestrictAllowedResourcesRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1.types.assuredworkloads.RestrictAllowedResourcesResponse
)
Restrict the list of resources allowed in the Workload environment.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.update_workload
update_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.UpdateWorkloadRequest,
dict,
]
] = None,
*,
workload: typing.Optional[
google.cloud.assuredworkloads_v1.types.assuredworkloads.Workload
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1.types.assuredworkloads.Workload
Updates an existing workload.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.violation_path
violation_path(
organization: str, location: str, workload: str, violation: str
) -> str
Returns a fully-qualified violation string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.workload_path
workload_path(organization: str, location: str, workload: str) -> str
Returns a fully-qualified workload string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient
AssuredWorkloadsServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.assuredworkloads_v1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport, typing.Callable[[...], google.cloud.assuredworkloads_v1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the assured workloads service client.
See more: google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.acknowledge_violation
acknowledge_violation(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.AcknowledgeViolationRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1.types.assuredworkloads.AcknowledgeViolationResponse
)
Acknowledges an existing violation.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.create_workload
create_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.CreateWorkloadRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
workload: typing.Optional[
google.cloud.assuredworkloads_v1.types.assuredworkloads.Workload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Creates Assured Workload.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.delete_workload
delete_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.DeleteWorkloadRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes the workload.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.get_violation
get_violation(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.GetViolationRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1.types.assuredworkloads.Violation
Retrieves Assured Workload Violation based on ID.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.get_workload
get_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.GetWorkloadRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1.types.assuredworkloads.Workload
Gets Assured Workload associated with a CRM Node.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.list_violations
list_violations(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.ListViolationsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListViolationsPager
)
Lists the Violations in the AssuredWorkload Environment.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.list_workloads
list_workloads(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.ListWorkloadsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListWorkloadsPager
)
Lists Assured Workloads under a CRM Node.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_violation_path
parse_violation_path(path: str) -> typing.Dict[str, str]
Parses a violation path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_workload_path
parse_workload_path(path: str) -> typing.Dict[str, str]
Parses a workload path into its component segments.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.restrict_allowed_resources
restrict_allowed_resources(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.RestrictAllowedResourcesRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1.types.assuredworkloads.RestrictAllowedResourcesResponse
)
Restrict the list of resources allowed in the Workload environment.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.update_workload
update_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1.types.assuredworkloads.UpdateWorkloadRequest,
dict,
]
] = None,
*,
workload: typing.Optional[
google.cloud.assuredworkloads_v1.types.assuredworkloads.Workload
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1.types.assuredworkloads.Workload
Updates an existing workload.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.violation_path
violation_path(
organization: str, location: str, workload: str, violation: str
) -> str
Returns a fully-qualified violation string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.AssuredWorkloadsServiceClient.workload_path
workload_path(organization: str, location: str, workload: str) -> str
Returns a fully-qualified workload string.
google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListViolationsAsyncPager
ListViolationsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.assuredworkloads_v1.types.assuredworkloads.ListViolationsResponse
],
],
request: google.cloud.assuredworkloads_v1.types.assuredworkloads.ListViolationsRequest,
response: google.cloud.assuredworkloads_v1.types.assuredworkloads.ListViolationsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListViolationsAsyncPager
google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListViolationsPager
ListViolationsPager(
method: typing.Callable[
[...],
google.cloud.assuredworkloads_v1.types.assuredworkloads.ListViolationsResponse,
],
request: google.cloud.assuredworkloads_v1.types.assuredworkloads.ListViolationsRequest,
response: google.cloud.assuredworkloads_v1.types.assuredworkloads.ListViolationsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListViolationsPager
google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListWorkloadsAsyncPager
ListWorkloadsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.assuredworkloads_v1.types.assuredworkloads.ListWorkloadsResponse
],
],
request: google.cloud.assuredworkloads_v1.types.assuredworkloads.ListWorkloadsRequest,
response: google.cloud.assuredworkloads_v1.types.assuredworkloads.ListWorkloadsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListWorkloadsAsyncPager
google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListWorkloadsPager
ListWorkloadsPager(
method: typing.Callable[
[...],
google.cloud.assuredworkloads_v1.types.assuredworkloads.ListWorkloadsResponse,
],
request: google.cloud.assuredworkloads_v1.types.assuredworkloads.ListWorkloadsRequest,
response: google.cloud.assuredworkloads_v1.types.assuredworkloads.ListWorkloadsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.assuredworkloads_v1.services.assured_workloads_service.pagers.ListWorkloadsPager
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient
AssuredWorkloadsServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport, typing.Callable[[...], google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the assured workloads service async client.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.analyze_workload_move
analyze_workload_move(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.AnalyzeWorkloadMoveRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.AnalyzeWorkloadMoveResponse
)
Analyze if the source Assured Workloads can be moved to the target Assured Workload.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.create_workload
create_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.CreateWorkloadRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
workload: typing.Optional[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.Workload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates Assured Workload.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.delete_workload
delete_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.DeleteWorkloadRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes the workload.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.get_workload
get_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.GetWorkloadRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.Workload
Gets Assured Workload associated with a CRM Node.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.list_workloads
list_workloads(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.ListWorkloadsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.pagers.ListWorkloadsAsyncPager
)
Lists Assured Workloads under a CRM Node.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.parse_workload_path
parse_workload_path(path: str) -> typing.Dict[str, str]
Parses a workload path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.restrict_allowed_resources
restrict_allowed_resources(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.RestrictAllowedResourcesRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.RestrictAllowedResourcesResponse
)
Restrict the list of resources allowed in the Workload environment.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.update_workload
update_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.UpdateWorkloadRequest,
dict,
]
] = None,
*,
workload: typing.Optional[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.Workload
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.Workload
Updates an existing workload.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceAsyncClient.workload_path
workload_path(organization: str, location: str, workload: str) -> str
Returns a fully-qualified workload string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient
AssuredWorkloadsServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport, typing.Callable[[...], google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.transports.base.AssuredWorkloadsServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the assured workloads service client.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.analyze_workload_move
analyze_workload_move(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.AnalyzeWorkloadMoveRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.AnalyzeWorkloadMoveResponse
)
Analyze if the source Assured Workloads can be moved to the target Assured Workload.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.create_workload
create_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.CreateWorkloadRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
workload: typing.Optional[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.Workload
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Creates Assured Workload.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.delete_workload
delete_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.DeleteWorkloadRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes the workload.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.get_workload
get_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.GetWorkloadRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.Workload
Gets Assured Workload associated with a CRM Node.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.list_workloads
list_workloads(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.ListWorkloadsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.pagers.ListWorkloadsPager
)
Lists Assured Workloads under a CRM Node.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.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.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.parse_workload_path
parse_workload_path(path: str) -> typing.Dict[str, str]
Parses a workload path into its component segments.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.restrict_allowed_resources
restrict_allowed_resources(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.RestrictAllowedResourcesRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.RestrictAllowedResourcesResponse
)
Restrict the list of resources allowed in the Workload environment.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.update_workload
update_workload(
request: typing.Optional[
typing.Union[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.UpdateWorkloadRequest,
dict,
]
] = None,
*,
workload: typing.Optional[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.Workload
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.Workload
Updates an existing workload.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.AssuredWorkloadsServiceClient.workload_path
workload_path(organization: str, location: str, workload: str) -> str
Returns a fully-qualified workload string.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.pagers.ListWorkloadsAsyncPager
ListWorkloadsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.ListWorkloadsResponse
],
],
request: google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.ListWorkloadsRequest,
response: google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.ListWorkloadsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.pagers.ListWorkloadsPager
ListWorkloadsPager(
method: typing.Callable[
[...],
google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.ListWorkloadsResponse,
],
request: google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.ListWorkloadsRequest,
response: google.cloud.assuredworkloads_v1beta1.types.assuredworkloads.ListWorkloadsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.assuredworkloads_v1beta1.services.assured_workloads_service.pagers.ListWorkloadsPager