google-apis-cloudbuild_v1 0.65.0 → 0.67.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: dbe2d03729ecc70eac7ecac45976c48828f5d98a65036c98242185adc2284e63
4
- data.tar.gz: d6e87586f010c8ac427bf81636ab6175f27f79c42292e044b67d64d738996a70
3
+ metadata.gz: f83116f10dff362090ef90e3becca7ecda0ed7e28d65ef2cb75607b5b841d744
4
+ data.tar.gz: 609c94af0ffeed052fb21e81eed2e339ab831fd2ae7c4171521dfb4af4fcb03a
5
5
  SHA512:
6
- metadata.gz: fbe40b963e7206bf7f6b4b5575da7c59affa0a08fefeb789d8b8318bbfce0bb8089723fb6399afb8e0765cb170ee0071e3d05f1d2010a80f348646d5ef29fc74
7
- data.tar.gz: 4b9076a421f82a2035dd8877d70a328badf7f74335e48dbda23bcc38467afb2838cc9bfd506c30db82a6fcdf6f99e90a8d90db0103c4d38f5ce78d5c02efeaf0
6
+ metadata.gz: 7d3b0255305f4b04e56c4ed0436ce6ba9832b1e48f0f75136391ab78733130652e7f967b3e92ce6dc80f6ae8c6428277e47a803c6fe8faf5f06434505cabbca2
7
+ data.tar.gz: d7b6066cc51957b4443fc8d2eed65c80a7d1510e431889f659bf9e81fd7a28a7395a0ad8505f699b80d5c34894408edbb7ca900454dfc223a06f24822ac9f0f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.67.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241210
6
+
7
+ ### v0.66.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241025
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.65.0 (2024-07-07)
4
13
 
5
14
  * Regenerated from discovery document revision 20240627
@@ -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
@@ -2781,9 +2782,10 @@ module Google
2781
2782
  class HttpConfig
2782
2783
  include Google::Apis::Core::Hashable
2783
2784
 
2784
- # SecretVersion resource of the HTTP proxy URL. The Service Account should have
2785
- # accessor permissions on this secret. The proxy URL should be in format
2786
- # 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]`.
2787
2789
  # Corresponds to the JSON property `proxySecretVersionName`
2788
2790
  # @return [String]
2789
2791
  attr_accessor :proxy_secret_version_name
@@ -3220,9 +3222,9 @@ module Google
3220
3222
  attr_accessor :api_version
3221
3223
 
3222
3224
  # Output only. Identifies whether the user has requested cancellation of the
3223
- # operation. Operations that have been cancelled successfully have Operation.
3224
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
3225
- # CANCELLED`.
3225
+ # operation. Operations that have been cancelled successfully have google.
3226
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
3227
+ # corresponding to `Code.CANCELLED`.
3226
3228
  # Corresponds to the JSON property `cancelRequested`
3227
3229
  # @return [Boolean]
3228
3230
  attr_accessor :cancel_requested
@@ -3301,6 +3303,11 @@ module Google
3301
3303
  # @return [Google::Apis::CloudbuildV1::NetworkConfig]
3302
3304
  attr_accessor :network_config
3303
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
+
3304
3311
  # Defines the configuration to be used for creating workers in the pool.
3305
3312
  # Corresponds to the JSON property `workerConfig`
3306
3313
  # @return [Google::Apis::CloudbuildV1::WorkerConfig]
@@ -3313,10 +3320,58 @@ module Google
3313
3320
  # Update properties of this object
3314
3321
  def update!(**args)
3315
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)
3316
3324
  @worker_config = args[:worker_config] if args.key?(:worker_config)
3317
3325
  end
3318
3326
  end
3319
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
+
3320
3375
  # Metadata for `ProcessAppManifestCallback` operation.
3321
3376
  class ProcessAppManifestCallbackOperationMetadata
3322
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.65.0"
19
+ GEM_VERSION = "0.67.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 = "20240627"
25
+ REVISION = "20241210"
26
26
  end
27
27
  end
28
28
  end
@@ -478,6 +478,12 @@ module Google
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
+ class PrivateServiceConnect
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
481
487
  class ProcessAppManifestCallbackOperationMetadata
482
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
489
 
@@ -1533,11 +1539,22 @@ module Google
1533
1539
  class Representation < Google::Apis::Core::JsonRepresentation
1534
1540
  property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1::NetworkConfig, decorator: Google::Apis::CloudbuildV1::NetworkConfig::Representation
1535
1541
 
1542
+ property :private_service_connect, as: 'privateServiceConnect', class: Google::Apis::CloudbuildV1::PrivateServiceConnect, decorator: Google::Apis::CloudbuildV1::PrivateServiceConnect::Representation
1543
+
1536
1544
  property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1::WorkerConfig, decorator: Google::Apis::CloudbuildV1::WorkerConfig::Representation
1537
1545
 
1538
1546
  end
1539
1547
  end
1540
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
+
1541
1558
  class ProcessAppManifestCallbackOperationMetadata
1542
1559
  # @private
1543
1560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -130,8 +130,8 @@ module Google
130
130
  # Clients can use Operations.GetOperation or other methods to check whether the
131
131
  # cancellation succeeded or whether the operation completed despite cancellation.
132
132
  # On successful cancellation, the operation is not deleted; instead, it becomes
133
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
134
- # corresponding to `Code.CANCELLED`.
133
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
134
+ # , corresponding to `Code.CANCELLED`.
135
135
  # @param [String] name
136
136
  # The name of the operation resource to be cancelled.
137
137
  # @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
@@ -1693,8 +1693,8 @@ module Google
1693
1693
  # Clients can use Operations.GetOperation or other methods to check whether the
1694
1694
  # cancellation succeeded or whether the operation completed despite cancellation.
1695
1695
  # On successful cancellation, the operation is not deleted; instead, it becomes
1696
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1697
- # corresponding to `Code.CANCELLED`.
1696
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1697
+ # , corresponding to `Code.CANCELLED`.
1698
1698
  # @param [String] name
1699
1699
  # The name of the operation resource to be cancelled.
1700
1700
  # @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
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.65.0
4
+ version: 0.67.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-07-07 00:00:00.000000000 Z
11
+ date: 2024-12-15 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.65.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.67.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.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Build API V1