google-apis-cloudbuild_v1beta1 0.9.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0526762b28ea5241a58e97aceab2c376ac32ce74c28c4be5f889c4f8926fb4b4
4
- data.tar.gz: 68ff261f7d4a6586d21ce2161e9bac273bde2bfc03f948f0de5e1820a5b98cd0
3
+ metadata.gz: 1d7bbd7e3db178e2be9668a516770e9b2b6fe1456df84f2c52e8a90d0255804b
4
+ data.tar.gz: '08f1e04ba2b0e490463db5d5e1c22ef36b3a1f62ddb443e029b3633e909b8562'
5
5
  SHA512:
6
- metadata.gz: 5b10a7155b44ec63bf3e7b401817652fa1edd1604e189d39765244ef9c48a5fdecdaaabdafbd03fede13eb54a9910ac646bc3182a3b4d7f6ce1648b8d98ed382
7
- data.tar.gz: 6cb92c2ef2035b6d54ee30c93cce0c4d03d21b15807efa90af29f13ed1ae804836d5a201c54375f7c558e1ddca68e4e4c864a823b3cd491ddee3f002a2cbd7e0
6
+ metadata.gz: a0d2931c08a7b0bfa14555b0f05d5bd19b524f39b09da4a19e2572d4da5b70d0fa2fbc87129e8434523576752ee7cedf0616e5beadfc5f076d71f03f162ac75d
7
+ data.tar.gz: ce94f83cbdb84c8711b68cd6f0660fbe3935bd15cbd89ce4bc372e3534a732db2abf500f236bc161a58191c2ee06e9065a4aeea1d29bd94df3aeff029da6c3a3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudbuild_v1beta1
2
2
 
3
+ ### v0.13.0 (2021-11-18)
4
+
5
+ * Regenerated from discovery document revision 20211115
6
+
7
+ ### v0.12.0 (2021-11-09)
8
+
9
+ * Regenerated from discovery document revision 20211029
10
+
11
+ ### v0.11.0 (2021-10-20)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.10.0 (2021-09-01)
16
+
17
+ * Regenerated from discovery document revision 20210813
18
+
3
19
  ### v0.9.0 (2021-07-27)
4
20
 
5
21
  * Regenerated from discovery document revision 20210723
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudbuild service in particular.)
67
67
 
@@ -22,6 +22,75 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1beta1
24
24
 
25
+ # ApprovalConfig describes configuration for manual approval of a build.
26
+ class ApprovalConfig
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Whether or not approval is needed. If this is set on a build, it will become
30
+ # pending when created, and will need to be explicitly approved to start.
31
+ # Corresponds to the JSON property `approvalRequired`
32
+ # @return [Boolean]
33
+ attr_accessor :approval_required
34
+ alias_method :approval_required?, :approval_required
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @approval_required = args[:approval_required] if args.key?(:approval_required)
43
+ end
44
+ end
45
+
46
+ # ApprovalResult describes the decision and associated metadata of a manual
47
+ # approval of a build.
48
+ class ApprovalResult
49
+ include Google::Apis::Core::Hashable
50
+
51
+ # Output only. The time when the approval decision was made.
52
+ # Corresponds to the JSON property `approvalTime`
53
+ # @return [String]
54
+ attr_accessor :approval_time
55
+
56
+ # Output only. Email of the user that called the ApproveBuild API to approve or
57
+ # reject a build at the time that the API was called.
58
+ # Corresponds to the JSON property `approverAccount`
59
+ # @return [String]
60
+ attr_accessor :approver_account
61
+
62
+ # Optional. An optional comment for this manual approval result.
63
+ # Corresponds to the JSON property `comment`
64
+ # @return [String]
65
+ attr_accessor :comment
66
+
67
+ # Required. The decision of this manual approval.
68
+ # Corresponds to the JSON property `decision`
69
+ # @return [String]
70
+ attr_accessor :decision
71
+
72
+ # Optional. An optional URL tied to this manual approval result. This field is
73
+ # essentially the same as comment, except that it will be rendered by the UI
74
+ # differently. An example use case is a link to an external job that approved
75
+ # this Build.
76
+ # Corresponds to the JSON property `url`
77
+ # @return [String]
78
+ attr_accessor :url
79
+
80
+ def initialize(**args)
81
+ update!(**args)
82
+ end
83
+
84
+ # Update properties of this object
85
+ def update!(**args)
86
+ @approval_time = args[:approval_time] if args.key?(:approval_time)
87
+ @approver_account = args[:approver_account] if args.key?(:approver_account)
88
+ @comment = args[:comment] if args.key?(:comment)
89
+ @decision = args[:decision] if args.key?(:decision)
90
+ @url = args[:url] if args.key?(:url)
91
+ end
92
+ end
93
+
25
94
  # Files in the workspace to upload to Cloud Storage upon successful completion
