google-apis-cloudbuild_v1 0.16.0 → 0.20.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: 4355b574c22b36b3aa7d0d37aeb53f4b5dd779286900bf9aff413b9dd2587b97
4
- data.tar.gz: cbe48d641154acb5b5ca632647ed07e8cea8c08158eecb5cb7a98f740a4d7a0c
3
+ metadata.gz: 3dc5132254879b353ed347b336f4fa2d6bf99439154fe6a0d0528c373d6e28cf
4
+ data.tar.gz: 9af327cefcefe07396e16edfd10fcf67df07752d61ec0ccf73a3ce328485992a
5
5
  SHA512:
6
- metadata.gz: 6f23200e049f79c9aa3876a68b536708d074de47bc805afab98be0993fcbf9b30803368952d131a458a7d7dd59561ebed512999ff836e397bf2177be13fc2d61
7
- data.tar.gz: 263341941a12072b896767365234a1896df2aaa3cc4bf1113db03d10c5105d38924e2eff18691b7663b1f3a160efde48882c8edccccb165151bdb30cfc70cb1d
6
+ metadata.gz: 68f7f403f1c6a74680ee2ce51baa05a2106da7aeea1475acb8107f6c0dc0d1f609af4cccedd6d2b433c681bcdb20c06feec65cbf0b60d8392a00b2f2092c8208
7
+ data.tar.gz: fa516bb6e40a1e399da25eaab9007c85526fef0b862ed548c891d8a585bafb113410b333ba4a6ab16f1b83fb482d9b9bff03ff67a9739215c948b66a8702c952
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.20.0 (2021-11-18)
4
+
5
+ * Regenerated from discovery document revision 20211115
6
+
7
+ ### v0.19.0 (2021-11-09)
8
+
9
+ * Regenerated from discovery document revision 20211029
10
+
11
+ ### v0.18.0 (2021-10-20)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.17.0 (2021-10-06)
16
+
17
+ * Regenerated from discovery document revision 20210923
18
+
3
19
  ### v0.16.0 (2021-09-08)
4
20
 
5
21
  * Regenerated from discovery document revision 20210903
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
 
@@ -204,6 +204,39 @@ module Google
204
204
  end
205
205
  end
206
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
+
207
240
  # A build resource in the Cloud Build API. At a high level, a `Build` describes
208
241
  # where to find source code, how to build it (for example, the builder image to
209
242
  # run on the source), and where to store the built artifacts. Fields can include
@@ -790,6 +823,13 @@ module Google
790
823
  attr_accessor :disabled
791
824
  alias_method :disabled?, :disabled
792
825
 
826
+ # Optional. EventType allows the user to explicitly set the type of event to
827
+ # which this BuildTrigger should respond. This field is optional but will be
828
+ # validated against the rest of the configuration if it is set.
829
+ # Corresponds to the JSON property `eventType`
830
+ # @return [String]
831
+ attr_accessor :event_type
832
+
793
833
  # Path, from the source root, to the build configuration file (i.e. cloudbuild.
794
834
  # yaml).
795
835
  # Corresponds to the JSON property `filename`
@@ -906,6 +946,7 @@ module Google
906
946
  @create_time = args[:create_time] if args.key?(:create_time)
907
947
  @description = args[:description] if args.key?(:description)
908
948
  @disabled = args[:disabled] if args.key?(:disabled)
949
+ @event_type = args[:event_type] if args.key?(:event_type)
909
950
  @filename = args[:filename] if args.key?(:filename)
910
951
  @filter = args[:filter] if args.key?(:filter)
911
952
  @git_file_source = args[:git_file_source] if args.key?(:git_file_source)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1
18
18
  # Version of the google-apis-cloudbuild_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.20.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 = "20210903"
25
+ REVISION = "20211115"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class Build
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -520,6 +526,15 @@ module Google
520
526
  end
521
527
  end
522
528
 
529
+ class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ property :complete_time, as: 'completeTime'
533
+ property :config, as: 'config'
534
+ property :create_time, as: 'createTime'
535
+ end
536
+ end
537
+
523
538
  class Build
524
539
  # @private
525
540
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -641,6 +656,7 @@ module Google
641
656
  property :create_time, as: 'createTime'
642
657
  property :description, as: 'description'
643
658
  property :disabled, as: 'disabled'
659
+ property :event_type, as: 'eventType'
644
660
  property :filename, as: 'filename'
