Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataTaxonomy

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

Overview

DataTaxonomy represents a set of hierarchical DataAttributes resources, grouped with a common theme Eg: 'SensitiveDataTaxonomy' can have attributes to manage PII data. It is defined at project level.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataTaxonomy

Returns a new instance of GoogleCloudDataplexV1DataTaxonomy.



2575
2576
2577
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2575

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

Instance Attribute Details

#attribute_countFixnum

Output only. The number of attributes in the DataTaxonomy. Corresponds to the JSON property attributeCount

Returns:

  • (Fixnum)


2527
2528
2529
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2527

def attribute_count
  @attribute_count
end

#create_timeString

Output only. The time when the DataTaxonomy was created. Corresponds to the JSON property createTime

Returns:

  • (String)


2532
2533
2534
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2532

def create_time
  @create_time
end

#descriptionString

Optional. Description of the DataTaxonomy. Corresponds to the JSON property description

Returns:

  • (String)


2537
2538
2539
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2537

def description
  @description
end

#display_nameString

Optional. User friendly display name. Corresponds to the JSON property displayName

Returns:

  • (String)


2542
2543
2544
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2542

def display_name
  @display_name
end

#etagString

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up- to-date value before proceeding. Corresponds to the JSON property etag

Returns:

  • (String)


2549
2550
2551
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2549

def etag
  @etag
end

#labelsHash<String,String>

Optional. User-defined labels for the DataTaxonomy. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


2554
2555
2556
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2554

def labels
  @labels
end

#nameString

Output only. The relative resource name of the DataTaxonomy, of the form: projects/project_number/locations/location_id/dataTaxonomies/ data_taxonomy_id. Corresponds to the JSON property name

Returns:

  • (String)


2561
2562
2563
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2561

def name
  @name
end

#uidString

Output only. System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name. Corresponds to the JSON property uid

Returns:

  • (String)


2568
2569
2570
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2568

def uid
  @uid
end

#update_timeString

Output only. The time when the DataTaxonomy was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


2573
2574
2575
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2573

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2580

def update!(**args)
  @attribute_count = args[:attribute_count] if args.key?(:attribute_count)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @etag = args[:etag] if args.key?(:etag)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
end