Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1211)

Side by Side Diff: common/api/buildbucket/swarmbucket/v1/swarmbucket-gen.go

Issue 2929703002: [api] Regenerate remote APIs. (Closed)
Patch Set: update code Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2017 The LUCI Authors. All rights reserved. 1 // Copyright 2017 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 // Package swarmbucket provides access to the Buildbucket-Swarming integration. 5 // Package swarmbucket provides access to the Buildbucket-Swarming integration.
6 // 6 //
7 // Usage example: 7 // Usage example:
8 // 8 //
9 // import "github.com/luci/luci-go/common/api/buildbucket/swarmbucket/v1" 9 // import "github.com/luci/luci-go/common/api/buildbucket/swarmbucket/v1"
10 // ... 10 // ...
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 func (s *ApiPubSubCallbackMessage) MarshalJSON() ([]byte, error) { 101 func (s *ApiPubSubCallbackMessage) MarshalJSON() ([]byte, error) {
102 type noMethod ApiPubSubCallbackMessage 102 type noMethod ApiPubSubCallbackMessage
103 raw := noMethod(*s) 103 raw := noMethod(*s)
104 return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) 104 return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
105 } 105 }
106 106
107 type ApiPutRequestMessage struct { 107 type ApiPutRequestMessage struct {
108 Bucket string `json:"bucket,omitempty"` 108 Bucket string `json:"bucket,omitempty"`
109 109
110 // Possible values:
111 // "AUTO"
112 // "CANARY"
113 // "PROD"
114 CanaryPreference string `json:"canary_preference,omitempty"`
115
110 ClientOperationId string `json:"client_operation_id,omitempty"` 116 ClientOperationId string `json:"client_operation_id,omitempty"`
111 117
112 LeaseExpirationTs int64 `json:"lease_expiration_ts,omitempty,string"` 118 LeaseExpirationTs int64 `json:"lease_expiration_ts,omitempty,string"`
113 119
114 ParametersJson string `json:"parameters_json,omitempty"` 120 ParametersJson string `json:"parameters_json,omitempty"`
115 121
116 PubsubCallback *ApiPubSubCallbackMessage `json:"pubsub_callback,omitempt y"` 122 PubsubCallback *ApiPubSubCallbackMessage `json:"pubsub_callback,omitempt y"`
117 123
118 Tags []string `json:"tags,omitempty"` 124 Tags []string `json:"tags,omitempty"`
119 125
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 // }, 531 // },
526 // "response": { 532 // "response": {
527 // "$ref": "SwarmingSwarmbucketApiGetTaskDefinitionResponseMessage" 533 // "$ref": "SwarmingSwarmbucketApiGetTaskDefinitionResponseMessage"
528 // }, 534 // },
529 // "scopes": [ 535 // "scopes": [
530 // "https://www.googleapis.com/auth/userinfo.email" 536 // "https://www.googleapis.com/auth/userinfo.email"
531 // ] 537 // ]
532 // } 538 // }
533 539
534 } 540 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698