Class: Google::Apis::ContentV2::AccountCustomerService
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountCustomerService
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#email ⇒ String
Customer service email.
-
#phone_number ⇒ String
Customer service phone number.
-
#url ⇒ String
Customer service URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountCustomerService
constructor
A new instance of AccountCustomerService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountCustomerService
Returns a new instance of AccountCustomerService.
262 263 264 |
# File 'lib/google/apis/content_v2/classes.rb', line 262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Customer service email.
Corresponds to the JSON property email
250 251 252 |
# File 'lib/google/apis/content_v2/classes.rb', line 250 def email @email end |
#phone_number ⇒ String
Customer service phone number.
Corresponds to the JSON property phoneNumber
255 256 257 |
# File 'lib/google/apis/content_v2/classes.rb', line 255 def phone_number @phone_number end |
#url ⇒ String
Customer service URL.
Corresponds to the JSON property url
260 261 262 |
# File 'lib/google/apis/content_v2/classes.rb', line 260 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
267 268 269 270 271 |
# File 'lib/google/apis/content_v2/classes.rb', line 267 def update!(**args) @email = args[:email] if args.key?(:email) @phone_number = args[:phone_number] if args.key?(:phone_number) @url = args[:url] if args.key?(:url) end |