google-apis-cloudbuild_v1 0.64.0 → 0.66.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: cf733a18306302d14d5fadc7b9ae326452c120d28774942e175004f7afc73478
4
- data.tar.gz: 16fb9cd97b84f893f9ca71dc908d8a69e2fde84008084357bd0f2baa169ff13f
3
+ metadata.gz: ce41dadc265ffc289a8aadb1786a90e10feaa2b6b7a6c9563b7295f3b83d43de
4
+ data.tar.gz: f9240b3e50584f822ff2bb499f345bdea937210c3747325725ec6acd788202e3
5
5
  SHA512:
6
- metadata.gz: 2bfb8fd3b85b1e9b96667b9ee4d85a1ce60ade051eb665e87332dd2a266a1f8e6a1d688120ee802606bf46dc3bc01047bda90984f3da9695f6f34f92bb239b9b
7
- data.tar.gz: 40eb8e63b98f3f04cd340ca287585f82fa9f5869657c9fec013d05ee2ef8bcb808bcca6ec578b5eb6d1ddf09cf18be69538750201ba2b5720cadff7a5002d784
6
+ metadata.gz: 39a6101db85864ff7f73e0c01429d9ead238812b8c241d985f077b1332c7e0703e6ab2806bad15b0b03e2c1678122826ff89dc6b0ee4fecdb168d2d831f3f015
7
+ data.tar.gz: 7046b72e055bf68aaea83e27a8f519fbbd245368ffcff8cd2e3f6704877c07871272129b48cc11aa4c2e0014c63b79a1e1cf8b39f56089ac1c87fd28bb427534
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.66.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241025
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.65.0 (2024-07-07)
9
+
10
+ * Regenerated from discovery document revision 20240627
11
+
3
12
  ### v0.64.0 (2024-06-16)
4
13
 
5
14
  * Regenerated from discovery document revision 20240607
@@ -1423,9 +1423,10 @@ module Google
1423
1423
 
1424
1424
  # The service account used for all user-controlled operations including
1425
1425
  # UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no
1426
- # service account is set, then the standard Cloud Build service account ([
1427
- # PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `
1428
- # projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_ID_OR_EMAIL``
1426
+ # service account is set and the legacy Cloud Build service account ([
1427
+ # PROJECT_NUM]@cloudbuild.gserviceaccount.com) is the default for the project
1428
+ # then it will be used instead. Format: `projects/`PROJECT_ID`/serviceAccounts/`
1429
+ # ACCOUNT_ID_OR_EMAIL``
1429
1430
  # Corresponds to the JSON property `serviceAccount`
1430
1431
  # @return [String]
1431
1432
  attr_accessor :service_account
@@ -2040,40 +2041,6 @@ module Google
2040
2041
  end
2041
2042
  end
2042
2043
 
2043
- # Represents a storage location in Cloud Storage
2044
- class GcsLocation
2045
- include Google::Apis::Core::Hashable
2046
-
2047
- # Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
2048
- # requirements
2049
- # Corresponds to the JSON property `bucket`
2050
- # @return [String]
2051
- attr_accessor :bucket
2052
-
2053
- # Cloud Storage generation for the object. If the generation is omitted, the
2054
- # latest generation will be used.
2055
- # Corresponds to the JSON property `generation`
2056
- # @return [Fixnum]
2057
- attr_accessor :generation
2058
-
2059
- # Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
2060
- # objectnames
2061
- # Corresponds to the JSON property `object`
2062
- # @return [String]
2063
- attr_accessor :object
2064
-
2065
- def initialize(**args)
2066
- update!(**args)
2067
- end
2068
-
2069
- # Update properties of this object
2070
- def update!(**args)
2071
- @bucket = args[:bucket] if args.key?(:bucket)
2072
- @generation = args[:generation] if args.key?(:generation)
2073
- @object = args[:object] if args.key?(:object)
2074
- end
2075
- end
2076
-
2077
2044
  # GitConfig is a configuration for git operations.
2078
2045
  class GitConfig
2079
2046
  include Google::Apis::Core::Hashable
@@ -2815,17 +2782,14 @@ module Google
2815
2782
  class HttpConfig
2816
2783
  include Google::Apis::Core::Hashable
2817
2784
 
2818
- # SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
2819
- # format protocol://@]proxyhost[:port].
2785
+ # SecretVersion resource of the HTTP proxy URL. The Service Account used in the
2786
+ # build (either the default Service Account or user-specified Service Account)
2787
+ # should have `secretmanager.versions.access` permissions on this secret. The
2788
+ # proxy URL should be in format `protocol://@]proxyhost[:port]`.
2820
2789
  # Corresponds to the JSON property `proxySecretVersionName`
