google-apis-cloudbuild_v1 0.62.0 → 0.64.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: 162bef0f03d5f29d5a1dba51e53c713e44ee48f66ae60815d8b6330514f81cc6
4
- data.tar.gz: 6c17814149b0406c2e2bce7f76c160793723c8e5cf17eb2c8c8797223245b2c1
3
+ metadata.gz: cf733a18306302d14d5fadc7b9ae326452c120d28774942e175004f7afc73478
4
+ data.tar.gz: 16fb9cd97b84f893f9ca71dc908d8a69e2fde84008084357bd0f2baa169ff13f
5
5
  SHA512:
6
- metadata.gz: 560f528f3982b0f7b313878d77cf0d59d68b344465639e330ba45ed36f3824b83fcceb57927f9bf425d25629b4042b6ec01b98c3f0d82274db665fb0b58f73bf
7
- data.tar.gz: ee14031915d408165aedff3e402c4c74bb9d0a042dc6c5f382500ad90cc9fed4343bbdab6fcd13855731c6934e03b55c825aa47e307f680ef9dd927a4ff355d4
6
+ metadata.gz: 2bfb8fd3b85b1e9b96667b9ee4d85a1ce60ade051eb665e87332dd2a266a1f8e6a1d688120ee802606bf46dc3bc01047bda90984f3da9695f6f34f92bb239b9b
7
+ data.tar.gz: 40eb8e63b98f3f04cd340ca287585f82fa9f5869657c9fec013d05ee2ef8bcb808bcca6ec578b5eb6d1ddf09cf18be69538750201ba2b5720cadff7a5002d784
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.64.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240607
6
+
7
+ ### v0.63.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240519
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.62.0 (2024-05-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20240427
@@ -995,7 +995,7 @@ module Google
995
995
  # disk free"; some of the space will be used by the operating system and build
996
996
  # utilities. Also note that this is the minimum disk size that will be allocated
997
997
  # for the build -- the build may run with a larger disk than requested. At
998
- # present, the maximum disk size is 2000GB; builds that request more than the
998
+ # present, the maximum disk size is 4000GB; builds that request more than the
999
999
  # maximum are rejected with an error.
1000
1000
  # Corresponds to the JSON property `diskSizeGb`
1001
1001
  # @return [Fixnum]
@@ -1574,7 +1574,7 @@ module Google
1574
1574
  class ConnectedRepository
1575
1575
  include Google::Apis::Core::Hashable
1576
1576
 
1577
- # Directory, relative to the source root, in which to run the build.
1577
+ # Optional. Directory, relative to the source root, in which to run the build.
1578
1578
  # Corresponds to the JSON property `dir`
1579
1579
  # @return [String]
1580
1580
  attr_accessor :dir
@@ -1585,8 +1585,8 @@ module Google
1585
1585
  # @return [String]
1586
1586
  attr_accessor :repository
1587
1587
 
1588
- # The revision to fetch from the Git repository such as a branch, a tag, a
1589
- # commit SHA, or any Git ref.
1588
+ # Required. The revision to fetch from the Git repository such as a branch, a
1589
+ # tag, a commit SHA, or any Git ref.
1590
1590
  # Corresponds to the JSON property `revision`
1591
1591
  # @return [String]
1592
1592
  attr_accessor :revision
@@ -2040,6 +2040,40 @@ module Google
2040
2040
  end
2041
2041
  end
2042
2042
 
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
+
2043
2077
  # GitConfig is a configuration for git operations.
2044
2078
  class GitConfig
2045
2079
  include Google::Apis::Core::Hashable
@@ -2142,7 +2176,7 @@ module Google
2142
2176
  # @return [String]
2143
2177
  attr_accessor :create_time
2144
2178
 
2145
- # Name to display for this config.
2179
+ # Optional. Name to display for this config.
2146
2180
  # Corresponds to the JSON property `displayName`
2147
2181
  # @return [String]
2148
2182
  attr_accessor :display_name
@@ -2152,9 +2186,8 @@ module Google
2152
2186
  # @return [String]
2153
2187
  attr_accessor :host_url
2154
2188
 
2155
- # Optional. The full resource name for the GitHubEnterpriseConfig For example: "
2156
- # projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
2157
- # config_id`"
2189
+ # The full resource name for the GitHubEnterpriseConfig For example: "projects/`$
2190
+ # project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$config_id`"
2158
2191
  # Corresponds to the JSON property `name`
2159
2192
  # @return [String]
2160
2193
  attr_accessor :name
@@ -2273,8 +2306,8 @@ module Google
2273
2306
  class GitHubEventsConfig
2274
2307
  include Google::Apis::Core::Hashable
2275
2308
 
2276
- # Optional. The resource name of the github enterprise config that should be
2277
- # applied to this installation. For example: "projects/`$project_id`/locations/`$
2309
+ # The resource name of the github enterprise config that should be applied to
2310
+ # this installation. For example: "projects/`$project_id`/locations/`$
2278
2311
  # location_id`/githubEnterpriseConfigs/`$config_id`"
2279
2312
  # Corresponds to the JSON property `enterpriseConfigResourceName`
2280
2313
  # @return [String]
@@ -2668,26 +2701,26 @@ module Google
2668
2701
  class GitSource
2669
2702
  include Google::Apis::Core::Hashable
2670
2703
 
2671
- # Directory, relative to the source root, in which to run the build. This must
2672
- # be a relative path. If a step's `dir` is specified and is an absolute path,
2673
- # this value is ignored for that step's execution.
2704
+ # Optional. Directory, relative to the source root, in which to run the build.
2705
+ # This must be a relative path. If a step's `dir` is specified and is an
2706
+ # absolute path, this value is ignored for that step's execution.
2674
2707
  # Corresponds to the JSON property `dir`
2675
2708
  # @return [String]
2676
2709
  attr_accessor :dir
2677
2710
 
2678
- # The revision to fetch from the Git repository such as a branch, a tag, a
2679
- # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2680
- # from the Git repository; therefore make sure that the string you provide for `
2681
- # revision` is parsable by the command. For information on string values
2682
- # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2711
+ # Optional. The revision to fetch from the Git repository such as a branch, a
2712
+ # tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the
2713
+ # revision from the Git repository; therefore make sure that the string you
2714
+ # provide for `revision` is parsable by the command. For information on string
2715
+ # values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2683
2716
  # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2684
2717
  # docs/git-fetch.
2685
2718
  # Corresponds to the JSON property `revision`
2686
2719
  # @return [String]
2687
2720
  attr_accessor :revision
2688
2721
 
2689
- # Location of the Git repo to build. This will be used as a `git remote`, see
2690
- # https://git-scm.com/docs/git-remote.
2722
+ # Required. Location of the Git repo to build. This will be used as a `git
2723
+ # remote`, see https://git-scm.com/docs/git-remote.
2691
2724
  # Corresponds to the JSON property `url`
2692
2725
  # @return [String]
2693
2726
  attr_accessor :url
@@ -2788,6 +2821,11 @@ module Google
2788
2821
  # @return [String]
2789
2822
  attr_accessor :proxy_secret_version_name
2790
2823
 
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
+
2791
2829
  def initialize(**args)
2792
2830
  update!(**args)
2793
2831
  end
@@ -2795,6 +2833,7 @@ module Google
2795
2833
  # Update properties of this object
2796
2834
  def update!(**args)
2797
2835
  @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)
