Summary of entries of Methods for containeranalysis.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient
ContainerAnalysisAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.devtools.containeranalysis_v1.services.container_analysis.transports.base.ContainerAnalysisTransport, typing.Callable[[...], google.cloud.devtools.containeranalysis_v1.services.container_analysis.transports.base.ContainerAnalysisTransport]]] = '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 container analysis async client.
See more: google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: 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.iam.v1.policy_pb2.Policy
Gets the access control policy for a note or an occurrence resource.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.devtools.containeranalysis_v1.services.container_analysis.transports.base.ContainerAnalysisTransport
]
)
Returns an appropriate transport class.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.get_vulnerability_occurrences_summary
get_vulnerability_occurrences_summary(
request: typing.Optional[
typing.Union[
google.cloud.devtools.containeranalysis_v1.types.containeranalysis.GetVulnerabilityOccurrencesSummaryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
filter: 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.devtools.containeranalysis_v1.types.containeranalysis.VulnerabilityOccurrencesSummary
)
Gets a summary of the number and severity of occurrences.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: 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.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified note or occurrence.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[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.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified note or occurrence.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient
ContainerAnalysisClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.devtools.containeranalysis_v1.services.container_analysis.transports.base.ContainerAnalysisTransport, typing.Callable[[...], google.cloud.devtools.containeranalysis_v1.services.container_analysis.transports.base.ContainerAnalysisTransport]]] = 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 container analysis client.
See more: google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.exit
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: 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.iam.v1.policy_pb2.Policy
Gets the access control policy for a note or an occurrence resource.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.get_vulnerability_occurrences_summary
get_vulnerability_occurrences_summary(
request: typing.Optional[
typing.Union[
google.cloud.devtools.containeranalysis_v1.types.containeranalysis.GetVulnerabilityOccurrencesSummaryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
filter: 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.devtools.containeranalysis_v1.types.containeranalysis.VulnerabilityOccurrencesSummary
)
Gets a summary of the number and severity of occurrences.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.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.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: 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.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified note or occurrence.
google.cloud.devtools.containeranalysis_v1.services.container_analysis.ContainerAnalysisClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[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.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified note or occurrence.