Summary of entries of Methods for policytroubleshooter-iam.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient
PolicyTroubleshooterAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.transports.base.PolicyTroubleshooterTransport, typing.Callable[[...], google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.transports.base.PolicyTroubleshooterTransport]]] = '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 policy troubleshooter async client.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.transports.base.PolicyTroubleshooterTransport
]
)
Returns an appropriate transport class.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterAsyncClient.troubleshoot_iam_policy
troubleshoot_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.policytroubleshooter_iam_v3.types.troubleshooter.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_iam_v3.types.troubleshooter.TroubleshootIamPolicyResponse
)
Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or doesn't have that permission.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient
PolicyTroubleshooterClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.transports.base.PolicyTroubleshooterTransport, typing.Callable[[...], google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.transports.base.PolicyTroubleshooterTransport]]] = 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 policy troubleshooter client.
See more: google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.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.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.policytroubleshooter_iam_v3.services.policy_troubleshooter.PolicyTroubleshooterClient.troubleshoot_iam_policy
troubleshoot_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.policytroubleshooter_iam_v3.types.troubleshooter.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_iam_v3.types.troubleshooter.TroubleshootIamPolicyResponse
)
Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or doesn't have that permission.