Class: Google::Apis::ContentV2_1::LinkService
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::LinkService
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#service ⇒ String
Service provided to or by the linked account.
-
#status ⇒ String
Status of the link Acceptable values are: - "
active" - "inactive" - "pending" Corresponds to the JSON propertystatus.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkService
constructor
A new instance of LinkService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinkService
Returns a new instance of LinkService.
6256 6257 6258 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
Service provided to or by the linked account. Acceptable values are: - "
shoppingActionsOrderManagement" - "shoppingActionsProductManagement" - "
shoppingAdsProductManagement" - "paymentProcessing"
Corresponds to the JSON property service
6248 6249 6250 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6248 def service @service end |
#status ⇒ String
Status of the link Acceptable values are: - "active" - "inactive" - "
pending"
Corresponds to the JSON property status
6254 6255 6256 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6254 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6261 6262 6263 6264 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6261 def update!(**args) @service = args[:service] if args.key?(:service) @status = args[:status] if args.key?(:status) end |