26
95
  # of all build steps.
27
96
  class ArtifactObjects
@@ -115,20 +184,59 @@ module Google
115
184
  end
116
185
  end
117
186
 
187
+ # Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.
188
+ class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
189
+ include Google::Apis::Core::Hashable
190
+
191
+ # Time the operation was completed.
192
+ # Corresponds to the JSON property `completeTime`
193
+ # @return [String]
194
+ attr_accessor :complete_time
195
+
196
+ # The name of the `BitbucketServerConfig` that added connected repositories.
197
+ # Format: `projects/`project`/locations/`location`/bitbucketServerConfigs/`
198
+ # config``
199
+ # Corresponds to the JSON property `config`
200
+ # @return [String]
201
+ attr_accessor :config
202
+
203
+ # Time the operation was created.
204
+ # Corresponds to the JSON property `createTime`
205
+ # @return [String]
206
+ attr_accessor :create_time
207
+
208
+ def initialize(**args)
209
+ update!(**args)
210
+ end
211
+
212
+ # Update properties of this object
213
+ def update!(**args)
214
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
215
+ @config = args[:config] if args.key?(:config)
216
+ @create_time = args[:create_time] if args.key?(:create_time)
217
+ end
218
+ end
219
+
118
220
  # A build resource in the Cloud Build API. At a high level, a `Build` describes
119
221
  # where to find source code, how to build it (for example, the builder image to
120
222
  # run on the source), and where to store the built artifacts. Fields can include
121
223
  # the following variables, which will be expanded when the build is created: - $
122
224
  # PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number
123
- # of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME:
124
- # the source repository name specified by RepoSource. - $BRANCH_NAME: the branch
125
- # name specified by RepoSource. - $TAG_NAME: the tag name specified by
126
- # RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by
127
- # RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7
128
- # characters of $REVISION_ID or $COMMIT_SHA.
225
+ # of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the
226
+ # autogenerated ID of the build. - $REPO_NAME: the source repository name
227
+ # specified by RepoSource. - $BRANCH_NAME: the branch name specified by
228
+ # RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID
229
+ # or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the
230
+ # specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $
231
+ # COMMIT_SHA.
129
232
  class Build
130
233
  include Google::Apis::Core::Hashable
131
234
 
235
+ # BuildApproval describes a build's approval configuration, state, and result.
236
+ # Corresponds to the JSON property `approval`
237
+ # @return [Google::Apis::CloudbuildV1beta1::BuildApproval]
238
+ attr_accessor :approval
239
+
132
240
  # Artifacts produced by a build that should be uploaded upon successful
133
241
  # completion of all build steps.
134
242
  # Corresponds to the JSON property `artifacts`
@@ -302,6 +410,7 @@ module Google
302
410
 
303
411
  # Update properties of this object
304
412
  def update!(**args)
413
+ @approval = args[:approval] if args.key?(:approval)
305
414
  @artifacts = args[:artifacts] if args.key?(:artifacts)
