Update dependenciess
Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
parent
9d0f13c4c0
commit
946c8399e2
2985 changed files with 1008107 additions and 118934 deletions
1440
vendor/google.golang.org/api/datastore/v1beta3/datastore-api.json
generated
vendored
1440
vendor/google.golang.org/api/datastore/v1beta3/datastore-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
228
vendor/google.golang.org/api/datastore/v1beta3/datastore-gen.go
generated
vendored
228
vendor/google.golang.org/api/datastore/v1beta3/datastore-gen.go
generated
vendored
|
@ -112,8 +112,8 @@ type AllocateIdsRequest struct {
|
|||
}
|
||||
|
||||
func (s *AllocateIdsRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AllocateIdsRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AllocateIdsRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -146,8 +146,8 @@ type AllocateIdsResponse struct {
|
|||
}
|
||||
|
||||
func (s *AllocateIdsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AllocateIdsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AllocateIdsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -177,8 +177,8 @@ type ArrayValue struct {
|
|||
}
|
||||
|
||||
func (s *ArrayValue) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ArrayValue
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ArrayValue
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -206,8 +206,8 @@ type BeginTransactionRequest struct {
|
|||
}
|
||||
|
||||
func (s *BeginTransactionRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod BeginTransactionRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod BeginTransactionRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -239,8 +239,8 @@ type BeginTransactionResponse struct {
|
|||
}
|
||||
|
||||
func (s *BeginTransactionResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod BeginTransactionResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod BeginTransactionResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -301,8 +301,8 @@ type CommitRequest struct {
|
|||
}
|
||||
|
||||
func (s *CommitRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CommitRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod CommitRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -340,8 +340,8 @@ type CommitResponse struct {
|
|||
}
|
||||
|
||||
func (s *CommitResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CommitResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod CommitResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -378,8 +378,8 @@ type CompositeFilter struct {
|
|||
}
|
||||
|
||||
func (s *CompositeFilter) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CompositeFilter
|
||||
raw := noMethod(*s)
|
||||
type NoMethod CompositeFilter
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -427,8 +427,8 @@ type Entity struct {
|
|||
}
|
||||
|
||||
func (s *Entity) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Entity
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Entity
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -474,8 +474,8 @@ type EntityResult struct {
|
|||
}
|
||||
|
||||
func (s *EntityResult) MarshalJSON() ([]byte, error) {
|
||||
type noMethod EntityResult
|
||||
raw := noMethod(*s)
|
||||
type NoMethod EntityResult
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -506,8 +506,8 @@ type Filter struct {
|
|||
}
|
||||
|
||||
func (s *Filter) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Filter
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Filter
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -573,8 +573,8 @@ type GoogleDatastoreAdminV1beta1CommonMetadata struct {
|
|||
}
|
||||
|
||||
func (s *GoogleDatastoreAdminV1beta1CommonMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GoogleDatastoreAdminV1beta1CommonMetadata
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GoogleDatastoreAdminV1beta1CommonMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -633,8 +633,8 @@ type GoogleDatastoreAdminV1beta1EntityFilter struct {
|
|||
}
|
||||
|
||||
func (s *GoogleDatastoreAdminV1beta1EntityFilter) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GoogleDatastoreAdminV1beta1EntityFilter
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GoogleDatastoreAdminV1beta1EntityFilter
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -682,8 +682,8 @@ type GoogleDatastoreAdminV1beta1ExportEntitiesMetadata struct {
|
|||
}
|
||||
|
||||
func (s *GoogleDatastoreAdminV1beta1ExportEntitiesMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -718,8 +718,8 @@ type GoogleDatastoreAdminV1beta1ExportEntitiesResponse struct {
|
|||
}
|
||||
|
||||
func (s *GoogleDatastoreAdminV1beta1ExportEntitiesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GoogleDatastoreAdminV1beta1ExportEntitiesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GoogleDatastoreAdminV1beta1ExportEntitiesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -764,8 +764,8 @@ type GoogleDatastoreAdminV1beta1ImportEntitiesMetadata struct {
|
|||
}
|
||||
|
||||
func (s *GoogleDatastoreAdminV1beta1ImportEntitiesMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -800,8 +800,8 @@ type GoogleDatastoreAdminV1beta1Progress struct {
|
|||
}
|
||||
|
||||
func (s *GoogleDatastoreAdminV1beta1Progress) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GoogleDatastoreAdminV1beta1Progress
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GoogleDatastoreAdminV1beta1Progress
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -859,8 +859,8 @@ type GqlQuery struct {
|
|||
}
|
||||
|
||||
func (s *GqlQuery) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GqlQuery
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GqlQuery
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -891,8 +891,8 @@ type GqlQueryParameter struct {
|
|||
}
|
||||
|
||||
func (s *GqlQueryParameter) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GqlQueryParameter
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GqlQueryParameter
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -953,8 +953,8 @@ type Key struct {
|
|||
}
|
||||
|
||||
func (s *Key) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Key
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Key
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -981,8 +981,8 @@ type KindExpression struct {
|
|||
}
|
||||
|
||||
func (s *KindExpression) MarshalJSON() ([]byte, error) {
|
||||
type noMethod KindExpression
|
||||
raw := noMethod(*s)
|
||||
type NoMethod KindExpression
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -995,40 +995,6 @@ func (s *KindExpression) MarshalJSON() ([]byte, error) {
|
|||
// href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
||||
// st
|
||||
// andard</a>. Values must be within normalized ranges.
|
||||
//
|
||||
// Example of normalization code in Python:
|
||||
//
|
||||
// def NormalizeLongitude(longitude):
|
||||
// """Wraps decimal degrees longitude to [-180.0, 180.0]."""
|
||||
// q, r = divmod(longitude, 360.0)
|
||||
// if r > 180.0 or (r == 180.0 and q <= -1.0):
|
||||
// return r - 360.0
|
||||
// return r
|
||||
//
|
||||
// def NormalizeLatLng(latitude, longitude):
|
||||
// """Wraps decimal degrees latitude and longitude to
|
||||
// [-90.0, 90.0] and [-180.0, 180.0], respectively."""
|
||||
// r = latitude % 360.0
|
||||
// if r <= 90.0:
|
||||
// return r, NormalizeLongitude(longitude)
|
||||
// elif r >= 270.0:
|
||||
// return r - 360, NormalizeLongitude(longitude)
|
||||
// else:
|
||||
// return 180 - r, NormalizeLongitude(longitude + 180.0)
|
||||
//
|
||||
// assert 180.0 == NormalizeLongitude(180.0)
|
||||
// assert -180.0 == NormalizeLongitude(-180.0)
|
||||
// assert -179.0 == NormalizeLongitude(181.0)
|
||||
// assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
|
||||
// assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
|
||||
// assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
|
||||
// assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
|
||||
// assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
|
||||
// assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
|
||||
// assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
|
||||
// assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
||||
// assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
||||
// assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
||||
type LatLng struct {
|
||||
// Latitude: The latitude in degrees. It must be in the range [-90.0,
|
||||
// +90.0].
|
||||
|
@ -1056,19 +1022,19 @@ type LatLng struct {
|
|||
}
|
||||
|
||||
func (s *LatLng) MarshalJSON() ([]byte, error) {
|
||||
type noMethod LatLng
|
||||
raw := noMethod(*s)
|
||||
type NoMethod LatLng
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *LatLng) UnmarshalJSON(data []byte) error {
|
||||
type noMethod LatLng
|
||||
type NoMethod LatLng
|
||||
var s1 struct {
|
||||
Latitude gensupport.JSONFloat64 `json:"latitude"`
|
||||
Longitude gensupport.JSONFloat64 `json:"longitude"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -1103,8 +1069,8 @@ type LookupRequest struct {
|
|||
}
|
||||
|
||||
func (s *LookupRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod LookupRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod LookupRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1153,8 +1119,8 @@ type LookupResponse struct {
|
|||
}
|
||||
|
||||
func (s *LookupResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod LookupResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod LookupResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1202,8 +1168,8 @@ type Mutation struct {
|
|||
}
|
||||
|
||||
func (s *Mutation) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Mutation
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Mutation
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1248,8 +1214,8 @@ type MutationResult struct {
|
|||
}
|
||||
|
||||
func (s *MutationResult) MarshalJSON() ([]byte, error) {
|
||||
type noMethod MutationResult
|
||||
raw := noMethod(*s)
|
||||
type NoMethod MutationResult
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1302,8 +1268,8 @@ type PartitionId struct {
|
|||
}
|
||||
|
||||
func (s *PartitionId) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PartitionId
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PartitionId
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1349,8 +1315,8 @@ type PathElement struct {
|
|||
}
|
||||
|
||||
func (s *PathElement) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PathElement
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PathElement
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1377,8 +1343,8 @@ type Projection struct {
|
|||
}
|
||||
|
||||
func (s *Projection) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Projection
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Projection
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1420,8 +1386,8 @@ type PropertyFilter struct {
|
|||
}
|
||||
|
||||
func (s *PropertyFilter) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PropertyFilter
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PropertyFilter
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1456,8 +1422,8 @@ type PropertyOrder struct {
|
|||
}
|
||||
|
||||
func (s *PropertyOrder) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PropertyOrder
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PropertyOrder
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1486,8 +1452,8 @@ type PropertyReference struct {
|
|||
}
|
||||
|
||||
func (s *PropertyReference) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PropertyReference
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PropertyReference
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1562,8 +1528,8 @@ type Query struct {
|
|||
}
|
||||
|
||||
func (s *Query) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Query
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Query
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1646,8 +1612,8 @@ type QueryResultBatch struct {
|
|||
}
|
||||
|
||||
func (s *QueryResultBatch) MarshalJSON() ([]byte, error) {
|
||||
type noMethod QueryResultBatch
|
||||
raw := noMethod(*s)
|
||||
type NoMethod QueryResultBatch
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1694,8 +1660,8 @@ type ReadOptions struct {
|
|||
}
|
||||
|
||||
func (s *ReadOptions) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ReadOptions
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ReadOptions
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1724,8 +1690,8 @@ type ReadWrite struct {
|
|||
}
|
||||
|
||||
func (s *ReadWrite) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ReadWrite
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ReadWrite
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1758,8 +1724,8 @@ type ReserveIdsRequest struct {
|
|||
}
|
||||
|
||||
func (s *ReserveIdsRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ReserveIdsRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ReserveIdsRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1795,8 +1761,8 @@ type RollbackRequest struct {
|
|||
}
|
||||
|
||||
func (s *RollbackRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod RollbackRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod RollbackRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1845,8 +1811,8 @@ type RunQueryRequest struct {
|
|||
}
|
||||
|
||||
func (s *RunQueryRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod RunQueryRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod RunQueryRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1881,8 +1847,8 @@ type RunQueryResponse struct {
|
|||
}
|
||||
|
||||
func (s *RunQueryResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod RunQueryResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod RunQueryResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1919,8 +1885,8 @@ type TransactionOptions struct {
|
|||
}
|
||||
|
||||
func (s *TransactionOptions) MarshalJSON() ([]byte, error) {
|
||||
type noMethod TransactionOptions
|
||||
raw := noMethod(*s)
|
||||
type NoMethod TransactionOptions
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -2008,18 +1974,18 @@ type Value struct {
|
|||
}
|
||||
|
||||
func (s *Value) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Value
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Value
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Value) UnmarshalJSON(data []byte) error {
|
||||
type noMethod Value
|
||||
type NoMethod Value
|
||||
var s1 struct {
|
||||
DoubleValue *gensupport.JSONFloat64 `json:"doubleValue"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -2131,7 +2097,7 @@ func (c *ProjectsAllocateIdsCall) Do(opts ...googleapi.CallOption) (*AllocateIds
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2266,7 +2232,7 @@ func (c *ProjectsBeginTransactionCall) Do(opts ...googleapi.CallOption) (*BeginT
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2403,7 +2369,7 @@ func (c *ProjectsCommitCall) Do(opts ...googleapi.CallOption) (*CommitResponse,
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2538,7 +2504,7 @@ func (c *ProjectsLookupCall) Do(opts ...googleapi.CallOption) (*LookupResponse,
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2675,7 +2641,7 @@ func (c *ProjectsReserveIdsCall) Do(opts ...googleapi.CallOption) (*ReserveIdsRe
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2810,7 +2776,7 @@ func (c *ProjectsRollbackCall) Do(opts ...googleapi.CallOption) (*RollbackRespon
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2945,7 +2911,7 @@ func (c *ProjectsRunQueryCall) Do(opts ...googleapi.CallOption) (*RunQueryRespon
|
|||
},
|
||||
}
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue