google-apis-run_v2 0.63.0 → 0.65.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: 470d3fa99f162988dfdf98434d395f96879579176557410d7bf89ceaa0ed6e0f
4
- data.tar.gz: 90d6f79fae64bc0d9e36e6d81bb703796ce5900d2e102039ece8af88ecbc910d
3
+ metadata.gz: 72940bb54b2545571a9bc906e97d5265556ec5c242ef28b1f8ee2bac75eadccb
4
+ data.tar.gz: b8d3c18531353cd4d1f3a65bb853dc82f2d34dd46239a4cbfe8b1e5add6d9232
5
5
  SHA512:
6
- metadata.gz: e65055b407743ade759fa69e46c2b034d9437e1053bca41501963225bd67ad769ea7284e893467ba74998bf909baee2c79550c4f92378217d3dfe0542c56acb8
7
- data.tar.gz: 2c6eba44a679b703c03aabcc71cdc458fecc289770815ca850997b78d95d3017b95fa3df6b8bbcbb16b92bbc37261b99693f2d2365ba49e7ba20dafd693ec18a
6
+ metadata.gz: 52e8d1ae8aaee5d7fd9c77312c6791696944edcd95c61fd8af0efa08cde381032c79e1336c3ee27560efe6aaf90ada5731bb06bc5140c0adae161afc2059841c
7
+ data.tar.gz: daa5ed984d44dd9d41fbfb398ae5f4d1978664d9279ace70933f4c5f46a49195747e846ead3250a4802997f7ee4e3d6979e846acd8d4fd9175e883ead33cd4af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.65.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240524
6
+
7
+ ### v0.64.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240510
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.63.0 (2024-05-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20240426
@@ -1109,6 +1109,13 @@ module Google
1109
1109
  attr_accessor :reconciling
1110
1110
  alias_method :reconciling?, :reconciling
1111
1111
 
1112
+ # A unique string used as a suffix for creating a new execution. The Job will
1113
+ # become ready when the execution is successfully completed. The sum of job name
1114
+ # and token length must be fewer than 63 characters.
1115
+ # Corresponds to the JSON property `runExecutionToken`
1116
+ # @return [String]
1117
+ attr_accessor :run_execution_token
1118
+
1112
1119
  # Output only. Reserved for future use.
1113
1120
  # Corresponds to the JSON property `satisfiesPzs`
1114
1121
  # @return [Boolean]
@@ -1170,6 +1177,7 @@ module Google
1170
1177
  @name = args[:name] if args.key?(:name)
1171
1178
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
1172
1179
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1180
+ @run_execution_token = args[:run_execution_token] if args.key?(:run_execution_token)
1173
1181
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1174
1182
  @start_execution_token = args[:start_execution_token] if args.key?(:start_execution_token)
1175
1183
  @template = args[:template] if args.key?(:template)
@@ -3456,7 +3464,7 @@ module Google
3456
3464
  # disk free"; some of the space will be used by the operating system and build
3457
3465
  # utilities. Also note that this is the minimum disk size that will be allocated
3458
3466
  # for the build -- the build may run with a larger disk than requested. At
3459
- # present, the maximum disk size is 2000GB; builds that request more than the
3467
+ # present, the maximum disk size is 4000GB; builds that request more than the
3460
3468
  # maximum are rejected with an error.
3461
3469
  # Corresponds to the JSON property `diskSizeGb`
3462
3470
  # @return [Fixnum]
@@ -3768,7 +3776,7 @@ module Google
3768
3776
  class GoogleDevtoolsCloudbuildV1ConnectedRepository
3769
3777
  include Google::Apis::Core::Hashable
3770
3778
 
3771
- # Directory, relative to the source root, in which to run the build.
3779
+ # Optional. Directory, relative to the source root, in which to run the build.
3772
3780
  # Corresponds to the JSON property `dir`
3773
3781
  # @return [String]
3774
3782
  attr_accessor :dir
@@ -3779,8 +3787,8 @@ module Google
3779
3787
  # @return [String]
3780
3788
  attr_accessor :repository
3781
3789
 
3782
- # The revision to fetch from the Git repository such as a branch, a tag, a
3783
- # commit SHA, or any Git ref.
3790
+ # Required. The revision to fetch from the Git repository such as a branch, a
3791
+ # tag, a commit SHA, or any Git ref.
3784
3792
  # Corresponds to the JSON property `revision`
3785
3793
  # @return [String]
3786
3794
  attr_accessor :revision
@@ -3875,6 +3883,40 @@ module Google
3875
3883
  end
3876
3884
  end
3877
3885
 
3886
+ # Represents a storage location in Cloud Storage
3887
+ class GoogleDevtoolsCloudbuildV1GcsLocation
3888
+ include Google::Apis::Core::Hashable
3889
+
3890
+ # Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
3891
+ # requirements
3892
+ # Corresponds to the JSON property `bucket`
3893
+ # @return [String]
3894
+ attr_accessor :bucket
3895
+
3896
+ # Cloud Storage generation for the object. If the generation is omitted, the
3897
+ # latest generation will be used.
3898
+ # Corresponds to the JSON property `generation`
3899
+ # @return [Fixnum]
3900
+ attr_accessor :generation
3901
+
3902
+ # Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
3903
+ # objectnames
3904
+ # Corresponds to the JSON property `object`
3905
+ # @return [String]
3906
+ attr_accessor :object
3907
+
3908
+ def initialize(**args)
3909
+ update!(**args)
3910
+ end
3911
+
3912
+ # Update properties of this object
3913
+ def update!(**args)
3914
+ @bucket = args[:bucket] if args.key?(:bucket)
3915
+ @generation = args[:generation] if args.key?(:generation)
3916
+ @object = args[:object] if args.key?(:object)
3917
+ end
3918
+ end
3919
+
3878
3920
  # GitConfig is a configuration for git operations.
3879
3921
  class GoogleDevtoolsCloudbuildV1GitConfig
3880
3922
  include Google::Apis::Core::Hashable
@@ -3898,26 +3940,26 @@ module Google
3898
3940
  class GoogleDevtoolsCloudbuildV1GitSource
3899
3941
  include Google::Apis::Core::Hashable
3900
3942
 
3901
- # Directory, relative to the source root, in which to run the build. This must
3902
- # be a relative path. If a step's `dir` is specified and is an absolute path,
3903
- # this value is ignored for that step's execution.
3943
+ # Optional. Directory, relative to the source root, in which to run the build.
3944
+ # This must be a relative path. If a step's `dir` is specified and is an
3945
+ # absolute path, this value is ignored for that step's execution.
3904
3946
  # Corresponds to the JSON property `dir`
3905
3947
  # @return [String]
3906
3948
  attr_accessor :dir
3907
3949
 
3908
- # The revision to fetch from the Git repository such as a branch, a tag, a
3909
- # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
3910
- # from the Git repository; therefore make sure that the string you provide for `
3911
- # revision` is parsable by the command. For information on string values
3912
- # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
3950
+ # Optional. The revision to fetch from the Git repository such as a branch, a
3951
+ # tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the
3952
+ # revision from the Git repository; therefore make sure that the string you
3953
+ # provide for `revision` is parsable by the command. For information on string
3954
+ # values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
3913
3955
  # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
3914
3956
  # docs/git-fetch.
3915
3957
  # Corresponds to the JSON property `revision`
3916
3958
  # @return [String]
3917
3959
  attr_accessor :revision
3918
3960
 
3919
- # Location of the Git repo to build. This will be used as a `git remote`, see
3920
- # https://git-scm.com/docs/git-remote.
3961
+ # Required. Location of the Git repo to build. This will be used as a `git
3962
+ # remote`, see https://git-scm.com/docs/git-remote.
3921
3963
  # Corresponds to the JSON property `url`
3922
3964
  # @return [String]
3923
3965
  attr_accessor :url
@@ -3970,6 +4012,11 @@ module Google
3970
4012
  # @return [String]
3971
4013
  attr_accessor :proxy_secret_version_name
3972
4014
 
4015
+ # Represents a storage location in Cloud Storage
4016
+ # Corresponds to the JSON property `proxySslCaInfo`
4017
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation]
4018
+ attr_accessor :proxy_ssl_ca_info
4019
+
3973
4020
  def initialize(**args)
