google-apis-cloudbuild_v1 0.60.0 → 0.62.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: cab8858792a421d75ac36dad83f39869523434c99333a4f92b12ec1b4d446238
4
- data.tar.gz: d5950a8385c28d5fe635388957dbbb2830605abda6a1d3c3c2cf93169c401bd8
3
+ metadata.gz: 162bef0f03d5f29d5a1dba51e53c713e44ee48f66ae60815d8b6330514f81cc6
4
+ data.tar.gz: 6c17814149b0406c2e2bce7f76c160793723c8e5cf17eb2c8c8797223245b2c1
5
5
  SHA512:
6
- metadata.gz: 2a327156fc74ed122f02ce5711076a97fd30bbf567e5ed84ff2958f0253d79d3e6f5cc552fd930e9de978c7e0fee9d0e933c76f07c62cf0842be8aa6c08a1c8f
7
- data.tar.gz: ae1805c39c2a9381e4b7fe4b6c40c1f4ea34c60e8d9c04b68fae7b8a01abdef27360de4cc62f656233c80c33baefe6d2759e4d0b98ab8728cc3d5fc7a98f5bbe
6
+ metadata.gz: 560f528f3982b0f7b313878d77cf0d59d68b344465639e330ba45ed36f3824b83fcceb57927f9bf425d25629b4042b6ec01b98c3f0d82274db665fb0b58f73bf
7
+ data.tar.gz: ee14031915d408165aedff3e402c4c74bb9d0a042dc6c5f382500ad90cc9fed4343bbdab6fcd13855731c6934e03b55c825aa47e307f680ef9dd927a4ff355d4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.62.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240427
6
+
7
+ ### v0.61.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240305
10
+
3
11
  ### v0.60.0 (2024-03-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20240223
@@ -735,6 +735,11 @@ module Google
735
735
  # @return [String]
736
736
  attr_accessor :finish_time
737
737
 
738
+ # GitConfig is a configuration for git operations.
739
+ # Corresponds to the JSON property `gitConfig`
740
+ # @return [Google::Apis::CloudbuildV1::GitConfig]
741
+ attr_accessor :git_config
742
+
738
743
  # Output only. Unique identifier of the build.
739
744
  # Corresponds to the JSON property `id`
740
745
  # @return [String]
@@ -882,6 +887,7 @@ module Google
882
887
  @create_time = args[:create_time] if args.key?(:create_time)
883
888
  @failure_info = args[:failure_info] if args.key?(:failure_info)
884
889
  @finish_time = args[:finish_time] if args.key?(:finish_time)
890
+ @git_config = args[:git_config] if args.key?(:git_config)
885
891
  @id = args[:id] if args.key?(:id)
886
892
  @images = args[:images] if args.key?(:images)
887
893
  @log_url = args[:log_url] if args.key?(:log_url)
@@ -1940,6 +1946,39 @@ module Google
1940
1946
  end
1941
1947
  end
1942
1948
 
1949
+ # This config defines the location of a source through Developer Connect.
1950
+ class DeveloperConnectConfig
1951
+ include Google::Apis::Core::Hashable
1952
+
1953
+ # Required. Directory, relative to the source root, in which to run the build.
1954
+ # Corresponds to the JSON property `dir`
1955
+ # @return [String]
1956
+ attr_accessor :dir
1957
+
1958
+ # Required. The Developer Connect Git repository link, formatted as `projects/*/
1959
+ # locations/*/connections/*/gitRepositoryLink/*`.
1960
+ # Corresponds to the JSON property `gitRepositoryLink`
1961
+ # @return [String]
1962
+ attr_accessor :git_repository_link
1963
+
1964
+ # Required. The revision to fetch from the Git repository such as a branch, a
1965
+ # tag, a commit SHA, or any Git ref.
1966
+ # Corresponds to the JSON property `revision`
1967
+ # @return [String]
1968
+ attr_accessor :revision
1969
+
1970
+ def initialize(**args)
1971
+ update!(**args)
1972
+ end
1973
+
1974
+ # Update properties of this object
1975
+ def update!(**args)
1976
+ @dir = args[:dir] if args.key?(:dir)
1977
+ @git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
1978
+ @revision = args[:revision] if args.key?(:revision)
1979
+ end
1980
+ end
1981
+
1943
1982
  # A generic empty message that you can re-use to avoid defining duplicated empty
1944
1983
  # messages in your APIs. A typical example is to use it as the request or the
1945
1984
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -2001,6 +2040,25 @@ module Google
2001
2040
  end
2002
2041
  end
