Class ProjectsResource.HmacKeysResource.UpdateRequest
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.
Inheritance
System.Object
ProjectsResource.HmacKeysResource.UpdateRequest
Inherited Members
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 |
|---|---|---|
| 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()