Class AnywhereCachesResource.InsertRequest
Creates an Anywhere Cache instance.
Inheritance
AnywhereCachesResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class AnywhereCachesResource.InsertRequest : StorageBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
InsertRequest(IClientService, AnywhereCache, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, AnywhereCache body, string bucket)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AnywhereCache | body | |
string | bucket |
Properties
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.GoogleLongrunningOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.GoogleLongrunningOperation>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.GoogleLongrunningOperation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()