Class ManagedFoldersResource.UpdateRequest
Updates a managed folder using patch semantics.
Inheritance
ManagedFoldersResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ManagedFoldersResource.UpdateRequest : StorageBaseServiceRequest<ManagedFolder>, IClientServiceRequest<ManagedFolder>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, ManagedFolder, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, ManagedFolder body, string bucket, string managedFolder)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ManagedFolder | body | |
| string | bucket | |
| string | managedFolder |
Properties
Bucket
The name of the bucket containing the managed folder.
Declaration
[RequestParameter("bucket", RequestParameterType.Path)]
public virtual string Bucket { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
IfMetagenerationMatch
Makes the operation conditional on whether the metageneration of the managed folder matches the specified value.
Declaration
[RequestParameter("ifMetagenerationMatch", RequestParameterType.Query)]
public virtual long? IfMetagenerationMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
IfMetagenerationNotMatch
Makes the operation conditional on whether the metageneration of the managed folder doesn't match the specified value.
Declaration
[RequestParameter("ifMetagenerationNotMatch", RequestParameterType.Query)]
public virtual long? IfMetagenerationNotMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
ManagedFolder
The name of the managed folder.
Declaration
[RequestParameter("managedFolder", RequestParameterType.Path)]
public virtual string ManagedFolder { get; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()