Modifier and Type | Class and Description |
---|---|
class |
Storage.ManagedFolders.Delete |
class |
Storage.ManagedFolders.Get |
class |
Storage.ManagedFolders.GetIamPolicy |
class |
Storage.ManagedFolders.Insert |
class |
Storage.ManagedFolders.List |
class |
Storage.ManagedFolders.SetIamPolicy |
class |
Storage.ManagedFolders.TestIamPermissions |
Constructor and Description |
---|
ManagedFolders() |
Modifier and Type | Method and Description |
---|---|
Storage.ManagedFolders.Delete |
delete(String bucket,
String managedFolder)
Permanently deletes a managed folder.
|
Storage.ManagedFolders.Get |
get(String bucket,
String managedFolder)
Returns metadata of the specified managed folder.
|
Storage.ManagedFolders.GetIamPolicy |
getIamPolicy(String bucket,
String managedFolder)
Returns an IAM policy for the specified managed folder.
|
Storage.ManagedFolders.Insert |
insert(String bucket,
ManagedFolder content)
Creates a new managed folder.
|
Storage.ManagedFolders.List |
list(String bucket)
Lists managed folders in the given bucket.
|
Storage.ManagedFolders.SetIamPolicy |
setIamPolicy(String bucket,
String managedFolder,
Policy content)
Updates an IAM policy for the specified managed folder.
|
Storage.ManagedFolders.TestIamPermissions |
testIamPermissions(String bucket,
String managedFolder,
List<String> permissions)
Tests a set of permissions on the given managed folder to see which, if any, are held by the
caller.
|
public Storage.ManagedFolders.Delete delete(String bucket, String managedFolder) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the bucket containing the managed folder.managedFolder
- The managed folder name/path.IOException
public Storage.ManagedFolders.Get get(String bucket, String managedFolder) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the bucket containing the managed folder.managedFolder
- The managed folder name/path.IOException
public Storage.ManagedFolders.GetIamPolicy getIamPolicy(String bucket, String managedFolder) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the bucket containing the managed folder.managedFolder
- The managed folder name/path.IOException
public Storage.ManagedFolders.Insert insert(String bucket, ManagedFolder content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the bucket containing the managed folder.content
- the ManagedFolder
IOException
public Storage.ManagedFolders.List list(String bucket) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the bucket containing the managed folder.IOException
public Storage.ManagedFolders.SetIamPolicy setIamPolicy(String bucket, String managedFolder, Policy content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the bucket containing the managed folder.managedFolder
- The managed folder name/path.content
- the Policy
IOException
public Storage.ManagedFolders.TestIamPermissions testIamPermissions(String bucket, String managedFolder, List<String> permissions) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the bucket containing the managed folder.managedFolder
- The managed folder name/path.permissions
- Permissions to test.IOException
Copyright © 2011–2024 Google. All rights reserved.