A representation of a Google Cloud resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data
def data() -> ::Google::Protobuf::Struct
- (::Google::Protobuf::Struct) — The content of the resource, in which some sensitive fields are removed and may not be present.
#data=
def data=(value) -> ::Google::Protobuf::Struct
- value (::Google::Protobuf::Struct) — The content of the resource, in which some sensitive fields are removed and may not be present.
- (::Google::Protobuf::Struct) — The content of the resource, in which some sensitive fields are removed and may not be present.
#discovery_document_uri
def discovery_document_uri() -> ::String
-
(::String) — 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.
#discovery_document_uri=
def discovery_document_uri=(value) -> ::String
-
value (::String) — 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) — 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.
#discovery_name
def discovery_name() -> ::String
-
(::String) — 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.
#discovery_name=
def discovery_name=(value) -> ::String
-
value (::String) — 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) — 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.
#location
def location() -> ::String
- (::String) — The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.
#location=
def location=(value) -> ::String
- value (::String) — 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) — The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.
#parent
def parent() -> ::String
-
(::String) — 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 Cloud IAM policy hierarchy. Example:
//cloudresourcemanager.googleapis.com/projects/my_project_123
For third-party assets, this field may be set differently.
#parent=
def parent=(value) -> ::String
-
value (::String) — 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 Cloud IAM policy hierarchy. Example:
//cloudresourcemanager.googleapis.com/projects/my_project_123
For third-party assets, this field may be set differently.
-
(::String) — 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 Cloud IAM policy hierarchy. Example:
//cloudresourcemanager.googleapis.com/projects/my_project_123
For third-party assets, this field may be set differently.
#resource_url
def resource_url() -> ::String
-
(::String) — 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.
#resource_url=
def resource_url=(value) -> ::String
-
value (::String) — 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) — 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.
#version
def version() -> ::String
-
(::String) — The API version. Example:
v1
#version=
def version=(value) -> ::String
-
value (::String) — The API version. Example:
v1
-
(::String) — The API version. Example:
v1