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.



4361
4362
4363
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4361

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

Instance Attribute Details

#authorizationGoogle::Apis::DataplexV1::GoogleCloudDataplexV1EntryTypeAuthorization

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



4292
4293
4294
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4292

def authorization
  @authorization
end

#create_timeString

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

Returns:

  • (String)


4297
4298
4299
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4297

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


4302
4303
4304
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4302

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


4307
4308
4309
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4307

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)


4314
4315
4316
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4314

def etag
  @etag
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


4319
4320
4321
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4319

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)


4325
4326
4327
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4325

def name
  @name
end

#platformString

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

Returns:

  • (String)


4330
4331
4332
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4330

def platform
  @platform
end

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

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



4335
4336
4337
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4335

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)


4341
4342
4343
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4341

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>)


4347
4348
4349
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4347

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)


4354
4355
4356
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4354

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


4359
4360
4361
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4359

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4366

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