google-apis-cloudbuild_v1 0.27.0 → 0.28.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ca9c48715819d8cb77144c869855c7c9b24339eb56c8c0d3f2ad00807ec3448
4
- data.tar.gz: 9094de42eb707423d99e80314c3ca46803f62b7c762f605dffaa9d23fe8a13d6
3
+ metadata.gz: c9808aed455831260619618226bae9fdf24432e09765f4ef2ab731c2a2ae33c9
4
+ data.tar.gz: 9074f1cbbd1690fa0bec27ef87d9899ab3466532225be045aa9927961165ea48
5
5
  SHA512:
6
- metadata.gz: f5947a84dd1b1edcad76a15c42ec26fb88719b6f07b914791d09ebf9f464cc5fded3a9d6ef7b5fa4bfc24171ada2a6c2f053b9a4b72e3e039bb1997aa5dd9e86
7
- data.tar.gz: d6f2d5eb9e0a3de51ce40d48179df91e7fa9079b8a118548b76954344fa1715ba617fdbe688b0fa6728b734e9b359fc4c92e10947a5291aa1498ce8657bccb4b
6
+ metadata.gz: 6de044204b5bf6fcc65a7800b8a0a6b1773f7378f99860dbaaab51dc0994e8c9e70330661908f65c12ff7ca8ee3366ae1c4906460837ac97c14ceb86953f9270
7
+ data.tar.gz: ab08cd1278515e6ab6abbc45a5ab6b5eef7df2d7966e01098a00916641816bbd7b19869f90671b3fd1f5403e2de5d5ce9746be199cd5fd96f9500f44cdddbc40
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.28.0 (2022-03-29)
4
+
5
+ * Regenerated from discovery document revision 20220322
6
+
3
7
  ### v0.27.0 (2022-03-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220310
@@ -22,56 +22,6 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
- # RPC request object accepted by the AddBitbucketServerConnectedRepository RPC
26
- # method.
27
- class AddBitbucketServerConnectedRepositoryRequest
28
- include Google::Apis::Core::Hashable
29
-
30
- # BitbucketServerRepositoryId identifies a specific repository hosted on a
31
- # Bitbucket Server.
32
- # Corresponds to the JSON property `connectedRepository`
33
- # @return [Google::Apis::CloudbuildV1::BitbucketServerRepositoryId]
34
- attr_accessor :connected_repository
35
-
36
- def initialize(**args)
37
- update!(**args)
38
- end
39
-
40
- # Update properties of this object
41
- def update!(**args)
42
- @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
43
- end
44
- end
45
-
46
- # RPC request object returned by the AddBitbucketServerConnectedRepository RPC
47
- # method.
48
- class AddBitbucketServerConnectedRepositoryResponse
49
- include Google::Apis::Core::Hashable
50
-
51
- # The name of the `BitbucketServerConfig` that added connected repository.
52
- # Format: `projects/`project`/locations/`location`/bitbucketServerConfigs/`
53
- # config``
54
- # Corresponds to the JSON property `config`
55
- # @return [String]
56
- attr_accessor :config
57
-
58
- # BitbucketServerRepositoryId identifies a specific repository hosted on a
59
- # Bitbucket Server.
60
- # Corresponds to the JSON property `connectedRepository`
61
- # @return [Google::Apis::CloudbuildV1::BitbucketServerRepositoryId]
62
- attr_accessor :connected_repository
63
-
64
- def initialize(**args)
65
- update!(**args)
66
- end
67
-
68
- # Update properties of this object
69
- def update!(**args)
70
- @config = args[:config] if args.key?(:config)
71
- @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
72
- end
73
- end
74
-
75
25
  # ApprovalConfig describes configuration for manual approval of a build.
76
26
  class ApprovalConfig
77
27
  include Google::Apis::Core::Hashable
@@ -1720,8 +1670,7 @@ module Google
1720
1670
  # A generic empty message that you can re-use to avoid defining duplicated empty
1721
1671
  # messages in your APIs. A typical example is to use it as the request or the
1722
1672
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1723
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1724
- # `Empty` is empty JSON object ````.
1673
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1725
1674
  class Empty
1726
1675
  include Google::Apis::Core::Hashable
1727
1676
 
@@ -1815,9 +1764,9 @@ module Google
1815
1764
  # @return [String]
