Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileLocation
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::CustomerProfileLocation
- 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
Location information for the customer profile.
Instance Attribute Summary collapse
-
#address ⇒ String
Required.
-
#brand ⇒ String
Required.
-
#citation_ids ⇒ Array<String>
Optional.
-
#facility_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerProfileLocation
constructor
A new instance of CustomerProfileLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerProfileLocation
Returns a new instance of CustomerProfileLocation.
818 819 820 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
Required. The address of the location.
Corresponds to the JSON property address
801 802 803 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 801 def address @address end |
#brand ⇒ String
Required. The brand of the location.
Corresponds to the JSON property brand
806 807 808 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 806 def brand @brand end |
#citation_ids ⇒ Array<String>
Optional. The citation ids for the location.
Corresponds to the JSON property citationIds
811 812 813 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 811 def citation_ids @citation_ids end |
#facility_type ⇒ String
Optional. The type of location.
Corresponds to the JSON property facilityType
816 817 818 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 816 def facility_type @facility_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
823 824 825 826 827 828 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 823 def update!(**args) @address = args[:address] if args.key?(:address) @brand = args[:brand] if args.key?(:brand) @citation_ids = args[:citation_ids] if args.key?(:citation_ids) @facility_type = args[:facility_type] if args.key?(:facility_type) end |