Summary of entries of Methods for osconfig.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient
OsConfigServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.osconfig_v1.services.os_config_service.transports.base.OsConfigServiceTransport, typing.Callable[[...], google.cloud.osconfig_v1.services.os_config_service.transports.base.OsConfigServiceTransport]]] = '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 os config service async client.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.cancel_patch_job
cancel_patch_job(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_jobs.CancelPatchJobRequest, 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.osconfig_v1.types.patch_jobs.PatchJob
Cancel a patch job.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.cancel_patch_job
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.common_folder_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.common_location_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.common_project_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.create_patch_deployment
create_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.CreatePatchDeploymentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
patch_deployment: typing.Optional[
google.cloud.osconfig_v1.types.patch_deployments.PatchDeployment
] = None,
patch_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, str]] = ()
) -> google.cloud.osconfig_v1.types.patch_deployments.PatchDeployment
Create an OS Config patch deployment.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.delete_patch_deployment
delete_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.DeletePatchDeploymentRequest,
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
Delete an OS Config patch deployment.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.execute_patch_job
execute_patch_job(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_jobs.ExecutePatchJobRequest, 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.osconfig_v1.types.patch_jobs.PatchJob
Patch VM instances by creating and running a patch job.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.execute_patch_job
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.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.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.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.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.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.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.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.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.get_patch_deployment
get_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.GetPatchDeploymentRequest,
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.osconfig_v1.types.patch_deployments.PatchDeployment
Get an OS Config patch deployment.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.get_patch_deployment
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.get_patch_job
get_patch_job(
request: typing.Optional[
typing.Union[google.cloud.osconfig_v1.types.patch_jobs.GetPatchJobRequest, 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.osconfig_v1.types.patch_jobs.PatchJob
Get the patch job.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.get_patch_job
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.osconfig_v1.services.os_config_service.transports.base.OsConfigServiceTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.get_transport_class
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.instance_path
instance_path(project: str, zone: str, instance: str) -> str
Returns a fully-qualified instance string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.instance_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.list_patch_deployments
list_patch_deployments(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.ListPatchDeploymentsRequest,
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.osconfig_v1.services.os_config_service.pagers.ListPatchDeploymentsAsyncPager
)
Get a page of OS Config patch deployments.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.list_patch_job_instance_details
list_patch_job_instance_details(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobInstanceDetailsRequest,
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.osconfig_v1.services.os_config_service.pagers.ListPatchJobInstanceDetailsAsyncPager
)
Get a list of instance details for a given patch job.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.list_patch_jobs
list_patch_jobs(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobsRequest, 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.osconfig_v1.services.os_config_service.pagers.ListPatchJobsAsyncPager
Get a list of patch jobs.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.list_patch_jobs
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.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.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_instance_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_patch_deployment_path
parse_patch_deployment_path(path: str) -> typing.Dict[str, str]
Parses a patch_deployment path into its component segments.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_patch_job_path
parse_patch_job_path(path: str) -> typing.Dict[str, str]
Parses a patch_job path into its component segments.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.parse_patch_job_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.patch_deployment_path
patch_deployment_path(project: str, patch_deployment: str) -> str
Returns a fully-qualified patch_deployment string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.patch_deployment_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.patch_job_path
patch_job_path(project: str, patch_job: str) -> str
Returns a fully-qualified patch_job string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.patch_job_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.pause_patch_deployment
pause_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.PausePatchDeploymentRequest,
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.osconfig_v1.types.patch_deployments.PatchDeployment
Change state of patch deployment to "PAUSED".
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.resume_patch_deployment
resume_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.ResumePatchDeploymentRequest,
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.osconfig_v1.types.patch_deployments.PatchDeployment
Change state of patch deployment back to "ACTIVE".
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceAsyncClient.update_patch_deployment
update_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.UpdatePatchDeploymentRequest,
dict,
]
] = None,
*,
patch_deployment: typing.Optional[
google.cloud.osconfig_v1.types.patch_deployments.PatchDeployment
] = 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.osconfig_v1.types.patch_deployments.PatchDeployment
Update an OS Config patch deployment.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient
OsConfigServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.osconfig_v1.services.os_config_service.transports.base.OsConfigServiceTransport, typing.Callable[[...], google.cloud.osconfig_v1.services.os_config_service.transports.base.OsConfigServiceTransport]]] = 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 os config service client.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.exit
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.cancel_patch_job
cancel_patch_job(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_jobs.CancelPatchJobRequest, 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.osconfig_v1.types.patch_jobs.PatchJob
Cancel a patch job.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.cancel_patch_job
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_folder_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_location_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_organization_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.common_project_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.create_patch_deployment
create_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.CreatePatchDeploymentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
patch_deployment: typing.Optional[
google.cloud.osconfig_v1.types.patch_deployments.PatchDeployment
] = None,
patch_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, str]] = ()
) -> google.cloud.osconfig_v1.types.patch_deployments.PatchDeployment
Create an OS Config patch deployment.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.create_patch_deployment
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.delete_patch_deployment
delete_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.DeletePatchDeploymentRequest,
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
Delete an OS Config patch deployment.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.delete_patch_deployment
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.execute_patch_job
execute_patch_job(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_jobs.ExecutePatchJobRequest, 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.osconfig_v1.types.patch_jobs.PatchJob
Patch VM instances by creating and running a patch job.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.execute_patch_job
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.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.osconfig_v1.services.os_config_service.OsConfigServiceClient.from_service_account_file
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.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.osconfig_v1.services.os_config_service.OsConfigServiceClient.from_service_account_info
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.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.osconfig_v1.services.os_config_service.OsConfigServiceClient.from_service_account_json
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.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.osconfig_v1.services.os_config_service.OsConfigServiceClient.get_patch_deployment
get_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.GetPatchDeploymentRequest,
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.osconfig_v1.types.patch_deployments.PatchDeployment
Get an OS Config patch deployment.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.get_patch_deployment
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.get_patch_job
get_patch_job(
request: typing.Optional[
typing.Union[google.cloud.osconfig_v1.types.patch_jobs.GetPatchJobRequest, 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.osconfig_v1.types.patch_jobs.PatchJob
Get the patch job.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.get_patch_job
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.instance_path
instance_path(project: str, zone: str, instance: str) -> str
Returns a fully-qualified instance string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.instance_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.list_patch_deployments
list_patch_deployments(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.ListPatchDeploymentsRequest,
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.osconfig_v1.services.os_config_service.pagers.ListPatchDeploymentsPager
)
Get a page of OS Config patch deployments.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.list_patch_deployments
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.list_patch_job_instance_details
list_patch_job_instance_details(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobInstanceDetailsRequest,
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.osconfig_v1.services.os_config_service.pagers.ListPatchJobInstanceDetailsPager
)
Get a list of instance details for a given patch job.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.list_patch_jobs
list_patch_jobs(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobsRequest, 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.osconfig_v1.services.os_config_service.pagers.ListPatchJobsPager
Get a list of patch jobs.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.list_patch_jobs
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.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.osconfig_v1.services.os_config_service.OsConfigServiceClient.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.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_common_folder_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.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.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_common_location_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.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.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_common_project_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_instance_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_patch_deployment_path
parse_patch_deployment_path(path: str) -> typing.Dict[str, str]
Parses a patch_deployment path into its component segments.
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_patch_job_path
parse_patch_job_path(path: str) -> typing.Dict[str, str]
Parses a patch_job path into its component segments.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.parse_patch_job_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.patch_deployment_path
patch_deployment_path(project: str, patch_deployment: str) -> str
Returns a fully-qualified patch_deployment string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.patch_deployment_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.patch_job_path
patch_job_path(project: str, patch_job: str) -> str
Returns a fully-qualified patch_job string.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.patch_job_path
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.pause_patch_deployment
pause_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.PausePatchDeploymentRequest,
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.osconfig_v1.types.patch_deployments.PatchDeployment
Change state of patch deployment to "PAUSED".
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.pause_patch_deployment
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.resume_patch_deployment
resume_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.ResumePatchDeploymentRequest,
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.osconfig_v1.types.patch_deployments.PatchDeployment
Change state of patch deployment back to "ACTIVE".
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.resume_patch_deployment
google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.update_patch_deployment
update_patch_deployment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.patch_deployments.UpdatePatchDeploymentRequest,
dict,
]
] = None,
*,
patch_deployment: typing.Optional[
google.cloud.osconfig_v1.types.patch_deployments.PatchDeployment
] = 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.osconfig_v1.types.patch_deployments.PatchDeployment
Update an OS Config patch deployment.
See more: google.cloud.osconfig_v1.services.os_config_service.OsConfigServiceClient.update_patch_deployment
google.cloud.osconfig_v1.services.os_config_service.pagers.ListPatchDeploymentsAsyncPager
ListPatchDeploymentsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1.types.patch_deployments.ListPatchDeploymentsResponse
],
],
request: google.cloud.osconfig_v1.types.patch_deployments.ListPatchDeploymentsRequest,
response: google.cloud.osconfig_v1.types.patch_deployments.ListPatchDeploymentsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1.services.os_config_service.pagers.ListPatchDeploymentsAsyncPager
google.cloud.osconfig_v1.services.os_config_service.pagers.ListPatchDeploymentsPager
ListPatchDeploymentsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1.types.patch_deployments.ListPatchDeploymentsResponse,
],
request: google.cloud.osconfig_v1.types.patch_deployments.ListPatchDeploymentsRequest,
response: google.cloud.osconfig_v1.types.patch_deployments.ListPatchDeploymentsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1.services.os_config_service.pagers.ListPatchDeploymentsPager
google.cloud.osconfig_v1.services.os_config_service.pagers.ListPatchJobInstanceDetailsAsyncPager
ListPatchJobInstanceDetailsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobInstanceDetailsResponse
],
],
request: google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobInstanceDetailsRequest,
response: google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobInstanceDetailsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1.services.os_config_service.pagers.ListPatchJobInstanceDetailsAsyncPager
google.cloud.osconfig_v1.services.os_config_service.pagers.ListPatchJobInstanceDetailsPager
ListPatchJobInstanceDetailsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobInstanceDetailsResponse,
],
request: google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobInstanceDetailsRequest,
response: google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobInstanceDetailsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1.services.os_config_service.pagers.ListPatchJobInstanceDetailsPager
google.cloud.osconfig_v1.services.os_config_service.pagers.ListPatchJobsAsyncPager
ListPatchJobsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobsResponse
],
],
request: google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobsRequest,
response: google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1.services.os_config_service.pagers.ListPatchJobsAsyncPager
google.cloud.osconfig_v1.services.os_config_service.pagers.ListPatchJobsPager
ListPatchJobsPager(
method: typing.Callable[
[...], google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobsResponse
],
request: google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobsRequest,
response: google.cloud.osconfig_v1.types.patch_jobs.ListPatchJobsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1.services.os_config_service.pagers.ListPatchJobsPager
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient
OsConfigZonalServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.osconfig_v1.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport, typing.Callable[[...], google.cloud.osconfig_v1.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport]]] = '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 os config zonal service async client.
See more: google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.create_os_policy_assignment
create_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.CreateOSPolicyAssignmentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
os_policy_assignment: typing.Optional[
google.cloud.osconfig_v1.types.os_policy_assignments.OSPolicyAssignment
] = None,
os_policy_assignment_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Create an OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.delete_os_policy_assignment
delete_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.DeleteOSPolicyAssignmentRequest,
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.api_core.operation_async.AsyncOperation
Delete the OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_inventory
get_inventory(
request: typing.Optional[
typing.Union[google.cloud.osconfig_v1.types.inventory.GetInventoryRequest, 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.osconfig_v1.types.inventory.Inventory
Get inventory data for the specified VM instance.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_os_policy_assignment
get_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.GetOSPolicyAssignmentRequest,
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.osconfig_v1.types.os_policy_assignments.OSPolicyAssignment
Retrieve an existing OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_os_policy_assignment_report
get_os_policy_assignment_report(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignment_reports.GetOSPolicyAssignmentReportRequest,
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.osconfig_v1.types.os_policy_assignment_reports.OSPolicyAssignmentReport
)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.osconfig_v1.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_vulnerability_report
get_vulnerability_report(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.vulnerability.GetVulnerabilityReportRequest,
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.osconfig_v1.types.vulnerability.VulnerabilityReport
Gets the vulnerability report for the specified VM instance.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.instance_os_policy_assignment_path
instance_os_policy_assignment_path(
project: str, location: str, instance: str, assignment: str
) -> str
Returns a fully-qualified instance_os_policy_assignment string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.instance_path
instance_path(project: str, zone: str, instance: str) -> str
Returns a fully-qualified instance string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.inventory_path
inventory_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified inventory string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_inventories
list_inventories(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.inventory.ListInventoriesRequest, 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.osconfig_v1.services.os_config_zonal_service.pagers.ListInventoriesAsyncPager
)
List inventory data for all VM instances in the specified zone.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_os_policy_assignment_reports
list_os_policy_assignment_reports(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsAsyncPager
)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_os_policy_assignment_revisions
list_os_policy_assignment_revisions(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentRevisionsAsyncPager
)
List the OS policy assignment revisions for a given OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_os_policy_assignments
list_os_policy_assignments(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentsRequest,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsAsyncPager
)
List the OS policy assignments under the parent resource.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_vulnerability_reports
list_vulnerability_reports(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.vulnerability.ListVulnerabilityReportsRequest,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListVulnerabilityReportsAsyncPager
)
List vulnerability reports for all VM instances in the specified zone.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.os_policy_assignment_path
os_policy_assignment_path(
project: str, location: str, os_policy_assignment: str
) -> str
Returns a fully-qualified os_policy_assignment string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.os_policy_assignment_report_path
os_policy_assignment_report_path(
project: str, location: str, instance: str, assignment: str
) -> str
Returns a fully-qualified os_policy_assignment_report string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_instance_os_policy_assignment_path
parse_instance_os_policy_assignment_path(path: str) -> typing.Dict[str, str]
Parses a instance_os_policy_assignment path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_inventory_path
parse_inventory_path(path: str) -> typing.Dict[str, str]
Parses a inventory path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_os_policy_assignment_path
parse_os_policy_assignment_path(path: str) -> typing.Dict[str, str]
Parses a os_policy_assignment path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_os_policy_assignment_report_path
parse_os_policy_assignment_report_path(path: str) -> typing.Dict[str, str]
Parses a os_policy_assignment_report path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_vulnerability_report_path
parse_vulnerability_report_path(path: str) -> typing.Dict[str, str]
Parses a vulnerability_report path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.update_os_policy_assignment
update_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.UpdateOSPolicyAssignmentRequest,
dict,
]
] = None,
*,
os_policy_assignment: typing.Optional[
google.cloud.osconfig_v1.types.os_policy_assignments.OSPolicyAssignment
] = 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.api_core.operation_async.AsyncOperation
Update an existing OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.vulnerability_report_path
vulnerability_report_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified vulnerability_report string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient
OsConfigZonalServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.osconfig_v1.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport, typing.Callable[[...], google.cloud.osconfig_v1.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport]]] = 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 os config zonal service client.
See more: google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.exit
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.create_os_policy_assignment
create_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.CreateOSPolicyAssignmentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
os_policy_assignment: typing.Optional[
google.cloud.osconfig_v1.types.os_policy_assignments.OSPolicyAssignment
] = None,
os_policy_assignment_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Create an OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.delete_os_policy_assignment
delete_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.DeleteOSPolicyAssignmentRequest,
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.api_core.operation.Operation
Delete the OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.get_inventory
get_inventory(
request: typing.Optional[
typing.Union[google.cloud.osconfig_v1.types.inventory.GetInventoryRequest, 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.osconfig_v1.types.inventory.Inventory
Get inventory data for the specified VM instance.
See more: google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.get_inventory
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.get_os_policy_assignment
get_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.GetOSPolicyAssignmentRequest,
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.osconfig_v1.types.os_policy_assignments.OSPolicyAssignment
Retrieve an existing OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.get_os_policy_assignment_report
get_os_policy_assignment_report(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignment_reports.GetOSPolicyAssignmentReportRequest,
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.osconfig_v1.types.os_policy_assignment_reports.OSPolicyAssignmentReport
)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.get_vulnerability_report
get_vulnerability_report(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.vulnerability.GetVulnerabilityReportRequest,
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.osconfig_v1.types.vulnerability.VulnerabilityReport
Gets the vulnerability report for the specified VM instance.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.instance_os_policy_assignment_path
instance_os_policy_assignment_path(
project: str, location: str, instance: str, assignment: str
) -> str
Returns a fully-qualified instance_os_policy_assignment string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.instance_path
instance_path(project: str, zone: str, instance: str) -> str
Returns a fully-qualified instance string.
See more: google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.instance_path
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.inventory_path
inventory_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified inventory string.
See more: google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.inventory_path
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.list_inventories
list_inventories(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.inventory.ListInventoriesRequest, 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.osconfig_v1.services.os_config_zonal_service.pagers.ListInventoriesPager
)
List inventory data for all VM instances in the specified zone.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.list_os_policy_assignment_reports
list_os_policy_assignment_reports(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsPager
)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.list_os_policy_assignment_revisions
list_os_policy_assignment_revisions(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentRevisionsPager
)
List the OS policy assignment revisions for a given OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.list_os_policy_assignments
list_os_policy_assignments(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentsRequest,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsPager
)
List the OS policy assignments under the parent resource.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.list_vulnerability_reports
list_vulnerability_reports(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.vulnerability.ListVulnerabilityReportsRequest,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListVulnerabilityReportsPager
)
List vulnerability reports for all VM instances in the specified zone.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.os_policy_assignment_path
os_policy_assignment_path(
project: str, location: str, os_policy_assignment: str
) -> str
Returns a fully-qualified os_policy_assignment string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.os_policy_assignment_report_path
os_policy_assignment_report_path(
project: str, location: str, instance: str, assignment: str
) -> str
Returns a fully-qualified os_policy_assignment_report string.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_instance_os_policy_assignment_path
parse_instance_os_policy_assignment_path(path: str) -> typing.Dict[str, str]
Parses a instance_os_policy_assignment path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_inventory_path
parse_inventory_path(path: str) -> typing.Dict[str, str]
Parses a inventory path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_os_policy_assignment_path
parse_os_policy_assignment_path(path: str) -> typing.Dict[str, str]
Parses a os_policy_assignment path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_os_policy_assignment_report_path
parse_os_policy_assignment_report_path(path: str) -> typing.Dict[str, str]
Parses a os_policy_assignment_report path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_vulnerability_report_path
parse_vulnerability_report_path(path: str) -> typing.Dict[str, str]
Parses a vulnerability_report path into its component segments.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.update_os_policy_assignment
update_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1.types.os_policy_assignments.UpdateOSPolicyAssignmentRequest,
dict,
]
] = None,
*,
os_policy_assignment: typing.Optional[
google.cloud.osconfig_v1.types.os_policy_assignments.OSPolicyAssignment
] = 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.api_core.operation.Operation
Update an existing OS policy assignment.
google.cloud.osconfig_v1.services.os_config_zonal_service.OsConfigZonalServiceClient.vulnerability_report_path
vulnerability_report_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified vulnerability_report string.
google.cloud.osconfig_v1.services.os_config_zonal_service.pagers.ListInventoriesAsyncPager
ListInventoriesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1.types.inventory.ListInventoriesResponse
],
],
request: google.cloud.osconfig_v1.types.inventory.ListInventoriesRequest,
response: google.cloud.osconfig_v1.types.inventory.ListInventoriesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListInventoriesAsyncPager
google.cloud.osconfig_v1.services.os_config_zonal_service.pagers.ListInventoriesPager
ListInventoriesPager(
method: typing.Callable[
[...], google.cloud.osconfig_v1.types.inventory.ListInventoriesResponse
],
request: google.cloud.osconfig_v1.types.inventory.ListInventoriesRequest,
response: google.cloud.osconfig_v1.types.inventory.ListInventoriesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListInventoriesPager
google.cloud.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsAsyncPager
ListOSPolicyAssignmentReportsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsResponse
],
],
request: google.cloud.osconfig_v1.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest,
response: google.cloud.osconfig_v1.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsPager
ListOSPolicyAssignmentReportsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsResponse,
],
request: google.cloud.osconfig_v1.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest,
response: google.cloud.osconfig_v1.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsPager
google.cloud.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentRevisionsAsyncPager
ListOSPolicyAssignmentRevisionsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsResponse
],
],
request: google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest,
response: google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentRevisionsPager
ListOSPolicyAssignmentRevisionsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsResponse,
],
request: google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest,
response: google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.
google.cloud.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsAsyncPager
ListOSPolicyAssignmentsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentsResponse
],
],
request: google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentsRequest,
response: google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsAsyncPager
google.cloud.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsPager
ListOSPolicyAssignmentsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentsResponse,
],
request: google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentsRequest,
response: google.cloud.osconfig_v1.types.os_policy_assignments.ListOSPolicyAssignmentsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsPager
google.cloud.osconfig_v1.services.os_config_zonal_service.pagers.ListVulnerabilityReportsAsyncPager
ListVulnerabilityReportsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1.types.vulnerability.ListVulnerabilityReportsResponse
],
],
request: google.cloud.osconfig_v1.types.vulnerability.ListVulnerabilityReportsRequest,
response: google.cloud.osconfig_v1.types.vulnerability.ListVulnerabilityReportsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListVulnerabilityReportsAsyncPager
google.cloud.osconfig_v1.services.os_config_zonal_service.pagers.ListVulnerabilityReportsPager
ListVulnerabilityReportsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1.types.vulnerability.ListVulnerabilityReportsResponse,
],
request: google.cloud.osconfig_v1.types.vulnerability.ListVulnerabilityReportsRequest,
response: google.cloud.osconfig_v1.types.vulnerability.ListVulnerabilityReportsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1.services.os_config_zonal_service.pagers.ListVulnerabilityReportsPager
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient
OsConfigZonalServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.osconfig_v1alpha.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport, typing.Callable[[...], google.cloud.osconfig_v1alpha.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport]]] = '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 os config zonal service async client.
See more: google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.create_os_policy_assignment
create_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.CreateOSPolicyAssignmentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
os_policy_assignment: typing.Optional[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.OSPolicyAssignment
] = None,
os_policy_assignment_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Create an OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.delete_os_policy_assignment
delete_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.DeleteOSPolicyAssignmentRequest,
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.api_core.operation_async.AsyncOperation
Delete the OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_instance_os_policies_compliance
get_instance_os_policies_compliance(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.GetInstanceOSPoliciesComplianceRequest,
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.osconfig_v1alpha.types.instance_os_policies_compliance.InstanceOSPoliciesCompliance
)
Get OS policies compliance data for the specified Compute Engine VM instance.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_inventory
get_inventory(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.inventory.GetInventoryRequest, 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.osconfig_v1alpha.types.inventory.Inventory
Get inventory data for the specified VM instance.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_os_policy_assignment
get_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.GetOSPolicyAssignmentRequest,
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.osconfig_v1alpha.types.os_policy_assignments.OSPolicyAssignment
Retrieve an existing OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_os_policy_assignment_report
get_os_policy_assignment_report(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.GetOSPolicyAssignmentReportRequest,
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.osconfig_v1alpha.types.os_policy_assignment_reports.OSPolicyAssignmentReport
)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport
]
)
Returns an appropriate transport class.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.get_vulnerability_report
get_vulnerability_report(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.vulnerability.GetVulnerabilityReportRequest,
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.osconfig_v1alpha.types.vulnerability.VulnerabilityReport
Gets the vulnerability report for the specified VM instance.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.instance_os_policies_compliance_path
instance_os_policies_compliance_path(
project: str, location: str, instance: str
) -> str
Returns a fully-qualified instance_os_policies_compliance string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.instance_os_policy_assignment_path
instance_os_policy_assignment_path(
project: str, location: str, instance: str, assignment: str
) -> str
Returns a fully-qualified instance_os_policy_assignment string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.instance_path
instance_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified instance string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.inventory_path
inventory_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified inventory string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_instance_os_policies_compliances
list_instance_os_policies_compliances(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.ListInstanceOSPoliciesCompliancesRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInstanceOSPoliciesCompliancesAsyncPager
)
List OS policies compliance data for all Compute Engine VM instances in the specified zone.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_inventories
list_inventories(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.inventory.ListInventoriesRequest, 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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInventoriesAsyncPager
)
List inventory data for all VM instances in the specified zone.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_os_policy_assignment_reports
list_os_policy_assignment_reports(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsAsyncPager
)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_os_policy_assignment_revisions
list_os_policy_assignment_revisions(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentRevisionsAsyncPager
)
List the OS policy assignment revisions for a given OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_os_policy_assignments
list_os_policy_assignments(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentsRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsAsyncPager
)
List the OS policy assignments under the parent resource.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.list_vulnerability_reports
list_vulnerability_reports(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.vulnerability.ListVulnerabilityReportsRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListVulnerabilityReportsAsyncPager
)
List vulnerability reports for all VM instances in the specified zone.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.os_policy_assignment_path
os_policy_assignment_path(
project: str, location: str, os_policy_assignment: str
) -> str
Returns a fully-qualified os_policy_assignment string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.os_policy_assignment_report_path
os_policy_assignment_report_path(
project: str, location: str, instance: str, assignment: str
) -> str
Returns a fully-qualified os_policy_assignment_report string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_instance_os_policies_compliance_path
parse_instance_os_policies_compliance_path(path: str) -> typing.Dict[str, str]
Parses a instance_os_policies_compliance path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_instance_os_policy_assignment_path
parse_instance_os_policy_assignment_path(path: str) -> typing.Dict[str, str]
Parses a instance_os_policy_assignment path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_inventory_path
parse_inventory_path(path: str) -> typing.Dict[str, str]
Parses a inventory path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_os_policy_assignment_path
parse_os_policy_assignment_path(path: str) -> typing.Dict[str, str]
Parses a os_policy_assignment path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_os_policy_assignment_report_path
parse_os_policy_assignment_report_path(path: str) -> typing.Dict[str, str]
Parses a os_policy_assignment_report path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.parse_vulnerability_report_path
parse_vulnerability_report_path(path: str) -> typing.Dict[str, str]
Parses a vulnerability_report path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.update_os_policy_assignment
update_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.UpdateOSPolicyAssignmentRequest,
dict,
]
] = None,
*,
os_policy_assignment: typing.Optional[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.OSPolicyAssignment
] = 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.api_core.operation_async.AsyncOperation
Update an existing OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceAsyncClient.vulnerability_report_path
vulnerability_report_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified vulnerability_report string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient
OsConfigZonalServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.osconfig_v1alpha.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport, typing.Callable[[...], google.cloud.osconfig_v1alpha.services.os_config_zonal_service.transports.base.OsConfigZonalServiceTransport]]] = 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 os config zonal service client.
See more: google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.exit
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.create_os_policy_assignment
create_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.CreateOSPolicyAssignmentRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
os_policy_assignment: typing.Optional[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.OSPolicyAssignment
] = None,
os_policy_assignment_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Create an OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.delete_os_policy_assignment
delete_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.DeleteOSPolicyAssignmentRequest,
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.api_core.operation.Operation
Delete the OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.get_instance_os_policies_compliance
get_instance_os_policies_compliance(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.GetInstanceOSPoliciesComplianceRequest,
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.osconfig_v1alpha.types.instance_os_policies_compliance.InstanceOSPoliciesCompliance
)
Get OS policies compliance data for the specified Compute Engine VM instance.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.get_inventory
get_inventory(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.inventory.GetInventoryRequest, 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.osconfig_v1alpha.types.inventory.Inventory
Get inventory data for the specified VM instance.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.get_os_policy_assignment
get_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.GetOSPolicyAssignmentRequest,
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.osconfig_v1alpha.types.os_policy_assignments.OSPolicyAssignment
Retrieve an existing OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.get_os_policy_assignment_report
get_os_policy_assignment_report(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.GetOSPolicyAssignmentReportRequest,
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.osconfig_v1alpha.types.os_policy_assignment_reports.OSPolicyAssignmentReport
)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.get_vulnerability_report
get_vulnerability_report(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.vulnerability.GetVulnerabilityReportRequest,
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.osconfig_v1alpha.types.vulnerability.VulnerabilityReport
Gets the vulnerability report for the specified VM instance.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.instance_os_policies_compliance_path
instance_os_policies_compliance_path(
project: str, location: str, instance: str
) -> str
Returns a fully-qualified instance_os_policies_compliance string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.instance_os_policy_assignment_path
instance_os_policy_assignment_path(
project: str, location: str, instance: str, assignment: str
) -> str
Returns a fully-qualified instance_os_policy_assignment string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.instance_path
instance_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified instance string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.inventory_path
inventory_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified inventory string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.list_instance_os_policies_compliances
list_instance_os_policies_compliances(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.ListInstanceOSPoliciesCompliancesRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInstanceOSPoliciesCompliancesPager
)
List OS policies compliance data for all Compute Engine VM instances in the specified zone.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.list_inventories
list_inventories(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.inventory.ListInventoriesRequest, 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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInventoriesPager
)
List inventory data for all VM instances in the specified zone.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.list_os_policy_assignment_reports
list_os_policy_assignment_reports(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsPager
)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.list_os_policy_assignment_revisions
list_os_policy_assignment_revisions(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentRevisionsPager
)
List the OS policy assignment revisions for a given OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.list_os_policy_assignments
list_os_policy_assignments(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentsRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsPager
)
List the OS policy assignments under the parent resource.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.list_vulnerability_reports
list_vulnerability_reports(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.vulnerability.ListVulnerabilityReportsRequest,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListVulnerabilityReportsPager
)
List vulnerability reports for all VM instances in the specified zone.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.os_policy_assignment_path
os_policy_assignment_path(
project: str, location: str, os_policy_assignment: str
) -> str
Returns a fully-qualified os_policy_assignment string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.os_policy_assignment_report_path
os_policy_assignment_report_path(
project: str, location: str, instance: str, assignment: str
) -> str
Returns a fully-qualified os_policy_assignment_report string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.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.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_instance_os_policies_compliance_path
parse_instance_os_policies_compliance_path(path: str) -> typing.Dict[str, str]
Parses a instance_os_policies_compliance path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_instance_os_policy_assignment_path
parse_instance_os_policy_assignment_path(path: str) -> typing.Dict[str, str]
Parses a instance_os_policy_assignment path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_inventory_path
parse_inventory_path(path: str) -> typing.Dict[str, str]
Parses a inventory path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_os_policy_assignment_path
parse_os_policy_assignment_path(path: str) -> typing.Dict[str, str]
Parses a os_policy_assignment path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_os_policy_assignment_report_path
parse_os_policy_assignment_report_path(path: str) -> typing.Dict[str, str]
Parses a os_policy_assignment_report path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.parse_vulnerability_report_path
parse_vulnerability_report_path(path: str) -> typing.Dict[str, str]
Parses a vulnerability_report path into its component segments.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.update_os_policy_assignment
update_os_policy_assignment(
request: typing.Optional[
typing.Union[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.UpdateOSPolicyAssignmentRequest,
dict,
]
] = None,
*,
os_policy_assignment: typing.Optional[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.OSPolicyAssignment
] = 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.api_core.operation.Operation
Update an existing OS policy assignment.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.OsConfigZonalServiceClient.vulnerability_report_path
vulnerability_report_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified vulnerability_report string.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInstanceOSPoliciesCompliancesAsyncPager
ListInstanceOSPoliciesCompliancesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.ListInstanceOSPoliciesCompliancesResponse
],
],
request: google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.ListInstanceOSPoliciesCompliancesRequest,
response: google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.ListInstanceOSPoliciesCompliancesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInstanceOSPoliciesCompliancesPager
ListInstanceOSPoliciesCompliancesPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.ListInstanceOSPoliciesCompliancesResponse,
],
request: google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.ListInstanceOSPoliciesCompliancesRequest,
response: google.cloud.osconfig_v1alpha.types.instance_os_policies_compliance.ListInstanceOSPoliciesCompliancesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInventoriesAsyncPager
ListInventoriesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1alpha.types.inventory.ListInventoriesResponse
],
],
request: google.cloud.osconfig_v1alpha.types.inventory.ListInventoriesRequest,
response: google.cloud.osconfig_v1alpha.types.inventory.ListInventoriesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInventoriesAsyncPager
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInventoriesPager
ListInventoriesPager(
method: typing.Callable[
[...], google.cloud.osconfig_v1alpha.types.inventory.ListInventoriesResponse
],
request: google.cloud.osconfig_v1alpha.types.inventory.ListInventoriesRequest,
response: google.cloud.osconfig_v1alpha.types.inventory.ListInventoriesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListInventoriesPager
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsAsyncPager
ListOSPolicyAssignmentReportsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsResponse
],
],
request: google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest,
response: google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentReportsPager
ListOSPolicyAssignmentReportsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsResponse,
],
request: google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest,
response: google.cloud.osconfig_v1alpha.types.os_policy_assignment_reports.ListOSPolicyAssignmentReportsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentRevisionsAsyncPager
ListOSPolicyAssignmentRevisionsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsResponse
],
],
request: google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest,
response: google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentRevisionsPager
ListOSPolicyAssignmentRevisionsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsResponse,
],
request: google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest,
response: google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentRevisionsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsAsyncPager
ListOSPolicyAssignmentsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentsResponse
],
],
request: google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentsRequest,
response: google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsPager
ListOSPolicyAssignmentsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentsResponse,
],
request: google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentsRequest,
response: google.cloud.osconfig_v1alpha.types.os_policy_assignments.ListOSPolicyAssignmentsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListOSPolicyAssignmentsPager
google.cloud.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListVulnerabilityReportsAsyncPager
ListVulnerabilityReportsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.osconfig_v1alpha.types.vulnerability.ListVulnerabilityReportsResponse
],
],
request: google.cloud.osconfig_v1alpha.types.vulnerability.ListVulnerabilityReportsRequest,
response: google.cloud.osconfig_v1alpha.types.vulnerability.ListVulnerabilityReportsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListVulnerabilityReportsPager
ListVulnerabilityReportsPager(
method: typing.Callable[
[...],
google.cloud.osconfig_v1alpha.types.vulnerability.ListVulnerabilityReportsResponse,
],
request: google.cloud.osconfig_v1alpha.types.vulnerability.ListVulnerabilityReportsRequest,
response: google.cloud.osconfig_v1alpha.types.vulnerability.ListVulnerabilityReportsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
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.osconfig_v1alpha.services.os_config_zonal_service.pagers.ListVulnerabilityReportsPager