Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileContactInfo
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::CustomerProfileContactInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/threatintelligence_v1beta/classes.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb
Overview
Contact information for the customer profile.
Instance Attribute Summary collapse
-
#address ⇒ String
The address of the contact.
-
#citation_ids ⇒ Array<String>
Optional.
-
#email ⇒ String
The email address of the contact.
-
#label ⇒ String
Optional.
-
#other ⇒ String
The other contact information.
-
#phone ⇒ String
The phone number of the contact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerProfileContactInfo
constructor
A new instance of CustomerProfileContactInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerProfileContactInfo
Returns a new instance of CustomerProfileContactInfo.
681 682 683 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
The address of the contact.
Corresponds to the JSON property address
654 655 656 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 654 def address @address end |
#citation_ids ⇒ Array<String>
Optional. The citation ids for the contact information.
Corresponds to the JSON property citationIds
659 660 661 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 659 def citation_ids @citation_ids end |
#email ⇒ String
The email address of the contact.
Corresponds to the JSON property email
664 665 666 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 664 def email @email end |
#label ⇒ String
Optional. The name of the contact.
Corresponds to the JSON property label
669 670 671 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 669 def label @label end |
#other ⇒ String
The other contact information.
Corresponds to the JSON property other
674 675 676 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 674 def other @other end |
#phone ⇒ String
The phone number of the contact.
Corresponds to the JSON property phone
679 680 681 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 679 def phone @phone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
686 687 688 689 690 691 692 693 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 686 def update!(**args) @address = args[:address] if args.key?(:address) @citation_ids = args[:citation_ids] if args.key?(:citation_ids) @email = args[:email] if args.key?(:email) @label = args[:label] if args.key?(:label) @other = args[:other] if args.key?(:other) @phone = args[:phone] if args.key?(:phone) end |