Interface ResourceOrBuilder

public interface ResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getData()

public abstract Struct getData()

The content of the resource, in which some sensitive fields are scrubbed away and may not be present.

.google.protobuf.Struct data = 6;

Returns
TypeDescription
Struct

The data.

getDataOrBuilder()

public abstract StructOrBuilder getDataOrBuilder()

The content of the resource, in which some sensitive fields are scrubbed away and may not be present.

.google.protobuf.Struct data = 6;

Returns
TypeDescription
StructOrBuilder

getDiscoveryDocumentUri()

public abstract String getDiscoveryDocumentUri()

The URL of the discovery document containing the resource's JSON schema. For example: "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest". It will be left unspecified for resources without a discovery-based API, such as Cloud Bigtable.

string discovery_document_uri = 2;

Returns
TypeDescription
String

The discoveryDocumentUri.

getDiscoveryDocumentUriBytes()

public abstract ByteString getDiscoveryDocumentUriBytes()

The URL of the discovery document containing the resource's JSON schema. For example: "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest". It will be left unspecified for resources without a discovery-based API, such as Cloud Bigtable.

string discovery_document_uri = 2;

Returns
TypeDescription
ByteString

The bytes for discoveryDocumentUri.

getDiscoveryName()

public abstract String getDiscoveryName()

The JSON schema name listed in the discovery document. Example: "Project". It will be left unspecified for resources (such as Cloud Bigtable) without a discovery-based API.

string discovery_name = 3;

Returns
TypeDescription
String

The discoveryName.

getDiscoveryNameBytes()

public abstract ByteString getDiscoveryNameBytes()

The JSON schema name listed in the discovery document. Example: "Project". It will be left unspecified for resources (such as Cloud Bigtable) without a discovery-based API.

string discovery_name = 3;

Returns
TypeDescription
ByteString

The bytes for discoveryName.

getParent()

public abstract String getParent()

The full name of the immediate parent of this resource. See Resource Names for more information. For GCP assets, it is the parent resource defined in the Cloud IAM policy hierarchy. For example: "//cloudresourcemanager.googleapis.com/projects/my_project_123". For third-party assets, it is up to the users to define.

string parent = 5;

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The full name of the immediate parent of this resource. See Resource Names for more information. For GCP assets, it is the parent resource defined in the Cloud IAM policy hierarchy. For example: "//cloudresourcemanager.googleapis.com/projects/my_project_123". For third-party assets, it is up to the users to define.

string parent = 5;

Returns
TypeDescription
ByteString

The bytes for parent.

getResourceUrl()

public abstract String getResourceUrl()

The REST URL for accessing the resource. An HTTP GET operation using this URL returns the resource itself. Example: https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123. It will be left unspecified for resources without a REST API.

string resource_url = 4;

Returns
TypeDescription
String

The resourceUrl.

getResourceUrlBytes()

public abstract ByteString getResourceUrlBytes()

The REST URL for accessing the resource. An HTTP GET operation using this URL returns the resource itself. Example: https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123. It will be left unspecified for resources without a REST API.

string resource_url = 4;

Returns
TypeDescription
ByteString

The bytes for resourceUrl.

getVersion()

public abstract String getVersion()

The API version. Example: "v1".

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

The API version. Example: "v1".

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

hasData()

public abstract boolean hasData()

The content of the resource, in which some sensitive fields are scrubbed away and may not be present.

.google.protobuf.Struct data = 6;

Returns
TypeDescription
boolean

Whether the data field is set.