2821
2790
  # @return [String]
2822
2791
  attr_accessor :proxy_secret_version_name
2823
2792
 
2824
- # Represents a storage location in Cloud Storage
2825
- # Corresponds to the JSON property `proxySslCaInfo`
2826
- # @return [Google::Apis::CloudbuildV1::GcsLocation]
2827
- attr_accessor :proxy_ssl_ca_info
2828
-
2829
2793
  def initialize(**args)
2830
2794
  update!(**args)
2831
2795
  end
@@ -2833,7 +2797,6 @@ module Google
2833
2797
  # Update properties of this object
2834
2798
  def update!(**args)
2835
2799
  @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
2836
- @proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
2837
2800
  end
2838
2801
  end
2839
2802
 
@@ -3340,6 +3303,11 @@ module Google
3340
3303
  # @return [Google::Apis::CloudbuildV1::NetworkConfig]
3341
3304
  attr_accessor :network_config
3342
3305
 
3306
+ # Defines the Private Service Connect network configuration for the pool.
3307
+ # Corresponds to the JSON property `privateServiceConnect`
3308
+ # @return [Google::Apis::CloudbuildV1::PrivateServiceConnect]
3309
+ attr_accessor :private_service_connect
3310
+
3343
3311
  # Defines the configuration to be used for creating workers in the pool.
3344
3312
  # Corresponds to the JSON property `workerConfig`
3345
3313
  # @return [Google::Apis::CloudbuildV1::WorkerConfig]
@@ -3352,10 +3320,58 @@ module Google
3352
3320
  # Update properties of this object
3353
3321
  def update!(**args)
3354
3322
  @network_config = args[:network_config] if args.key?(:network_config)
3323
+ @private_service_connect = args[:private_service_connect] if args.key?(:private_service_connect)
3355
3324
  @worker_config = args[:worker_config] if args.key?(:worker_config)
3356
3325
  end
3357
3326
  end
3358
3327
 
3328
+ # Defines the Private Service Connect network configuration for the pool.
3329
+ class PrivateServiceConnect
3330
+ include Google::Apis::Core::Hashable
3331
+
3332
+ # Required. Immutable. The network attachment that the worker network interface
3333
+ # is peered to. Must be in the format `projects/`project`/regions/`region`/
3334
+ # networkAttachments/`networkAttachment``. The region of network attachment must
3335
+ # be the same as the worker pool. See [Network Attachments](https://cloud.google.
3336
+ # com/vpc/docs/about-network-attachments)
3337
+ # Corresponds to the JSON property `networkAttachment`
3338
+ # @return [String]
3339
+ attr_accessor :network_attachment
3340
+
3341
+ # Required. Immutable. Disable public IP on the primary network interface. If
3342
+ # true, workers are created without any public address, which prevents network
3343
+ # egress to public IPs unless a network proxy is configured. If false, workers
3344
+ # are created with a public address which allows for public internet egress. The
3345
+ # public address only applies to traffic through the primary network interface.
3346
+ # If `route_all_traffic` is set to true, all traffic will go through the non-
3347
+ # primary network interface, this boolean has no effect.
3348
+ # Corresponds to the JSON property `publicIpAddressDisabled`
3349
+ # @return [Boolean]
3350
+ attr_accessor :public_ip_address_disabled
3351
+ alias_method :public_ip_address_disabled?, :public_ip_address_disabled
3352
+
3353
+ # Immutable. Route all traffic through PSC interface. Enable this if you want
3354
+ # full control of traffic in the private pool. Configure Cloud NAT for the
3355
+ # subnet of network attachment if you need to access public Internet. If false,
3356
+ # Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16
3357
+ # through PSC interface.
3358
+ # Corresponds to the JSON property `routeAllTraffic`
3359
+ # @return [Boolean]
3360
+ attr_accessor :route_all_traffic
3361
+ alias_method :route_all_traffic?, :route_all_traffic
3362
+
3363
+ def initialize(**args)
3364
+ update!(**args)
3365
+ end
3366
+
3367
+ # Update properties of this object
3368
+ def update!(**args)
3369
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
3370
+ @public_ip_address_disabled = args[:public_ip_address_disabled] if args.key?(:public_ip_address_disabled)
3371
+ @route_all_traffic = args[:route_all_traffic] if args.key?(:route_all_traffic)
3372
+ end
3373
+ end
3374
+
3359
3375
  # Metadata for `ProcessAppManifestCallback` operation.
