Class BucketsResource.InsertRequest
Creates a new bucket.
Inheritance
System.Object
BucketsResource.InsertRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Storage.v1beta1
Assembly: Google.Apis.Storage.v1beta1.dll
Syntax
public class InsertRequest : StorageBaseServiceRequest<Bucket>, IClientServiceRequest<Bucket>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Bucket)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Bucket body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Bucket | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1beta1.Data.Bucket>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1beta1.Data.Bucket>.MethodName
Projection
Set of properties to return. Defaults to no_acl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.
Declaration
[RequestParameter("projection", RequestParameterType.Query)]
public virtual BucketsResource.InsertRequest.ProjectionEnum? Projection { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<BucketsResource.InsertRequest.ProjectionEnum> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1beta1.Data.Bucket>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1beta1.Data.Bucket>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Storage.v1beta1.StorageBaseServiceRequest<Google.Apis.Storage.v1beta1.Data.Bucket>.InitParameters()