Skip to content

Commit 4ed022b

Browse files
all: autogenerated update (2019-06-23)
Update: - cloudtasks/v2beta2 - tpu/v1 - videointelligence/v1beta2 - videointelligence/v1p3beta1
1 parent df1c781 commit 4ed022b

File tree

9 files changed

+4131
-4172
lines changed

9 files changed

+4131
-4172
lines changed

api-list.json

Lines changed: 3908 additions & 3908 deletions
Large diffs are not rendered by default.

cloudtasks/v2beta2/cloudtasks-api.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@
786786
}
787787
}
788788
},
789-
"revision": "20190531",
789+
"revision": "20190618",
790790
"rootUrl": "https://cloudtasks.googleapis.com/",
791791
"schemas": {
792792
"AcknowledgeTaskRequest": {
@@ -1025,7 +1025,7 @@
10251025
"type": "string"
10261026
},
10271027
"leaseDuration": {
1028-
"description": "\nAfter the worker has successfully finished the work associated\nwith the task, the worker must call via\nAcknowledgeTask before the\nschedule_time. Otherwise the task will be\nreturned to a later LeaseTasks call so\nthat another worker can retry it.\n\nThe maximum lease duration is 1 week.\n`lease_duration` will be truncated to the nearest second.",
1028+
"description": "Required.\n\nThe duration of the lease.\n\nEach task returned in the response will\nhave its schedule_time set to the current\ntime plus the `lease_duration`. The task is leased until its\nschedule_time; thus, the task will not be\nreturned to another LeaseTasks call\nbefore its schedule_time.\n\n\nAfter the worker has successfully finished the work associated\nwith the task, the worker must call via\nAcknowledgeTask before the\nschedule_time. Otherwise the task will be\nreturned to a later LeaseTasks call so\nthat another worker can retry it.\n\nThe maximum lease duration is 1 week.\n`lease_duration` will be truncated to the nearest second.",
10291029
"format": "google-duration",
10301030
"type": "string"
10311031
},

cloudtasks/v2beta2/cloudtasks-gen.go

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tpu/v1/tpu-api.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@
658658
}
659659
}
660660
},
661-
"revision": "20190509",
661+
"revision": "20190619",
662662
"rootUrl": "https://tpu.googleapis.com/",
663663
"schemas": {
664664
"AcceleratorType": {
@@ -842,7 +842,7 @@
842842
"type": "string"
843843
},
844844
"createTime": {
845-
"description": "Output only.\nThe time when the node was created.",
845+
"description": "Output only. The time when the node was created.",
846846
"format": "google-datetime",
847847
"type": "string"
848848
},
@@ -871,11 +871,11 @@
871871
"type": "string"
872872
},
873873
"healthDescription": {
874-
"description": "Output only.\nIf this field is populated, it contains a description of why the TPU Node\nis unhealthy.",
874+
"description": "Output only. If this field is populated, it contains a description of why the TPU Node\nis unhealthy.",
875875
"type": "string"
876876
},
877877
"ipAddress": {
878-
"description": "Output only.\nDEPRECATED! Use network_endpoints instead.\nThe network address for the TPU Node as visible to Compute Engine\ninstances.",
878+
"description": "Output only. DEPRECATED! Use network_endpoints instead.\nThe network address for the TPU Node as visible to Compute Engine\ninstances.",
879879
"type": "string"
880880
},
881881
"labels": {
@@ -886,7 +886,7 @@
886886
"type": "object"
887887
},
888888
"name": {
889-
"description": "Output only.\nThe immutable name of the TPU",
889+
"description": "Output only. The immutable name of the TPU",
890890
"type": "string"
891891
},
892892
"network": {
@@ -901,18 +901,18 @@
901901
"type": "array"
902902
},
903903
"port": {
904-
"description": "Output only.\nDEPRECATED! Use network_endpoints instead.\nThe network port for the TPU Node as visible to Compute Engine instances.",
904+
"description": "Output only. DEPRECATED! Use network_endpoints instead.\nThe network port for the TPU Node as visible to Compute Engine instances.",
905905
"type": "string"
906906
},
907907
"schedulingConfig": {
908908
"$ref": "SchedulingConfig"
909909
},
910910
"serviceAccount": {
911-
"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.",
911+
"description": "Output only. The 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.",
912912
"type": "string"
913913
},
914914
"state": {
915-
"description": "Output only.\nThe current state for the TPU Node.",
915+
"description": "Output only. The current state for the TPU Node.",
916916
"enum": [
917917
"STATE_UNSPECIFIED",
918918
"CREATING",
@@ -1059,7 +1059,7 @@
10591059
"type": "object"
10601060
},
10611061
"Status": {
1062-
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error\nmessage, and error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
1062+
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
10631063
"id": "Status",
10641064
"properties": {
10651065
"code": {

tpu/v1/tpu-gen.go

Lines changed: 17 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)