Class: Google::Apis::ContentV2_1::AccountCustomerService
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountCustomerService
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountCustomerService
Returns a new instance of AccountCustomerService
246 247 248 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Customer service email.
Corresponds to the JSON property email
234 235 236 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 234 def email @email end |
#phone_number ⇒ String
Customer service phone number.
Corresponds to the JSON property phoneNumber
239 240 241 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 239 def phone_number @phone_number end |
#url ⇒ String
Customer service URL.
Corresponds to the JSON property url
244 245 246 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 244 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
251 252 253 254 255 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 251 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 |