2798
2837
  end
2799
2838
  end
2800
2839
 
@@ -3371,8 +3410,8 @@ module Google
3371
3410
  # @return [String]
3372
3411
  attr_accessor :subscription
3373
3412
 
3374
- # The name of the topic from which this subscription is receiving messages.
3375
- # Format is `projects/`project`/topics/`topic``.
3413
+ # Optional. The name of the topic from which this subscription is receiving
3414
+ # messages. Format is `projects/`project`/topics/`topic``.
3376
3415
  # Corresponds to the JSON property `topic`
3377
3416
  # @return [String]
3378
3417
  attr_accessor :topic
@@ -3567,31 +3606,32 @@ module Google
3567
3606
  # @return [String]
3568
3607
  attr_accessor :commit_sha
3569
3608
 
3570
- # Directory, relative to the source root, in which to run the build. This must
3571
- # be a relative path. If a step's `dir` is specified and is an absolute path,
3572
- # this value is ignored for that step's execution.
3609
+ # Optional. Directory, relative to the source root, in which to run the build.
3610
+ # This must be a relative path. If a step's `dir` is specified and is an
3611
+ # absolute path, this value is ignored for that step's execution.
3573
3612
  # Corresponds to the JSON property `dir`
3574
3613
  # @return [String]
3575
3614
  attr_accessor :dir
