Class: Google::Shopping::Merchant::Notifications::V1beta::ProductStatusChangeMessage

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/notifications/v1beta/notificationsapi.rb

Overview

The message that the merchant will receive to notify about product status change event

Instance Attribute Summary collapse

Instance Attribute Details

#account::String

Returns The target account that owns the entity that changed. Format : accounts/{merchant_id}.

Returns:

  • (::String)

    The target account that owns the entity that changed. Format : accounts/{merchant_id}



191
192
193
194
# File 'proto_docs/google/shopping/merchant/notifications/v1beta/notificationsapi.rb', line 191

class ProductStatusChangeMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#attribute::Google::Shopping::Merchant::Notifications::V1beta::Attribute

Returns The attribute in the resource that changed, in this case it will be always Status.

Returns:



191
192
193
194
# File 'proto_docs/google/shopping/merchant/notifications/v1beta/notificationsapi.rb', line 191

class ProductStatusChangeMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#changes::Array<::Google::Shopping::Merchant::Notifications::V1beta::ProductChange>

Returns A message to describe the change that happened to the product.

Returns:



191
192
193
194
# File 'proto_docs/google/shopping/merchant/notifications/v1beta/notificationsapi.rb', line 191

class ProductStatusChangeMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#managing_account::String

Returns The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : accounts/{service_provider_id}.

Returns:

  • (::String)

    The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : accounts/{service_provider_id}



191
192
193
194
# File 'proto_docs/google/shopping/merchant/notifications/v1beta/notificationsapi.rb', line 191

class ProductStatusChangeMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource::String

Returns The product name. Format: {product.name=accounts/{account}/products/{product}}.

Returns:

  • (::String)

    The product name. Format: {product.name=accounts/{account}/products/{product}}



191
192
193
194
# File 'proto_docs/google/shopping/merchant/notifications/v1beta/notificationsapi.rb', line 191

class ProductStatusChangeMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_id::String

Returns The product id.

Returns:

  • (::String)

    The product id.



191
192
193
194
# File 'proto_docs/google/shopping/merchant/notifications/v1beta/notificationsapi.rb', line 191

class ProductStatusChangeMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_type::Google::Shopping::Merchant::Notifications::V1beta::Resource

Returns The resource that changed, in this case it will always be Product.

Returns:



191
192
193
194
# File 'proto_docs/google/shopping/merchant/notifications/v1beta/notificationsapi.rb', line 191

class ProductStatusChangeMessage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end