Class: Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsPersonCorePhoneNumber

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseTopazFrontendTeamsPersonCorePhoneNumber

Returns a new instance of EnterpriseTopazFrontendTeamsPersonCorePhoneNumber.



1180
1181
1182
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1180

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

Instance Attribute Details

#phone_numberString

Phone number in no particular format (as comes from the Focus profile). Corresponds to the JSON property phoneNumber

Returns:

  • (String)


1166
1167
1168
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1166

def phone_number
  @phone_number
end

#phone_urlGoogle::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



1173
1174
1175
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1173

def phone_url
  @phone_url
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


1178
1179
1180
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1178

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1185
1186
1187
1188
1189
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1185

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