Class ProjectsResource.HmacKeysResource.CreateRequest
Creates a new HMAC key for the specified service account.
Inheritance
ProjectsResource.HmacKeysResource.CreateRequest
Inherited Members
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
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()