vendor: update all dependencies to latest versions
This commit is contained in:
+2669
-2622
File diff suppressed because it is too large
Load Diff
+375
-260
File diff suppressed because it is too large
Load Diff
+951
-938
File diff suppressed because it is too large
Load Diff
+186
-125
@@ -230,8 +230,8 @@ type AuthorizedCertificate struct {
|
||||
}
|
||||
|
||||
func (s *AuthorizedCertificate) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AuthorizedCertificate
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AuthorizedCertificate
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -266,8 +266,8 @@ type AuthorizedDomain struct {
|
||||
}
|
||||
|
||||
func (s *AuthorizedDomain) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AuthorizedDomain
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AuthorizedDomain
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -306,8 +306,70 @@ type CertificateRawData struct {
|
||||
}
|
||||
|
||||
func (s *CertificateRawData) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CertificateRawData
|
||||
raw := noMethod(*s)
|
||||
type NoMethod CertificateRawData
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1alpha.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1Alpha struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1Alpha) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1Alpha
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Beta: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1beta.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1Beta struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1Beta) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1Beta
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -353,8 +415,8 @@ type DomainMapping struct {
|
||||
}
|
||||
|
||||
func (s *DomainMapping) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DomainMapping
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DomainMapping
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -406,8 +468,8 @@ type ListAuthorizedCertificatesResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListAuthorizedCertificatesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListAuthorizedCertificatesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListAuthorizedCertificatesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -443,8 +505,8 @@ type ListAuthorizedDomainsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListAuthorizedDomainsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListAuthorizedDomainsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListAuthorizedDomainsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -481,8 +543,8 @@ type ListDomainMappingsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListDomainMappingsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListDomainMappingsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListDomainMappingsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -518,8 +580,8 @@ type ListLocationsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListLocationsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListLocationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -555,8 +617,8 @@ type ListOperationsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListOperationsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListOperationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -603,8 +665,8 @@ type Location struct {
|
||||
}
|
||||
|
||||
func (s *Location) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Location
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Location
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -639,8 +701,8 @@ type LocationMetadata struct {
|
||||
}
|
||||
|
||||
func (s *LocationMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod LocationMetadata
|
||||
raw := noMethod(*s)
|
||||
type NoMethod LocationMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -674,6 +736,18 @@ type ManagedCertificate struct {
|
||||
// exhausted. Most recent renewal failed due to an invalid DNS setup and
|
||||
// will not be retried. The last successfully provisioned certificate
|
||||
// may still be serving.
|
||||
// "FAILED_RETRYING_CAA_FORBIDDEN" - Most recent renewal failed due to
|
||||
// an explicit CAA record that does not include the in-use CA, Let's
|
||||
// Encrypt. Renewals will continue to fail until the CAA is
|
||||
// reconfigured. The last successfully provisioned certificate may still
|
||||
// be serving.
|
||||
// "FAILED_RETRYING_CAA_CHECKING" - Most recent renewal failed due to
|
||||
// a CAA retrieval failure. This means that the domain's DNS provider
|
||||
// does not properly handle CAA records, failing requests for CAA
|
||||
// records when no CAA records are defined. Renewals will continue to
|
||||
// fail until the DNS provider is changed or a CAA record is added for
|
||||
// the given domain. The last successfully provisioned certificate may
|
||||
// still be serving.
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "LastRenewalTime") to
|
||||
@@ -695,8 +769,8 @@ type ManagedCertificate struct {
|
||||
}
|
||||
|
||||
func (s *ManagedCertificate) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ManagedCertificate
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ManagedCertificate
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -756,8 +830,8 @@ type Operation struct {
|
||||
}
|
||||
|
||||
func (s *Operation) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Operation
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Operation
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -803,52 +877,8 @@ type OperationMetadata struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadata
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataExperimental: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataExperimental struct {
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
// InsertTime: Time that this operation was created.@OutputOnly
|
||||
InsertTime string `json:"insertTime,omitempty"`
|
||||
|
||||
// Method: API method that initiated this operation. Example:
|
||||
// google.appengine.experimental.CustomDomains.CreateCustomDomain.@Output
|
||||
// Only
|
||||
Method string `json:"method,omitempty"`
|
||||
|
||||
// Target: Name of the resource that this operation is acting on.
|
||||
// Example: apps/myapp/customDomains/example.com.@OutputOnly
|
||||
Target string `json:"target,omitempty"`
|
||||
|
||||
// User: User who requested this operation.@OutputOnly
|
||||
User string `json:"user,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataExperimental) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataExperimental
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -898,14 +928,16 @@ type OperationMetadataV1 struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1Alpha struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1Alpha `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -931,32 +963,36 @@ type OperationMetadataV1Alpha struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Alpha) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Alpha
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Alpha
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataV1Beta: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1Beta struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1Beta `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -982,26 +1018,28 @@ type OperationMetadataV1Beta struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Beta) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Beta
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Beta
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1043,8 +1081,8 @@ type OperationMetadataV1Beta5 struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Beta5) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Beta5
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Beta5
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1085,8 +1123,8 @@ type ResourceRecord struct {
|
||||
}
|
||||
|
||||
func (s *ResourceRecord) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ResourceRecord
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ResourceRecord
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1126,8 +1164,8 @@ type SslSettings struct {
|
||||
}
|
||||
|
||||
func (s *SslSettings) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SslSettings
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SslSettings
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1202,8 +1240,8 @@ type Status struct {
|
||||
}
|
||||
|
||||
func (s *Status) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Status
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Status
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1307,7 +1345,7 @@ func (c *AppsAuthorizedCertificatesCreateCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -1437,7 +1475,7 @@ func (c *AppsAuthorizedCertificatesDeleteCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -1596,7 +1634,7 @@ func (c *AppsAuthorizedCertificatesGetCall) Do(opts ...googleapi.CallOption) (*A
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -1779,7 +1817,7 @@ func (c *AppsAuthorizedCertificatesListCall) Do(opts ...googleapi.CallOption) (*
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -1968,7 +2006,7 @@ func (c *AppsAuthorizedCertificatesPatchCall) Do(opts ...googleapi.CallOption) (
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2136,7 +2174,7 @@ func (c *AppsAuthorizedDomainsListCall) Do(opts ...googleapi.CallOption) (*ListA
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2234,6 +2272,19 @@ func (c *AppsDomainMappingsCreateCall) NoManagedCertificate(noManagedCertificate
|
||||
return c
|
||||
}
|
||||
|
||||
// OverrideStrategy sets the optional parameter "overrideStrategy":
|
||||
// Whether the domain creation should override any existing mappings for
|
||||
// this domain. By default, overrides are rejected.
|
||||
//
|
||||
// Possible values:
|
||||
// "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY"
|
||||
// "STRICT"
|
||||
// "OVERRIDE"
|
||||
func (c *AppsDomainMappingsCreateCall) OverrideStrategy(overrideStrategy string) *AppsDomainMappingsCreateCall {
|
||||
c.urlParams_.Set("overrideStrategy", overrideStrategy)
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
@@ -2315,7 +2366,7 @@ func (c *AppsDomainMappingsCreateCall) Do(opts ...googleapi.CallOption) (*Operat
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2338,6 +2389,16 @@ func (c *AppsDomainMappingsCreateCall) Do(opts ...googleapi.CallOption) (*Operat
|
||||
// "description": "Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.",
|
||||
// "location": "query",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "overrideStrategy": {
|
||||
// "description": "Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.",
|
||||
// "enum": [
|
||||
// "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY",
|
||||
// "STRICT",
|
||||
// "OVERRIDE"
|
||||
// ],
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "v1alpha/apps/{appsId}/domainMappings",
|
||||
@@ -2452,7 +2513,7 @@ func (c *AppsDomainMappingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operat
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2600,7 +2661,7 @@ func (c *AppsDomainMappingsGetCall) Do(opts ...googleapi.CallOption) (*DomainMap
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2761,7 +2822,7 @@ func (c *AppsDomainMappingsListCall) Do(opts ...googleapi.CallOption) (*ListDoma
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2952,7 +3013,7 @@ func (c *AppsDomainMappingsPatchCall) Do(opts ...googleapi.CallOption) (*Operati
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3114,7 +3175,7 @@ func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, erro
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3283,7 +3344,7 @@ func (c *AppsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocations
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3465,7 +3526,7 @@ func (c *AppsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, 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
|
||||
@@ -3642,7 +3703,7 @@ func (c *AppsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperatio
|
||||
},
|
||||
}
|
||||
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
|
||||
|
||||
+2443
-2399
File diff suppressed because it is too large
Load Diff
+394
-274
File diff suppressed because it is too large
Load Diff
+1719
-1701
File diff suppressed because it is too large
Load Diff
+264
-190
@@ -226,8 +226,8 @@ type ApiConfigHandler struct {
|
||||
}
|
||||
|
||||
func (s *ApiConfigHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ApiConfigHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ApiConfigHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -254,8 +254,8 @@ type ApiEndpointHandler struct {
|
||||
}
|
||||
|
||||
func (s *ApiEndpointHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ApiEndpointHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ApiEndpointHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -330,8 +330,8 @@ type Application struct {
|
||||
}
|
||||
|
||||
func (s *Application) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Application
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Application
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -405,8 +405,8 @@ type AutomaticScaling struct {
|
||||
}
|
||||
|
||||
func (s *AutomaticScaling) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AutomaticScaling
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AutomaticScaling
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -440,8 +440,8 @@ type BasicScaling struct {
|
||||
}
|
||||
|
||||
func (s *BasicScaling) MarshalJSON() ([]byte, error) {
|
||||
type noMethod BasicScaling
|
||||
raw := noMethod(*s)
|
||||
type NoMethod BasicScaling
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -473,8 +473,8 @@ type ContainerInfo struct {
|
||||
}
|
||||
|
||||
func (s *ContainerInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ContainerInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ContainerInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -508,18 +508,18 @@ type CpuUtilization struct {
|
||||
}
|
||||
|
||||
func (s *CpuUtilization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CpuUtilization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod CpuUtilization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *CpuUtilization) UnmarshalJSON(data []byte) error {
|
||||
type noMethod CpuUtilization
|
||||
type NoMethod CpuUtilization
|
||||
var s1 struct {
|
||||
TargetUtilization gensupport.JSONFloat64 `json:"targetUtilization"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -527,6 +527,68 @@ func (s *CpuUtilization) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1alpha.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1Alpha struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1Alpha) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1Alpha
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Beta: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1beta.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1Beta struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1Beta) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1Beta
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// DebugInstanceRequest: Request message for Instances.DebugInstance.
|
||||
type DebugInstanceRequest struct {
|
||||
// SshKey: Public SSH key to add to the instance.
|
||||
@@ -557,8 +619,8 @@ type DebugInstanceRequest struct {
|
||||
}
|
||||
|
||||
func (s *DebugInstanceRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DebugInstanceRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DebugInstanceRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -598,8 +660,8 @@ type Deployment struct {
|
||||
}
|
||||
|
||||
func (s *Deployment) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Deployment
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Deployment
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -638,8 +700,51 @@ type DiskUtilization struct {
|
||||
}
|
||||
|
||||
func (s *DiskUtilization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DiskUtilization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DiskUtilization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// EndpointsApiService: Cloud Endpoints
|
||||
// (https://cloud.google.com/endpoints) configuration. The Endpoints API
|
||||
// Service provides tooling for serving Open API and gRPC endpoints via
|
||||
// an NGINX proxy.The fields here refer to the name and configuration id
|
||||
// of a "service" resource in the Service Management API
|
||||
// (https://cloud.google.com/service-management/overview).
|
||||
type EndpointsApiService struct {
|
||||
// ConfigId: Endpoints service configuration id as specified by the
|
||||
// Service Management API. For example "2016-09-19r1"By default, the
|
||||
// Endpoints service configuration id is fixed and config_id must be
|
||||
// specified. To keep the Endpoints service configuration id updated
|
||||
// with each rollout, specify RolloutStrategy.MANAGED and omit
|
||||
// config_id.
|
||||
ConfigId string `json:"configId,omitempty"`
|
||||
|
||||
// Name: Endpoints service name which is the name of the "service"
|
||||
// resource in the Service Management API. For example
|
||||
// "myapi.endpoints.myproject.cloud.goog"
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ConfigId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "ConfigId") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *EndpointsApiService) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod EndpointsApiService
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -684,8 +789,8 @@ type ErrorHandler struct {
|
||||
}
|
||||
|
||||
func (s *ErrorHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ErrorHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ErrorHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -723,8 +828,8 @@ type FileInfo struct {
|
||||
}
|
||||
|
||||
func (s *FileInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod FileInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod FileInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -776,8 +881,8 @@ type HealthCheck struct {
|
||||
}
|
||||
|
||||
func (s *HealthCheck) MarshalJSON() ([]byte, error) {
|
||||
type noMethod HealthCheck
|
||||
raw := noMethod(*s)
|
||||
type NoMethod HealthCheck
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -818,8 +923,8 @@ type IdentityAwareProxy struct {
|
||||
}
|
||||
|
||||
func (s *IdentityAwareProxy) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentityAwareProxy
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentityAwareProxy
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -917,18 +1022,18 @@ type Instance struct {
|
||||
}
|
||||
|
||||
func (s *Instance) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Instance
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Instance
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Instance) UnmarshalJSON(data []byte) error {
|
||||
type noMethod Instance
|
||||
type NoMethod Instance
|
||||
var s1 struct {
|
||||
Qps gensupport.JSONFloat64 `json:"qps"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -963,8 +1068,8 @@ type Library struct {
|
||||
}
|
||||
|
||||
func (s *Library) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Library
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Library
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -999,8 +1104,8 @@ type ListInstancesResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListInstancesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListInstancesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListInstancesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1036,8 +1141,8 @@ type ListLocationsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListLocationsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListLocationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1072,8 +1177,8 @@ type ListModulesResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListModulesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListModulesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListModulesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1109,8 +1214,8 @@ type ListOperationsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListOperationsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListOperationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1145,8 +1250,8 @@ type ListVersionsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListVersionsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListVersionsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListVersionsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1193,8 +1298,8 @@ type Location struct {
|
||||
}
|
||||
|
||||
func (s *Location) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Location
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Location
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1229,8 +1334,8 @@ type LocationMetadata struct {
|
||||
}
|
||||
|
||||
func (s *LocationMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod LocationMetadata
|
||||
raw := noMethod(*s)
|
||||
type NoMethod LocationMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1262,8 +1367,8 @@ type ManualScaling struct {
|
||||
}
|
||||
|
||||
func (s *ManualScaling) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ManualScaling
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ManualScaling
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1309,8 +1414,8 @@ type Module struct {
|
||||
}
|
||||
|
||||
func (s *Module) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Module
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Module
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1347,8 +1452,8 @@ type Network struct {
|
||||
}
|
||||
|
||||
func (s *Network) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Network
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Network
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1387,8 +1492,8 @@ type NetworkUtilization struct {
|
||||
}
|
||||
|
||||
func (s *NetworkUtilization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod NetworkUtilization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod NetworkUtilization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1448,8 +1553,8 @@ type Operation struct {
|
||||
}
|
||||
|
||||
func (s *Operation) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Operation
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Operation
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1495,52 +1600,8 @@ type OperationMetadata struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadata
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataExperimental: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataExperimental struct {
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
// InsertTime: Time that this operation was created.@OutputOnly
|
||||
InsertTime string `json:"insertTime,omitempty"`
|
||||
|
||||
// Method: API method that initiated this operation. Example:
|
||||
// google.appengine.experimental.CustomDomains.CreateCustomDomain.@Output
|
||||
// Only
|
||||
Method string `json:"method,omitempty"`
|
||||
|
||||
// Target: Name of the resource that this operation is acting on.
|
||||
// Example: apps/myapp/customDomains/example.com.@OutputOnly
|
||||
Target string `json:"target,omitempty"`
|
||||
|
||||
// User: User who requested this operation.@OutputOnly
|
||||
User string `json:"user,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataExperimental) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataExperimental
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1590,14 +1651,16 @@ type OperationMetadataV1 struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1Alpha struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1Alpha `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -1623,32 +1686,36 @@ type OperationMetadataV1Alpha struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Alpha) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Alpha
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Alpha
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataV1Beta: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1Beta struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1Beta `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -1674,26 +1741,28 @@ type OperationMetadataV1Beta struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Beta) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Beta
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Beta
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1735,8 +1804,8 @@ type OperationMetadataV1Beta5 struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Beta5) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Beta5
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Beta5
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1769,8 +1838,8 @@ type RequestUtilization struct {
|
||||
}
|
||||
|
||||
func (s *RequestUtilization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod RequestUtilization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod RequestUtilization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1806,20 +1875,20 @@ type Resources struct {
|
||||
}
|
||||
|
||||
func (s *Resources) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Resources
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Resources
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Resources) UnmarshalJSON(data []byte) error {
|
||||
type noMethod Resources
|
||||
type NoMethod Resources
|
||||
var s1 struct {
|
||||
Cpu gensupport.JSONFloat64 `json:"cpu"`
|
||||
DiskGb gensupport.JSONFloat64 `json:"diskGb"`
|
||||
MemoryGb gensupport.JSONFloat64 `json:"memoryGb"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -1853,8 +1922,8 @@ type ScriptHandler struct {
|
||||
}
|
||||
|
||||
func (s *ScriptHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ScriptHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ScriptHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1888,8 +1957,8 @@ type SourceReference struct {
|
||||
}
|
||||
|
||||
func (s *SourceReference) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SourceReference
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SourceReference
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1946,8 +2015,8 @@ type StaticDirectoryHandler struct {
|
||||
}
|
||||
|
||||
func (s *StaticDirectoryHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod StaticDirectoryHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod StaticDirectoryHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2007,8 +2076,8 @@ type StaticFilesHandler struct {
|
||||
}
|
||||
|
||||
func (s *StaticFilesHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod StaticFilesHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod StaticFilesHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2083,8 +2152,8 @@ type Status struct {
|
||||
}
|
||||
|
||||
func (s *Status) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Status
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Status
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2133,8 +2202,8 @@ type TrafficSplit struct {
|
||||
}
|
||||
|
||||
func (s *TrafficSplit) MarshalJSON() ([]byte, error) {
|
||||
type noMethod TrafficSplit
|
||||
raw := noMethod(*s)
|
||||
type NoMethod TrafficSplit
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2173,8 +2242,8 @@ type UrlDispatchRule struct {
|
||||
}
|
||||
|
||||
func (s *UrlDispatchRule) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UrlDispatchRule
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UrlDispatchRule
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2282,8 +2351,8 @@ type UrlMap struct {
|
||||
}
|
||||
|
||||
func (s *UrlMap) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UrlMap
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UrlMap
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2328,6 +2397,11 @@ type Version struct {
|
||||
// version.Only returned in GET requests if view=FULL is set.
|
||||
Deployment *Deployment `json:"deployment,omitempty"`
|
||||
|
||||
// EndpointsApiService: Cloud Endpoints configuration.If
|
||||
// endpoints_api_service is set, the Cloud Endpoints Extensible Service
|
||||
// Proxy will be provided to serve the API implemented by the app.
|
||||
EndpointsApiService *EndpointsApiService `json:"endpointsApiService,omitempty"`
|
||||
|
||||
// Env: App Engine execution environment to use for this
|
||||
// version.Defaults to 1.
|
||||
Env string `json:"env,omitempty"`
|
||||
@@ -2464,8 +2538,8 @@ type Version struct {
|
||||
}
|
||||
|
||||
func (s *Version) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Version
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Version
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2499,18 +2573,18 @@ type Volume struct {
|
||||
}
|
||||
|
||||
func (s *Volume) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Volume
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Volume
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Volume) UnmarshalJSON(data []byte) error {
|
||||
type noMethod Volume
|
||||
type NoMethod Volume
|
||||
var s1 struct {
|
||||
SizeGb gensupport.JSONFloat64 `json:"sizeGb"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -2620,7 +2694,7 @@ func (c *AppsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2764,7 +2838,7 @@ func (c *AppsGetCall) Do(opts ...googleapi.CallOption) (*Application, error) {
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2914,7 +2988,7 @@ func (c *AppsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3064,7 +3138,7 @@ func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, erro
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3233,7 +3307,7 @@ func (c *AppsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocations
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3399,7 +3473,7 @@ func (c *AppsModulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, 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
|
||||
@@ -3547,7 +3621,7 @@ func (c *AppsModulesGetCall) Do(opts ...googleapi.CallOption) (*Module, error) {
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3708,7 +3782,7 @@ func (c *AppsModulesListCall) Do(opts ...googleapi.CallOption) (*ListModulesResp
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3904,7 +3978,7 @@ func (c *AppsModulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, err
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4059,7 +4133,7 @@ func (c *AppsModulesVersionsCreateCall) Do(opts ...googleapi.CallOption) (*Opera
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4199,7 +4273,7 @@ func (c *AppsModulesVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*Opera
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4370,7 +4444,7 @@ func (c *AppsModulesVersionsGetCall) Do(opts ...googleapi.CallOption) (*Version,
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4561,7 +4635,7 @@ func (c *AppsModulesVersionsListCall) Do(opts ...googleapi.CallOption) (*ListVer
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4777,7 +4851,7 @@ func (c *AppsModulesVersionsPatchCall) Do(opts ...googleapi.CallOption) (*Operat
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4946,7 +5020,7 @@ func (c *AppsModulesVersionsInstancesDebugCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5103,7 +5177,7 @@ func (c *AppsModulesVersionsInstancesDeleteCall) Do(opts ...googleapi.CallOption
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5271,7 +5345,7 @@ func (c *AppsModulesVersionsInstancesGetCall) Do(opts ...googleapi.CallOption) (
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5455,7 +5529,7 @@ func (c *AppsModulesVersionsInstancesListCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5646,7 +5720,7 @@ func (c *AppsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, 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
|
||||
@@ -5823,7 +5897,7 @@ func (c *AppsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperatio
|
||||
},
|
||||
}
|
||||
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
|
||||
|
||||
+1459
-1460
File diff suppressed because it is too large
Load Diff
+221
-191
@@ -226,8 +226,8 @@ type ApiConfigHandler struct {
|
||||
}
|
||||
|
||||
func (s *ApiConfigHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ApiConfigHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ApiConfigHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -254,8 +254,8 @@ type ApiEndpointHandler struct {
|
||||
}
|
||||
|
||||
func (s *ApiEndpointHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ApiEndpointHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ApiEndpointHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -330,8 +330,8 @@ type Application struct {
|
||||
}
|
||||
|
||||
func (s *Application) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Application
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Application
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -405,8 +405,8 @@ type AutomaticScaling struct {
|
||||
}
|
||||
|
||||
func (s *AutomaticScaling) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AutomaticScaling
|
||||
raw := noMethod(*s)
|
||||
type NoMethod AutomaticScaling
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -440,8 +440,8 @@ type BasicScaling struct {
|
||||
}
|
||||
|
||||
func (s *BasicScaling) MarshalJSON() ([]byte, error) {
|
||||
type noMethod BasicScaling
|
||||
raw := noMethod(*s)
|
||||
type NoMethod BasicScaling
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -473,8 +473,8 @@ type ContainerInfo struct {
|
||||
}
|
||||
|
||||
func (s *ContainerInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ContainerInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ContainerInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -508,18 +508,18 @@ type CpuUtilization struct {
|
||||
}
|
||||
|
||||
func (s *CpuUtilization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CpuUtilization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod CpuUtilization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *CpuUtilization) UnmarshalJSON(data []byte) error {
|
||||
type noMethod CpuUtilization
|
||||
type NoMethod CpuUtilization
|
||||
var s1 struct {
|
||||
TargetUtilization gensupport.JSONFloat64 `json:"targetUtilization"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -527,6 +527,68 @@ func (s *CpuUtilization) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1alpha.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1Alpha struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1Alpha) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1Alpha
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Beta: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1beta.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1Beta struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1Beta) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1Beta
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// DebugInstanceRequest: Request message for Instances.DebugInstance.
|
||||
type DebugInstanceRequest struct {
|
||||
// SshKey: Public SSH key to add to the instance.
|
||||
@@ -557,8 +619,8 @@ type DebugInstanceRequest struct {
|
||||
}
|
||||
|
||||
func (s *DebugInstanceRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DebugInstanceRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DebugInstanceRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -598,8 +660,8 @@ type Deployment struct {
|
||||
}
|
||||
|
||||
func (s *Deployment) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Deployment
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Deployment
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -638,8 +700,8 @@ type DiskUtilization struct {
|
||||
}
|
||||
|
||||
func (s *DiskUtilization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DiskUtilization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DiskUtilization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -651,7 +713,11 @@ func (s *DiskUtilization) MarshalJSON() ([]byte, error) {
|
||||
// (https://cloud.google.com/service-management/overview).
|
||||
type EndpointsApiService struct {
|
||||
// ConfigId: Endpoints service configuration id as specified by the
|
||||
// Service Management API. For example "2016-09-19r1"
|
||||
// Service Management API. For example "2016-09-19r1"By default, the
|
||||
// Endpoints service configuration id is fixed and config_id must be
|
||||
// specified. To keep the Endpoints service configuration id updated
|
||||
// with each rollout, specify RolloutStrategy.MANAGED and omit
|
||||
// config_id.
|
||||
ConfigId string `json:"configId,omitempty"`
|
||||
|
||||
// Name: Endpoints service name which is the name of the "service"
|
||||
@@ -677,8 +743,8 @@ type EndpointsApiService struct {
|
||||
}
|
||||
|
||||
func (s *EndpointsApiService) MarshalJSON() ([]byte, error) {
|
||||
type noMethod EndpointsApiService
|
||||
raw := noMethod(*s)
|
||||
type NoMethod EndpointsApiService
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -723,8 +789,8 @@ type ErrorHandler struct {
|
||||
}
|
||||
|
||||
func (s *ErrorHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ErrorHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ErrorHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -762,8 +828,8 @@ type FileInfo struct {
|
||||
}
|
||||
|
||||
func (s *FileInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod FileInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod FileInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -815,8 +881,8 @@ type HealthCheck struct {
|
||||
}
|
||||
|
||||
func (s *HealthCheck) MarshalJSON() ([]byte, error) {
|
||||
type noMethod HealthCheck
|
||||
raw := noMethod(*s)
|
||||
type NoMethod HealthCheck
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -857,8 +923,8 @@ type IdentityAwareProxy struct {
|
||||
}
|
||||
|
||||
func (s *IdentityAwareProxy) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentityAwareProxy
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentityAwareProxy
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -956,18 +1022,18 @@ type Instance struct {
|
||||
}
|
||||
|
||||
func (s *Instance) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Instance
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Instance
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Instance) UnmarshalJSON(data []byte) error {
|
||||
type noMethod Instance
|
||||
type NoMethod Instance
|
||||
var s1 struct {
|
||||
Qps gensupport.JSONFloat64 `json:"qps"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -1002,8 +1068,8 @@ type Library struct {
|
||||
}
|
||||
|
||||
func (s *Library) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Library
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Library
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1038,8 +1104,8 @@ type ListInstancesResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListInstancesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListInstancesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListInstancesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1075,8 +1141,8 @@ type ListLocationsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListLocationsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListLocationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1112,8 +1178,8 @@ type ListOperationsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListOperationsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListOperationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1148,8 +1214,8 @@ type ListServicesResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListServicesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListServicesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListServicesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1184,8 +1250,8 @@ type ListVersionsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListVersionsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListVersionsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListVersionsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1232,8 +1298,8 @@ type Location struct {
|
||||
}
|
||||
|
||||
func (s *Location) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Location
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Location
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1268,8 +1334,8 @@ type LocationMetadata struct {
|
||||
}
|
||||
|
||||
func (s *LocationMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod LocationMetadata
|
||||
raw := noMethod(*s)
|
||||
type NoMethod LocationMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1301,8 +1367,8 @@ type ManualScaling struct {
|
||||
}
|
||||
|
||||
func (s *ManualScaling) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ManualScaling
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ManualScaling
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1356,8 +1422,8 @@ type Network struct {
|
||||
}
|
||||
|
||||
func (s *Network) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Network
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Network
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1396,8 +1462,8 @@ type NetworkUtilization struct {
|
||||
}
|
||||
|
||||
func (s *NetworkUtilization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod NetworkUtilization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod NetworkUtilization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1457,8 +1523,8 @@ type Operation struct {
|
||||
}
|
||||
|
||||
func (s *Operation) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Operation
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Operation
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1504,52 +1570,8 @@ type OperationMetadata struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadata
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataExperimental: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataExperimental struct {
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
// InsertTime: Time that this operation was created.@OutputOnly
|
||||
InsertTime string `json:"insertTime,omitempty"`
|
||||
|
||||
// Method: API method that initiated this operation. Example:
|
||||
// google.appengine.experimental.CustomDomains.CreateCustomDomain.@Output
|
||||
// Only
|
||||
Method string `json:"method,omitempty"`
|
||||
|
||||
// Target: Name of the resource that this operation is acting on.
|
||||
// Example: apps/myapp/customDomains/example.com.@OutputOnly
|
||||
Target string `json:"target,omitempty"`
|
||||
|
||||
// User: User who requested this operation.@OutputOnly
|
||||
User string `json:"user,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataExperimental) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataExperimental
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1599,14 +1621,16 @@ type OperationMetadataV1 struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1Alpha struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1Alpha `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -1632,32 +1656,36 @@ type OperationMetadataV1Alpha struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Alpha) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Alpha
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Alpha
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationMetadataV1Beta: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1Beta struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1Beta `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -1683,26 +1711,28 @@ type OperationMetadataV1Beta struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Beta) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Beta
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Beta
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1744,8 +1774,8 @@ type OperationMetadataV1Beta5 struct {
|
||||
}
|
||||
|
||||
func (s *OperationMetadataV1Beta5) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationMetadataV1Beta5
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationMetadataV1Beta5
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1778,8 +1808,8 @@ type RequestUtilization struct {
|
||||
}
|
||||
|
||||
func (s *RequestUtilization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod RequestUtilization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod RequestUtilization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1815,20 +1845,20 @@ type Resources struct {
|
||||
}
|
||||
|
||||
func (s *Resources) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Resources
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Resources
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Resources) UnmarshalJSON(data []byte) error {
|
||||
type noMethod Resources
|
||||
type NoMethod Resources
|
||||
var s1 struct {
|
||||
Cpu gensupport.JSONFloat64 `json:"cpu"`
|
||||
DiskGb gensupport.JSONFloat64 `json:"diskGb"`
|
||||
MemoryGb gensupport.JSONFloat64 `json:"memoryGb"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -1862,8 +1892,8 @@ type ScriptHandler struct {
|
||||
}
|
||||
|
||||
func (s *ScriptHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ScriptHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ScriptHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1909,8 +1939,8 @@ type Service struct {
|
||||
}
|
||||
|
||||
func (s *Service) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Service
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Service
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1944,8 +1974,8 @@ type SourceReference struct {
|
||||
}
|
||||
|
||||
func (s *SourceReference) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SourceReference
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SourceReference
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2005,8 +2035,8 @@ type StaticFilesHandler struct {
|
||||
}
|
||||
|
||||
func (s *StaticFilesHandler) MarshalJSON() ([]byte, error) {
|
||||
type noMethod StaticFilesHandler
|
||||
raw := noMethod(*s)
|
||||
type NoMethod StaticFilesHandler
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2081,8 +2111,8 @@ type Status struct {
|
||||
}
|
||||
|
||||
func (s *Status) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Status
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Status
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2131,8 +2161,8 @@ type TrafficSplit struct {
|
||||
}
|
||||
|
||||
func (s *TrafficSplit) MarshalJSON() ([]byte, error) {
|
||||
type noMethod TrafficSplit
|
||||
raw := noMethod(*s)
|
||||
type NoMethod TrafficSplit
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2172,8 +2202,8 @@ type UrlDispatchRule struct {
|
||||
}
|
||||
|
||||
func (s *UrlDispatchRule) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UrlDispatchRule
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UrlDispatchRule
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2276,8 +2306,8 @@ type UrlMap struct {
|
||||
}
|
||||
|
||||
func (s *UrlMap) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UrlMap
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UrlMap
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2467,8 +2497,8 @@ type Version struct {
|
||||
}
|
||||
|
||||
func (s *Version) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Version
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Version
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2502,18 +2532,18 @@ type Volume struct {
|
||||
}
|
||||
|
||||
func (s *Volume) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Volume
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Volume
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Volume) UnmarshalJSON(data []byte) error {
|
||||
type noMethod Volume
|
||||
type NoMethod Volume
|
||||
var s1 struct {
|
||||
SizeGb gensupport.JSONFloat64 `json:"sizeGb"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -2623,7 +2653,7 @@ func (c *AppsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2768,7 +2798,7 @@ func (c *AppsGetCall) Do(opts ...googleapi.CallOption) (*Application, error) {
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2918,7 +2948,7 @@ func (c *AppsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3068,7 +3098,7 @@ func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, erro
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3237,7 +3267,7 @@ func (c *AppsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocations
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3419,7 +3449,7 @@ func (c *AppsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, 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
|
||||
@@ -3596,7 +3626,7 @@ func (c *AppsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperatio
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3762,7 +3792,7 @@ func (c *AppsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, 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
|
||||
@@ -3910,7 +3940,7 @@ func (c *AppsServicesGetCall) Do(opts ...googleapi.CallOption) (*Service, error)
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4071,7 +4101,7 @@ func (c *AppsServicesListCall) Do(opts ...googleapi.CallOption) (*ListServicesRe
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4267,7 +4297,7 @@ func (c *AppsServicesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, 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
|
||||
@@ -4422,7 +4452,7 @@ func (c *AppsServicesVersionsCreateCall) Do(opts ...googleapi.CallOption) (*Oper
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4562,7 +4592,7 @@ func (c *AppsServicesVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*Oper
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4733,7 +4763,7 @@ func (c *AppsServicesVersionsGetCall) Do(opts ...googleapi.CallOption) (*Version
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4924,7 +4954,7 @@ func (c *AppsServicesVersionsListCall) Do(opts ...googleapi.CallOption) (*ListVe
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5140,7 +5170,7 @@ func (c *AppsServicesVersionsPatchCall) Do(opts ...googleapi.CallOption) (*Opera
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5309,7 +5339,7 @@ func (c *AppsServicesVersionsInstancesDebugCall) Do(opts ...googleapi.CallOption
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5466,7 +5496,7 @@ func (c *AppsServicesVersionsInstancesDeleteCall) Do(opts ...googleapi.CallOptio
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5634,7 +5664,7 @@ func (c *AppsServicesVersionsInstancesGetCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5818,7 +5848,7 @@ func (c *AppsServicesVersionsInstancesListCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
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