Class ProjectsResource.HmacKeysResource.UpdateRequest
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.
Inheritance
object
ProjectsResource.HmacKeysResource.UpdateRequest
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.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 |
---|---|---|
IClientService | service | |
HmacKeyMetadata | body | |
string | projectId | |
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 |
---|---|
string |
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.HmacKeyMetadata>.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.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 |
---|---|
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.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 |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
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()