306
415
  @available_secrets = args[:available_secrets] if args.key?(:available_secrets)
307
416
  @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
@@ -333,6 +442,38 @@ module Google
333
442
  end
334
443
  end
335
444
 
445
+ # BuildApproval describes a build's approval configuration, state, and result.
446
+ class BuildApproval
447
+ include Google::Apis::Core::Hashable
448
+
449
+ # ApprovalConfig describes configuration for manual approval of a build.
450
+ # Corresponds to the JSON property `config`
451
+ # @return [Google::Apis::CloudbuildV1beta1::ApprovalConfig]
452
+ attr_accessor :config
453
+
454
+ # ApprovalResult describes the decision and associated metadata of a manual
455
+ # approval of a build.
456
+ # Corresponds to the JSON property `result`
457
+ # @return [Google::Apis::CloudbuildV1beta1::ApprovalResult]
458
+ attr_accessor :result
459
+
460
+ # Output only. The state of this build's approval.
461
+ # Corresponds to the JSON property `state`
462
+ # @return [String]
463
+ attr_accessor :state
464
+
465
+ def initialize(**args)
466
+ update!(**args)
467
+ end
468
+
469
+ # Update properties of this object
470
+ def update!(**args)
471
+ @config = args[:config] if args.key?(:config)
472
+ @result = args[:result] if args.key?(:result)
473
+ @state = args[:state] if args.key?(:state)
474
+ end
475
+ end
476
+
336
477
  # Metadata for build operations.
337
478
  class BuildOperationMetadata
338
479
  include Google::Apis::Core::Hashable
@@ -342,12 +483,13 @@ module Google
342
483
  # run on the source), and where to store the built artifacts. Fields can include
343
484
  # the following variables, which will be expanded when the build is created: - $
344
485
  # PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number
345
- # of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME:
346
- # the source repository name specified by RepoSource. - $BRANCH_NAME: the branch
347
- # name specified by RepoSource. - $TAG_NAME: the tag name specified by
348
- # RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by
349
- # RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7
350
- # characters of $REVISION_ID or $COMMIT_SHA.
486
+ # of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the
487
+ # autogenerated ID of the build. - $REPO_NAME: the source repository name
488
+ # specified by RepoSource. - $BRANCH_NAME: the branch name specified by
489
+ # RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID
490
+ # or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the
491
+ # specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $
492
+ # COMMIT_SHA.
351
493
  # Corresponds to the JSON property `build`
352
494
  # @return [Google::Apis::CloudbuildV1beta1::Build]
353
495
  attr_accessor :build
@@ -540,6 +682,12 @@ module Google
540
682
  # @return [Google::Apis::CloudbuildV1beta1::TimeSpan]
541
683
  attr_accessor :pull_timing
542
684
 
685
+ # A shell script to be executed in the step. When script is provided, the user
686
+ # cannot specify the entrypoint or args.
687
+ # Corresponds to the JSON property `script`
688
+ # @return [String]
689
+ attr_accessor :script
690
+
543
691
  # A list of environment variables which are encrypted using a Cloud Key
544
692
  # Management Service crypto key. These values must be specified in the build's `
545
693
  # Secret`.
@@ -596,6 +744,7 @@ module Google
596
744
  @id = args[:id] if args.key?(:id)
597
745
  @name = args[:name] if args.key?(:name)
598
746
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
747
+ @script = args[:script] if args.key?(:script)
599
748
  @secret_env = args[:secret_env] if args.key?(:secret_env)
600
749
  @status = args[:status] if args.key?(:status)
601
750
  @timeout = args[:timeout] if args.key?(:timeout)
@@ -1283,7 +1432,7 @@ module Google
1283
1432
  attr_accessor :api_version
1284
1433
 
1285
1434
  # Output only. Identifies whether the user has requested cancellation of the
1286
- # operation. Operations that have successfully been cancelled have Operation.
1435
+ # operation. Operations that have been cancelled successfully have Operation.
1287
1436
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1288
1437
  # CANCELLED`.