3974
4021
  update!(**args)
3975
4022
  end
@@ -3977,6 +4024,7 @@ module Google
3977
4024
  # Update properties of this object
3978
4025
  def update!(**args)
3979
4026
  @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
4027
+ @proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
3980
4028
  end
3981
4029
  end
3982
4030
 
@@ -4156,31 +4204,32 @@ module Google
4156
4204
  # @return [String]
4157
4205
  attr_accessor :commit_sha
4158
4206
 
4159
- # Directory, relative to the source root, in which to run the build. This must
4160
- # be a relative path. If a step's `dir` is specified and is an absolute path,
4161
- # this value is ignored for that step's execution.
4207
+ # Optional. Directory, relative to the source root, in which to run the build.
4208
+ # This must be a relative path. If a step's `dir` is specified and is an
4209
+ # absolute path, this value is ignored for that step's execution.
4162
4210
  # Corresponds to the JSON property `dir`
4163
4211
  # @return [String]
4164
4212
  attr_accessor :dir
4165
4213
 
4166
- # Only trigger a build if the revision regex does NOT match the revision regex.
4214
+ # Optional. Only trigger a build if the revision regex does NOT match the
4215
+ # revision regex.
4167
4216
  # Corresponds to the JSON property `invertRegex`
4168
4217
  # @return [Boolean]
