vendor: update all dependencies to latest versions
This commit is contained in:
+35
-29
@@ -224,7 +224,8 @@ type Attributes struct {
|
||||
// e.
|
||||
ProductPageUrl string `json:"productPageUrl,omitempty"`
|
||||
|
||||
// ProductType: The category of the product. For more information,
|
||||
// ProductType: The type or category of the product. For more
|
||||
// information,
|
||||
// see
|
||||
// https://support.google.com/manufacturers/answer/6124116#producttyp
|
||||
// e.
|
||||
@@ -260,10 +261,10 @@ type Attributes struct {
|
||||
// see https://support.google.com/manufacturers/answer/6124116#price.
|
||||
SuggestedRetailPrice *Price `json:"suggestedRetailPrice,omitempty"`
|
||||
|
||||
// TargetAccountId: The target account id. Should only be used in the
|
||||
// TargetClientId: The target client id. Should only be used in the
|
||||
// accounts of the data
|
||||
// partners.
|
||||
TargetAccountId int64 `json:"targetAccountId,omitempty,string"`
|
||||
TargetClientId string `json:"targetClientId,omitempty"`
|
||||
|
||||
// Theme: The theme of the product. For more information,
|
||||
// see
|
||||
@@ -299,8 +300,8 @@ type Attributes struct {
|
||||
}
|
||||
|
||||
func (s *Attributes) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Attributes
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Attributes
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -332,8 +333,8 @@ type Capacity struct {
|
||||
}
|
||||
|
||||
func (s *Capacity) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Capacity
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Capacity
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -366,8 +367,8 @@ type Count struct {
|
||||
}
|
||||
|
||||
func (s *Count) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Count
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Count
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -422,8 +423,8 @@ type FeatureDescription struct {
|
||||
}
|
||||
|
||||
func (s *FeatureDescription) MarshalJSON() ([]byte, error) {
|
||||
type noMethod FeatureDescription
|
||||
raw := noMethod(*s)
|
||||
type NoMethod FeatureDescription
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -440,8 +441,10 @@ type Image struct {
|
||||
// @OutputOnly
|
||||
//
|
||||
// Possible values:
|
||||
// "STATUS_UNSPECIFIED" - Status is unspecified. Should not be used.
|
||||
// "PENDING_PROCESSING" - Image was uploaded and is being processed.
|
||||
// "STATUS_UNSPECIFIED" - The image status is unspecified. Should not
|
||||
// be used.
|
||||
// "PENDING_PROCESSING" - The image was uploaded and is being
|
||||
// processed.
|
||||
// "PENDING_CRAWL" - The image crawl is still pending.
|
||||
// "OK" - The image was processed and it meets the requirements.
|
||||
// "ROBOTED" - The image URL is protected by robots.txt file and
|
||||
@@ -454,6 +457,9 @@ type Image struct {
|
||||
// "TOO_BIG" - The image is too big.
|
||||
// "CRAWL_SKIPPED" - The image was manually overridden and will not be
|
||||
// crawled.
|
||||
// "HOSTLOADED" - The image crawl was postponed to avoid overloading
|
||||
// the host.
|
||||
// "HTTP_404" - The image URL returned a "404 Not Found" error.
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// Type: The type of the image, i.e., crawled or uploaded.
|
||||
@@ -483,8 +489,8 @@ type Image struct {
|
||||
}
|
||||
|
||||
func (s *Image) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Image
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Image
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -544,8 +550,8 @@ type Issue struct {
|
||||
}
|
||||
|
||||
func (s *Issue) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Issue
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Issue
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -579,8 +585,8 @@ type ListProductsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListProductsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListProductsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListProductsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -610,8 +616,8 @@ type Price struct {
|
||||
}
|
||||
|
||||
func (s *Price) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Price
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Price
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -717,8 +723,8 @@ type Product struct {
|
||||
}
|
||||
|
||||
func (s *Product) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Product
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Product
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -755,8 +761,8 @@ type ProductDetail struct {
|
||||
}
|
||||
|
||||
func (s *ProductDetail) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ProductDetail
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ProductDetail
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -856,7 +862,7 @@ func (c *AccountsProductsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, e
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -1016,7 +1022,7 @@ func (c *AccountsProductsGetCall) Do(opts ...googleapi.CallOption) (*Product, er
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -1178,7 +1184,7 @@ func (c *AccountsProductsListCall) Do(opts ...googleapi.CallOption) (*ListProduc
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -1363,7 +1369,7 @@ func (c *AccountsProductsUpdateCall) Do(opts ...googleapi.CallOption) (*Product,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
|
||||
Reference in New Issue
Block a user