Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ContactIdentity
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1ContactIdentity
- 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
-
#contact_id ⇒ String
Optional.
-
#contact_name ⇒ String
Required.
-
#contact_role ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1ContactIdentity
constructor
A new instance of GoogleCloudDataplexV1ContactIdentity.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
Optional. Email ID or freeform ID of the Contact person.
Corresponds to the JSON property contactId
1478 1479 1480 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1478 def contact_id @contact_id end |
#contact_name ⇒ String
Required. Name of the contact person for the Data Domain; unvalidated freeform
text.
Corresponds to the JSON property contactName
1484 1485 1486 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1484 def contact_name @contact_name end |
#contact_role ⇒ String
Required. Designation of the person i.e. Data Steward or Data Analyst. Example
values: owner, steward, producer, admin.
Corresponds to the JSON property contactRole
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 |