Class ProjectsResource.HmacKeysResource
The "hmacKeys" collection of methods.
Inheritance
System.Object
ProjectsResource.HmacKeysResource
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 HmacKeysResource
Constructors
HmacKeysResource(IClientService)
Constructs a new resource.
Declaration
public HmacKeysResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Create(String, String)
Creates a new HMAC key for the specified service account.
Declaration
public virtual ProjectsResource.HmacKeysResource.CreateRequest Create(string projectId, string serviceAccountEmail)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectId | Project ID owning the service account. |
System.String | serviceAccountEmail | Email address of the service account. |
Returns
Type | Description |
---|---|
ProjectsResource.HmacKeysResource.CreateRequest |
Delete(String, String)
Deletes an HMAC key.
Declaration
public virtual ProjectsResource.HmacKeysResource.DeleteRequest Delete(string projectId, string accessId)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectId | Project ID owning the requested key |
System.String | accessId | Name of the HMAC key to be deleted. |
Returns
Type | Description |
---|---|
ProjectsResource.HmacKeysResource.DeleteRequest |
Get(String, String)
Retrieves an HMAC key's metadata
Declaration
public virtual ProjectsResource.HmacKeysResource.GetRequest Get(string projectId, string accessId)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectId | Project ID owning the service account of the requested key. |
System.String | accessId | Name of the HMAC key. |
Returns
Type | Description |
---|---|
ProjectsResource.HmacKeysResource.GetRequest |
List(String)
Retrieves a list of HMAC keys matching the criteria.
Declaration
public virtual ProjectsResource.HmacKeysResource.ListRequest List(string projectId)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectId | Name of the project in which to look for HMAC keys. |
Returns
Type | Description |
---|---|
ProjectsResource.HmacKeysResource.ListRequest |
Update(HmacKeyMetadata, String, String)
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.
Declaration
public virtual ProjectsResource.HmacKeysResource.UpdateRequest Update(HmacKeyMetadata body, string projectId, string accessId)
Parameters
Type | Name | Description |
---|---|---|
HmacKeyMetadata | body | The body of the request. |
System.String | projectId | Project ID owning the service account of the updated key. |
System.String | accessId | Name of the HMAC key being updated. |
Returns
Type | Description |
---|---|
ProjectsResource.HmacKeysResource.UpdateRequest |