Summary of entries of Methods for binaryauthorization.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient
BinauthzManagementServiceV1AsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.transports.base.BinauthzManagementServiceV1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.transports.base.BinauthzManagementServiceV1Transport]]] = '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 binauthz management service v1 async client.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.attestor_path
attestor_path(project: str, attestor: str) -> str
Returns a fully-qualified attestor string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.create_attestor
create_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.CreateAttestorRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
attestor_id: typing.Optional[str] = None,
attestor: typing.Optional[
google.cloud.binaryauthorization_v1.types.resources.Attestor
] = 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.binaryauthorization_v1.types.resources.Attestor
Creates an xref_attestor, and returns a copy of the new xref_attestor.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.delete_attestor
delete_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.DeleteAttestorRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an xref_attestor.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.get_attestor
get_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.GetAttestorRequest, 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.binaryauthorization_v1.types.resources.Attestor
Gets an xref_attestor.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.get_policy
get_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.GetPolicyRequest, 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.binaryauthorization_v1.types.resources.Policy
A xref_policy specifies the xref_attestors that must attest to a container image, before the project is allowed to deploy that image.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.transports.base.BinauthzManagementServiceV1Transport
]
)
Returns an appropriate transport class.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.list_attestors
list_attestors(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.ListAttestorsRequest, 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.binaryauthorization_v1.services.binauthz_management_service_v1.pagers.ListAttestorsAsyncPager
)
Lists xref_attestors.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.parse_attestor_path
parse_attestor_path(path: str) -> typing.Dict[str, str]
Parses a attestor path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.policy_path
policy_path(project: str) -> str
Returns a fully-qualified policy string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.update_attestor
update_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.UpdateAttestorRequest,
dict,
]
] = None,
*,
attestor: typing.Optional[
google.cloud.binaryauthorization_v1.types.resources.Attestor
] = 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.binaryauthorization_v1.types.resources.Attestor
Updates an xref_attestor.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1AsyncClient.update_policy
update_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.UpdatePolicyRequest, dict
]
] = None,
*,
policy: typing.Optional[
google.cloud.binaryauthorization_v1.types.resources.Policy
] = 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.binaryauthorization_v1.types.resources.Policy
Creates or updates a project's xref_policy, and returns a copy of the new xref_policy.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client
BinauthzManagementServiceV1Client(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.transports.base.BinauthzManagementServiceV1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.transports.base.BinauthzManagementServiceV1Transport]]] = 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 binauthz management service v1 client.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.attestor_path
attestor_path(project: str, attestor: str) -> str
Returns a fully-qualified attestor string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.create_attestor
create_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.CreateAttestorRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
attestor_id: typing.Optional[str] = None,
attestor: typing.Optional[
google.cloud.binaryauthorization_v1.types.resources.Attestor
] = 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.binaryauthorization_v1.types.resources.Attestor
Creates an xref_attestor, and returns a copy of the new xref_attestor.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.delete_attestor
delete_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.DeleteAttestorRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an xref_attestor.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.get_attestor
get_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.GetAttestorRequest, 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.binaryauthorization_v1.types.resources.Attestor
Gets an xref_attestor.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.get_policy
get_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.GetPolicyRequest, 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.binaryauthorization_v1.types.resources.Policy
A xref_policy specifies the xref_attestors that must attest to a container image, before the project is allowed to deploy that image.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.list_attestors
list_attestors(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.ListAttestorsRequest, 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.binaryauthorization_v1.services.binauthz_management_service_v1.pagers.ListAttestorsPager
)
Lists xref_attestors.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.parse_attestor_path
parse_attestor_path(path: str) -> typing.Dict[str, str]
Parses a attestor path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.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.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.policy_path
policy_path(project: str) -> str
Returns a fully-qualified policy string.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.update_attestor
update_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.UpdateAttestorRequest,
dict,
]
] = None,
*,
attestor: typing.Optional[
google.cloud.binaryauthorization_v1.types.resources.Attestor
] = 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.binaryauthorization_v1.types.resources.Attestor
Updates an xref_attestor.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.BinauthzManagementServiceV1Client.update_policy
update_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.UpdatePolicyRequest, dict
]
] = None,
*,
policy: typing.Optional[
google.cloud.binaryauthorization_v1.types.resources.Policy
] = 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.binaryauthorization_v1.types.resources.Policy
Creates or updates a project's xref_policy, and returns a copy of the new xref_policy.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.pagers.ListAttestorsAsyncPager
ListAttestorsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.binaryauthorization_v1.types.service.ListAttestorsResponse
],
],
request: google.cloud.binaryauthorization_v1.types.service.ListAttestorsRequest,
response: google.cloud.binaryauthorization_v1.types.service.ListAttestorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.pagers.ListAttestorsPager
ListAttestorsPager(
method: typing.Callable[
[...], google.cloud.binaryauthorization_v1.types.service.ListAttestorsResponse
],
request: google.cloud.binaryauthorization_v1.types.service.ListAttestorsRequest,
response: google.cloud.binaryauthorization_v1.types.service.ListAttestorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient
SystemPolicyV1AsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1.services.system_policy_v1.transports.base.SystemPolicyV1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1.services.system_policy_v1.transports.base.SystemPolicyV1Transport]]] = '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 system policy v1 async client.
See more: google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.get_system_policy
get_system_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.GetSystemPolicyRequest,
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.binaryauthorization_v1.types.resources.Policy
Gets the current system policy in the specified location.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.binaryauthorization_v1.services.system_policy_v1.transports.base.SystemPolicyV1Transport
]
)
Returns an appropriate transport class.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.policy_path
policy_path(project: str) -> str
Returns a fully-qualified policy string.
See more: google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1AsyncClient.policy_path
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client
SystemPolicyV1Client(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1.services.system_policy_v1.transports.base.SystemPolicyV1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1.services.system_policy_v1.transports.base.SystemPolicyV1Transport]]] = 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 system policy v1 client.
See more: google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.exit
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.get_system_policy
get_system_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.GetSystemPolicyRequest,
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.binaryauthorization_v1.types.resources.Policy
Gets the current system policy in the specified location.
See more: google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.get_system_policy
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.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.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
See more: google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.parse_policy_path
google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.policy_path
policy_path(project: str) -> str
Returns a fully-qualified policy string.
See more: google.cloud.binaryauthorization_v1.services.system_policy_v1.SystemPolicyV1Client.policy_path
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient
ValidationHelperV1AsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1.services.validation_helper_v1.transports.base.ValidationHelperV1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1.services.validation_helper_v1.transports.base.ValidationHelperV1Transport]]] = '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 validation helper v1 async client.
See more: google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.binaryauthorization_v1.services.validation_helper_v1.transports.base.ValidationHelperV1Transport
]
)
Returns an appropriate transport class.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1AsyncClient.validate_attestation_occurrence
validate_attestation_occurrence(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.ValidateAttestationOccurrenceRequest,
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.binaryauthorization_v1.types.service.ValidateAttestationOccurrenceResponse
)
Returns whether the given Attestation for the given image URI was signed by the given Attestor.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client
ValidationHelperV1Client(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1.services.validation_helper_v1.transports.base.ValidationHelperV1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1.services.validation_helper_v1.transports.base.ValidationHelperV1Transport]]] = 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 validation helper v1 client.
See more: google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.exit
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.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.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1.services.validation_helper_v1.ValidationHelperV1Client.validate_attestation_occurrence
validate_attestation_occurrence(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1.types.service.ValidateAttestationOccurrenceRequest,
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.binaryauthorization_v1.types.service.ValidateAttestationOccurrenceResponse
)
Returns whether the given Attestation for the given image URI was signed by the given Attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient
BinauthzManagementServiceV1Beta1AsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.transports.base.BinauthzManagementServiceV1Beta1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.transports.base.BinauthzManagementServiceV1Beta1Transport]]] = '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 binauthz management service v1 beta1 async client.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.attestor_path
attestor_path(project: str, attestor: str) -> str
Returns a fully-qualified attestor string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.create_attestor
create_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.CreateAttestorRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
attestor_id: typing.Optional[str] = None,
attestor: typing.Optional[
google.cloud.binaryauthorization_v1beta1.types.resources.Attestor
] = 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.binaryauthorization_v1beta1.types.resources.Attestor
Creates an xref_attestor, and returns a copy of the new xref_attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.delete_attestor
delete_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.DeleteAttestorRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an xref_attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.get_attestor
get_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.GetAttestorRequest,
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.binaryauthorization_v1beta1.types.resources.Attestor
Gets an xref_attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.get_policy
get_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.GetPolicyRequest,
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.binaryauthorization_v1beta1.types.resources.Policy
A xref_policy specifies the xref_attestors that must attest to a container image, before the project is allowed to deploy that image.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.transports.base.BinauthzManagementServiceV1Beta1Transport
]
)
Returns an appropriate transport class.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.list_attestors
list_attestors(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.ListAttestorsRequest,
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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.pagers.ListAttestorsAsyncPager
)
Lists xref_attestors.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.parse_attestor_path
parse_attestor_path(path: str) -> typing.Dict[str, str]
Parses a attestor path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.policy_path
policy_path(project: str) -> str
Returns a fully-qualified policy string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.update_attestor
update_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.UpdateAttestorRequest,
dict,
]
] = None,
*,
attestor: typing.Optional[
google.cloud.binaryauthorization_v1beta1.types.resources.Attestor
] = 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.binaryauthorization_v1beta1.types.resources.Attestor
Updates an xref_attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1AsyncClient.update_policy
update_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.UpdatePolicyRequest,
dict,
]
] = None,
*,
policy: typing.Optional[
google.cloud.binaryauthorization_v1beta1.types.resources.Policy
] = 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.binaryauthorization_v1beta1.types.resources.Policy
Creates or updates a project's xref_policy, and returns a copy of the new xref_policy.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client
BinauthzManagementServiceV1Beta1Client(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.transports.base.BinauthzManagementServiceV1Beta1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.transports.base.BinauthzManagementServiceV1Beta1Transport]]] = 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 binauthz management service v1 beta1 client.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.attestor_path
attestor_path(project: str, attestor: str) -> str
Returns a fully-qualified attestor string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.create_attestor
create_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.CreateAttestorRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
attestor_id: typing.Optional[str] = None,
attestor: typing.Optional[
google.cloud.binaryauthorization_v1beta1.types.resources.Attestor
] = 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.binaryauthorization_v1beta1.types.resources.Attestor
Creates an xref_attestor, and returns a copy of the new xref_attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.delete_attestor
delete_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.DeleteAttestorRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an xref_attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.get_attestor
get_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.GetAttestorRequest,
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.binaryauthorization_v1beta1.types.resources.Attestor
Gets an xref_attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.get_policy
get_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.GetPolicyRequest,
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.binaryauthorization_v1beta1.types.resources.Policy
A xref_policy specifies the xref_attestors that must attest to a container image, before the project is allowed to deploy that image.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.list_attestors
list_attestors(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.ListAttestorsRequest,
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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.pagers.ListAttestorsPager
)
Lists xref_attestors.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.parse_attestor_path
parse_attestor_path(path: str) -> typing.Dict[str, str]
Parses a attestor path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.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.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.policy_path
policy_path(project: str) -> str
Returns a fully-qualified policy string.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.update_attestor
update_attestor(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.UpdateAttestorRequest,
dict,
]
] = None,
*,
attestor: typing.Optional[
google.cloud.binaryauthorization_v1beta1.types.resources.Attestor
] = 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.binaryauthorization_v1beta1.types.resources.Attestor
Updates an xref_attestor.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.BinauthzManagementServiceV1Beta1Client.update_policy
update_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.UpdatePolicyRequest,
dict,
]
] = None,
*,
policy: typing.Optional[
google.cloud.binaryauthorization_v1beta1.types.resources.Policy
] = 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.binaryauthorization_v1beta1.types.resources.Policy
Creates or updates a project's xref_policy, and returns a copy of the new xref_policy.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.pagers.ListAttestorsAsyncPager
ListAttestorsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.binaryauthorization_v1beta1.types.service.ListAttestorsResponse
],
],
request: google.cloud.binaryauthorization_v1beta1.types.service.ListAttestorsRequest,
response: google.cloud.binaryauthorization_v1beta1.types.service.ListAttestorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.binaryauthorization_v1beta1.services.binauthz_management_service_v1_beta1.pagers.ListAttestorsPager
ListAttestorsPager(
method: typing.Callable[
[...],
google.cloud.binaryauthorization_v1beta1.types.service.ListAttestorsResponse,
],
request: google.cloud.binaryauthorization_v1beta1.types.service.ListAttestorsRequest,
response: google.cloud.binaryauthorization_v1beta1.types.service.ListAttestorsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient
SystemPolicyV1Beta1AsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.transports.base.SystemPolicyV1Beta1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.transports.base.SystemPolicyV1Beta1Transport]]] = '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 system policy v1 beta1 async client.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.get_system_policy
get_system_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.GetSystemPolicyRequest,
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.binaryauthorization_v1beta1.types.resources.Policy
Gets the current system policy in the specified location.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.transports.base.SystemPolicyV1Beta1Transport
]
)
Returns an appropriate transport class.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1AsyncClient.policy_path
policy_path(project: str) -> str
Returns a fully-qualified policy string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client
SystemPolicyV1Beta1Client(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.transports.base.SystemPolicyV1Beta1Transport, typing.Callable[[...], google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.transports.base.SystemPolicyV1Beta1Transport]]] = 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 system policy v1 beta1 client.
See more: google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.get_system_policy
get_system_policy(
request: typing.Optional[
typing.Union[
google.cloud.binaryauthorization_v1beta1.types.service.GetSystemPolicyRequest,
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.binaryauthorization_v1beta1.types.resources.Policy
Gets the current system policy in the specified location.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.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.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
google.cloud.binaryauthorization_v1beta1.services.system_policy_v1_beta1.SystemPolicyV1Beta1Client.policy_path
policy_path(project: str) -> str
Returns a fully-qualified policy string.