Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb

Overview

Spec that applies to clusters of an Instance of Cloud Bigtable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec

Returns a new instance of GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec.



414
415
416
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 414

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

Name of the cluster. Corresponds to the JSON property displayName

Returns:

  • (String)


397
398
399
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 397

def display_name
  @display_name
end

#linked_resourceString

A link back to the parent resource, in this case Instance. Corresponds to the JSON property linkedResource

Returns:

  • (String)


402
403
404
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 402

def linked_resource
  @linked_resource
end

#locationString

Location of the cluster, typically a Cloud zone. Corresponds to the JSON property location

Returns:

  • (String)


407
408
409
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 407

def location
  @location
end

#typeString

Type of the resource. For a cluster this would be "CLUSTER". Corresponds to the JSON property type

Returns:

  • (String)


412
413
414
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 412

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



419
420
421
422
423
424
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 419

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