Class: Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsPersonCorePhoneNumber
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsPersonCorePhoneNumber
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#phone_number ⇒ String
Phone number in no particular format (as comes from the Focus profile).
-
#phone_url ⇒ Google::Apis::CloudsearchV1::SafeUrlProto
Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.
-
#type ⇒ String
Corresponds to the JSON property
type
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazFrontendTeamsPersonCorePhoneNumber
constructor
A new instance of EnterpriseTopazFrontendTeamsPersonCorePhoneNumber.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazFrontendTeamsPersonCorePhoneNumber
Returns a new instance of EnterpriseTopazFrontendTeamsPersonCorePhoneNumber.
1147 1148 1149 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#phone_number ⇒ String
Phone number in no particular format (as comes from the Focus profile).
Corresponds to the JSON property phoneNumber
1133 1134 1135 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1133 def phone_number @phone_number end |
#phone_url ⇒ Google::Apis::CloudsearchV1::SafeUrlProto
Message containing a string that is safe to use in URL contexts in DOM APIs
and HTML documents, where the URL context does not refer to a resource that
loads code.
Corresponds to the JSON property phoneUrl
1140 1141 1142 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1140 def phone_url @phone_url end |
#type ⇒ String
Corresponds to the JSON property type
1145 1146 1147 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1145 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1152 1153 1154 1155 1156 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1152 def update!(**args) @phone_number = args[:phone_number] if args.key?(:phone_number) @phone_url = args[:phone_url] if args.key?(:phone_url) @type = args[:type] if args.key?(:type) end |