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
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Merchant.reports_v1beta.Data
Assembly: Google.Apis.Merchant.reports_v1beta.dll
Syntax
public class ProductStatusChangeMessage : IDirectResponseSchema

Properties

Account

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

Declaration
[JsonProperty("account")]
public virtual 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
[JsonProperty("attribute")]
public virtual string Attribute { get; set; }
Property Value
Type Description
string

Changes

A message to describe the change that happened to the product

Declaration
[JsonProperty("changes")]
public virtual IList<ProductChange> Changes { get; set; }
Property Value
Type Description
IList<ProductChange>

ETag

The ETag of the item.

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

EventTime

object representation of EventTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EventTimeDateTimeOffset instead.")]
public virtual object EventTime { get; set; }
Property Value
Type Description
object

EventTimeDateTimeOffset

DateTimeOffset representation of EventTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? EventTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

EventTimeRaw

The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.

Declaration
[JsonProperty("eventTime")]
public virtual string EventTimeRaw { get; set; }
Property Value
Type Description
string

ExpirationTime

object representation of ExpirationTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpirationTimeDateTimeOffset instead.")]
public virtual object ExpirationTime { get; set; }
Property Value
Type Description
object

ExpirationTimeDateTimeOffset

DateTimeOffset representation of ExpirationTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpirationTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ExpirationTimeRaw

Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.

Declaration
[JsonProperty("expirationTime")]
public virtual string ExpirationTimeRaw { get; set; }
Property Value
Type Description
string

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
[JsonProperty("managingAccount")]
public virtual string ManagingAccount { get; set; }
Property Value
Type Description
string

Resource

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

Declaration
[JsonProperty("resource")]
public virtual string Resource { get; set; }
Property Value
Type Description
string

ResourceId

The product id.

Declaration
[JsonProperty("resourceId")]
public virtual string ResourceId { get; set; }
Property Value
Type Description
string

ResourceType

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

Declaration
[JsonProperty("resourceType")]
public virtual string ResourceType { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX