Show / Hide Table of Contents

Class ProductStatusChangeMessage

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

Inheritance
object
ProductStatusChangeMessage
Implements
IMessage<ProductStatusChangeMessage>
IEquatable<ProductStatusChangeMessage>
IDeepCloneable<ProductStatusChangeMessage>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Notifications.V1Beta
Assembly: Google.Shopping.Merchant.Notifications.V1Beta.dll
Syntax
public sealed class ProductStatusChangeMessage : IMessage<ProductStatusChangeMessage>, IEquatable<ProductStatusChangeMessage>, IDeepCloneable<ProductStatusChangeMessage>, IBufferMessage, IMessage

Constructors

ProductStatusChangeMessage()

Declaration
public ProductStatusChangeMessage()

ProductStatusChangeMessage(ProductStatusChangeMessage)

Declaration
public ProductStatusChangeMessage(ProductStatusChangeMessage other)
Parameters
Type Name Description
ProductStatusChangeMessage other

Properties

Account

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

Declaration
public string Account { get; set; }
Property Value
Type Description
string

Attribute

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

Declaration
public Attribute Attribute { get; set; }
Property Value
Type Description
Attribute

Changes

A message to describe the change that happened to the product

Declaration
public RepeatedField<ProductChange> Changes { get; }
Property Value
Type Description
RepeatedField<ProductChange>

HasAccount

Gets whether the "account" field is set

Declaration
public bool HasAccount { get; }
Property Value
Type Description
bool

HasAttribute

Gets whether the "attribute" field is set

Declaration
public bool HasAttribute { get; }
Property Value
Type Description
bool

HasManagingAccount

Gets whether the "managing_account" field is set

Declaration
public bool HasManagingAccount { get; }
Property Value
Type Description
bool

HasResource

Gets whether the "resource" field is set

Declaration
public bool HasResource { get; }
Property Value
Type Description
bool

HasResourceId

Gets whether the "resource_id" field is set

Declaration
public bool HasResourceId { get; }
Property Value
Type Description
bool

HasResourceType

Gets whether the "resource_type" field is set

Declaration
public bool HasResourceType { get; }
Property Value
Type Description
bool

ManagingAccount

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}

Declaration
public string ManagingAccount { get; set; }
Property Value
Type Description
string

Resource

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

Declaration
public string Resource { get; set; }
Property Value
Type Description
string

ResourceId

The product id.

Declaration
public string ResourceId { get; set; }
Property Value
Type Description
string

ResourceType

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

Declaration
public Resource ResourceType { get; set; }
Property Value
Type Description
Resource
In this article
Back to top Generated by DocFX