4169
4218
  attr_accessor :invert_regex
4170
4219
  alias_method :invert_regex?, :invert_regex
4171
4220
 
4172
- # ID of the project that owns the Cloud Source Repository. If omitted, the
4173
- # project ID requesting the build is assumed.
4221
+ # Optional. ID of the project that owns the Cloud Source Repository. If omitted,
4222
+ # the project ID requesting the build is assumed.
4174
4223
  # Corresponds to the JSON property `projectId`
4175
4224
  # @return [String]
4176
4225
  attr_accessor :project_id
4177
4226
 
4178
- # Name of the Cloud Source Repository.
4227
+ # Required. Name of the Cloud Source Repository.
4179
4228
  # Corresponds to the JSON property `repoName`
4180
4229
  # @return [String]
4181
4230
  attr_accessor :repo_name
4182
4231
 
4183
- # Substitutions to use in a triggered build. Should only be used with
4232
+ # Optional. Substitutions to use in a triggered build. Should only be used with
4184
4233
  # RunBuildTrigger
4185
4234
  # Corresponds to the JSON property `substitutions`
4186
4235
  # @return [Hash<String,String>]
@@ -4233,7 +4282,8 @@ module Google
4233
4282
  # List of build step outputs, produced by builder images, in the order
4234
4283
  # corresponding to build step indices. [Cloud Builders](https://cloud.google.com/
4235
4284
  # cloud-build/docs/cloud-builders) can produce this output by writing to `$
4236
- # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.
4285
+ # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$
4286
+ # BUILDER_OUTPUT` variable is read-only and can't be substituted.
4237
4287
  # Corresponds to the JSON property `buildStepOutputs`
4238
4288
  # @return [Array<String>]
4239
4289
  attr_accessor :build_step_outputs
@@ -4485,14 +4535,14 @@ module Google
4485
4535
  # @return [String]
4486
4536
  attr_accessor :bucket
4487
4537
 
4488
- # Cloud Storage generation for the object. If the generation is omitted, the
4489
- # latest generation will be used.
4538
+ # Optional. Cloud Storage generation for the object. If the generation is
4539
+ # omitted, the latest generation will be used.
4490
4540
  # Corresponds to the JSON property `generation`
4491
4541
  # @return [Fixnum]
4492
4542
  attr_accessor :generation
4493
4543
 
4494
- # Cloud Storage object containing the source. This object must be a zipped (`.
4495
- # zip`) or gzipped archive file (`.tar.gz`) containing source to build.
4544
+ # Required. Cloud Storage object containing the source. This object must be a
4545
+ # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
4496
4546
  # Corresponds to the JSON property `object`
4497
4547
  # @return [String]
4498
4548
  attr_accessor :object
@@ -4521,9 +4571,9 @@ module Google
4521
4571
  class GoogleDevtoolsCloudbuildV1StorageSourceManifest
4522
4572
  include Google::Apis::Core::Hashable
4523
4573
 
4524
- # Cloud Storage bucket containing the source manifest (see [Bucket Name
4525
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
4526
- # ).
4574
+ # Required. Cloud Storage bucket containing the source manifest (see [Bucket
4575
+ # Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#
4576
+ # requirements)).
4527
4577
  # Corresponds to the JSON property `bucket`
4528
4578
  # @return [String]
4529
4579
  attr_accessor :bucket
@@ -4534,8 +4584,8 @@ module Google
4534
4584
  # @return [Fixnum]
