Struct google_manufacturers1::api::Product
source · pub struct Product {
pub attributes: Option<Attributes>,
pub content_language: Option<String>,
pub destination_statuses: Option<Vec<DestinationStatus>>,
pub issues: Option<Vec<Issue>>,
pub name: Option<String>,
pub parent: Option<String>,
pub product_id: Option<String>,
pub target_country: Option<String>,
}
Expand description
Product data.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- products get accounts (response)
Fields§
§attributes: Option<Attributes>
Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account.
content_language: Option<String>
The content language of the product as a two-letter ISO 639-1 language code (for example, en).
destination_statuses: Option<Vec<DestinationStatus>>
The status of the destinations.
issues: Option<Vec<Issue>>
A server-generated list of issues associated with the product.
name: Option<String>
Name in the format {target_country}:{content_language}:{product_id}
. target_country
- The target country of the product as a CLDR territory code (for example, US). content_language
- The content language of the product as a two-letter ISO 639-1 language code (for example, en). product_id
- The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.
parent: Option<String>
Parent ID in the format accounts/{account_id}
. account_id
- The ID of the Manufacturer Center account.
product_id: Option<String>
The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.
target_country: Option<String>
The target country of the product as a CLDR territory code (for example, US).