1289
1438
  # Corresponds to the JSON property `cancelRequested`
@@ -2053,6 +2202,12 @@ module Google
2053
2202
  class WorkerPool
2054
2203
  include Google::Apis::Core::Hashable
2055
2204
 
2205
+ # User specified annotations. See https://google.aip.dev/128#annotations for
2206
+ # more details such as format and size limitations.
2207
+ # Corresponds to the JSON property `annotations`
2208
+ # @return [Hash<String,String>]
2209
+ attr_accessor :annotations
2210
+
2056
2211
  # Output only. Time at which the request to create the `WorkerPool` was received.
2057
2212
  # Corresponds to the JSON property `createTime`
2058
2213
  # @return [String]
@@ -2063,6 +2218,18 @@ module Google
2063
2218
  # @return [String]
2064
2219
  attr_accessor :delete_time
2065
2220
 
2221
+ # A user-specified, human-readable name for the `WorkerPool`. If provided, this
2222
+ # value must be 1-63 characters.
2223
+ # Corresponds to the JSON property `displayName`
2224
+ # @return [String]
2225
+ attr_accessor :display_name
2226
+
2227
+ # Output only. Checksum computed by the server. May be sent on update and delete
2228
+ # requests to ensure that the client has an up-to-date value before proceeding.
2229
+ # Corresponds to the JSON property `etag`
2230
+ # @return [String]
2231
+ attr_accessor :etag
2232
+
2066
2233
  # Output only. The resource name of the `WorkerPool`, with format `projects/`
2067
2234
  # project`/locations/`location`/workerPools/`worker_pool``. The value of ``
2068
2235
  # worker_pool`` is provided by `worker_pool_id` in `CreateWorkerPool` request
@@ -2081,6 +2248,11 @@ module Google
2081
2248
  # @return [String]
2082
2249
  attr_accessor :state
2083
2250
 
2251
+ # Output only. A unique identifier for the `WorkerPool`.
2252
+ # Corresponds to the JSON property `uid`
2253
+ # @return [String]
2254
+ attr_accessor :uid
2255
+
2084
2256
  # Output only. Time at which the request to update the `WorkerPool` was received.
2085
2257
  # Corresponds to the JSON property `updateTime`
2086
2258
  # @return [String]
@@ -2097,11 +2269,15 @@ module Google
2097
2269
 
2098
2270
  # Update properties of this object
2099
2271
  def update!(**args)
2272
+ @annotations = args[:annotations] if args.key?(:annotations)
2100
2273
  @create_time = args[:create_time] if args.key?(:create_time)
2101
2274
  @delete_time = args[:delete_time] if args.key?(:delete_time)
2275
+ @display_name = args[:display_name] if args.key?(:display_name)
2276
+ @etag = args[:etag] if args.key?(:etag)
2102
2277
  @name = args[:name] if args.key?(:name)
2103
2278
  @network_config = args[:network_config] if args.key?(:network_config)
2104
2279
  @state = args[:state] if args.key?(:state)
2280
+ @uid = args[:uid] if args.key?(:uid)
2105
2281
  @update_time = args[:update_time] if args.key?(:update_time)
2106
2282
  @worker_config = args[:worker_config] if args.key?(:worker_config)
2107
2283
  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.9.0"
19
+ GEM_VERSION = "0.13.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 = "20210723"
25
+ REVISION = "20211115"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1beta1
24
24
 
25
+ class ApprovalConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ApprovalResult
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class ArtifactObjects
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -40,12 +52,24 @@ module Google
40
52
  include Google::Apis::Core::JsonObjectSupport
41
53
  end
42
54
 
55
+ class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
43
61
  class Build
44
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
63
 
46
64
  include Google::Apis::Core::JsonObjectSupport
47
65
  end
48
66
 
67
+ class BuildApproval
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
49
73
  class BuildOperationMetadata
