Class ProjectsResource.HmacKeysResource.UpdateRequest
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<HmacKeyMetadata>
ProjectsResource.HmacKeysResource.UpdateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<HmacKeyMetadata>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.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 UpdateRequest : StorageBaseServiceRequest<HmacKeyMetadata>, IClientServiceRequest<HmacKeyMetadata>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, HmacKeyMetadata, String, String)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, HmacKeyMetadata body, string projectId, string accessId)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
HmacKeyMetadata | body | |
System.String | projectId | |
System.String | accessId |
Properties
AccessId
Name of the HMAC key being updated.
Declaration
[RequestParameter("accessId", RequestParameterType.Path)]
public virtual string AccessId { get; }
Property Value
Type | Description |
---|---|
System.String |
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.HmacKeyMetadata>.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.HmacKeyMetadata>.MethodName
ProjectId
Project ID owning the service account of the updated key.
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.HmacKeyMetadata>.RestPath
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
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.v1.Data.HmacKeyMetadata>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Storage.v1.StorageBaseServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest