Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ContactsPerson
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ContactsPerson
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb
Overview
A contact person for the entry.
Instance Attribute Summary collapse
-
#designation ⇒ String
Designation of the person, for example, Data Steward.
-
#email ⇒ String
Email of the person in the format of
john.doe@xyz, `, orJohn Doe`.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1ContactsPerson
constructor
A new instance of GoogleCloudDatacatalogV1ContactsPerson.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1ContactsPerson
Returns a new instance of GoogleCloudDatacatalogV1ContactsPerson.
629 630 631 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#designation ⇒ String
Designation of the person, for example, Data Steward.
Corresponds to the JSON property designation
622 623 624 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 622 def designation @designation end |
#email ⇒ String
Email of the person in the format of john.doe@xyz, `, orJohn Doe.
Corresponds to the JSON propertyemail`
627 628 629 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 627 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
634 635 636 637 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 634 def update!(**args) @designation = args[:designation] if args.key?(:designation) @email = args[:email] if args.key?(:email) end |