Class ProjectsResource.HmacKeysResource.CreateRequest
Creates a new HMAC key for the specified service account.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<HmacKey>
ProjectsResource.HmacKeysResource.CreateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<HmacKey>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKey>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class 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 |
---|---|---|
Google.Apis.Services.IClientService | service | |
System.String | projectId | |
System.String | serviceAccountEmail |
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.v1.Data.HmacKey>.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.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 |
---|---|
System.String |
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.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 |
---|---|
System.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 |
---|---|
System.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()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest