Class VersionedResource
Resource representation as defined by the corresponding service providing the resource for a given API version.
Implements
Inherited Members
Namespace: Google.Apis.CloudAsset.v1.Data
Assembly: Google.Apis.CloudAsset.v1.dll
Syntax
public class VersionedResource : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Resource
JSON representation of the resource as defined by the corresponding service providing this resource.
Example: If the resource is an instance provided by Compute Engine, this field will contain the JSON
representation of the instance as defined by Compute Engine:
https://cloud.google.com/compute/docs/reference/rest/v1/instances
. You can find the resource definition
for each supported resource type in this table:
https://cloud.google.com/asset-inventory/docs/supported-asset-types
Declaration
[JsonProperty("resource")]
public virtual IDictionary<string, object> Resource { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Version
API version of the resource. Example: If the resource is an instance provided by Compute Engine v1 API as
defined in https://cloud.google.com/compute/docs/reference/rest/v1/instances
, version will be "v1".
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type | Description |
---|---|
string |