vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood
2018-06-17 17:59:12 +01:00
parent 3f0789e2db
commit 08021c4636
2474 changed files with 435818 additions and 282709 deletions

1123
vendor/google.golang.org/api/tpu/v1/tpu-api.json generated vendored Normal file

File diff suppressed because it is too large Load Diff

3757
vendor/google.golang.org/api/tpu/v1/tpu-gen.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -60,11 +60,6 @@
"location": "query",
"type": "string"
},
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
@ -85,12 +80,6 @@
"location": "query",
"type": "string"
},
"pp": {
"default": "true",
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
@ -697,7 +686,7 @@
}
}
},
"revision": "20180411",
"revision": "20180601",
"rootUrl": "https://tpu.googleapis.com/",
"schemas": {
"AcceleratorType": {
@ -932,6 +921,9 @@
"description": "Output only.\nDEPRECATED! Use network_endpoints instead.\nThe network port for the TPU Node as visible to Compute Engine instances.",
"type": "string"
},
"schedulingConfig": {
"$ref": "SchedulingConfig"
},
"serviceAccount": {
"description": "Output only.\nThe service account used to run the tensor flow services within the node.\nTo share resources, including Google Cloud Storage data, with the\nTensorflow job running in the Node, this account must have permissions to\nthat data.",
"type": "string"
@ -1060,6 +1052,15 @@
"properties": {},
"type": "object"
},
"SchedulingConfig": {
"id": "SchedulingConfig",
"properties": {
"preemptible": {
"type": "boolean"
}
},
"type": "object"
},
"StartNodeRequest": {
"description": "Request for StartNode.",
"id": "StartNodeRequest",

View File

@ -546,6 +546,8 @@ type Node struct {
// instances.
Port string `json:"port,omitempty"`
SchedulingConfig *SchedulingConfig `json:"schedulingConfig,omitempty"`
// ServiceAccount: Output only.
// The service account used to run the tensor flow services within the
// node.
@ -771,6 +773,32 @@ func (s *ReimageNodeRequest) MarshalJSON() ([]byte, error) {
type ResetNodeRequest struct {
}
type SchedulingConfig struct {
Preemptible bool `json:"preemptible,omitempty"`
// ForceSendFields is a list of field names (e.g. "Preemptible") 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. "Preemptible") 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 *SchedulingConfig) MarshalJSON() ([]byte, error) {
type NoMethod SchedulingConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// StartNodeRequest: Request for StartNode.
type StartNodeRequest struct {
}