Class Resource
A representation of a Google Cloud resource.
Implements
Inherited Members
Namespace: Google.Apis.CloudAsset.v1p5beta1.Data
Assembly: Google.Apis.CloudAsset.v1p5beta1.dll
Syntax
public class Resource : IDirectResponseSchema
Properties
Data
The content of the resource, in which some sensitive fields are removed and may not be present.
Declaration
[JsonProperty("data")]
public virtual IDictionary<string, object> Data { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
DiscoveryDocumentUri
The URL of the discovery document containing the resource's JSON schema. Example:
https://www.googleapis.com/discovery/v1/apis/compute/v1/rest
This value is unspecified for resources that
do not have an API based on a discovery document, such as Cloud Bigtable.
Declaration
[JsonProperty("discoveryDocumentUri")]
public virtual string DiscoveryDocumentUri { get; set; }
Property Value
Type | Description |
---|---|
string |
DiscoveryName
The JSON schema name listed in the discovery document. Example: Project
This value is unspecified for
resources that do not have an API based on a discovery document, such as Cloud Bigtable.
Declaration
[JsonProperty("discoveryName")]
public virtual string DiscoveryName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
The full name of the immediate parent of this resource. See Resource
Names for more information. For
Google Cloud assets, this value is the parent resource defined in the IAM policy
hierarchy. Example:
//cloudresourcemanager.googleapis.com/projects/my_project_123
For third-party assets, this field may be
set differently.
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceUrl
The REST URL for accessing the resource. An HTTP GET
request using this URL returns the resource itself.
Example: https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123
This value is unspecified
for resources without a REST API.
Declaration
[JsonProperty("resourceUrl")]
public virtual string ResourceUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Version
The API version. Example: "v1".
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type | Description |
---|---|
string |