Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ContactsPerson

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1ContactsPerson

Returns a new instance of GoogleCloudDatacatalogV1ContactsPerson.



551
552
553
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 551

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

Instance Attribute Details

#designationString

Designation of the person, for example, Data Steward. Corresponds to the JSON property designation

Returns:

  • (String)


544
545
546
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 544

def designation
  @designation
end

#emailString

Email of the person in the format of john.doe@xyz, `, orJohn Doe. Corresponds to the JSON propertyemail`

Returns:

  • (String)


549
550
551
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 549

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



556
557
558
559
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 556

def update!(**args)
  @designation = args[:designation] if args.key?(:designation)
  @email = args[:email] if args.key?(:email)
end