google-apis-cloudbuild_v1 0.59.0 → 0.61.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: 3f4cfb4ad2142ff4d2dd69895e3c3f49fe389b7de222ffe1a2a86191bc63bdc0
4
- data.tar.gz: f240e481b0caad1cf68e4fe96b57bb0da754132e907dcbae5948ed89efd2ca6b
3
+ metadata.gz: 232ded509bc7ba6da2a8283d6708eaceb39a18d6c28eb9a9eb018a6520e9dae1
4
+ data.tar.gz: cfd1c337d07fe0d8c9fcef01c3a8e119b3e3df0ab6c2fe6c99d2d7fbdca78f49
5
5
  SHA512:
6
- metadata.gz: d4c6c5226880b36a6e038af27a6a4220b374038d7f1b8711e319613216e79fb13312e3bc42e9b1d96d055cce269bba766942cf394e1fce7f1225f93833b5a14b
7
- data.tar.gz: 72a24144255dc37bf462dfc33c8b62402285a83d768157532d28c9bd2949bbeae57f7141359467438a141029b6243bd5aabd6a47c6aff9363fbac6ffb6a6660d
6
+ metadata.gz: db852954a74e5cd29f537b80bf5b2f62ce13569c38efb8994ddb928cb0487618ed09925ad39edc62c0034843703f34d2ca475815afc8c2e6a8b179e4d0305993
7
+ data.tar.gz: b73ee3ffc871ee4b162e5dd5d218ed3079f12ed9ab37dcd2fc1ad0b245813f7cb38dde16fdef69958a3af03fb7f32d9e2da1289be9841269ce6881d7bf4876db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.61.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
7
+ ### v0.60.0 (2024-03-03)
8
+
9
+ * Regenerated from discovery document revision 20240223
10
+
3
11
  ### v0.59.0 (2024-02-23)
4
12
 
5
13
  * Regenerated using generator version 0.14.0
@@ -1780,6 +1780,38 @@ module Google
1780
1780
  end
1781
1781
  end
1782
1782
 
1783
+ # The default service account used for `Builds`.
1784
+ class DefaultServiceAccount
1785
+ include Google::Apis::Core::Hashable
1786
+
1787
+ # Identifier. Format: `projects/`project`/locations/`location`/
1788
+ # defaultServiceAccount
1789
+ # Corresponds to the JSON property `name`
1790
+ # @return [String]
1791
+ attr_accessor :name
1792
+
1793
+ # Output only. The email address of the service account identity that will be
1794
+ # used for a build by default. This is returned in the format `projects/`project`
1795
+ # /serviceAccounts/`service_account`` where ``service_account`` could be the
1796
+ # legacy Cloud Build SA, in the format [PROJECT_NUMBER]@cloudbuild.
1797
+ # gserviceaccount.com or the Compute SA, in the format [PROJECT_NUMBER]-compute@
1798
+ # developer.gserviceaccount.com. If no service account will be used by default,
1799
+ # this will be empty.
1800
+ # Corresponds to the JSON property `serviceAccountEmail`
1801
+ # @return [String]
1802
+ attr_accessor :service_account_email
1803
+
1804
+ def initialize(**args)
1805
+ update!(**args)
1806
+ end
1807
+
1808
+ # Update properties of this object
1809
+ def update!(**args)
1810
+ @name = args[:name] if args.key?(:name)
1811
+ @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
1812
+ end
1813
+ end
1814
+
1783
1815
  # Metadata for `DeleteBitbucketServerConfig` operation.
1784
1816
  class DeleteBitbucketServerConfigOperationMetadata
1785
1817
  include Google::Apis::Core::Hashable
@@ -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.59.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240109"
25
+ REVISION = "20240305"
26
26
  end
27
27
  end
28
28
  end
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class DefaultServiceAccount
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class DeleteBitbucketServerConfigOperationMetadata
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -1097,6 +1103,14 @@ module Google
1097
1103
  end
1098
1104
  end
1099
1105
 
1106
+ class DefaultServiceAccount
1107
+ # @private
1108
+ class Representation < Google::Apis::Core::JsonRepresentation
1109
+ property :name, as: 'name'
1110
+ property :service_account_email, as: 'serviceAccountEmail'
1111
+ end
1112
+ end
1113
+
1100
1114
  class DeleteBitbucketServerConfigOperationMetadata
1101
1115
  # @private
1102
1116
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -638,6 +638,37 @@ module Google
638
638
  execute_or_queue_command(command, &block)
639
639
  end
640
640
 
641
+ # Returns the `DefaultServiceAccount` used by the project.
642
+ # @param [String] name
643
+ # Required. The name of the `DefaultServiceAccount` to retrieve. Format: `
644
+ # projects/`project`/locations/`location`/defaultServiceAccount`
645
+ # @param [String] fields
646
+ # Selector specifying which fields to include in a partial response.
647
+ # @param [String] quota_user
648
+ # Available to use for quota purposes for server-side applications. Can be any
649
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
650
+ # @param [Google::Apis::RequestOptions] options
651
+ # Request-specific options
652
+ #
653
+ # @yield [result, err] Result & error if block supplied
654
+ # @yieldparam result [Google::Apis::CloudbuildV1::DefaultServiceAccount] parsed result object
655
+ # @yieldparam err [StandardError] error object if request failed
656
+ #
657
+ # @return [Google::Apis::CloudbuildV1::DefaultServiceAccount]
658
+ #
659
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
660
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
661
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
662
+ def get_project_location_default_service_account(name, fields: nil, quota_user: nil, options: nil, &block)
663
+ command = make_simple_command(:get, 'v1/{+name}', options)
664
+ command.response_representation = Google::Apis::CloudbuildV1::DefaultServiceAccount::Representation
665
+ command.response_class = Google::Apis::CloudbuildV1::DefaultServiceAccount
666
+ command.params['name'] = name unless name.nil?
667
+ command.query['fields'] = fields unless fields.nil?
668
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
669
+ execute_or_queue_command(command, &block)
670
+ end
671
+
641
672
  # Creates a new `BitbucketServerConfig`. This API is experimental.
642
673
  # @param [String] parent
643
674
  # 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.59.0
4
+ version: 0.61.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-10 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.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.61.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: []