Package Methods (1.12.0)

Summary of entries of Methods for policytroubleshooter.

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient

IamCheckerAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.policytroubleshooter_v1.services.iam_checker.transports.base.IamCheckerTransport, typing.Callable[[...], google.cloud.policytroubleshooter_v1.services.iam_checker.transports.base.IamCheckerTransport]]] = '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 iam checker async client.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.from_service_account_file

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.from_service_account_info

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.from_service_account_json

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.get_transport_class

get_transport_class(
    label: typing.Optional[str] = None,
) -> typing.Type[
    google.cloud.policytroubleshooter_v1.services.iam_checker.transports.base.IamCheckerTransport
]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.troubleshoot_iam_policy

troubleshoot_iam_policy(
    request: typing.Optional[
        typing.Union[
            google.cloud.policytroubleshooter_v1.types.checker.TroubleshootIamPolicyRequest,
            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.policytroubleshooter_v1.types.checker.TroubleshootIamPolicyResponse

Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerAsyncClient.troubleshoot_iam_policy

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient

IamCheckerClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.policytroubleshooter_v1.services.iam_checker.transports.base.IamCheckerTransport, typing.Callable[[...], google.cloud.policytroubleshooter_v1.services.iam_checker.transports.base.IamCheckerTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.__exit__

__exit__(type, value, traceback)

Releases underlying transport's resources.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.exit

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.common_project_path

common_project_path(project: str) -> str

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.from_service_account_file

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.from_service_account_info

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.from_service_account_json

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.troubleshoot_iam_policy

troubleshoot_iam_policy(
    request: typing.Optional[
        typing.Union[
            google.cloud.policytroubleshooter_v1.types.checker.TroubleshootIamPolicyRequest,
            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.policytroubleshooter_v1.types.checker.TroubleshootIamPolicyResponse

Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.

See more: google.cloud.policytroubleshooter_v1.services.iam_checker.IamCheckerClient.troubleshoot_iam_policy