Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

Name of the cluster. Corresponds to the JSON property displayName

Returns:

  • (String)


422
423
424
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 422

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)


427
428
429
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 427

def linked_resource
  @linked_resource
end

#locationString

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

Returns:

  • (String)


432
433
434
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 432

def location
  @location
end

#typeString

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

Returns:

  • (String)


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