Class ProjectsResource.HmacKeysResource.CreateRequest
Creates a new HMAC key for the specified service account.
Inheritance
object
ProjectsResource.HmacKeysResource.CreateRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ProjectsResource.HmacKeysResource.CreateRequest : StorageBaseServiceRequest<HmacKey>, IClientServiceRequest<HmacKey>, IClientServiceRequest
Constructors
CreateRequest(IClientService, string, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, string projectId, string serviceAccountEmail)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId | |
string | serviceAccountEmail |
Properties
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.HmacKey>.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.HmacKey>.MethodName
ProjectId
Project ID owning the service account.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
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.HmacKey>.RestPath
ServiceAccountEmail
Email address of the service account.
Declaration
[RequestParameter("serviceAccountEmail", RequestParameterType.Query)]
public virtual string ServiceAccountEmail { get; }
Property Value
Type | Description |
---|---|
string |
UserProject
The project to be billed for this request.
Declaration
[RequestParameter("userProject", RequestParameterType.Query)]
public virtual string UserProject { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Storage.v1.StorageBaseServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.InitParameters()