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.



1147
1148
1149
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1147

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)


1133
1134
1135
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1133

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



1140
1141
1142
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1140

def phone_url
  @phone_url
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


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