google-apis-cloudbuild_v1 0.59.0 → 0.60.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: cab8858792a421d75ac36dad83f39869523434c99333a4f92b12ec1b4d446238
4
+ data.tar.gz: d5950a8385c28d5fe635388957dbbb2830605abda6a1d3c3c2cf93169c401bd8
5
5
  SHA512:
6
- metadata.gz: d4c6c5226880b36a6e038af27a6a4220b374038d7f1b8711e319613216e79fb13312e3bc42e9b1d96d055cce269bba766942cf394e1fce7f1225f93833b5a14b
7
- data.tar.gz: 72a24144255dc37bf462dfc33c8b62402285a83d768157532d28c9bd2949bbeae57f7141359467438a141029b6243bd5aabd6a47c6aff9363fbac6ffb6a6660d
6
+ metadata.gz: 2a327156fc74ed122f02ce5711076a97fd30bbf567e5ed84ff2958f0253d79d3e6f5cc552fd930e9de978c7e0fee9d0e933c76f07c62cf0842be8aa6c08a1c8f
7
+ data.tar.gz: ae1805c39c2a9381e4b7fe4b6c40c1f4ea34c60e8d9c04b68fae7b8a01abdef27360de4cc62f656233c80c33baefe6d2759e4d0b98ab8728cc3d5fc7a98f5bbe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.60.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240223
6
+
3
7
  ### v0.59.0 (2024-02-23)
4
8
 
5
9
  * 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
@@ -3191,6 +3223,11 @@ module Google
3191
3223
  # @return [Google::Apis::CloudbuildV1::NetworkConfig]
3192
3224
  attr_accessor :network_config
3193
3225
 
3226
+ # Defines the Private Service Connect network configuration for the pool.
3227
+ # Corresponds to the JSON property `privateServiceConnect`
3228
+ # @return [Google::Apis::CloudbuildV1::PrivateServiceConnect]
3229
+ attr_accessor :private_service_connect
3230
+
3194
3231
  # Defines the configuration to be used for creating workers in the pool.
3195
3232
  # Corresponds to the JSON property `workerConfig`
3196
3233
  # @return [Google::Apis::CloudbuildV1::WorkerConfig]
@@ -3203,10 +3240,58 @@ module Google
3203
3240
  # Update properties of this object
3204
3241
  def update!(**args)
3205
3242
  @network_config = args[:network_config] if args.key?(:network_config)
3243
+ @private_service_connect = args[:private_service_connect] if args.key?(:private_service_connect)
3206
3244
  @worker_config = args[:worker_config] if args.key?(:worker_config)
3207
3245
  end
3208
3246
  end
3209
3247
 
3248
+ # Defines the Private Service Connect network configuration for the pool.
3249
+ class PrivateServiceConnect
3250
+ include Google::Apis::Core::Hashable
3251
+
3252
+ # Required. Immutable. The network attachment that the worker network interface
3253
+ # is peered to. Must be in the format `projects/`project`/regions/`region`/
3254
+ # networkAttachments/`networkAttachment``. The region of network attachment must
3255
+ # be the same as the worker pool. See [Network Attachments](https://cloud.google.
3256
+ # com/vpc/docs/about-network-attachments)
3257
+ # Corresponds to the JSON property `networkAttachment`
3258
+ # @return [String]
3259
+ attr_accessor :network_attachment
3260
+
3261
+ # Required. Immutable. Disable public IP on the primary network interface. If
3262
+ # true, workers are created without any public address, which prevents network
3263
+ # egress to public IPs unless a network proxy is configured. If false, workers
3264
+ # are created with a public address which allows for public internet egress. The
3265
+ # public address only applies to traffic through the primary network interface.
3266
+ # If `route_all_traffic` is set to true, all traffic will go through the non-
3267
+ # primary network interface, this boolean has no effect.
3268
+ # Corresponds to the JSON property `publicIpAddressDisabled`
3269
+ # @return [Boolean]
3270
+ attr_accessor :public_ip_address_disabled
3271
+ alias_method :public_ip_address_disabled?, :public_ip_address_disabled
3272
+
3273
+ # Immutable. Route all traffic through PSC interface. Enable this if you want
3274
+ # full control of traffic in the private pool. Configure Cloud NAT for the
3275
+ # subnet of network attachment if you need to access public Internet. If false,
3276
+ # Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16
3277
+ # through PSC interface.
3278
+ # Corresponds to the JSON property `routeAllTraffic`
3279
+ # @return [Boolean]
3280
+ attr_accessor :route_all_traffic
3281
+ alias_method :route_all_traffic?, :route_all_traffic
3282
+
3283
+ def initialize(**args)
3284
+ update!(**args)
3285
+ end
3286
+
3287
+ # Update properties of this object
3288
+ def update!(**args)
3289
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
3290
+ @public_ip_address_disabled = args[:public_ip_address_disabled] if args.key?(:public_ip_address_disabled)
3291
+ @route_all_traffic = args[:route_all_traffic] if args.key?(:route_all_traffic)
3292
+ end
3293
+ end
3294
+
3210
3295
  # Metadata for `ProcessAppManifestCallback` operation.
3211
3296
  class ProcessAppManifestCallbackOperationMetadata
3212
3297
  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.60.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 = "20240223"
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
 
@@ -454,6 +460,12 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class PrivateServiceConnect
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
457
469
  class ProcessAppManifestCallbackOperationMetadata
458
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
471
 
@@ -1097,6 +1109,14 @@ module Google
1097
1109
  end
1098
1110
  end
1099
1111
 
1112
+ class DefaultServiceAccount
1113
+ # @private
1114
+ class Representation < Google::Apis::Core::JsonRepresentation
1115
+ property :name, as: 'name'
1116
+ property :service_account_email, as: 'serviceAccountEmail'
1117
+ end
1118
+ end
1119
+
1100
1120
  class DeleteBitbucketServerConfigOperationMetadata
1101
1121
  # @private
1102
1122
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1475,11 +1495,22 @@ module Google
1475
1495
  class Representation < Google::Apis::Core::JsonRepresentation
1476
1496
  property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1::NetworkConfig, decorator: Google::Apis::CloudbuildV1::NetworkConfig::Representation
1477
1497
 
1498
+ property :private_service_connect, as: 'privateServiceConnect', class: Google::Apis::CloudbuildV1::PrivateServiceConnect, decorator: Google::Apis::CloudbuildV1::PrivateServiceConnect::Representation
1499
+
1478
1500
  property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1::WorkerConfig, decorator: Google::Apis::CloudbuildV1::WorkerConfig::Representation
1479
1501
 
1480
1502
  end
1481
1503
  end
1482
1504
 
1505
+ class PrivateServiceConnect
1506
+ # @private
1507
+ class Representation < Google::Apis::Core::JsonRepresentation
1508
+ property :network_attachment, as: 'networkAttachment'
1509
+ property :public_ip_address_disabled, as: 'publicIpAddressDisabled'
1510
+ property :route_all_traffic, as: 'routeAllTraffic'
1511
+ end
1512
+ end
1513
+
1483
1514
  class ProcessAppManifestCallbackOperationMetadata
1484
1515
  # @private
1485
1516
  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.60.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-03 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.60.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: []