google-apis-cloudbuild_v1beta1 0.11.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudbuild_v1beta1/classes.rb +345 -0
- data/lib/google/apis/cloudbuild_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/cloudbuild_v1beta1/representations.rb +155 -0
- data/lib/google/apis/cloudbuild_v1beta1/service.rb +5 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41fccd0eb2324c0645e42d5acdf5c387134dfd0b3a4b4a454d614a7345b0b469
|
4
|
+
data.tar.gz: 2055152e0352c075baa28713717d61cdd8da949a1203ddbe528ff3ea210268fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1808ad54935c5f4909fa37b4c62da63d977c82d500a1e77da3ea436ae7602b08d4e58a7539e9026a9396a8774ae07ddd4b6e2ef00d8558f65bee5dd9a5790f2
|
7
|
+
data.tar.gz: f671e94d1bb9fad183d420e2867b2c4c1c02df0c674dbbd7262e63396cacc8317470e93c1d8b0ea85e7fa55c8649c68eb9ba3b9e62c7e1b2a5975946d42b9f22
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1beta1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-01-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211230
|
6
|
+
|
7
|
+
### v0.14.0 (2021-12-14)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.13.0 (2021-11-18)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211115
|
14
|
+
|
15
|
+
### v0.12.0 (2021-11-09)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211029
|
18
|
+
|
3
19
|
### v0.11.0 (2021-10-20)
|
4
20
|
|
5
21
|
* Unspecified changes
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudbuild_v1beta1"
|
|
51
51
|
client = Google::Apis::CloudbuildV1beta1::CloudBuildService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -184,6 +184,132 @@ module Google
|
|
184
184
|
end
|
185
185
|
end
|
186
186
|
|
187
|
+
# Response of BatchCreateBitbucketServerConnectedRepositories RPC method
|
188
|
+
# including all successfully connected Bitbucket Server repositories.
|
189
|
+
class BatchCreateBitbucketServerConnectedRepositoriesResponse
|
190
|
+
include Google::Apis::Core::Hashable
|
191
|
+
|
192
|
+
# The connected Bitbucket Server repositories.
|
193
|
+
# Corresponds to the JSON property `bitbucketServerConnectedRepositories`
|
194
|
+
# @return [Array<Google::Apis::CloudbuildV1beta1::BitbucketServerConnectedRepository>]
|
195
|
+
attr_accessor :bitbucket_server_connected_repositories
|
196
|
+
|
197
|
+
def initialize(**args)
|
198
|
+
update!(**args)
|
199
|
+
end
|
200
|
+
|
201
|
+
# Update properties of this object
|
202
|
+
def update!(**args)
|
203
|
+
@bitbucket_server_connected_repositories = args[:bitbucket_server_connected_repositories] if args.key?(:bitbucket_server_connected_repositories)
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
# Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.
|
208
|
+
class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
|
209
|
+
include Google::Apis::Core::Hashable
|
210
|
+
|
211
|
+
# Time the operation was completed.
|
212
|
+
# Corresponds to the JSON property `completeTime`
|
213
|
+
# @return [String]
|
214
|
+
attr_accessor :complete_time
|
215
|
+
|
216
|
+
# The name of the `BitbucketServerConfig` that added connected repositories.
|
217
|
+
# Format: `projects/`project`/locations/`location`/bitbucketServerConfigs/`
|
218
|
+
# config``
|
219
|
+
# Corresponds to the JSON property `config`
|
220
|
+
# @return [String]
|
221
|
+
attr_accessor :config
|
222
|
+
|
223
|
+
# Time the operation was created.
|
224
|
+
# Corresponds to the JSON property `createTime`
|
225
|
+
# @return [String]
|
226
|
+
attr_accessor :create_time
|
227
|
+
|
228
|
+
def initialize(**args)
|
229
|
+
update!(**args)
|
230
|
+
end
|
231
|
+
|
232
|
+
# Update properties of this object
|
233
|
+
def update!(**args)
|
234
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
235
|
+
@config = args[:config] if args.key?(:config)
|
236
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
# / BitbucketServerConnectedRepository represents a connected Bitbucket Server /
|
241
|
+
# repository.
|
242
|
+
class BitbucketServerConnectedRepository
|
243
|
+
include Google::Apis::Core::Hashable
|
244
|
+
|
245
|
+
# The name of the `BitbucketServerConfig` that added connected repository.
|
246
|
+
# Format: `projects/`project`/locations/`location`/bitbucketServerConfigs/`
|
247
|
+
# config``
|
248
|
+
# Corresponds to the JSON property `parent`
|
249
|
+
# @return [String]
|
250
|
+
attr_accessor :parent
|
251
|
+
|
252
|
+
# BitbucketServerRepositoryId identifies a specific repository hosted on a
|
253
|
+
# Bitbucket Server.
|
254
|
+
# Corresponds to the JSON property `repo`
|
255
|
+
# @return [Google::Apis::CloudbuildV1beta1::BitbucketServerRepositoryId]
|
256
|
+
attr_accessor :repo
|
257
|
+
|
258
|
+
# The `Status` type defines a logical error model that is suitable for different
|
259
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
260
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
261
|
+
# data: error code, error message, and error details. You can find out more
|
262
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
263
|
+
# //cloud.google.com/apis/design/errors).
|
264
|
+
# Corresponds to the JSON property `status`
|
265
|
+
# @return [Google::Apis::CloudbuildV1beta1::Status]
|
266
|
+
attr_accessor :status
|
267
|
+
|
268
|
+
def initialize(**args)
|
269
|
+
update!(**args)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Update properties of this object
|
273
|
+
def update!(**args)
|
274
|
+
@parent = args[:parent] if args.key?(:parent)
|
275
|
+
@repo = args[:repo] if args.key?(:repo)
|
276
|
+
@status = args[:status] if args.key?(:status)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
# BitbucketServerRepositoryId identifies a specific repository hosted on a
|
281
|
+
# Bitbucket Server.
|
282
|
+
class BitbucketServerRepositoryId
|
283
|
+
include Google::Apis::Core::Hashable
|
284
|
+
|
285
|
+
# Required. Identifier for the project storing the repository.
|
286
|
+
# Corresponds to the JSON property `projectKey`
|
287
|
+
# @return [String]
|
288
|
+
attr_accessor :project_key
|
289
|
+
|
290
|
+
# Required. Identifier for the repository.
|
291
|
+
# Corresponds to the JSON property `repoSlug`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :repo_slug
|
294
|
+
|
295
|
+
# Output only. The ID of the webhook that was created for receiving events from
|
296
|
+
# this repo. We only create and manage a single webhook for each repo.
|
297
|
+
# Corresponds to the JSON property `webhookId`
|
298
|
+
# @return [Fixnum]
|
299
|
+
attr_accessor :webhook_id
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@project_key = args[:project_key] if args.key?(:project_key)
|
308
|
+
@repo_slug = args[:repo_slug] if args.key?(:repo_slug)
|
309
|
+
@webhook_id = args[:webhook_id] if args.key?(:webhook_id)
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
187
313
|
# A build resource in the Cloud Build API. At a high level, a `Build` describes
|
188
314
|
# where to find source code, how to build it (for example, the builder image to
|
189
315
|
# run on the source), and where to store the built artifacts. Fields can include
|
@@ -766,6 +892,38 @@ module Google
|
|
766
892
|
end
|
767
893
|
end
|
768
894
|
|
895
|
+
# Metadata for `CreateBitbucketServerConfig` operation.
|
896
|
+
class CreateBitbucketServerConfigOperationMetadata
|
897
|
+
include Google::Apis::Core::Hashable
|
898
|
+
|
899
|
+
# The resource name of the BitbucketServerConfig to be created. Format: `
|
900
|
+
# projects/`project`/locations/`location`/bitbucketServerConfigs/`id``.
|
901
|
+
# Corresponds to the JSON property `bitbucketServerConfig`
|
902
|
+
# @return [String]
|
903
|
+
attr_accessor :bitbucket_server_config
|
904
|
+
|
905
|
+
# Time the operation was completed.
|
906
|
+
# Corresponds to the JSON property `completeTime`
|
907
|
+
# @return [String]
|
908
|
+
attr_accessor :complete_time
|
909
|
+
|
910
|
+
# Time the operation was created.
|
911
|
+
# Corresponds to the JSON property `createTime`
|
912
|
+
# @return [String]
|
913
|
+
attr_accessor :create_time
|
914
|
+
|
915
|
+
def initialize(**args)
|
916
|
+
update!(**args)
|
917
|
+
end
|
918
|
+
|
919
|
+
# Update properties of this object
|
920
|
+
def update!(**args)
|
921
|
+
@bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
|
922
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
923
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
769
927
|
# Metadata for `CreateGithubEnterpriseConfig` operation.
|
770
928
|
class CreateGitHubEnterpriseConfigOperationMetadata
|
771
929
|
include Google::Apis::Core::Hashable
|
@@ -798,6 +956,38 @@ module Google
|
|
798
956
|
end
|
799
957
|
end
|
800
958
|
|
959
|
+
# Metadata for `CreateGitLabConfig` operation.
|
960
|
+
class CreateGitLabConfigOperationMetadata
|
961
|
+
include Google::Apis::Core::Hashable
|
962
|
+
|
963
|
+
# Time the operation was completed.
|
964
|
+
# Corresponds to the JSON property `completeTime`
|
965
|
+
# @return [String]
|
966
|
+
attr_accessor :complete_time
|
967
|
+
|
968
|
+
# Time the operation was created.
|
969
|
+
# Corresponds to the JSON property `createTime`
|
970
|
+
# @return [String]
|
971
|
+
attr_accessor :create_time
|
972
|
+
|
973
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
974
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
975
|
+
# Corresponds to the JSON property `gitlabConfig`
|
976
|
+
# @return [String]
|
977
|
+
attr_accessor :gitlab_config
|
978
|
+
|
979
|
+
def initialize(**args)
|
980
|
+
update!(**args)
|
981
|
+
end
|
982
|
+
|
983
|
+
# Update properties of this object
|
984
|
+
def update!(**args)
|
985
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
986
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
987
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
988
|
+
end
|
989
|
+
end
|
990
|
+
|
801
991
|
# Metadata for the `CreateWorkerPool` operation.
|
802
992
|
class CreateWorkerPoolOperationMetadata
|
803
993
|
include Google::Apis::Core::Hashable
|
@@ -830,6 +1020,38 @@ module Google
|
|
830
1020
|
end
|
831
1021
|
end
|
832
1022
|
|
1023
|
+
# Metadata for `DeleteBitbucketServerConfig` operation.
|
1024
|
+
class DeleteBitbucketServerConfigOperationMetadata
|
1025
|
+
include Google::Apis::Core::Hashable
|
1026
|
+
|
1027
|
+
# The resource name of the BitbucketServerConfig to be deleted. Format: `
|
1028
|
+
# projects/`project`/locations/`location`/bitbucketServerConfigs/`id``.
|
1029
|
+
# Corresponds to the JSON property `bitbucketServerConfig`
|
1030
|
+
# @return [String]
|
1031
|
+
attr_accessor :bitbucket_server_config
|
1032
|
+
|
1033
|
+
# Time the operation was completed.
|
1034
|
+
# Corresponds to the JSON property `completeTime`
|
1035
|
+
# @return [String]
|
1036
|
+
attr_accessor :complete_time
|
1037
|
+
|
1038
|
+
# Time the operation was created.
|
1039
|
+
# Corresponds to the JSON property `createTime`
|
1040
|
+
# @return [String]
|
1041
|
+
attr_accessor :create_time
|
1042
|
+
|
1043
|
+
def initialize(**args)
|
1044
|
+
update!(**args)
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
# Update properties of this object
|
1048
|
+
def update!(**args)
|
1049
|
+
@bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
|
1050
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1051
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1052
|
+
end
|
1053
|
+
end
|
1054
|
+
|
833
1055
|
# Metadata for `DeleteGitHubEnterpriseConfig` operation.
|
834
1056
|
class DeleteGitHubEnterpriseConfigOperationMetadata
|
835
1057
|
include Google::Apis::Core::Hashable
|
@@ -862,6 +1084,38 @@ module Google
|
|
862
1084
|
end
|
863
1085
|
end
|
864
1086
|
|
1087
|
+
# Metadata for `DeleteGitLabConfig` operation.
|
1088
|
+
class DeleteGitLabConfigOperationMetadata
|
1089
|
+
include Google::Apis::Core::Hashable
|
1090
|
+
|
1091
|
+
# Time the operation was completed.
|
1092
|
+
# Corresponds to the JSON property `completeTime`
|
1093
|
+
# @return [String]
|
1094
|
+
attr_accessor :complete_time
|
1095
|
+
|
1096
|
+
# Time the operation was created.
|
1097
|
+
# Corresponds to the JSON property `createTime`
|
1098
|
+
# @return [String]
|
1099
|
+
attr_accessor :create_time
|
1100
|
+
|
1101
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
1102
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
1103
|
+
# Corresponds to the JSON property `gitlabConfig`
|
1104
|
+
# @return [String]
|
1105
|
+
attr_accessor :gitlab_config
|
1106
|
+
|
1107
|
+
def initialize(**args)
|
1108
|
+
update!(**args)
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
# Update properties of this object
|
1112
|
+
def update!(**args)
|
1113
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1114
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1115
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
1116
|
+
end
|
1117
|
+
end
|
1118
|
+
|
865
1119
|
# Metadata for the `DeleteWorkerPool` operation.
|
866
1120
|
class DeleteWorkerPoolOperationMetadata
|
867
1121
|
include Google::Apis::Core::Hashable
|
@@ -1998,6 +2252,38 @@ module Google
|
|
1998
2252
|
end
|
1999
2253
|
end
|
2000
2254
|
|
2255
|
+
# Metadata for `UpdateBitbucketServerConfig` operation.
|
2256
|
+
class UpdateBitbucketServerConfigOperationMetadata
|
2257
|
+
include Google::Apis::Core::Hashable
|
2258
|
+
|
2259
|
+
# The resource name of the BitbucketServerConfig to be updated. Format: `
|
2260
|
+
# projects/`project`/locations/`location`/bitbucketServerConfigs/`id``.
|
2261
|
+
# Corresponds to the JSON property `bitbucketServerConfig`
|
2262
|
+
# @return [String]
|
2263
|
+
attr_accessor :bitbucket_server_config
|
2264
|
+
|
2265
|
+
# Time the operation was completed.
|
2266
|
+
# Corresponds to the JSON property `completeTime`
|
2267
|
+
# @return [String]
|
2268
|
+
attr_accessor :complete_time
|
2269
|
+
|
2270
|
+
# Time the operation was created.
|
2271
|
+
# Corresponds to the JSON property `createTime`
|
2272
|
+
# @return [String]
|
2273
|
+
attr_accessor :create_time
|
2274
|
+
|
2275
|
+
def initialize(**args)
|
2276
|
+
update!(**args)
|
2277
|
+
end
|
2278
|
+
|
2279
|
+
# Update properties of this object
|
2280
|
+
def update!(**args)
|
2281
|
+
@bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
|
2282
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
2283
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2284
|
+
end
|
2285
|
+
end
|
2286
|
+
|
2001
2287
|
# Metadata for `UpdateGitHubEnterpriseConfig` operation.
|
2002
2288
|
class UpdateGitHubEnterpriseConfigOperationMetadata
|
2003
2289
|
include Google::Apis::Core::Hashable
|
@@ -2030,6 +2316,38 @@ module Google
|
|
2030
2316
|
end
|
2031
2317
|
end
|
2032
2318
|
|
2319
|
+
# Metadata for `UpdateGitLabConfig` operation.
|
2320
|
+
class UpdateGitLabConfigOperationMetadata
|
2321
|
+
include Google::Apis::Core::Hashable
|
2322
|
+
|
2323
|
+
# Time the operation was completed.
|
2324
|
+
# Corresponds to the JSON property `completeTime`
|
2325
|
+
# @return [String]
|
2326
|
+
attr_accessor :complete_time
|
2327
|
+
|
2328
|
+
# Time the operation was created.
|
2329
|
+
# Corresponds to the JSON property `createTime`
|
2330
|
+
# @return [String]
|
2331
|
+
attr_accessor :create_time
|
2332
|
+
|
2333
|
+
# The resource name of the GitLabConfig to be created. Format: `projects/`
|
2334
|
+
# project`/locations/`location`/gitlabConfigs/`id``.
|
2335
|
+
# Corresponds to the JSON property `gitlabConfig`
|
2336
|
+
# @return [String]
|
2337
|
+
attr_accessor :gitlab_config
|
2338
|
+
|
2339
|
+
def initialize(**args)
|
2340
|
+
update!(**args)
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
# Update properties of this object
|
2344
|
+
def update!(**args)
|
2345
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
2346
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2347
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
2348
|
+
end
|
2349
|
+
end
|
2350
|
+
|
2033
2351
|
# Metadata for the `UpdateWorkerPool` operation.
|
2034
2352
|
class UpdateWorkerPoolOperationMetadata
|
2035
2353
|
include Google::Apis::Core::Hashable
|
@@ -2169,6 +2487,12 @@ module Google
|
|
2169
2487
|
class WorkerPool
|
2170
2488
|
include Google::Apis::Core::Hashable
|
2171
2489
|
|
2490
|
+
# User specified annotations. See https://google.aip.dev/128#annotations for
|
2491
|
+
# more details such as format and size limitations.
|
2492
|
+
# Corresponds to the JSON property `annotations`
|
2493
|
+
# @return [Hash<String,String>]
|
2494
|
+
attr_accessor :annotations
|
2495
|
+
|
2172
2496
|
# Output only. Time at which the request to create the `WorkerPool` was received.
|
2173
2497
|
# Corresponds to the JSON property `createTime`
|
2174
2498
|
# @return [String]
|
@@ -2179,6 +2503,18 @@ module Google
|
|
2179
2503
|
# @return [String]
|
2180
2504
|
attr_accessor :delete_time
|
2181
2505
|
|
2506
|
+
# A user-specified, human-readable name for the `WorkerPool`. If provided, this
|
2507
|
+
# value must be 1-63 characters.
|
2508
|
+
# Corresponds to the JSON property `displayName`
|
2509
|
+
# @return [String]
|
2510
|
+
attr_accessor :display_name
|
2511
|
+
|
2512
|
+
# Output only. Checksum computed by the server. May be sent on update and delete
|
2513
|
+
# requests to ensure that the client has an up-to-date value before proceeding.
|
2514
|
+
# Corresponds to the JSON property `etag`
|
2515
|
+
# @return [String]
|
2516
|
+
attr_accessor :etag
|
2517
|
+
|
2182
2518
|
# Output only. The resource name of the `WorkerPool`, with format `projects/`
|
2183
2519
|
# project`/locations/`location`/workerPools/`worker_pool``. The value of ``
|
2184
2520
|
# worker_pool`` is provided by `worker_pool_id` in `CreateWorkerPool` request
|
@@ -2197,6 +2533,11 @@ module Google
|
|
2197
2533
|
# @return [String]
|
2198
2534
|
attr_accessor :state
|
2199
2535
|
|
2536
|
+
# Output only. A unique identifier for the `WorkerPool`.
|
2537
|
+
# Corresponds to the JSON property `uid`
|
2538
|
+
# @return [String]
|
2539
|
+
attr_accessor :uid
|
2540
|
+
|
2200
2541
|
# Output only. Time at which the request to update the `WorkerPool` was received.
|
2201
2542
|
# Corresponds to the JSON property `updateTime`
|
2202
2543
|
# @return [String]
|
@@ -2213,11 +2554,15 @@ module Google
|
|
2213
2554
|
|
2214
2555
|
# Update properties of this object
|
2215
2556
|
def update!(**args)
|
2557
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
2216
2558
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2217
2559
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
2560
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2561
|
+
@etag = args[:etag] if args.key?(:etag)
|
2218
2562
|
@name = args[:name] if args.key?(:name)
|
2219
2563
|
@network_config = args[:network_config] if args.key?(:network_config)
|
2220
2564
|
@state = args[:state] if args.key?(:state)
|
2565
|
+
@uid = args[:uid] if args.key?(:uid)
|
2221
2566
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2222
2567
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
2223
2568
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbuildV1beta1
|
18
18
|
# Version of the google-apis-cloudbuild_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211230"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,30 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class BatchCreateBitbucketServerConnectedRepositoriesResponse
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class BitbucketServerConnectedRepository
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class BitbucketServerRepositoryId
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
55
79
|
class Build
|
56
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
81
|
|
@@ -94,24 +118,48 @@ module Google
|
|
94
118
|
include Google::Apis::Core::JsonObjectSupport
|
95
119
|
end
|
96
120
|
|
121
|
+
class CreateBitbucketServerConfigOperationMetadata
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
97
127
|
class CreateGitHubEnterpriseConfigOperationMetadata
|
98
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
129
|
|
100
130
|
include Google::Apis::Core::JsonObjectSupport
|
101
131
|
end
|
102
132
|
|
133
|
+
class CreateGitLabConfigOperationMetadata
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
103
139
|
class CreateWorkerPoolOperationMetadata
|
104
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
141
|
|
106
142
|
include Google::Apis::Core::JsonObjectSupport
|
107
143
|
end
|
108
144
|
|
145
|
+
class DeleteBitbucketServerConfigOperationMetadata
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
109
151
|
class DeleteGitHubEnterpriseConfigOperationMetadata
|
110
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
153
|
|
112
154
|
include Google::Apis::Core::JsonObjectSupport
|
113
155
|
end
|
114
156
|
|
157
|
+
class DeleteGitLabConfigOperationMetadata
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
115
163
|
class DeleteWorkerPoolOperationMetadata
|
116
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
165
|
|
@@ -310,12 +358,24 @@ module Google
|
|
310
358
|
include Google::Apis::Core::JsonObjectSupport
|
311
359
|
end
|
312
360
|
|
361
|
+
class UpdateBitbucketServerConfigOperationMetadata
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
313
367
|
class UpdateGitHubEnterpriseConfigOperationMetadata
|
314
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
369
|
|
316
370
|
include Google::Apis::Core::JsonObjectSupport
|
317
371
|
end
|
318
372
|
|
373
|
+
class UpdateGitLabConfigOperationMetadata
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
319
379
|
class UpdateWorkerPoolOperationMetadata
|
320
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
381
|
|
@@ -392,6 +452,43 @@ module Google
|
|
392
452
|
end
|
393
453
|
end
|
394
454
|
|
455
|
+
class BatchCreateBitbucketServerConnectedRepositoriesResponse
|
456
|
+
# @private
|
457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
458
|
+
collection :bitbucket_server_connected_repositories, as: 'bitbucketServerConnectedRepositories', class: Google::Apis::CloudbuildV1beta1::BitbucketServerConnectedRepository, decorator: Google::Apis::CloudbuildV1beta1::BitbucketServerConnectedRepository::Representation
|
459
|
+
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
|
464
|
+
# @private
|
465
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
466
|
+
property :complete_time, as: 'completeTime'
|
467
|
+
property :config, as: 'config'
|
468
|
+
property :create_time, as: 'createTime'
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class BitbucketServerConnectedRepository
|
473
|
+
# @private
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
475
|
+
property :parent, as: 'parent'
|
476
|
+
property :repo, as: 'repo', class: Google::Apis::CloudbuildV1beta1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1beta1::BitbucketServerRepositoryId::Representation
|
477
|
+
|
478
|
+
property :status, as: 'status', class: Google::Apis::CloudbuildV1beta1::Status, decorator: Google::Apis::CloudbuildV1beta1::Status::Representation
|
479
|
+
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
483
|
+
class BitbucketServerRepositoryId
|
484
|
+
# @private
|
485
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
486
|
+
property :project_key, as: 'projectKey'
|
487
|
+
property :repo_slug, as: 'repoSlug'
|
488
|
+
property :webhook_id, as: 'webhookId'
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
395
492
|
class Build
|
396
493
|
# @private
|
397
494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -518,6 +615,15 @@ module Google
|
|
518
615
|
end
|
519
616
|
end
|
520
617
|
|
618
|
+
class CreateBitbucketServerConfigOperationMetadata
|
619
|
+
# @private
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
621
|
+
property :bitbucket_server_config, as: 'bitbucketServerConfig'
|
622
|
+
property :complete_time, as: 'completeTime'
|
623
|
+
property :create_time, as: 'createTime'
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
521
627
|
class CreateGitHubEnterpriseConfigOperationMetadata
|
522
628
|
# @private
|
523
629
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -527,6 +633,15 @@ module Google
|
|
527
633
|
end
|
528
634
|
end
|
529
635
|
|
636
|
+
class CreateGitLabConfigOperationMetadata
|
637
|
+
# @private
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
639
|
+
property :complete_time, as: 'completeTime'
|
640
|
+
property :create_time, as: 'createTime'
|
641
|
+
property :gitlab_config, as: 'gitlabConfig'
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
530
645
|
class CreateWorkerPoolOperationMetadata
|
531
646
|
# @private
|
532
647
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -536,6 +651,15 @@ module Google
|
|
536
651
|
end
|
537
652
|
end
|
538
653
|
|
654
|
+
class DeleteBitbucketServerConfigOperationMetadata
|
655
|
+
# @private
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
657
|
+
property :bitbucket_server_config, as: 'bitbucketServerConfig'
|
658
|
+
property :complete_time, as: 'completeTime'
|
659
|
+
property :create_time, as: 'createTime'
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
539
663
|
class DeleteGitHubEnterpriseConfigOperationMetadata
|
540
664
|
# @private
|
541
665
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -545,6 +669,15 @@ module Google
|
|
545
669
|
end
|
546
670
|
end
|
547
671
|
|
672
|
+
class DeleteGitLabConfigOperationMetadata
|
673
|
+
# @private
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
675
|
+
property :complete_time, as: 'completeTime'
|
676
|
+
property :create_time, as: 'createTime'
|
677
|
+
property :gitlab_config, as: 'gitlabConfig'
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
548
681
|
class DeleteWorkerPoolOperationMetadata
|
549
682
|
# @private
|
550
683
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -863,6 +996,15 @@ module Google
|
|
863
996
|
end
|
864
997
|
end
|
865
998
|
|
999
|
+
class UpdateBitbucketServerConfigOperationMetadata
|
1000
|
+
# @private
|
1001
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1002
|
+
property :bitbucket_server_config, as: 'bitbucketServerConfig'
|
1003
|
+
property :complete_time, as: 'completeTime'
|
1004
|
+
property :create_time, as: 'createTime'
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
866
1008
|
class UpdateGitHubEnterpriseConfigOperationMetadata
|
867
1009
|
# @private
|
868
1010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -872,6 +1014,15 @@ module Google
|
|
872
1014
|
end
|
873
1015
|
end
|
874
1016
|
|
1017
|
+
class UpdateGitLabConfigOperationMetadata
|
1018
|
+
# @private
|
1019
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1020
|
+
property :complete_time, as: 'completeTime'
|
1021
|
+
property :create_time, as: 'createTime'
|
1022
|
+
property :gitlab_config, as: 'gitlabConfig'
|
1023
|
+
end
|
1024
|
+
end
|
1025
|
+
|
875
1026
|
class UpdateWorkerPoolOperationMetadata
|
876
1027
|
# @private
|
877
1028
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -909,12 +1060,16 @@ module Google
|
|
909
1060
|
class WorkerPool
|
910
1061
|
# @private
|
911
1062
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1063
|
+
hash :annotations, as: 'annotations'
|
912
1064
|
property :create_time, as: 'createTime'
|
913
1065
|
property :delete_time, as: 'deleteTime'
|
1066
|
+
property :display_name, as: 'displayName'
|
1067
|
+
property :etag, as: 'etag'
|
914
1068
|
property :name, as: 'name'
|
915
1069
|
property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1beta1::NetworkConfig, decorator: Google::Apis::CloudbuildV1beta1::NetworkConfig::Representation
|
916
1070
|
|
917
1071
|
property :state, as: 'state'
|
1072
|
+
property :uid, as: 'uid'
|
918
1073
|
property :update_time, as: 'updateTime'
|
919
1074
|
property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1beta1::WorkerConfig, decorator: Google::Apis::CloudbuildV1beta1::WorkerConfig::Representation
|
920
1075
|
|
@@ -165,6 +165,9 @@ module Google
|
|
165
165
|
# @param [String] name
|
166
166
|
# Required. The name of the `WorkerPool` to delete. Format: `projects/`project`/
|
167
167
|
# locations/`workerPool`/workerPools/`workerPool``.
|
168
|
+
# @param [String] etag
|
169
|
+
# Optional. If this is provided, it must match the server's etag on the
|
170
|
+
# workerpool for the request to be processed.
|
168
171
|
# @param [String] fields
|
169
172
|
# Selector specifying which fields to include in a partial response.
|
170
173
|
# @param [String] quota_user
|
@@ -182,11 +185,12 @@ module Google
|
|
182
185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
183
186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
|
-
def delete_project_location_worker_pool(name, fields: nil, quota_user: nil, options: nil, &block)
|
188
|
+
def delete_project_location_worker_pool(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
186
189
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
187
190
|
command.response_representation = Google::Apis::CloudbuildV1beta1::Operation::Representation
|
188
191
|
command.response_class = Google::Apis::CloudbuildV1beta1::Operation
|
189
192
|
command.params['name'] = name unless name.nil?
|
193
|
+
command.query['etag'] = etag unless etag.nil?
|
190
194
|
command.query['fields'] = fields unless fields.nil?
|
191
195
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
192
196
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Build API V1beta1
|