1816
1765
  attr_accessor :revision
1817
1766
 
1818
- # The URI of the repo (optional). If unspecified, the repo from which the
1819
- # trigger invocation originated is assumed to be the repo from which to read the
1820
- # specified path.
1767
+ # The URI of the repo. Either uri or repository can be specified. If unspecified,
1768
+ # the repo from which the trigger invocation originated is assumed to be the
1769
+ # repo from which to read the specified path.
1821
1770
  # Corresponds to the JSON property `uri`
1822
1771
  # @return [String]
1823
1772
  attr_accessor :uri
@@ -2059,7 +2008,7 @@ module Google
2059
2008
  # @return [String]
2060
2009
  attr_accessor :repo_type
2061
2010
 
2062
- # The URI of the repo (required).
2011
+ # The URI of the repo. Either uri or repository can be specified and is required.
2063
2012
  # Corresponds to the JSON property `uri`
2064
2013
  # @return [String]
2065
2014
  attr_accessor :uri
@@ -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.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220310"
25
+ REVISION = "20220322"
26
26
  end
27
27
  end
28
28
  end
@@ -22,18 +22,6 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
- class AddBitbucketServerConnectedRepositoryRequest
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class AddBitbucketServerConnectedRepositoryResponse
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
25
  class ApprovalConfig
38
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
27
 
@@ -598,23 +586,6 @@ module Google
598
586
  include Google::Apis::Core::JsonObjectSupport
599
587
  end
600
588
 
601
- class AddBitbucketServerConnectedRepositoryRequest
602
- # @private
603
- class Representation < Google::Apis::Core::JsonRepresentation
604
- property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
605
-
606
- end
607
- end
608
-
609
- class AddBitbucketServerConnectedRepositoryResponse
610
- # @private
611
- class Representation < Google::Apis::Core::JsonRepresentation
612
- property :config, as: 'config'
613
- property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
614
-
615
- end
616
- end
617
-
618
589
  class ApprovalConfig
619
590
  # @private
620
591
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -598,42 +598,6 @@ module Google
598
598
  execute_or_queue_command(command, &block)
599
599
  end
600
600
 
601
- # Add a Bitbucket Server repository to a given BitbucketServerConfig's connected
602
- # repositories. This API is experimental.
603
- # @param [String] config
604
- # Required. The name of the `BitbucketServerConfig` to add a connected
605
- # repository. Format: `projects/`project`/locations/`location`/
606
- # bitbucketServerConfigs/`config``
607
- # @param [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryRequest] add_bitbucket_server_connected_repository_request_object
608
- # @param [String] fields
609
- # Selector specifying which fields to include in a partial response.
610
- # @param [String] quota_user
611
- # Available to use for quota purposes for server-side applications. Can be any
612
- # arbitrary string assigned to a user, but should not exceed 40 characters.
613
- # @param [Google::Apis::RequestOptions] options
614
- # Request-specific options
615
- #
616
- # @yield [result, err] Result & error if block supplied
617
- # @yieldparam result [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse] parsed result object
618
- # @yieldparam err [StandardError] error object if request failed
619
- #
620
- # @return [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse]
621
- #
622
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
623
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
624
- # @raise [Google::Apis::AuthorizationError] Authorization is required
625
- def add_bitbucket_server_config_bitbucket_server_connected_repository(config, add_bitbucket_server_connected_repository_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
626
- command = make_simple_command(:post, 'v1/{+config}:addBitbucketServerConnectedRepository', options)
627
- command.request_representation = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryRequest::Representation
628
- command.request_object = add_bitbucket_server_connected_repository_request_object
629
- command.response_representation = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse::Representation
630
- command.response_class = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse
631
- command.params['config'] = config unless config.nil?
632
- command.query['fields'] = fields unless fields.nil?
633
- command.query['quotaUser'] = quota_user unless quota_user.nil?
634
- execute_or_queue_command(command, &block)
635
- end
636
-
637
601
  # Creates a new `BitbucketServerConfig`. This API is experimental.
638
602
  # @param [String] parent
639
603
  # Required. Name of the parent resource.
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.27.0
4
+ version: 0.28.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: 2022-03-21 00:00:00.000000000 Z
11
+ date: 2022-04-04 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.28.0
62
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: []