Class GoogleCloudKmsInventoryV1ProtectedResource
Metadata about a resource protected by a Cloud KMS key.
Implements
Inherited Members
Namespace: Google.Apis.Kmsinventory.v1.Data
Assembly: Google.Apis.Kmsinventory.v1.dll
Syntax
public class GoogleCloudKmsInventoryV1ProtectedResource : IDirectResponseSchema
Properties
CloudProduct
The Cloud product that owns the resource. Example: compute
Declaration
[JsonProperty("cloudProduct")]
public virtual string CloudProduct { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time at which this resource was created. The granularity is in seconds. Timestamp.nanos will always be 0.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
CryptoKeyVersion
The name of the Cloud KMS CryptoKeyVersion used to protect this resource via CMEK. This field is empty if the Google Cloud product owning the resource does not provide key version data to Asset Inventory. If there are multiple key versions protecting the resource, then this is same value as the first element of crypto_key_versions.
Declaration
[JsonProperty("cryptoKeyVersion")]
public virtual string CryptoKeyVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
CryptoKeyVersions
The names of the Cloud KMS CryptoKeyVersion used to protect this resource via CMEK. This field is empty if the Google Cloud product owning the resource does not provide key versions data to Asset Inventory. The first element of this field is stored in crypto_key_version.
Declaration
[JsonProperty("cryptoKeyVersions")]
public virtual IList<string> CryptoKeyVersions { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
A key-value pair of the resource's labels (v1) to their values.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Location
Location can be global
, regional like us-east1
, or zonal like us-west1-b
.
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The full resource name of the resource. Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Project
Format: projects/{PROJECT_NUMBER}
.
Declaration
[JsonProperty("project")]
public virtual string Project { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
The ID of the project that owns the resource.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceType
Example: compute.googleapis.com/Disk
Declaration
[JsonProperty("resourceType")]
public virtual string ResourceType { get; set; }
Property Value
Type | Description |
---|---|
string |