Class ManagedFoldersResource
The "managedFolders" collection of methods.
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ManagedFoldersResource
Constructors
ManagedFoldersResource(IClientService)
Constructs a new resource.
Declaration
public ManagedFoldersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string)
Permanently deletes a managed folder.
Declaration
public virtual ManagedFoldersResource.DeleteRequest Delete(string bucket, string managedFolder)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of the bucket containing the managed folder. |
string | managedFolder | The managed folder name/path. |
Returns
Type | Description |
---|---|
ManagedFoldersResource.DeleteRequest |
Get(string, string)
Returns metadata of the specified managed folder.
Declaration
public virtual ManagedFoldersResource.GetRequest Get(string bucket, string managedFolder)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of the bucket containing the managed folder. |
string | managedFolder | The managed folder name/path. |
Returns
Type | Description |
---|---|
ManagedFoldersResource.GetRequest |
GetIamPolicy(string, string)
Returns an IAM policy for the specified managed folder.
Declaration
public virtual ManagedFoldersResource.GetIamPolicyRequest GetIamPolicy(string bucket, string managedFolder)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of the bucket containing the managed folder. |
string | managedFolder | The managed folder name/path. |
Returns
Type | Description |
---|---|
ManagedFoldersResource.GetIamPolicyRequest |
Insert(ManagedFolder, string)
Creates a new managed folder.
Declaration
public virtual ManagedFoldersResource.InsertRequest Insert(ManagedFolder body, string bucket)
Parameters
Type | Name | Description |
---|---|---|
ManagedFolder | body | The body of the request. |
string | bucket | Name of the bucket containing the managed folder. |
Returns
Type | Description |
---|---|
ManagedFoldersResource.InsertRequest |
List(string)
Lists managed folders in the given bucket.
Declaration
public virtual ManagedFoldersResource.ListRequest List(string bucket)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of the bucket containing the managed folder. |
Returns
Type | Description |
---|---|
ManagedFoldersResource.ListRequest |
SetIamPolicy(Policy, string, string)
Updates an IAM policy for the specified managed folder.
Declaration
public virtual ManagedFoldersResource.SetIamPolicyRequest SetIamPolicy(Policy body, string bucket, string managedFolder)
Parameters
Type | Name | Description |
---|---|---|
Policy | body | The body of the request. |
string | bucket | Name of the bucket containing the managed folder. |
string | managedFolder | The managed folder name/path. |
Returns
Type | Description |
---|---|
ManagedFoldersResource.SetIamPolicyRequest |
TestIamPermissions(string, string, Repeatable<string>)
Tests a set of permissions on the given managed folder to see which, if any, are held by the caller.
Declaration
public virtual ManagedFoldersResource.TestIamPermissionsRequest TestIamPermissions(string bucket, string managedFolder, Repeatable<string> permissions)
Parameters
Type | Name | Description |
---|---|---|
string | bucket | Name of the bucket containing the managed folder. |
string | managedFolder | The managed folder name/path. |
Repeatable<string> | permissions | Permissions to test. |
Returns
Type | Description |
---|---|
ManagedFoldersResource.TestIamPermissionsRequest |