645
661
  property :filter, as: 'filter'
646
662
  property :git_file_source, as: 'gitFileSource', class: Google::Apis::CloudbuildV1::GitFileSource, decorator: Google::Apis::CloudbuildV1::GitFileSource::Representation
@@ -374,6 +374,12 @@ module Google
374
374
  # Name of the parent project. For example: projects/`$project_number` or
375
375
  # projects/`$project_id`
376
376
  # @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
377
+ # @param [String] ghe_config_id
378
+ # Optional. The ID to use for the GithubEnterpriseConfig, which will become the
379
+ # final component of the GithubEnterpriseConfig’s resource name. ghe_config_id
380
+ # must meet the following requirements: + They must contain only alphanumeric
381
+ # characters and dashes. + They can be 1-64 characters long. + They must begin
382
+ # and end with an alphanumeric character
377
383
  # @param [String] project_id
378
384
  # ID of the project.
379
385
  # @param [String] fields
@@ -393,13 +399,14 @@ module Google
393
399
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
394
400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
395
401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
396
- def create_project_github_enterprise_config(parent, git_hub_enterprise_config_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
402
+ def create_project_github_enterprise_config(parent, git_hub_enterprise_config_object = nil, ghe_config_id: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
397
403
  command = make_simple_command(:post, 'v1/{+parent}/githubEnterpriseConfigs', options)
398
404
  command.request_representation = Google::Apis::CloudbuildV1::GitHubEnterpriseConfig::Representation
399
405
  command.request_object = git_hub_enterprise_config_object
400
406
  command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
401
407
  command.response_class = Google::Apis::CloudbuildV1::Operation
402
408
  command.params['parent'] = parent unless parent.nil?
409
+ command.query['gheConfigId'] = ghe_config_id unless ghe_config_id.nil?
403
410
  command.query['projectId'] = project_id unless project_id.nil?
404
411
  command.query['fields'] = fields unless fields.nil?
405
412
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -803,6 +810,12 @@ module Google
803
810
  # Name of the parent project. For example: projects/`$project_number` or
804
811
  # projects/`$project_id`
805
812
  # @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
813
+ # @param [String] ghe_config_id
814
+ # Optional. The ID to use for the GithubEnterpriseConfig, which will become the
815
+ # final component of the GithubEnterpriseConfig’s resource name. ghe_config_id
816
+ # must meet the following requirements: + They must contain only alphanumeric
817
+ # characters and dashes. + They can be 1-64 characters long. + They must begin
818
+ # and end with an alphanumeric character
806
819
  # @param [String] project_id
807
820
  # ID of the project.
808
821
  # @param [String] fields
@@ -822,13 +835,14 @@ module Google
822
835
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
823
836
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
824
837
  # @raise [Google::Apis::AuthorizationError] Authorization is required
825
- def create_project_location_github_enterprise_config(parent, git_hub_enterprise_config_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
838
+ def create_project_location_github_enterprise_config(parent, git_hub_enterprise_config_object = nil, ghe_config_id: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
826
839
  command = make_simple_command(:post, 'v1/{+parent}/githubEnterpriseConfigs', options)
827
840
  command.request_representation = Google::Apis::CloudbuildV1::GitHubEnterpriseConfig::Representation
828
841
  command.request_object = git_hub_enterprise_config_object
829
842
  command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
830
843
  command.response_class = Google::Apis::CloudbuildV1::Operation
831
844
  command.params['parent'] = parent unless parent.nil?
845
+ command.query['gheConfigId'] = ghe_config_id unless ghe_config_id.nil?
832
846
  command.query['projectId'] = project_id unless project_id.nil?
833
847
  command.query['fields'] = fields unless fields.nil?
834
848
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1376,8 +1390,8 @@ module Google
1376
1390
  # If set to true, and the `WorkerPool` is not found, the request will succeed
1377
1391
  # but no action will be taken on the server.
1378
1392
  # @param [String] etag
1379
- # Optional. If this is provided, it must match the server's etag on the
1380
- # workerpool for the request to be processed.
1393
+ # Optional. If provided, it must match the server's etag on the workerpool for
1394
+ # the request to be processed.
1381
1395
  # @param [Boolean] validate_only
1382
1396
  # If set, validate the request and preview the response, but do not actually
1383
1397
  # post it.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.20.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-09-13 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.16.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.20.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: