Class ProjectsResource.HmacKeysResource.UpdateRequest
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.
Inheritance
ProjectsResource.HmacKeysResource.UpdateRequest
Inherited Members
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
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
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()