Summary of entries of Methods for google-cloud-storage-control.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient
StorageControlAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.storage_control_v2.services.storage_control.transports.base.StorageControlTransport, typing.Callable[[...], google.cloud.storage_control_v2.services.storage_control.transports.base.StorageControlTransport]]] = '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 storage control async client.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.create_folder
create_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.CreateFolderRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
folder: typing.Optional[
google.cloud.storage_control_v2.types.storage_control.Folder
] = None,
folder_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.cloud.storage_control_v2.types.storage_control.Folder
Creates a new folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.create_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.create_managed_folder
create_managed_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.CreateManagedFolderRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
managed_folder: typing.Optional[
google.cloud.storage_control_v2.types.storage_control.ManagedFolder
] = None,
managed_folder_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.cloud.storage_control_v2.types.storage_control.ManagedFolder
Creates a new managed folder.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.delete_folder
delete_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.DeleteFolderRequest,
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]]] = ()
) -> None
Permanently deletes an empty folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.delete_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.delete_managed_folder
delete_managed_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.DeleteManagedFolderRequest,
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]]] = ()
) -> None
Permanently deletes an empty managed folder.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.folder_path
folder_path(project: str, bucket: str, folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.folder_path
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.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.storage_control_v2.services.storage_control.StorageControlAsyncClient.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.storage_control_v2.services.storage_control.StorageControlAsyncClient.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.storage_control_v2.services.storage_control.StorageControlAsyncClient.get_folder
get_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.GetFolderRequest, 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.storage_control_v2.types.storage_control.Folder
Returns metadata for the specified folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.get_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.get_managed_folder
get_managed_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.GetManagedFolderRequest,
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.storage_control_v2.types.storage_control.ManagedFolder
Returns metadata for the specified managed folder.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.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.storage_control_v2.services.storage_control.StorageControlAsyncClient.get_storage_layout
get_storage_layout(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.GetStorageLayoutRequest,
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.storage_control_v2.types.storage_control.StorageLayout
Returns the storage layout configuration for a given bucket.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.storage_control_v2.services.storage_control.transports.base.StorageControlTransport
]
Returns an appropriate transport class.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.list_folders
list_folders(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.ListFoldersRequest,
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.storage_control_v2.services.storage_control.pagers.ListFoldersAsyncPager
)
Retrieves a list of folders.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.list_folders
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.list_managed_folders
list_managed_folders(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.ListManagedFoldersRequest,
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.storage_control_v2.services.storage_control.pagers.ListManagedFoldersAsyncPager
)
Retrieves a list of managed folders for a given bucket.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.managed_folder_path
managed_folder_path(project: str, bucket: str, managed_folder: str) -> str
Returns a fully-qualified managed_folder string.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.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.storage_control_v2.services.storage_control.StorageControlAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.parse_folder_path
parse_folder_path(path: str) -> typing.Dict[str, str]
Parses a folder path into its component segments.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.parse_folder_path
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.parse_managed_folder_path
parse_managed_folder_path(path: str) -> typing.Dict[str, str]
Parses a managed_folder path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.parse_storage_layout_path
parse_storage_layout_path(path: str) -> typing.Dict[str, str]
Parses a storage_layout path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.rename_folder
rename_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.RenameFolderRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
destination_folder_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
Renames a source folder to a destination folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.rename_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlAsyncClient.storage_layout_path
storage_layout_path(project: str, bucket: str) -> str
Returns a fully-qualified storage_layout string.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient
StorageControlClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.storage_control_v2.services.storage_control.transports.base.StorageControlTransport, typing.Callable[[...], google.cloud.storage_control_v2.services.storage_control.transports.base.StorageControlTransport]]] = 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 storage control client.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.exit
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.common_folder_path
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.common_location_path
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.common_project_path
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.create_folder
create_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.CreateFolderRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
folder: typing.Optional[
google.cloud.storage_control_v2.types.storage_control.Folder
] = None,
folder_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.cloud.storage_control_v2.types.storage_control.Folder
Creates a new folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.create_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.create_managed_folder
create_managed_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.CreateManagedFolderRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
managed_folder: typing.Optional[
google.cloud.storage_control_v2.types.storage_control.ManagedFolder
] = None,
managed_folder_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.cloud.storage_control_v2.types.storage_control.ManagedFolder
Creates a new managed folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.create_managed_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.delete_folder
delete_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.DeleteFolderRequest,
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]]] = ()
) -> None
Permanently deletes an empty folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.delete_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.delete_managed_folder
delete_managed_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.DeleteManagedFolderRequest,
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]]] = ()
) -> None
Permanently deletes an empty managed folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.delete_managed_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.folder_path
folder_path(project: str, bucket: str, folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.folder_path
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.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.storage_control_v2.services.storage_control.StorageControlClient.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.storage_control_v2.services.storage_control.StorageControlClient.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.storage_control_v2.services.storage_control.StorageControlClient.get_folder
get_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.GetFolderRequest, 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.storage_control_v2.types.storage_control.Folder
Returns metadata for the specified folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.get_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.get_managed_folder
get_managed_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.GetManagedFolderRequest,
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.storage_control_v2.types.storage_control.ManagedFolder
Returns metadata for the specified managed folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.get_managed_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.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.storage_control_v2.services.storage_control.StorageControlClient.get_storage_layout
get_storage_layout(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.GetStorageLayoutRequest,
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.storage_control_v2.types.storage_control.StorageLayout
Returns the storage layout configuration for a given bucket.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.get_storage_layout
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.list_folders
list_folders(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.ListFoldersRequest,
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.storage_control_v2.services.storage_control.pagers.ListFoldersPager
Retrieves a list of folders.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.list_folders
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.list_managed_folders
list_managed_folders(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.ListManagedFoldersRequest,
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.storage_control_v2.services.storage_control.pagers.ListManagedFoldersPager
)
Retrieves a list of managed folders for a given bucket.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.list_managed_folders
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.managed_folder_path
managed_folder_path(project: str, bucket: str, managed_folder: str) -> str
Returns a fully-qualified managed_folder string.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.managed_folder_path
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.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.storage_control_v2.services.storage_control.StorageControlClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.parse_folder_path
parse_folder_path(path: str) -> typing.Dict[str, str]
Parses a folder path into its component segments.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.parse_folder_path
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.parse_managed_folder_path
parse_managed_folder_path(path: str) -> typing.Dict[str, str]
Parses a managed_folder path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.parse_storage_layout_path
parse_storage_layout_path(path: str) -> typing.Dict[str, str]
Parses a storage_layout path into its component segments.
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.rename_folder
rename_folder(
request: typing.Optional[
typing.Union[
google.cloud.storage_control_v2.types.storage_control.RenameFolderRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
destination_folder_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
Renames a source folder to a destination folder.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.rename_folder
google.cloud.storage_control_v2.services.storage_control.StorageControlClient.storage_layout_path
storage_layout_path(project: str, bucket: str) -> str
Returns a fully-qualified storage_layout string.
See more: google.cloud.storage_control_v2.services.storage_control.StorageControlClient.storage_layout_path
google.cloud.storage_control_v2.services.storage_control.pagers.ListFoldersAsyncPager
ListFoldersAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.storage_control_v2.types.storage_control.ListFoldersResponse
],
],
request: google.cloud.storage_control_v2.types.storage_control.ListFoldersRequest,
response: google.cloud.storage_control_v2.types.storage_control.ListFoldersResponse,
*,
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.storage_control_v2.services.storage_control.pagers.ListFoldersAsyncPager
google.cloud.storage_control_v2.services.storage_control.pagers.ListFoldersPager
ListFoldersPager(
method: typing.Callable[
[...], google.cloud.storage_control_v2.types.storage_control.ListFoldersResponse
],
request: google.cloud.storage_control_v2.types.storage_control.ListFoldersRequest,
response: google.cloud.storage_control_v2.types.storage_control.ListFoldersResponse,
*,
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.storage_control_v2.services.storage_control.pagers.ListFoldersPager
google.cloud.storage_control_v2.services.storage_control.pagers.ListManagedFoldersAsyncPager
ListManagedFoldersAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.storage_control_v2.types.storage_control.ListManagedFoldersResponse
],
],
request: google.cloud.storage_control_v2.types.storage_control.ListManagedFoldersRequest,
response: google.cloud.storage_control_v2.types.storage_control.ListManagedFoldersResponse,
*,
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.storage_control_v2.services.storage_control.pagers.ListManagedFoldersAsyncPager
google.cloud.storage_control_v2.services.storage_control.pagers.ListManagedFoldersPager
ListManagedFoldersPager(
method: typing.Callable[
[...],
google.cloud.storage_control_v2.types.storage_control.ListManagedFoldersResponse,
],
request: google.cloud.storage_control_v2.types.storage_control.ListManagedFoldersRequest,
response: google.cloud.storage_control_v2.types.storage_control.ListManagedFoldersResponse,
*,
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.storage_control_v2.services.storage_control.pagers.ListManagedFoldersPager