3576
3615
 
3577
- # Only trigger a build if the revision regex does NOT match the revision regex.
3616
+ # Optional. Only trigger a build if the revision regex does NOT match the
3617
+ # revision regex.
3578
3618
  # Corresponds to the JSON property `invertRegex`
3579
3619
  # @return [Boolean]
3580
3620
  attr_accessor :invert_regex
3581
3621
  alias_method :invert_regex?, :invert_regex
3582
3622
 
3583
- # ID of the project that owns the Cloud Source Repository. If omitted, the
3584
- # project ID requesting the build is assumed.
3623
+ # Optional. ID of the project that owns the Cloud Source Repository. If omitted,
3624
+ # the project ID requesting the build is assumed.
3585
3625
  # Corresponds to the JSON property `projectId`
3586
3626
  # @return [String]
3587
3627
  attr_accessor :project_id
3588
3628
 
3589
- # Name of the Cloud Source Repository.
3629
+ # Required. Name of the Cloud Source Repository.
3590
3630
  # Corresponds to the JSON property `repoName`
3591
3631
  # @return [String]
3592
3632
  attr_accessor :repo_name
3593
3633
 
3594
- # Substitutions to use in a triggered build. Should only be used with
3634
+ # Optional. Substitutions to use in a triggered build. Should only be used with
3595
3635
  # RunBuildTrigger
3596
3636
  # Corresponds to the JSON property `substitutions`
3597
3637
  # @return [Hash<String,String>]
@@ -3682,7 +3722,8 @@ module Google
3682
3722
  # List of build step outputs, produced by builder images, in the order
3683
3723
  # corresponding to build step indices. [Cloud Builders](https://cloud.google.com/
3684
3724
  # cloud-build/docs/cloud-builders) can produce this output by writing to `$
3685
- # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.
3725
+ # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$
3726
+ # BUILDER_OUTPUT` variable is read-only and can't be substituted.
3686
3727
  # Corresponds to the JSON property `buildStepOutputs`
3687
3728
  # @return [Array<String>]
3688
3729
  attr_accessor :build_step_outputs
@@ -4057,14 +4098,14 @@ module Google
4057
4098
  # @return [String]
4058
4099
  attr_accessor :bucket
4059
4100
 
4060
- # Cloud Storage generation for the object. If the generation is omitted, the
4061
- # latest generation will be used.
4101
+ # Optional. Cloud Storage generation for the object. If the generation is
4102
+ # omitted, the latest generation will be used.
4062
4103
  # Corresponds to the JSON property `generation`
4063
4104
  # @return [Fixnum]
4064
4105
  attr_accessor :generation
4065
4106
 
4066
- # Cloud Storage object containing the source. This object must be a zipped (`.
4067
- # zip`) or gzipped archive file (`.tar.gz`) containing source to build.
4107
+ # Required. Cloud Storage object containing the source. This object must be a
4108
+ # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
4068
4109
  # Corresponds to the JSON property `object`
4069
4110
  # @return [String]
4070
4111
  attr_accessor :object
@@ -4093,9 +4134,9 @@ module Google
4093
4134
  class StorageSourceManifest
4094
4135
  include Google::Apis::Core::Hashable
4095
4136
 
4096
- # Cloud Storage bucket containing the source manifest (see [Bucket Name
4097
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
4098
- # ).
4137
+ # Required. Cloud Storage bucket containing the source manifest (see [Bucket
4138
+ # Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#
4139
+ # requirements)).
4099
4140
  # Corresponds to the JSON property `bucket`
4100
4141
  # @return [String]
4101
4142
  attr_accessor :bucket
@@ -4106,8 +4147,8 @@ module Google
4106
4147
  # @return [Fixnum]
4107
4148
  attr_accessor :generation
4108
4149
 
4109
- # Cloud Storage object containing the source manifest. This object must be a
4110
- # JSON file.
4150
+ # Required. Cloud Storage object containing the source manifest. This object
4151
+ # must be a JSON file.
4111
4152
  # Corresponds to the JSON property `object`
