public interface ResourceOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Struct |
getData()
The content of the resource, in which some sensitive fields are removed
and may not be present.
|
StructOrBuilder |
getDataOrBuilder()
The content of the resource, in which some sensitive fields are removed
and may not be present.
|
String |
getDiscoveryDocumentUri()
The URL of the discovery document containing the resource's JSON schema.
|
ByteString |
getDiscoveryDocumentUriBytes()
The URL of the discovery document containing the resource's JSON schema.
|
String |
getDiscoveryName()
The JSON schema name listed in the discovery document.
|
ByteString |
getDiscoveryNameBytes()
The JSON schema name listed in the discovery document.
|
String |
getLocation()
The location of the resource in Google Cloud, such as its zone and region.
|
ByteString |
getLocationBytes()
The location of the resource in Google Cloud, such as its zone and region.
|
String |
getParent()
The full name of the immediate parent of this resource.
|
ByteString |
getParentBytes()
The full name of the immediate parent of this resource.
|
String |
getResourceUrl()
The REST URL for accessing the resource.
|
ByteString |
getResourceUrlBytes()
The REST URL for accessing the resource.
|
String |
getVersion()
The API version.
|
ByteString |
getVersionBytes()
The API version.
|
boolean |
hasData()
The content of the resource, in which some sensitive fields are removed
and may not be present.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getVersion()
The API version. Example: `v1`
string version = 1;
ByteString getVersionBytes()
The API version. Example: `v1`
string version = 1;
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;
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;
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;
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;
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;
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;
String getParent()
The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.
string parent = 5;
ByteString getParentBytes()
The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.
string parent = 5;
boolean hasData()
The content of the resource, in which some sensitive fields are removed and may not be present.
.google.protobuf.Struct data = 6;
Struct getData()
The content of the resource, in which some sensitive fields are removed and may not be present.
.google.protobuf.Struct data = 6;
StructOrBuilder getDataOrBuilder()
The content of the resource, in which some sensitive fields are removed and may not be present.
.google.protobuf.Struct data = 6;
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;
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;
Copyright © 2022 Google LLC. All rights reserved.