2003
2042
 
2043
+ # GitConfig is a configuration for git operations.
2044
+ class GitConfig
2045
+ include Google::Apis::Core::Hashable
2046
+
2047
+ # HttpConfig is a configuration for HTTP related git operations.
2048
+ # Corresponds to the JSON property `http`
2049
+ # @return [Google::Apis::CloudbuildV1::HttpConfig]
2050
+ attr_accessor :http
2051
+
2052
+ def initialize(**args)
2053
+ update!(**args)
2054
+ end
2055
+
2056
+ # Update properties of this object
2057
+ def update!(**args)
2058
+ @http = args[:http] if args.key?(:http)
2059
+ end
2060
+ end
2061
+
2004
2062
  # GitFileSource describes a file within a (possibly remote) code repository.
2005
2063
  class GitFileSource
2006
2064
  include Google::Apis::Core::Hashable
@@ -2720,6 +2778,26 @@ module Google
2720
2778
  end
2721
2779
  end
2722
2780
 
2781
+ # HttpConfig is a configuration for HTTP related git operations.
2782
+ class HttpConfig
2783
+ include Google::Apis::Core::Hashable
2784
+
2785
+ # SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
2786
+ # format protocol://@]proxyhost[:port].
2787
+ # Corresponds to the JSON property `proxySecretVersionName`
2788
+ # @return [String]
2789
+ attr_accessor :proxy_secret_version_name
2790
+
2791
+ def initialize(**args)
2792
+ update!(**args)
2793
+ end
2794
+
2795
+ # Update properties of this object
2796
+ def update!(**args)
2797
+ @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
2798
+ end
2799
+ end
2800
+
2723
2801
  # Pairs a set of secret environment variables mapped to encrypted values with
2724
2802
  # the Cloud KMS key to use to decrypt the value.
2725
2803
  class InlineSecret
@@ -3223,11 +3301,6 @@ module Google
3223
3301
  # @return [Google::Apis::CloudbuildV1::NetworkConfig]
3224
3302
  attr_accessor :network_config
3225
3303
 
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
-
3231
3304
  # Defines the configuration to be used for creating workers in the pool.
3232
3305
  # Corresponds to the JSON property `workerConfig`
3233
3306
  # @return [Google::Apis::CloudbuildV1::WorkerConfig]
@@ -3240,58 +3313,10 @@ module Google
3240
3313
  # Update properties of this object
3241
3314
  def update!(**args)
3242
3315
  @network_config = args[:network_config] if args.key?(:network_config)
3243
- @private_service_connect = args[:private_service_connect] if args.key?(:private_service_connect)
3244
3316
  @worker_config = args[:worker_config] if args.key?(:worker_config)
3245
3317
  end
3246
3318
  end
3247
3319
 
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
-
3295
3320
  # Metadata for `ProcessAppManifestCallback` operation.
3296
3321
  class ProcessAppManifestCallbackOperationMetadata
3297
3322
  include Google::Apis::Core::Hashable
@@ -3883,6 +3908,11 @@ module Google
3883
3908
  # @return [Google::Apis::CloudbuildV1::ConnectedRepository]
3884
3909
  attr_accessor :connected_repository
3885
3910
 
3911
+ # This config defines the location of a source through Developer Connect.
3912
+ # Corresponds to the JSON property `developerConnectConfig`
3913
+ # @return [Google::Apis::CloudbuildV1::DeveloperConnectConfig]
3914
+ attr_accessor :developer_connect_config
3915
+
3886
3916
  # Location of the source in any accessible Git repository.
3887
3917
  # Corresponds to the JSON property `gitSource`
3888
3918
  # @return [Google::Apis::CloudbuildV1::GitSource]
@@ -3912,6 +3942,7 @@ module Google
3912
3942
  # Update properties of this object
3913
3943
  def update!(**args)
3914
3944
  @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
3945
+ @developer_connect_config = args[:developer_connect_config] if args.key?(:developer_connect_config)
3915
3946
  @git_source = args[:git_source] if args.key?(:git_source)
3916
3947
  @repo_source = args[:repo_source] if args.key?(:repo_source)
3917
3948
  @storage_source = args[:storage_source] if args.key?(:storage_source)
@@ -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.60.0"
19
+ GEM_VERSION = "0.62.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 = "20240223"
25
+ REVISION = "20240427"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,12 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class DeveloperConnectConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
259
265
  class Empty
260
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
267
 
@@ -274,6 +280,12 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class GitConfig
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class GitFileSource
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -364,6 +376,12 @@ module Google
364
376
  include Google::Apis::Core::JsonObjectSupport
