Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectType
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectType
- 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
AspectType is a template for creating Aspects, and represents the JSON-schema for a given Entry, for example, BigQuery Table Schema.
Instance Attribute Summary collapse
-
#authorization ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeAuthorization
Autorization for an AspectType.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#etag ⇒ String
The service computes this checksum.
-
#labels ⇒ Hash<String,String>
Optional.
-
#metadata_template ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeMetadataTemplate
MetadataTemplate definition for an AspectType.
-
#name ⇒ String
Output only.
-
#transfer_status ⇒ String
Output only.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1AspectType
constructor
A new instance of GoogleCloudDataplexV1AspectType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1AspectType
Returns a new instance of GoogleCloudDataplexV1AspectType.
476 477 478 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 476 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorization ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeAuthorization
Autorization for an AspectType.
Corresponds to the JSON property authorization
419 420 421 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 419 def @authorization end |
#create_time ⇒ String
Output only. The time when the AspectType was created.
Corresponds to the JSON property createTime
424 425 426 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 424 def create_time @create_time end |
#description ⇒ String
Optional. Description of the AspectType.
Corresponds to the JSON property description
429 430 431 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 429 def description @description end |
#display_name ⇒ String
Optional. User friendly display name.
Corresponds to the JSON property displayName
434 435 436 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 434 def display_name @display_name end |
#etag ⇒ String
The service computes this checksum. The client may send it on update and
delete requests to ensure it has an up-to-date value before proceeding.
Corresponds to the JSON property etag
440 441 442 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 440 def etag @etag end |
#labels ⇒ Hash<String,String>
Optional. User-defined labels for the AspectType.
Corresponds to the JSON property labels
445 446 447 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 445 def labels @labels end |
#metadata_template ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectTypeMetadataTemplate
MetadataTemplate definition for an AspectType.
Corresponds to the JSON property metadataTemplate
450 451 452 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 450 def @metadata_template end |
#name ⇒ String
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
456 457 458 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 456 def name @name end |
#transfer_status ⇒ String
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
462 463 464 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 462 def transfer_status @transfer_status end |
#uid ⇒ String
Output only. System generated globally unique ID for the AspectType. If you
delete and recreate the AspectType with the same name, then this ID will be
different.
Corresponds to the JSON property uid
469 470 471 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 469 def uid @uid end |
#update_time ⇒ String
Output only. The time when the AspectType was last updated.
Corresponds to the JSON property updateTime
474 475 476 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 474 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
481 482 483 484 485 486 487 488 489 490 491 492 493 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 481 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 |