Package Methods (0.1.7)

Summary of entries of Methods for policysimulator.

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient

SimulatorAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.policysimulator_v1.services.simulator.transports.base.SimulatorTransport, typing.Callable[[...], google.cloud.policysimulator_v1.services.simulator.transports.base.SimulatorTransport]]] = '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 simulator async client.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.common_location_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.create_replay

create_replay(
    request: typing.Optional[
        typing.Union[
            google.cloud.policysimulator_v1.types.simulator.CreateReplayRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    replay: typing.Optional[
        google.cloud.policysimulator_v1.types.simulator.Replay
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation

Creates and starts a xref_Replay using the given xref_ReplayConfig.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.create_replay

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.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.policysimulator_v1.services.simulator.SimulatorAsyncClient.from_service_account_file

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.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.policysimulator_v1.services.simulator.SimulatorAsyncClient.from_service_account_info

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.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.policysimulator_v1.services.simulator.SimulatorAsyncClient.from_service_account_json

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.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.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.get_mtls_endpoint_and_cert_source

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.get_operation

get_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.GetOperationRequest
    ] = 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.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.get_operation

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.get_replay

get_replay(
    request: typing.Optional[
        typing.Union[
            google.cloud.policysimulator_v1.types.simulator.GetReplayRequest, 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.policysimulator_v1.types.simulator.Replay

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.get_transport_class

get_transport_class() -> (
    typing.Type[
        google.cloud.policysimulator_v1.services.simulator.transports.base.SimulatorTransport
    ]
)

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.list_operations

list_operations(
    request: typing.Optional[
        google.longrunning.operations_pb2.ListOperationsRequest
    ] = 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.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.list_operations

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.list_replay_results

list_replay_results(
    request: typing.Optional[
        typing.Union[
            google.cloud.policysimulator_v1.types.simulator.ListReplayResultsRequest,
            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.policysimulator_v1.services.simulator.pagers.ListReplayResultsAsyncPager
)

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_common_billing_account_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_common_folder_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_common_location_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_common_organization_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_common_project_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_replay_path

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

Parses a replay path into its component segments.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_replay_path

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_replay_result_path

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

Parses a replay_result path into its component segments.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.parse_replay_result_path

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.replay_path

replay_path(project: str, location: str, replay: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient.replay_result_path

replay_result_path(
    project: str, location: str, replay: str, replay_result: str
) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorClient

SimulatorClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.policysimulator_v1.services.simulator.transports.base.SimulatorTransport, typing.Callable[[...], google.cloud.policysimulator_v1.services.simulator.transports.base.SimulatorTransport]]] = 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 simulator client.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.__exit__

__exit__(type, value, traceback)

Releases underlying transport's resources.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.exit

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.common_location_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.common_project_path

common_project_path(project: str) -> str

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.create_replay

create_replay(
    request: typing.Optional[
        typing.Union[
            google.cloud.policysimulator_v1.types.simulator.CreateReplayRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    replay: typing.Optional[
        google.cloud.policysimulator_v1.types.simulator.Replay
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation

Creates and starts a xref_Replay using the given xref_ReplayConfig.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.create_replay

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.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.policysimulator_v1.services.simulator.SimulatorClient.from_service_account_file

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.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.policysimulator_v1.services.simulator.SimulatorClient.from_service_account_info

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.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.policysimulator_v1.services.simulator.SimulatorClient.from_service_account_json

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.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.policysimulator_v1.services.simulator.SimulatorClient.get_operation

get_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.GetOperationRequest
    ] = 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.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.get_operation

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.get_replay

get_replay(
    request: typing.Optional[
        typing.Union[
            google.cloud.policysimulator_v1.types.simulator.GetReplayRequest, 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.policysimulator_v1.types.simulator.Replay

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.list_operations

list_operations(
    request: typing.Optional[
        google.longrunning.operations_pb2.ListOperationsRequest
    ] = 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.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.list_operations

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.list_replay_results

list_replay_results(
    request: typing.Optional[
        typing.Union[
            google.cloud.policysimulator_v1.types.simulator.ListReplayResultsRequest,
            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.policysimulator_v1.services.simulator.pagers.ListReplayResultsPager

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.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.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_common_billing_account_path

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_common_folder_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_common_location_path

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

Parse a location path into its component segments.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_common_location_path

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_common_organization_path

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

Parse a organization path into its component segments.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_common_organization_path

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_common_project_path

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

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_replay_path

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

Parses a replay path into its component segments.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_replay_path

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_replay_result_path

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

Parses a replay_result path into its component segments.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.parse_replay_result_path

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.replay_path

replay_path(project: str, location: str, replay: str) -> str

Returns a fully-qualified replay string.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.replay_path

google.cloud.policysimulator_v1.services.simulator.SimulatorClient.replay_result_path

replay_result_path(
    project: str, location: str, replay: str, replay_result: str
) -> str

Returns a fully-qualified replay_result string.

See more: google.cloud.policysimulator_v1.services.simulator.SimulatorClient.replay_result_path

google.cloud.policysimulator_v1.services.simulator.pagers.ListReplayResultsAsyncPager

ListReplayResultsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.policysimulator_v1.types.simulator.ListReplayResultsResponse
        ],
    ],
    request: google.cloud.policysimulator_v1.types.simulator.ListReplayResultsRequest,
    response: google.cloud.policysimulator_v1.types.simulator.ListReplayResultsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

google.cloud.policysimulator_v1.services.simulator.pagers.ListReplayResultsPager

ListReplayResultsPager(
    method: typing.Callable[
        [...], google.cloud.policysimulator_v1.types.simulator.ListReplayResultsResponse
    ],
    request: google.cloud.policysimulator_v1.types.simulator.ListReplayResultsRequest,
    response: google.cloud.policysimulator_v1.types.simulator.ListReplayResultsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)