4112
4153
  # @return [String]
4113
4154
  attr_accessor :object
@@ -4467,9 +4508,9 @@ module Google
4467
4508
  # @return [Fixnum]
4468
4509
  attr_accessor :disk_size_gb
4469
4510
 
4470
- # Machine type of a worker, such as `e2-medium`. See [Worker pool config file](
4471
- # https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-
4472
- # schema). If left blank, Cloud Build will use a sensible default.
4511
+ # Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool
4512
+ # config file](https://cloud.google.com/build/docs/private-pools/worker-pool-
4513
+ # config-file-schema). If left blank, Cloud Build will use a sensible default.
4473
4514
  # Corresponds to the JSON property `machineType`
4474
4515
  # @return [String]
4475
4516
  attr_accessor :machine_type
@@ -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.62.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240427"
25
+ REVISION = "20240607"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ 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
+
283
289
  class GitConfig
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -1198,6 +1204,15 @@ module Google
1198
1204
  end
1199
1205
  end
1200
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
+
1201
1216
  class GitConfig
1202
1217
  # @private
1203
1218
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1386,6 +1401,8 @@ module Google
1386
1401
  # @private
1387
1402
  class Representation < Google::Apis::Core::JsonRepresentation
1388
1403
  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
+
1389
1406
  end
1390
1407
  end
1391
1408
 
@@ -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
- # Name of the parent project. For example: projects/`$project_number` or
450
- # projects/`$project_id`
449
+ # Required. Name of the parent project. For example: projects/`$project_number`
450
+ # or 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
@@ -600,9 +600,8 @@ module Google
600
600
 
601
601
  # Update an association between a GCP project and a GitHub Enterprise server.
602
602
  # @param [String] name
603
- # Optional. The full resource name for the GitHubEnterpriseConfig For example: "
604
- # projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
605
- # config_id`"
603
+ # The full resource name for the GitHubEnterpriseConfig For example: "projects/`$
604
+ # project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$config_id`"
606
605
  # @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
607
606
  # @param [String] update_mask
608
607
  # Update mask for the resource. If this is set, the server will only update the
@@ -1497,8 +1496,8 @@ module Google
1497
1496
 
1498
1497
  # Create an association between a GCP project and a GitHub Enterprise server.
1499
1498
  # @param [String] parent
1500
- # Name of the parent project. For example: projects/`$project_number` or
1501
- # projects/`$project_id`
1499
+ # Required. Name of the parent project. For example: projects/`$project_number`
1500
+ # or projects/`$project_id`
1502
1501
  # @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
1503
1502
  # @param [String] ghe_config_id
1504
1503
  # Optional. The ID to use for the GithubEnterpriseConfig, which will become the
@@ -1651,9 +1650,8 @@ module Google
1651
1650
 
1652
1651
  # Update an association between a GCP project and a GitHub Enterprise server.
1653
1652
  # @param [String] name
1654
- # Optional. The full resource name for the GitHubEnterpriseConfig For example: "
1655
- # projects/`$project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$
1656
- # config_id`"
1653
+ # The full resource name for the GitHubEnterpriseConfig For example: "projects/`$
1654
+ # project_id`/locations/`$location_id`/githubEnterpriseConfigs/`$config_id`"
1657
1655
  # @param [Google::Apis::CloudbuildV1::GitHubEnterpriseConfig] git_hub_enterprise_config_object
1658
1656
  # @param [String] update_mask
1659
1657
  # Update mask for the resource. If this is set, the server will only update the
@@ -2203,7 +2201,7 @@ module Google
2203
2201
  # and the value of ``location`` is determined by the endpoint accessed.
2204
2202
  # @param [Google::Apis::CloudbuildV1::WorkerPool] worker_pool_object
2205
2203
  # @param [String] update_mask
2206
- # A mask specifying which fields in `worker_pool` to update.
2204
+ # Optional. A mask specifying which fields in `worker_pool` to update.
2207
2205
  # @param [Boolean] validate_only
2208
2206
  # If set, validate the request and preview the response, but do not actually
2209
2207
  # post it.
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.62.0
4
+ version: 0.64.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-05-05 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.62.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.64.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: []