Class AnywhereCachesResource.UpdateRequest
Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance.
Inheritance
AnywhereCachesResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class AnywhereCachesResource.UpdateRequest : StorageBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, AnywhereCache, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, AnywhereCache body, string bucket, string anywhereCacheId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AnywhereCache | body | |
string | bucket | |
string | anywhereCacheId |
Properties
AnywhereCacheId
The ID of requested Anywhere Cache instance.
Declaration
[RequestParameter("anywhereCacheId", RequestParameterType.Path)]
public virtual string AnywhereCacheId { get; }
Property Value
Type | Description |
---|---|
string |
Bucket
Name of the parent bucket.
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
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()