50
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
75
 
@@ -328,6 +352,24 @@ module Google
328
352
  include Google::Apis::Core::JsonObjectSupport
329
353
  end
330
354
 
355
+ class ApprovalConfig
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :approval_required, as: 'approvalRequired'
359
+ end
360
+ end
361
+
362
+ class ApprovalResult
363
+ # @private
364
+ class Representation < Google::Apis::Core::JsonRepresentation
365
+ property :approval_time, as: 'approvalTime'
366
+ property :approver_account, as: 'approverAccount'
367
+ property :comment, as: 'comment'
368
+ property :decision, as: 'decision'
369
+ property :url, as: 'url'
370
+ end
371
+ end
372
+
331
373
  class ArtifactObjects
332
374
  # @private
333
375
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -356,9 +398,20 @@ module Google
356
398
  end
357
399
  end
358
400
 
401
+ class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :complete_time, as: 'completeTime'
405
+ property :config, as: 'config'
406
+ property :create_time, as: 'createTime'
407
+ end
408
+ end
409
+
359
410
  class Build
360
411
  # @private
361
412
  class Representation < Google::Apis::Core::JsonRepresentation
413
+ property :approval, as: 'approval', class: Google::Apis::CloudbuildV1beta1::BuildApproval, decorator: Google::Apis::CloudbuildV1beta1::BuildApproval::Representation
414
+
362
415
  property :artifacts, as: 'artifacts', class: Google::Apis::CloudbuildV1beta1::Artifacts, decorator: Google::Apis::CloudbuildV1beta1::Artifacts::Representation
363
416
 
364
417
  property :available_secrets, as: 'availableSecrets', class: Google::Apis::CloudbuildV1beta1::Secrets, decorator: Google::Apis::CloudbuildV1beta1::Secrets::Representation
@@ -401,6 +454,17 @@ module Google
401
454
  end
402
455
  end
403
456
 
457
+ class BuildApproval
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :config, as: 'config', class: Google::Apis::CloudbuildV1beta1::ApprovalConfig, decorator: Google::Apis::CloudbuildV1beta1::ApprovalConfig::Representation
461
+
462
+ property :result, as: 'result', class: Google::Apis::CloudbuildV1beta1::ApprovalResult, decorator: Google::Apis::CloudbuildV1beta1::ApprovalResult::Representation
463
+
464
+ property :state, as: 'state'
465
+ end
466
+ end
467
+
404
468
  class BuildOperationMetadata
405
469
  # @private
406
470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -441,6 +505,7 @@ module Google
441
505
  property :name, as: 'name'
442
506
  property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
443
507
 
508
+ property :script, as: 'script'
444
509
  collection :secret_env, as: 'secretEnv'
445
510
  property :status, as: 'status'
446
511
  property :timeout, as: 'timeout'
@@ -859,12 +924,16 @@ module Google
859
924
  class WorkerPool
860
925
  # @private
861
926
  class Representation < Google::Apis::Core::JsonRepresentation
927
+ hash :annotations, as: 'annotations'
862
928
  property :create_time, as: 'createTime'
863
929
  property :delete_time, as: 'deleteTime'
930
+ property :display_name, as: 'displayName'
931
+ property :etag, as: 'etag'
864
932
  property :name, as: 'name'
865
933
  property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1beta1::NetworkConfig, decorator: Google::Apis::CloudbuildV1beta1::NetworkConfig::Representation
866
934
 
867
935
  property :state, as: 'state'
936
+ property :uid, as: 'uid'
868
937
  property :update_time, as: 'updateTime'
869
938
  property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1beta1::WorkerConfig, decorator: Google::Apis::CloudbuildV1beta1::WorkerConfig::Representation
870
939
 
@@ -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)
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
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.9.0
4
+ version: 0.13.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: 2021-08-02 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.9.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1beta1
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.13.0
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: []
65
65
  require_paths: