google-apis-cloudbuild_v1beta1 0.11.0 → 0.12.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 +4 -0
- data/lib/google/apis/cloudbuild_v1beta1/classes.rb +27 -0
- data/lib/google/apis/cloudbuild_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/cloudbuild_v1beta1/representations.rb +4 -0
- data/lib/google/apis/cloudbuild_v1beta1/service.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f537c23766ac9b461fd8d6dbd50aafa69a9abf5cb700fd9a12c9fb1692c41ff
|
4
|
+
data.tar.gz: fc15908e110d4453beba5bf1a3ededf4b128f471cc37f18eed1b9d9866dbbdb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0b484e044265c860fe57201c8b35ef4901c33bdb86ed6d019df027b99c5e120df0946fdee85f145f98485f07e8082734347f8db5cd8c52ae2adf2b749782fa9
|
7
|
+
data.tar.gz: 36a82fad650d9ef94087ab6f7825823b4d14b6a2a8a8eddb24929f5e053844abc44897a7ea6c39347cf9404e3b0f45f5b66845413a7538056810c90f1584b380
|
data/CHANGELOG.md
CHANGED
@@ -2169,6 +2169,12 @@ module Google
|
|
2169
2169
|
class WorkerPool
|
2170
2170
|
include Google::Apis::Core::Hashable
|
2171
2171
|
|
2172
|
+
# User specified annotations. See https://google.aip.dev/128#annotations for
|
2173
|
+
# more details such as format and size limitations.
|
2174
|
+
# Corresponds to the JSON property `annotations`
|
2175
|
+
# @return [Hash<String,String>]
|
2176
|
+
attr_accessor :annotations
|
2177
|
+
|
2172
2178
|
# Output only. Time at which the request to create the `WorkerPool` was received.
|
2173
2179
|
# Corresponds to the JSON property `createTime`
|
2174
2180
|
# @return [String]
|
@@ -2179,6 +2185,18 @@ module Google
|
|
2179
2185
|
# @return [String]
|
2180
2186
|
attr_accessor :delete_time
|
2181
2187
|
|
2188
|
+
# A user-specified, human-readable name for the `WorkerPool`. If provided, this
|
2189
|
+
# value must be 1-63 characters.
|
2190
|
+
# Corresponds to the JSON property `displayName`
|
2191
|
+
# @return [String]
|
2192
|
+
attr_accessor :display_name
|
2193
|
+
|
2194
|
+
# Output only. Checksum computed by the server. May be sent on update and delete
|
2195
|
+
# requests to ensure that the client has an up-to-date value before proceeding.
|
2196
|
+
# Corresponds to the JSON property `etag`
|
2197
|
+
# @return [String]
|
2198
|
+
attr_accessor :etag
|
2199
|
+
|
2182
2200
|
# Output only. The resource name of the `WorkerPool`, with format `projects/`
|
2183
2201
|
# project`/locations/`location`/workerPools/`worker_pool``. The value of ``
|
2184
2202
|
# worker_pool`` is provided by `worker_pool_id` in `CreateWorkerPool` request
|
@@ -2197,6 +2215,11 @@ module Google
|
|
2197
2215
|
# @return [String]
|
2198
2216
|
attr_accessor :state
|
2199
2217
|
|
2218
|
+
# Output only. A unique identifier for the `WorkerPool`.
|
2219
|
+
# Corresponds to the JSON property `uid`
|
2220
|
+
# @return [String]
|
2221
|
+
attr_accessor :uid
|
2222
|
+
|
2200
2223
|
# Output only. Time at which the request to update the `WorkerPool` was received.
|
2201
2224
|
# Corresponds to the JSON property `updateTime`
|
2202
2225
|
# @return [String]
|
@@ -2213,11 +2236,15 @@ module Google
|
|
2213
2236
|
|
2214
2237
|
# Update properties of this object
|
2215
2238
|
def update!(**args)
|
2239
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
2216
2240
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2217
2241
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
2242
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2243
|
+
@etag = args[:etag] if args.key?(:etag)
|
2218
2244
|
@name = args[:name] if args.key?(:name)
|
2219
2245
|
@network_config = args[:network_config] if args.key?(:network_config)
|
2220
2246
|
@state = args[:state] if args.key?(:state)
|
2247
|
+
@uid = args[:uid] if args.key?(:uid)
|
2221
2248
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2222
2249
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
2223
2250
|
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.12.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 = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -909,12 +909,16 @@ module Google
|
|
909
909
|
class WorkerPool
|
910
910
|
# @private
|
911
911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
912
|
+
hash :annotations, as: 'annotations'
|
912
913
|
property :create_time, as: 'createTime'
|
913
914
|
property :delete_time, as: 'deleteTime'
|
915
|
+
property :display_name, as: 'displayName'
|
916
|
+
property :etag, as: 'etag'
|
914
917
|
property :name, as: 'name'
|
915
918
|
property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1beta1::NetworkConfig, decorator: Google::Apis::CloudbuildV1beta1::NetworkConfig::Representation
|
916
919
|
|
917
920
|
property :state, as: 'state'
|
921
|
+
property :uid, as: 'uid'
|
918
922
|
property :update_time, as: 'updateTime'
|
919
923
|
property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1beta1::WorkerConfig, decorator: Google::Apis::CloudbuildV1beta1::WorkerConfig::Representation
|
920
924
|
|
@@ -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.12.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-
|
11
|
+
date: 2021-11-15 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.12.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: []
|