4535
4585
  attr_accessor :generation
4536
4586
 
4537
- # Cloud Storage object containing the source manifest. This object must be a
4538
- # JSON file.
4587
+ # Required. Cloud Storage object containing the source manifest. This object
4588
+ # must be a JSON file.
4539
4589
  # Corresponds to the JSON property `object`
4540
4590
  # @return [String]
4541
4591
  attr_accessor :object
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.63.0"
19
+ GEM_VERSION = "0.65.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 = "20240426"
25
+ REVISION = "20240524"
26
26
  end
27
27
  end
28
28
  end
@@ -424,6 +424,12 @@ module Google
424
424
  include Google::Apis::Core::JsonObjectSupport
425
425
  end
426
426
 
427
+ class GoogleDevtoolsCloudbuildV1GcsLocation
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
427
433
  class GoogleDevtoolsCloudbuildV1GitConfig
428
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
435
 
@@ -915,6 +921,7 @@ module Google
915
921
  property :name, as: 'name'
916
922
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
917
923
  property :reconciling, as: 'reconciling'
924
+ property :run_execution_token, as: 'runExecutionToken'
918
925
  property :satisfies_pzs, as: 'satisfiesPzs'
919
926
  property :start_execution_token, as: 'startExecutionToken'
920
927
  property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate::Representation
@@ -1548,6 +1555,15 @@ module Google
1548
1555
  end
1549
1556
  end
1550
1557
 
1558
+ class GoogleDevtoolsCloudbuildV1GcsLocation
1559
+ # @private
1560
+ class Representation < Google::Apis::Core::JsonRepresentation
1561
+ property :bucket, as: 'bucket'
1562
+ property :generation, :numeric_string => true, as: 'generation'
1563
+ property :object, as: 'object'
1564
+ end
1565
+ end
1566
+
1551
1567
  class GoogleDevtoolsCloudbuildV1GitConfig
1552
1568
  # @private
1553
1569
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1577,6 +1593,8 @@ module Google
1577
1593
  # @private
1578
1594
  class Representation < Google::Apis::Core::JsonRepresentation
1579
1595
  property :proxy_secret_version_name, as: 'proxySecretVersionName'
1596
+ property :proxy_ssl_ca_info, as: 'proxySslCaInfo', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation::Representation
1597
+
1580
1598
  end
1581
1599
  end
1582
1600
 
@@ -316,7 +316,7 @@ module Google
316
316
  execute_or_queue_command(command, &block)
317
317
  end
318
318
 
319
- # Lists Jobs.
319
+ # Lists Jobs. Results are sorted by creation time, descending.
320
320
  # @param [String] parent
321
321
  # Required. The location and project to list resources on. Format: projects/`
322
322
  # project`/locations/`location`, where `project` can be project id or number.
@@ -650,7 +650,7 @@ module Google
650
650
  execute_or_queue_command(command, &block)
651
651
  end
652
652
 
653
- # Lists Executions from a Job.
653
+ # Lists Executions from a Job. Results are sorted by creation time, descending.
654
654
  # @param [String] parent
655
655
  # Required. The Execution from which the Executions should be listed. To list
656
656
  # all Executions across Jobs, use "-" instead of Job name. Format: `projects/`
@@ -1077,7 +1077,7 @@ module Google
1077
1077
  execute_or_queue_command(command, &block)
1078
1078
  end
1079
1079
 
1080
- # Lists Services.
1080
+ # Lists Services. Results are sorted by creation time, descending.
1081
1081
  # @param [String] parent
1082
1082
  # Required. The location and project to list resources on. Location must be a
1083
1083
  # valid Google Cloud region, and cannot be the "-" wildcard. Format: projects/`
@@ -1346,7 +1346,8 @@ module Google
1346
1346
  execute_or_queue_command(command, &block)
1347
1347
  end
1348
1348
 
1349
- # Lists Revisions from a given Service, or from a given location.
1349
+ # Lists Revisions from a given Service, or from a given location. Results are
1350
+ # sorted by creation time, descending.
1350
1351
  # @param [String] parent
1351
1352
  # Required. The Service from which the Revisions should be listed. To list all
1352
1353
  # Revisions across Services, use "-" instead of Service name. Format: projects/`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.0
4
+ version: 0.65.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-02 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-run_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.63.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.65.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
63
63
  post_install_message:
64
64
  rdoc_options: []