365
377
  end
366
378
 
379
+ class HttpConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
367
385
  class InlineSecret
368
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
387
 
@@ -460,12 +478,6 @@ module Google
460
478
  include Google::Apis::Core::JsonObjectSupport
461
479
  end
462
480
 
463
- class PrivateServiceConnect
464
- class Representation < Google::Apis::Core::JsonRepresentation; end
465
-
466
- include Google::Apis::Core::JsonObjectSupport
467
- end
468
-
469
481
  class ProcessAppManifestCallbackOperationMetadata
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -875,6 +887,8 @@ module Google
875
887
  property :failure_info, as: 'failureInfo', class: Google::Apis::CloudbuildV1::FailureInfo, decorator: Google::Apis::CloudbuildV1::FailureInfo::Representation
876
888
 
877
889
  property :finish_time, as: 'finishTime'
890
+ property :git_config, as: 'gitConfig', class: Google::Apis::CloudbuildV1::GitConfig, decorator: Google::Apis::CloudbuildV1::GitConfig::Representation
891
+
878
892
  property :id, as: 'id'
879
893
  collection :images, as: 'images'
880
894
  property :log_url, as: 'logUrl'
@@ -1153,6 +1167,15 @@ module Google
1153
1167
  end
1154
1168
  end
1155
1169
 
1170
+ class DeveloperConnectConfig
1171
+ # @private
1172
+ class Representation < Google::Apis::Core::JsonRepresentation
1173
+ property :dir, as: 'dir'
1174
+ property :git_repository_link, as: 'gitRepositoryLink'
1175
+ property :revision, as: 'revision'
1176
+ end
1177
+ end
1178
+
1156
1179
  class Empty
1157
1180
  # @private
1158
1181
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1175,6 +1198,14 @@ module Google
1175
1198
  end
1176
1199
  end
1177
1200
 
1201
+ class GitConfig
1202
+ # @private
1203
+ class Representation < Google::Apis::Core::JsonRepresentation
1204
+ property :http, as: 'http', class: Google::Apis::CloudbuildV1::HttpConfig, decorator: Google::Apis::CloudbuildV1::HttpConfig::Representation
1205
+
1206
+ end
1207
+ end
1208
+
1178
1209
  class GitFileSource
1179
1210
  # @private
1180
1211
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1351,6 +1382,13 @@ module Google
1351
1382
  end
1352
1383
  end
1353
1384
 
1385
+ class HttpConfig
1386
+ # @private
1387
+ class Representation < Google::Apis::Core::JsonRepresentation
1388
+ property :proxy_secret_version_name, as: 'proxySecretVersionName'
1389
+ end
1390
+ end
1391
+
1354
1392
  class InlineSecret
1355
1393
  # @private
1356
1394
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1495,22 +1533,11 @@ module Google
1495
1533
  class Representation < Google::Apis::Core::JsonRepresentation
1496
1534
  property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1::NetworkConfig, decorator: Google::Apis::CloudbuildV1::NetworkConfig::Representation
1497
1535
 
1498
- property :private_service_connect, as: 'privateServiceConnect', class: Google::Apis::CloudbuildV1::PrivateServiceConnect, decorator: Google::Apis::CloudbuildV1::PrivateServiceConnect::Representation
1499
-
1500
1536
  property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1::WorkerConfig, decorator: Google::Apis::CloudbuildV1::WorkerConfig::Representation
1501
1537
 
1502
1538
  end
1503
1539
  end
1504
1540
 
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
-
1514
1541
  class ProcessAppManifestCallbackOperationMetadata
1515
1542
  # @private
1516
1543
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1681,6 +1708,8 @@ module Google
1681
1708
  class Representation < Google::Apis::Core::JsonRepresentation
1682
1709
  property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::ConnectedRepository, decorator: Google::Apis::CloudbuildV1::ConnectedRepository::Representation
1683
1710
 
1711
+ property :developer_connect_config, as: 'developerConnectConfig', class: Google::Apis::CloudbuildV1::DeveloperConnectConfig, decorator: Google::Apis::CloudbuildV1::DeveloperConnectConfig::Representation
1712
+
1684
1713
  property :git_source, as: 'gitSource', class: Google::Apis::CloudbuildV1::GitSource, decorator: Google::Apis::CloudbuildV1::GitSource::Representation
1685
1714
 
1686
1715
  property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
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.60.0
4
+ version: 0.62.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-03-03 00:00:00.000000000 Z
11
+ date: 2024-05-05 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.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.62.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: []