Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ContactIdentity

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

Identity of a business contact.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1ContactIdentity

Returns a new instance of GoogleCloudDataplexV1ContactIdentity.



1492
1493
1494
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1492

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

Instance Attribute Details

#contact_idString

Optional. Email ID or freeform ID of the Contact person. Corresponds to the JSON property contactId

Returns:

  • (String)


1478
1479
1480
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1478

def contact_id
  @contact_id
end

#contact_nameString

Required. Name of the contact person for the Data Domain; unvalidated freeform text. Corresponds to the JSON property contactName

Returns:

  • (String)


1484
1485
1486
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1484

def contact_name
  @contact_name
end

#contact_roleString

Required. Designation of the person i.e. Data Steward or Data Analyst. Example values: owner, steward, producer, admin. Corresponds to the JSON property contactRole

Returns:

  • (String)


1490
1491
1492
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1490

def contact_role
  @contact_role
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1497
1498
1499
1500
1501
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1497

def update!(**args)
  @contact_id = args[:contact_id] if args.key?(:contact_id)
  @contact_name = args[:contact_name] if args.key?(:contact_name)
  @contact_role = args[:contact_role] if args.key?(:contact_role)
end