vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974213 additions and 201199 deletions
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/EKUDjWuy8xhU5dHne-WullXJgWw\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/jjPNPRw3vV3kPmpQDcyXQEJTSyY\"",
"discoveryVersion": "v1",
"id": "androidpublisher:v1.1",
"name": "androidpublisher",
"canonicalName": "Android Publisher",
"version": "v1.1",
"revision": "20170913",
"revision": "20171207",
"title": "Google Play Developer API",
"description": "Lets Android application developers access their Google Play accounts.",
"ownerDomain": "google.com",
@@ -109,6 +109,11 @@
"type": "string",
"description": "The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).",
"format": "int64"
},
"purchaseType": {
"type": "integer",
"description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account)",
"format": "int32"
}
}
},
+12 -6
View File
@@ -127,6 +127,12 @@ type InappPurchase struct {
// since the epoch (Jan 1, 1970).
PurchaseTime int64 `json:"purchaseTime,omitempty,string"`
// PurchaseType: The type of purchase of the inapp product. This field
// is only set if this purchase was not made using the standard in-app
// billing flow. Possible values are:
// - Test (i.e. purchased from a license testing account)
PurchaseType int64 `json:"purchaseType,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
@@ -150,8 +156,8 @@ type InappPurchase struct {
}
func (s *InappPurchase) MarshalJSON() ([]byte, error) {
type noMethod InappPurchase
raw := noMethod(*s)
type NoMethod InappPurchase
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -196,8 +202,8 @@ type SubscriptionPurchase struct {
}
func (s *SubscriptionPurchase) MarshalJSON() ([]byte, error) {
type noMethod SubscriptionPurchase
raw := noMethod(*s)
type NoMethod SubscriptionPurchase
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -314,7 +320,7 @@ func (c *InapppurchasesGetCall) Do(opts ...googleapi.CallOption) (*InappPurchase
},
}
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
@@ -588,7 +594,7 @@ func (c *PurchasesGetCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurcha
},
}
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