3360
3376
  class ProcessAppManifestCallbackOperationMetadata
3361
3377
  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.64.0"
19
+ GEM_VERSION = "0.66.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240607"
25
+ REVISION = "20241025"
26
26
  end
27
27
  end
28
28
  end
@@ -280,12 +280,6 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
- class GcsLocation
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
283
  class GitConfig
290
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
285
 
@@ -484,6 +478,12 @@ module Google
484
478
  include Google::Apis::Core::JsonObjectSupport
485
479
  end
486
480
 
481
+ class PrivateServiceConnect
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
487
  class ProcessAppManifestCallbackOperationMetadata
488
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
489
 
@@ -1204,15 +1204,6 @@ module Google
1204
1204
  end
1205
1205
  end
1206
1206
 
1207
- class GcsLocation
1208
- # @private
1209
- class Representation < Google::Apis::Core::JsonRepresentation
1210
- property :bucket, as: 'bucket'
1211
- property :generation, :numeric_string => true, as: 'generation'
1212
- property :object, as: 'object'
1213
- end
1214
- end
1215
-
1216
1207
  class GitConfig
1217
1208
  # @private
1218
1209
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1401,8 +1392,6 @@ module Google
1401
1392
  # @private
1402
1393
  class Representation < Google::Apis::Core::JsonRepresentation
1403
1394
  property :proxy_secret_version_name, as: 'proxySecretVersionName'
1404
- property :proxy_ssl_ca_info, as: 'proxySslCaInfo', class: Google::Apis::CloudbuildV1::GcsLocation, decorator: Google::Apis::CloudbuildV1::GcsLocation::Representation
1405
-
1406
1395
  end
1407
1396
  end
1408
1397
 
@@ -1550,11 +1539,22 @@ module Google
1550
1539
  class Representation < Google::Apis::Core::JsonRepresentation
1551
1540
  property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1::NetworkConfig, decorator: Google::Apis::CloudbuildV1::NetworkConfig::Representation
1552
1541
 
1542
+ property :private_service_connect, as: 'privateServiceConnect', class: Google::Apis::CloudbuildV1::PrivateServiceConnect, decorator: Google::Apis::CloudbuildV1::PrivateServiceConnect::Representation
1543
+
1553
1544
  property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1::WorkerConfig, decorator: Google::Apis::CloudbuildV1::WorkerConfig::Representation
1554
1545
 
1555
1546
  end
1556
1547
  end
1557
1548
 
1549
+ class PrivateServiceConnect
1550
+ # @private
1551
+ class Representation < Google::Apis::Core::JsonRepresentation
1552
+ property :network_attachment, as: 'networkAttachment'
1553
+ property :public_ip_address_disabled, as: 'publicIpAddressDisabled'
1554
+ property :route_all_traffic, as: 'routeAllTraffic'
1555
+ end
1556
+ end
1557
+
1558
1558
  class ProcessAppManifestCallbackOperationMetadata
1559
1559
  # @private
1560
1560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -446,8 +446,8 @@ module Google
446
446
 
447
447
  # Create an association between a GCP project and a GitHub Enterprise server.
448
448
  # @param [String] parent
449
- # Required. Name of the parent project. For example: projects/`$project_number`
450
- # or projects/`$project_id`
449
+ # Name of the parent project. For example: projects/`$project_number` or
450
+ # projects/`$project_id`
451
451
  # @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
452
452
  # @param [String] ghe_config_id
453
453
  # Optional. The ID to use for the GithubEnterpriseConfig, which will become the
@@ -1496,8 +1496,8 @@ module Google
1496
1496
 
1497
1497
  # Create an association between a GCP project and a GitHub Enterprise server.
1498
1498
  # @param [String] parent
1499
- # Required. Name of the parent project. For example: projects/`$project_number`
1500
- # or projects/`$project_id`
1499
+ # Name of the parent project. For example: projects/`$project_number` or
1500
+ # projects/`$project_id`
1501
1501
  # @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
1502
1502
  # @param [String] ghe_config_id
1503
1503
  # Optional. The ID to use for the GithubEnterpriseConfig, which will become the
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.64.0
4
+ version: 0.66.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-06-16 00:00:00.000000000 Z
11
+ date: 2024-12-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.64.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.66.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: []
@@ -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.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Build API V1