Class HmacKeyMetadata
JSON template to produce a JSON-style HMAC Key metadata resource.
Implements
Inherited Members
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class HmacKeyMetadata : IDirectResponseSchema
Properties
AccessId
The ID of the HMAC Key.
Declaration
[JsonProperty("accessId")]
public virtual string AccessId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
HTTP 1.1 Entity tag for the HMAC key.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The ID of the HMAC key, including the Project ID and the Access ID.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Project ID owning the service account to which the key authenticates.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLink
The link to this resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccountEmail
The email address of the key's associated service account.
Declaration
[JsonProperty("serviceAccountEmail")]
public virtual string ServiceAccountEmail { get; set; }
Property Value
Type | Description |
---|---|
string |
State
The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeCreated
DateTime representation of TimeCreatedRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TimeCreatedDateTimeOffset instead.")]
public virtual DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
TimeCreatedDateTimeOffset
DateTimeOffset representation of TimeCreatedRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TimeCreatedDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
TimeCreatedRaw
The creation time of the HMAC key in RFC 3339 format.
Declaration
[JsonProperty("timeCreated")]
public virtual string TimeCreatedRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Updated
DateTime representation of UpdatedRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdatedDateTimeOffset instead.")]
public virtual DateTime? Updated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
UpdatedDateTimeOffset
DateTimeOffset representation of UpdatedRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdatedDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdatedRaw
The last modification time of the HMAC key metadata in RFC 3339 format.
Declaration
[JsonProperty("updated")]
public virtual string UpdatedRaw { get; set; }
Property Value
Type | Description |
---|---|
string |