Update dependenciess
Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
parent
9d0f13c4c0
commit
946c8399e2
2985 changed files with 1008107 additions and 118934 deletions
1128
vendor/google.golang.org/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json
generated
vendored
1128
vendor/google.golang.org/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
216
vendor/google.golang.org/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go
generated
vendored
216
vendor/google.golang.org/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go
generated
vendored
|
@ -127,7 +127,7 @@ type ClaimDeviceRequest struct {
|
|||
//
|
||||
// Possible values:
|
||||
// "SECTION_TYPE_UNSPECIFIED" - Unspecified section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero touch section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero-touch enrollment section type.
|
||||
SectionType string `json:"sectionType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CustomerId") to
|
||||
|
@ -148,8 +148,8 @@ type ClaimDeviceRequest struct {
|
|||
}
|
||||
|
||||
func (s *ClaimDeviceRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ClaimDeviceRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ClaimDeviceRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -186,8 +186,8 @@ type ClaimDeviceResponse struct {
|
|||
}
|
||||
|
||||
func (s *ClaimDeviceResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ClaimDeviceResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ClaimDeviceResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -215,8 +215,8 @@ type ClaimDevicesRequest struct {
|
|||
}
|
||||
|
||||
func (s *ClaimDevicesRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ClaimDevicesRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ClaimDevicesRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -275,8 +275,8 @@ type Company struct {
|
|||
}
|
||||
|
||||
func (s *Company) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Company
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Company
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -308,30 +308,45 @@ type CreateCustomerRequest struct {
|
|||
}
|
||||
|
||||
func (s *CreateCustomerRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CreateCustomerRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod CreateCustomerRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Device: An Android device.
|
||||
// Device: An Android device registered for zero-touch enrollment.
|
||||
type Device struct {
|
||||
// Claims: Claims.
|
||||
// Claims: Output only. The provisioning claims for a device. Devices
|
||||
// claimed for
|
||||
// zero-touch enrollment have a claim with the type
|
||||
// `SECTION_TYPE_ZERO_TOUCH`.
|
||||
// Call
|
||||
// `partners.devices.unclaim`
|
||||
// or
|
||||
// `partner
|
||||
// s.devices.unclaimAsync`
|
||||
// to remove the device from zero-touch enrollment.
|
||||
Claims []*DeviceClaim `json:"claims,omitempty"`
|
||||
|
||||
// Configuration: The resource name of the configuration.
|
||||
// Only set for customers.
|
||||
// Configuration: Not available to resellers.
|
||||
Configuration string `json:"configuration,omitempty"`
|
||||
|
||||
// DeviceId: Device ID.
|
||||
// DeviceId: Output only. The ID of the device. Assigned by the server.
|
||||
DeviceId int64 `json:"deviceId,omitempty,string"`
|
||||
|
||||
// DeviceIdentifier: Device identifier.
|
||||
// DeviceIdentifier: The hardware IDs that identify a manufactured
|
||||
// device. To learn more,
|
||||
// read
|
||||
// [Identifiers](/zero-touch/guides/identifiers).
|
||||
DeviceIdentifier *DeviceIdentifier `json:"deviceIdentifier,omitempty"`
|
||||
|
||||
// DeviceMetadata: Device metadata.
|
||||
// DeviceMetadata: The metadata attached to the device. Structured as
|
||||
// key-value pairs. To
|
||||
// learn more, read [Device metadata](/zero-touch/guides/metadata).
|
||||
DeviceMetadata *DeviceMetadata `json:"deviceMetadata,omitempty"`
|
||||
|
||||
// Name: Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
|
||||
// Name: Output only. The API resource name in the
|
||||
// format
|
||||
// `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
|
@ -356,21 +371,26 @@ type Device struct {
|
|||
}
|
||||
|
||||
func (s *Device) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Device
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Device
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// DeviceClaim: Information about a device claimed for a partner.
|
||||
// DeviceClaim: A record of a device claimed by a reseller for a
|
||||
// customer. Devices claimed
|
||||
// for zero-touch enrollment have a claim with the
|
||||
// type
|
||||
// `SECTION_TYPE_ZERO_TOUCH`. To learn more, read
|
||||
// [Claim devices for customers](/zero-touch/guides/how-it-works#claim).
|
||||
type DeviceClaim struct {
|
||||
// OwnerCompanyId: Owner ID.
|
||||
// OwnerCompanyId: The ID of the Customer that purchased the device.
|
||||
OwnerCompanyId int64 `json:"ownerCompanyId,omitempty,string"`
|
||||
|
||||
// SectionType: Section type of the device claim.
|
||||
// SectionType: Output only. The type of claim made on the device.
|
||||
//
|
||||
// Possible values:
|
||||
// "SECTION_TYPE_UNSPECIFIED" - Unspecified section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero touch section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero-touch enrollment section type.
|
||||
SectionType string `json:"sectionType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "OwnerCompanyId") to
|
||||
|
@ -392,26 +412,32 @@ type DeviceClaim struct {
|
|||
}
|
||||
|
||||
func (s *DeviceClaim) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DeviceClaim
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DeviceClaim
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// DeviceIdentifier: Identifies a unique device.
|
||||
// DeviceIdentifier: Encapsulates hardware and product IDs to identify a
|
||||
// manufactured device. To
|
||||
// learn more, read [Identifiers](/zero-touch/guides/identifiers).
|
||||
type DeviceIdentifier struct {
|
||||
// Imei: IMEI number.
|
||||
// Imei: The device’s IMEI number. Validated on input.
|
||||
Imei string `json:"imei,omitempty"`
|
||||
|
||||
// Manufacturer: Manufacturer name to match
|
||||
// `android.os.Build.MANUFACTURER` (required).
|
||||
// Allowed values listed in
|
||||
// [manufacturer names](/zero-touch/resources/manufacturer-names).
|
||||
// Manufacturer: Required. The device manufacturer’s name. Matches the
|
||||
// device's built-in
|
||||
// value returned from `android.os.Build.MANUFACTURER`. Allowed values
|
||||
// are
|
||||
// listed in [manufacturer
|
||||
// names](/zero-touch/resources/manufacturer-names).
|
||||
Manufacturer string `json:"manufacturer,omitempty"`
|
||||
|
||||
// Meid: MEID number.
|
||||
// Meid: The device’s MEID number.
|
||||
Meid string `json:"meid,omitempty"`
|
||||
|
||||
// SerialNumber: Serial number (optional).
|
||||
// SerialNumber: The manufacturer's serial number for the device. This
|
||||
// value might not be
|
||||
// unique.
|
||||
SerialNumber string `json:"serialNumber,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Imei") to
|
||||
|
@ -432,14 +458,16 @@ type DeviceIdentifier struct {
|
|||
}
|
||||
|
||||
func (s *DeviceIdentifier) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DeviceIdentifier
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DeviceIdentifier
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// DeviceMetadata: A key-value pair of the device metadata.
|
||||
// DeviceMetadata: Metadata entries that can be attached to a `Device`.
|
||||
// To learn more, read
|
||||
// [Device metadata](/zero-touch/guides/metadata).
|
||||
type DeviceMetadata struct {
|
||||
// Entries: Metadata entries
|
||||
// Entries: Metadata entries recorded as key-value pairs.
|
||||
Entries map[string]string `json:"entries,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
|
@ -464,8 +492,8 @@ type DeviceMetadata struct {
|
|||
}
|
||||
|
||||
func (s *DeviceMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DeviceMetadata
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DeviceMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -508,8 +536,8 @@ type DevicesLongRunningOperationMetadata struct {
|
|||
}
|
||||
|
||||
func (s *DevicesLongRunningOperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DevicesLongRunningOperationMetadata
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DevicesLongRunningOperationMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -542,8 +570,8 @@ type DevicesLongRunningOperationResponse struct {
|
|||
}
|
||||
|
||||
func (s *DevicesLongRunningOperationResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DevicesLongRunningOperationResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DevicesLongRunningOperationResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -595,8 +623,8 @@ type FindDevicesByDeviceIdentifierRequest struct {
|
|||
}
|
||||
|
||||
func (s *FindDevicesByDeviceIdentifierRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod FindDevicesByDeviceIdentifierRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod FindDevicesByDeviceIdentifierRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -631,8 +659,8 @@ type FindDevicesByDeviceIdentifierResponse struct {
|
|||
}
|
||||
|
||||
func (s *FindDevicesByDeviceIdentifierResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod FindDevicesByDeviceIdentifierResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod FindDevicesByDeviceIdentifierResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -651,7 +679,7 @@ type FindDevicesByOwnerRequest struct {
|
|||
//
|
||||
// Possible values:
|
||||
// "SECTION_TYPE_UNSPECIFIED" - Unspecified section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero touch section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero-touch enrollment section type.
|
||||
SectionType string `json:"sectionType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CustomerId") to
|
||||
|
@ -672,8 +700,8 @@ type FindDevicesByOwnerRequest struct {
|
|||
}
|
||||
|
||||
func (s *FindDevicesByOwnerRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod FindDevicesByOwnerRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod FindDevicesByOwnerRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -707,8 +735,8 @@ type FindDevicesByOwnerResponse struct {
|
|||
}
|
||||
|
||||
func (s *FindDevicesByOwnerResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod FindDevicesByOwnerResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod FindDevicesByOwnerResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -740,8 +768,8 @@ type ListCustomersResponse struct {
|
|||
}
|
||||
|
||||
func (s *ListCustomersResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListCustomersResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListCustomersResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -801,8 +829,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)
|
||||
}
|
||||
|
||||
|
@ -838,8 +866,8 @@ type OperationPerDevice struct {
|
|||
}
|
||||
|
||||
func (s *OperationPerDevice) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OperationPerDevice
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OperationPerDevice
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -858,7 +886,7 @@ type PartnerClaim struct {
|
|||
//
|
||||
// Possible values:
|
||||
// "SECTION_TYPE_UNSPECIFIED" - Unspecified section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero touch section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero-touch enrollment section type.
|
||||
SectionType string `json:"sectionType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CustomerId") to
|
||||
|
@ -879,8 +907,8 @@ type PartnerClaim struct {
|
|||
}
|
||||
|
||||
func (s *PartnerClaim) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PartnerClaim
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PartnerClaim
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -896,7 +924,7 @@ type PartnerUnclaim struct {
|
|||
//
|
||||
// Possible values:
|
||||
// "SECTION_TYPE_UNSPECIFIED" - Unspecified section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero touch section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero-touch enrollment section type.
|
||||
SectionType string `json:"sectionType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DeviceId") to
|
||||
|
@ -917,8 +945,8 @@ type PartnerUnclaim struct {
|
|||
}
|
||||
|
||||
func (s *PartnerUnclaim) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PartnerUnclaim
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PartnerUnclaim
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -971,8 +999,8 @@ type PerDeviceStatusInBatch struct {
|
|||
}
|
||||
|
||||
func (s *PerDeviceStatusInBatch) MarshalJSON() ([]byte, error) {
|
||||
type noMethod PerDeviceStatusInBatch
|
||||
raw := noMethod(*s)
|
||||
type NoMethod PerDeviceStatusInBatch
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1090,8 +1118,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)
|
||||
}
|
||||
|
||||
|
@ -1108,7 +1136,7 @@ type UnclaimDeviceRequest struct {
|
|||
//
|
||||
// Possible values:
|
||||
// "SECTION_TYPE_UNSPECIFIED" - Unspecified section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero touch section type.
|
||||
// "SECTION_TYPE_ZERO_TOUCH" - Zero-touch enrollment section type.
|
||||
SectionType string `json:"sectionType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DeviceId") to
|
||||
|
@ -1129,8 +1157,8 @@ type UnclaimDeviceRequest struct {
|
|||
}
|
||||
|
||||
func (s *UnclaimDeviceRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UnclaimDeviceRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UnclaimDeviceRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1158,8 +1186,8 @@ type UnclaimDevicesRequest struct {
|
|||
}
|
||||
|
||||
func (s *UnclaimDevicesRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UnclaimDevicesRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UnclaimDevicesRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1187,8 +1215,8 @@ type UpdateDeviceMetadataInBatchRequest struct {
|
|||
}
|
||||
|
||||
func (s *UpdateDeviceMetadataInBatchRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UpdateDeviceMetadataInBatchRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UpdateDeviceMetadataInBatchRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1216,8 +1244,8 @@ type UpdateDeviceMetadataRequest struct {
|
|||
}
|
||||
|
||||
func (s *UpdateDeviceMetadataRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UpdateDeviceMetadataRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UpdateDeviceMetadataRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1250,8 +1278,8 @@ type UpdateMetadataArguments struct {
|
|||
}
|
||||
|
||||
func (s *UpdateMetadataArguments) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UpdateMetadataArguments
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UpdateMetadataArguments
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
@ -1366,7 +1394,7 @@ func (c *OperationsGetCall) 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
|
||||
|
@ -1501,7 +1529,7 @@ func (c *PartnersCustomersCreateCall) Do(opts ...googleapi.CallOption) (*Company
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -1515,7 +1543,7 @@ func (c *PartnersCustomersCreateCall) Do(opts ...googleapi.CallOption) (*Company
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "parent": {
|
||||
// "description": "Required. The parent resource ID in format `partners/[PARTNER_ID]` that\nidentifies the reseller.",
|
||||
// "description": "Required. The parent resource ID in the format `partners/[PARTNER_ID]` that\nidentifies the reseller.",
|
||||
// "location": "path",
|
||||
// "pattern": "^partners/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -1644,7 +1672,7 @@ func (c *PartnersCustomersListCall) Do(opts ...googleapi.CallOption) (*ListCusto
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -1774,7 +1802,7 @@ func (c *PartnersDevicesClaimCall) Do(opts ...googleapi.CallOption) (*ClaimDevic
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -1907,7 +1935,7 @@ func (c *PartnersDevicesClaimAsyncCall) 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
|
||||
|
@ -2041,7 +2069,7 @@ func (c *PartnersDevicesFindByIdentifierCall) 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
|
||||
|
@ -2195,7 +2223,7 @@ func (c *PartnersDevicesFindByOwnerCall) Do(opts ...googleapi.CallOption) (*Find
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2356,7 +2384,7 @@ func (c *PartnersDevicesGetCall) Do(opts ...googleapi.CallOption) (*Device, 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
|
||||
|
@ -2488,7 +2516,7 @@ func (c *PartnersDevicesMetadataCall) Do(opts ...googleapi.CallOption) (*DeviceM
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2631,7 +2659,7 @@ func (c *PartnersDevicesUnclaimCall) Do(opts ...googleapi.CallOption) (*Empty, e
|
|||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
|
@ -2764,7 +2792,7 @@ func (c *PartnersDevicesUnclaimAsyncCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
},
|
||||
}
|
||||
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
|
||||
|
@ -2897,7 +2925,7 @@ func (c *PartnersDevicesUpdateMetadataAsyncCall) 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue