- 3.58.0 (latest)
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
public interface ResourceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getData()
public abstract Struct getData()
The content of the resource, in which some sensitive fields are removed and may not be present.
.google.protobuf.Struct data = 6;
Returns | |
---|---|
Type | Description |
Struct |
The data. |
getDataOrBuilder()
public abstract StructOrBuilder getDataOrBuilder()
The content of the resource, in which some sensitive fields are removed and may not be present.
.google.protobuf.Struct data = 6;
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getDiscoveryDocumentUri()
public abstract String getDiscoveryDocumentUri()
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.
string discovery_document_uri = 2;
Returns | |
---|---|
Type | Description |
String |
The discoveryDocumentUri. |
getDiscoveryDocumentUriBytes()
public abstract ByteString getDiscoveryDocumentUriBytes()
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.
string discovery_document_uri = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for discoveryDocumentUri. |
getDiscoveryName()
public abstract String getDiscoveryName()
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.
string discovery_name = 3;
Returns | |
---|---|
Type | Description |
String |
The discoveryName. |
getDiscoveryNameBytes()
public abstract ByteString getDiscoveryNameBytes()
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.
string discovery_name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for discoveryName. |
getLocation()
public abstract String getLocation()
The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.
string location = 8;
Returns | |
---|---|
Type | Description |
String |
The location. |
getLocationBytes()
public abstract ByteString getLocationBytes()
The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.
string location = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for location. |
getParent()
public abstract String getParent()
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.
string parent = 5;
Returns | |
---|---|
Type | Description |
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 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.
string parent = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getResourceUrl()
public abstract String getResourceUrl()
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.
string resource_url = 4;
Returns | |
---|---|
Type | Description |
String |
The resourceUrl. |
getResourceUrlBytes()
public abstract ByteString getResourceUrlBytes()
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.
string resource_url = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resourceUrl. |
getVersion()
public abstract String getVersion()
The API version. Example: v1
string version = 1;
Returns | |
---|---|
Type | Description |
String |
The version. |
getVersionBytes()
public abstract ByteString getVersionBytes()
The API version. Example: v1
string version = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for version. |
hasData()
public abstract boolean hasData()
The content of the resource, in which some sensitive fields are removed and may not be present.
.google.protobuf.Struct data = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the data field is set. |