google-apis-cloudbuild_v1beta1 0.10.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/cloudbuild_v1beta1/classes.rb +60 -0
- data/lib/google/apis/cloudbuild_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/cloudbuild_v1beta1/representations.rb +19 -0
- data/lib/google/apis/cloudbuild_v1beta1/service.rb +5 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8529adde14d090fbe1b73ce2d838caf772b8f070e7ddac25586aaa453ec3f7c2
|
4
|
+
data.tar.gz: cc25c396c0677efd768b48359d9ba6e3e725e01cf1df2856f495f648b7b9f761
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f72b793a2d893769f287aee55d09e81779fabbc1f5ea195c9daa615c5e7bd13632d18979392c9b49861be85d909f9db4cd06984e0aa4e8498e55944eca606f9
|
7
|
+
data.tar.gz: f8c17c206b02f68856e6c40551001a8f7803d9c8b11953369e6ebe788087bb1967a8cf5b30b6b37b31a027dccd6a990ae979855f23142f563ec56effb4320e4f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1beta1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.13.0 (2021-11-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211115
|
10
|
+
|
11
|
+
### v0.12.0 (2021-11-09)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211029
|
14
|
+
|
15
|
+
### v0.11.0 (2021-10-20)
|
16
|
+
|
17
|
+
* Unspecified changes
|
18
|
+
|
3
19
|
### v0.10.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210813
|
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.
|
@@ -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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
|
@@ -184,6 +184,39 @@ module Google
|
|
184
184
|
end
|
185
185
|
end
|
186
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
|
+
|
187
220
|
# A build resource in the Cloud Build API. At a high level, a `Build` describes
|
188
221
|
# where to find source code, how to build it (for example, the builder image to
|
189
222
|
# run on the source), and where to store the built artifacts. Fields can include
|
@@ -2169,6 +2202,12 @@ module Google
|
|
2169
2202
|
class WorkerPool
|
2170
2203
|
include Google::Apis::Core::Hashable
|
2171
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
|
+
|
2172
2211
|
# Output only. Time at which the request to create the `WorkerPool` was received.
|
2173
2212
|
# Corresponds to the JSON property `createTime`
|
2174
2213
|
# @return [String]
|
@@ -2179,6 +2218,18 @@ module Google
|
|
2179
2218
|
# @return [String]
|
2180
2219
|
attr_accessor :delete_time
|
2181
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
|
+
|
2182
2233
|
# Output only. The resource name of the `WorkerPool`, with format `projects/`
|
2183
2234
|
# project`/locations/`location`/workerPools/`worker_pool``. The value of ``
|
2184
2235
|
# worker_pool`` is provided by `worker_pool_id` in `CreateWorkerPool` request
|
@@ -2197,6 +2248,11 @@ module Google
|
|
2197
2248
|
# @return [String]
|
2198
2249
|
attr_accessor :state
|
2199
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
|
+
|
2200
2256
|
# Output only. Time at which the request to update the `WorkerPool` was received.
|
2201
2257
|
# Corresponds to the JSON property `updateTime`
|
2202
2258
|
# @return [String]
|
@@ -2213,11 +2269,15 @@ module Google
|
|
2213
2269
|
|
2214
2270
|
# Update properties of this object
|
2215
2271
|
def update!(**args)
|
2272
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
2216
2273
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2217
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)
|
2218
2277
|
@name = args[:name] if args.key?(:name)
|
2219
2278
|
@network_config = args[:network_config] if args.key?(:network_config)
|
2220
2279
|
@state = args[:state] if args.key?(:state)
|
2280
|
+
@uid = args[:uid] if args.key?(:uid)
|
2221
2281
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2222
2282
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
2223
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.
|
19
|
+
GEM_VERSION = "0.14.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 = "20211115"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class Build
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -392,6 +398,15 @@ module Google
|
|
392
398
|
end
|
393
399
|
end
|
394
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
|
+
|
395
410
|
class Build
|
396
411
|
# @private
|
397
412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -909,12 +924,16 @@ module Google
|
|
909
924
|
class WorkerPool
|
910
925
|
# @private
|
911
926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
927
|
+
hash :annotations, as: 'annotations'
|
912
928
|
property :create_time, as: 'createTime'
|
913
929
|
property :delete_time, as: 'deleteTime'
|
930
|
+
property :display_name, as: 'displayName'
|
931
|
+
property :etag, as: 'etag'
|
914
932
|
property :name, as: 'name'
|
915
933
|
property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1beta1::NetworkConfig, decorator: Google::Apis::CloudbuildV1beta1::NetworkConfig::Representation
|
916
934
|
|
917
935
|
property :state, as: 'state'
|
936
|
+
property :uid, as: 'uid'
|
918
937
|
property :update_time, as: 'updateTime'
|
919
938
|
property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1beta1::WorkerConfig, decorator: Google::Apis::CloudbuildV1beta1::WorkerConfig::Representation
|
920
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)
|
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.14.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-10 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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.14.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:
|
@@ -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.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Build API V1beta1
|