Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectType

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

Aspect Type is a template for creating Aspects, and represents the JSON-schema for a given Entry, e.g., BigQuery Table Schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1AspectType

Returns a new instance of GoogleCloudDataplexV1AspectType.



478
479
480
# File 'lib/google/apis/dataplex_v1/classes.rb', line 478

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

Instance Attribute Details

#authorizationGoogle::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeAuthorization

Autorization for an Aspect Type. Corresponds to the JSON property authorization



420
421
422
# File 'lib/google/apis/dataplex_v1/classes.rb', line 420

def authorization
  @authorization
end

#create_timeString

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

Returns:

  • (String)


425
426
427
# File 'lib/google/apis/dataplex_v1/classes.rb', line 425

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


430
431
432
# File 'lib/google/apis/dataplex_v1/classes.rb', line 430

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


435
436
437
# File 'lib/google/apis/dataplex_v1/classes.rb', line 435

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)


442
443
444
# File 'lib/google/apis/dataplex_v1/classes.rb', line 442

def etag
  @etag
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


447
448
449
# File 'lib/google/apis/dataplex_v1/classes.rb', line 447

def labels
  @labels
end

#metadata_templateGoogle::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeMetadataTemplate

MetadataTemplate definition for AspectType Corresponds to the JSON property metadataTemplate



452
453
454
# File 'lib/google/apis/dataplex_v1/classes.rb', line 452

def 
  @metadata_template
end

#nameString

Output only. The relative resource name of the AspectType, of the form: projects/project_number/locations/location_id/aspectTypes/aspect_type_id. Corresponds to the JSON property name

Returns:

  • (String)


458
459
460
# File 'lib/google/apis/dataplex_v1/classes.rb', line 458

def name
  @name
end

#transfer_statusString

Output only. Denotes the transfer status of the Aspect Type. It is unspecified for Aspect Types created from Dataplex API. Corresponds to the JSON property transferStatus

Returns:

  • (String)


464
465
466
# File 'lib/google/apis/dataplex_v1/classes.rb', line 464

def transfer_status
  @transfer_status
end

#uidString

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

Returns:

  • (String)


471
472
473
# File 'lib/google/apis/dataplex_v1/classes.rb', line 471

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


476
477
478
# File 'lib/google/apis/dataplex_v1/classes.rb', line 476

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



483
484
485
486
487
488
489
490
491
492
493
494
495
# File 'lib/google/apis/dataplex_v1/classes.rb', line 483

def update!(**args)
  @authorization = args[:authorization] if args.key?(:authorization)
  @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)
  @metadata_template = args[:metadata_template] if args.key?(:metadata_template)
  @name = args[:name] if args.key?(:name)
  @transfer_status = args[:transfer_status] if args.key?(:transfer_status)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
end