Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb
Overview
Spec that applies to clusters of an Instance of Cloud Bigtable.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of the cluster.
-
#linked_resource ⇒ String
A link back to the parent resource, in this case Instance.
-
#location ⇒ String
Location of the cluster, typically a Cloud zone.
-
#type ⇒ String
Type of the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec
constructor
A new instance of GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec
Returns a new instance of GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec.
439 440 441 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of the cluster.
Corresponds to the JSON property displayName
422 423 424 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 422 def display_name @display_name end |
#linked_resource ⇒ String
A link back to the parent resource, in this case Instance.
Corresponds to the JSON property linkedResource
427 428 429 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 427 def linked_resource @linked_resource end |
#location ⇒ String
Location of the cluster, typically a Cloud zone.
Corresponds to the JSON property location
432 433 434 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 432 def location @location end |
#type ⇒ String
Type of the resource. For a cluster this would be "CLUSTER".
Corresponds to the JSON property type
437 438 439 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 437 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
444 445 446 447 448 449 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 444 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @linked_resource = args[:linked_resource] if args.key?(:linked_resource) @location = args[:location] if args.key?(:location) @type = args[:type] if args.key?(:type) end |