Class: Google::Apis::ContentV2_1::LinkService

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkService

Returns a new instance of LinkService.



4121
4122
4123
# File 'lib/google/apis/content_v2_1/classes.rb', line 4121

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

Instance Attribute Details

#serviceString

Service provided to or by the linked account. Acceptable values are: - " shoppingActionsOrderManagement" - "shoppingActionsProductManagement" - " shoppingAdsProductManagement" - "paymentProcessing" Corresponds to the JSON property service

Returns:

  • (String)


4113
4114
4115
# File 'lib/google/apis/content_v2_1/classes.rb', line 4113

def service
  @service
end

#statusString

Status of the link Acceptable values are: - "active" - "inactive" - " pending" Corresponds to the JSON property status

Returns:

  • (String)


4119
4120
4121
# File 'lib/google/apis/content_v2_1/classes.rb', line 4119

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4126
4127
4128
4129
# File 'lib/google/apis/content_v2_1/classes.rb', line 4126

def update!(**args)
  @service = args[:service] if args.key?(:service)
  @status = args[:status] if args.key?(:status)
end