Summary of entries of Methods for securesourcemanager.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient
SecureSourceManagerAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securesourcemanager_v1.services.secure_source_manager.transports.base.SecureSourceManagerTransport, typing.Callable[[...], google.cloud.securesourcemanager_v1.services.secure_source_manager.transports.base.SecureSourceManagerTransport]]] = '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 secure source manager async client.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.branch_rule_path
branch_rule_path(
project: str, location: str, repository: str, branch_rule: str
) -> str
Returns a fully-qualified branch_rule string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.ca_pool_path
ca_pool_path(project: str, location: str, ca_pool: str) -> str
Returns a fully-qualified ca_pool string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.create_branch_rule
create_branch_rule(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.CreateBranchRuleRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
branch_rule: typing.Optional[
google.cloud.securesourcemanager_v1.types.secure_source_manager.BranchRule
] = None,
branch_rule_id: 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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
CreateBranchRule creates a branch rule in a given repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.create_instance
create_instance(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.CreateInstanceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
instance: typing.Optional[
google.cloud.securesourcemanager_v1.types.secure_source_manager.Instance
] = None,
instance_id: 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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new instance in a given project and location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.create_repository
create_repository(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.CreateRepositoryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
repository: typing.Optional[
google.cloud.securesourcemanager_v1.types.secure_source_manager.Repository
] = None,
repository_id: 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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Creates a new repository in a given project and location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> str
Returns a fully-qualified crypto_key string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.delete_branch_rule
delete_branch_rule(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.DeleteBranchRuleRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
DeleteBranchRule deletes a branch rule.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.delete_instance
delete_instance(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.DeleteInstanceRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a single instance.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.delete_repository
delete_repository(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.DeleteRepositoryRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
Deletes a Repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.get_branch_rule
get_branch_rule(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.GetBranchRuleRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.securesourcemanager_v1.types.secure_source_manager.BranchRule
GetBranchRule gets a branch rule.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = 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, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.get_iam_policy_repo
get_iam_policy_repo(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Get IAM policy for a repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.get_instance
get_instance(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.GetInstanceRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.securesourcemanager_v1.types.secure_source_manager.Instance
Gets details of a single instance.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.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, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.get_repository
get_repository(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.GetRepositoryRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.securesourcemanager_v1.types.secure_source_manager.Repository
Gets metadata of a repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.securesourcemanager_v1.services.secure_source_manager.transports.base.SecureSourceManagerTransport
]
Returns an appropriate transport class.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.instance_path
instance_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified instance string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.list_branch_rules
list_branch_rules(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListBranchRulesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListBranchRulesAsyncPager
)
ListBranchRules lists branch rules in a given repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.list_instances
list_instances(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListInstancesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListInstancesAsyncPager
)
Lists Instances in a given project and location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.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, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.list_repositories
list_repositories(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListRepositoriesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListRepositoriesAsyncPager
)
Lists Repositories in a given project and location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_branch_rule_path
parse_branch_rule_path(path: str) -> typing.Dict[str, str]
Parses a branch_rule path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_ca_pool_path
parse_ca_pool_path(path: str) -> typing.Dict[str, str]
Parses a ca_pool path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]
Parses a crypto_key path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_repository_path
parse_repository_path(path: str) -> typing.Dict[str, str]
Parses a repository path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.parse_service_attachment_path
parse_service_attachment_path(path: str) -> typing.Dict[str, str]
Parses a service_attachment path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.repository_path
repository_path(project: str, location: str, repository: str) -> str
Returns a fully-qualified repository string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.service_attachment_path
service_attachment_path(project: str, region: str, service_attachment: str) -> str
Returns a fully-qualified service_attachment string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = 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, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.set_iam_policy_repo
set_iam_policy_repo(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Set IAM policy on a repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.test_iam_permissions_repo
test_iam_permissions_repo(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Test IAM permissions on a repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerAsyncClient.update_branch_rule
update_branch_rule(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.UpdateBranchRuleRequest,
dict,
]
] = None,
*,
branch_rule: typing.Optional[
google.cloud.securesourcemanager_v1.types.secure_source_manager.BranchRule
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation
UpdateBranchRule updates a branch rule.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient
SecureSourceManagerClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securesourcemanager_v1.services.secure_source_manager.transports.base.SecureSourceManagerTransport, typing.Callable[[...], google.cloud.securesourcemanager_v1.services.secure_source_manager.transports.base.SecureSourceManagerTransport]]] = 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 secure source manager client.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.exit
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.branch_rule_path
branch_rule_path(
project: str, location: str, repository: str, branch_rule: str
) -> str
Returns a fully-qualified branch_rule string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.ca_pool_path
ca_pool_path(project: str, location: str, ca_pool: str) -> str
Returns a fully-qualified ca_pool string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.create_branch_rule
create_branch_rule(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.CreateBranchRuleRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
branch_rule: typing.Optional[
google.cloud.securesourcemanager_v1.types.secure_source_manager.BranchRule
] = None,
branch_rule_id: 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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
CreateBranchRule creates a branch rule in a given repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.create_instance
create_instance(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.CreateInstanceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
instance: typing.Optional[
google.cloud.securesourcemanager_v1.types.secure_source_manager.Instance
] = None,
instance_id: 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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new instance in a given project and location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.create_repository
create_repository(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.CreateRepositoryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
repository: typing.Optional[
google.cloud.securesourcemanager_v1.types.secure_source_manager.Repository
] = None,
repository_id: 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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates a new repository in a given project and location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.crypto_key_path
crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> str
Returns a fully-qualified crypto_key string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.delete_branch_rule
delete_branch_rule(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.DeleteBranchRuleRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
DeleteBranchRule deletes a branch rule.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.delete_instance
delete_instance(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.DeleteInstanceRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a single instance.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> None
Deletes a long-running operation.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.delete_repository
delete_repository(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.DeleteRepositoryRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes a Repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.get_branch_rule
get_branch_rule(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.GetBranchRuleRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.securesourcemanager_v1.types.secure_source_manager.BranchRule
GetBranchRule gets a branch rule.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.get_iam_policy
get_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest] = 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, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the IAM access control policy for a function.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.get_iam_policy_repo
get_iam_policy_repo(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Get IAM policy for a repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.get_instance
get_instance(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.GetInstanceRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.securesourcemanager_v1.types.secure_source_manager.Instance
Gets details of a single instance.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.get_location
get_location(
request: typing.Optional[
google.cloud.location.locations_pb2.GetLocationRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location
Gets information about a location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.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, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.get_repository
get_repository(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.GetRepositoryRequest,
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, typing.Union[str, bytes]]] = ()
) -> google.cloud.securesourcemanager_v1.types.secure_source_manager.Repository
Gets metadata of a repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.instance_path
instance_path(project: str, location: str, instance: str) -> str
Returns a fully-qualified instance string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.list_branch_rules
list_branch_rules(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListBranchRulesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListBranchRulesPager
)
ListBranchRules lists branch rules in a given repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.list_instances
list_instances(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListInstancesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListInstancesPager
)
Lists Instances in a given project and location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.list_locations
list_locations(
request: typing.Optional[
google.cloud.location.locations_pb2.ListLocationsRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse
Lists information about the supported locations for this service.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.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, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.list_repositories
list_repositories(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListRepositoriesRequest,
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, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListRepositoriesPager
)
Lists Repositories in a given project and location.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_branch_rule_path
parse_branch_rule_path(path: str) -> typing.Dict[str, str]
Parses a branch_rule path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_ca_pool_path
parse_ca_pool_path(path: str) -> typing.Dict[str, str]
Parses a ca_pool path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.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.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_crypto_key_path
parse_crypto_key_path(path: str) -> typing.Dict[str, str]
Parses a crypto_key path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_instance_path
parse_instance_path(path: str) -> typing.Dict[str, str]
Parses a instance path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_repository_path
parse_repository_path(path: str) -> typing.Dict[str, str]
Parses a repository path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.parse_service_attachment_path
parse_service_attachment_path(path: str) -> typing.Dict[str, str]
Parses a service_attachment path into its component segments.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.repository_path
repository_path(project: str, location: str, repository: str) -> str
Returns a fully-qualified repository string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.service_attachment_path
service_attachment_path(project: str, region: str, service_attachment: str) -> str
Returns a fully-qualified service_attachment string.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.set_iam_policy
set_iam_policy(
request: typing.Optional[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest] = 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, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the IAM access control policy on the specified function.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.set_iam_policy_repo
set_iam_policy_repo(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.policy_pb2.Policy
Set IAM policy on a repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest
] = 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, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Tests the specified IAM permissions against the IAM access control policy for a function.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.test_iam_permissions_repo
test_iam_permissions_repo(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Test IAM permissions on a repository.
google.cloud.securesourcemanager_v1.services.secure_source_manager.SecureSourceManagerClient.update_branch_rule
update_branch_rule(
request: typing.Optional[
typing.Union[
google.cloud.securesourcemanager_v1.types.secure_source_manager.UpdateBranchRuleRequest,
dict,
]
] = None,
*,
branch_rule: typing.Optional[
google.cloud.securesourcemanager_v1.types.secure_source_manager.BranchRule
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
UpdateBranchRule updates a branch rule.
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListBranchRulesAsyncPager
ListBranchRulesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListBranchRulesResponse
],
],
request: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListBranchRulesRequest,
response: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListBranchRulesResponse,
*,
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, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListBranchRulesAsyncPager
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListBranchRulesPager
ListBranchRulesPager(
method: typing.Callable[
[...],
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListBranchRulesResponse,
],
request: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListBranchRulesRequest,
response: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListBranchRulesResponse,
*,
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, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListBranchRulesPager
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListInstancesAsyncPager
ListInstancesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListInstancesResponse
],
],
request: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListInstancesRequest,
response: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListInstancesResponse,
*,
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, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListInstancesAsyncPager
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListInstancesPager
ListInstancesPager(
method: typing.Callable[
[...],
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListInstancesResponse,
],
request: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListInstancesRequest,
response: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListInstancesResponse,
*,
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, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListInstancesPager
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListRepositoriesAsyncPager
ListRepositoriesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListRepositoriesResponse
],
],
request: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListRepositoriesRequest,
response: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListRepositoriesResponse,
*,
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, typing.Union[str, bytes]]] = ()
)
Instantiates the pager.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListRepositoriesAsyncPager
google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListRepositoriesPager
ListRepositoriesPager(
method: typing.Callable[
[...],
google.cloud.securesourcemanager_v1.types.secure_source_manager.ListRepositoriesResponse,
],
request: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListRepositoriesRequest,
response: google.cloud.securesourcemanager_v1.types.secure_source_manager.ListRepositoriesResponse,
*,
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, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.securesourcemanager_v1.services.secure_source_manager.pagers.ListRepositoriesPager