Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1EntryType

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

Entry Type is a template for creating Entries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1EntryType

Returns a new instance of GoogleCloudDataplexV1EntryType.



4614
4615
4616
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4614

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

Instance Attribute Details

#authorizationGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EntryTypeAuthorization

Authorization for an Entry Type. Corresponds to the JSON property authorization



4545
4546
4547
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4545

def authorization
  @authorization
end

#create_timeString

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

Returns:

  • (String)


4550
4551
4552
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4550

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


4555
4556
4557
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4555

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


4560
4561
4562
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4560

def display_name
  @display_name
end

#etagString

Optional. This checksum is computed by the service, and might 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)


4567
4568
4569
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4567

def etag
  @etag
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


4572
4573
4574
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4572

def labels
  @labels
end

#nameString

Output only. The relative resource name of the EntryType, of the form: projects/project_number/locations/location_id/entryTypes/entry_type_id. Corresponds to the JSON property name

Returns:

  • (String)


4578
4579
4580
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4578

def name
  @name
end

#platformString

Optional. The platform that Entries of this type belongs to. Corresponds to the JSON property platform

Returns:

  • (String)


4583
4584
4585
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4583

def platform
  @platform
end

#required_aspectsArray<Google::Apis::DataplexV1::GoogleCloudDataplexV1EntryTypeAspectInfo>

AspectInfo for the entry type. Corresponds to the JSON property requiredAspects



4588
4589
4590
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4588

def required_aspects
  @required_aspects
end

#systemString

Optional. The system that Entries of this type belongs to. Examples include CloudSQL, MariaDB etc Corresponds to the JSON property system

Returns:

  • (String)


4594
4595
4596
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4594

def system
  @system
end

#type_aliasesArray<String>

Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL. Corresponds to the JSON property typeAliases

Returns:

  • (Array<String>)


4600
4601
4602
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4600

def type_aliases
  @type_aliases
end

#uidString

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

Returns:

  • (String)


4607
4608
4609
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4607

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


4612
4613
4614
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4612

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4619

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)
  @name = args[:name] if args.key?(:name)
  @platform = args[:platform] if args.key?(:platform)
  @required_aspects = args[:required_aspects] if args.key?(:required_aspects)
  @system = args[:system] if args.key?(:system)
  @type_aliases = args[:type_aliases] if args.key?(:type_aliases)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
end