google-apis-run_v1 0.75.0 → 0.77.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: a14be47728b1c47d561b733f082abfa8e7d0eb41db96055e70a2edcd526a88de
4
- data.tar.gz: d879fd1ebee7b9c543fe8a106f5b9c2f00c35abe87120764b8e4f811f5bd4761
3
+ metadata.gz: 490bb1c2ae86ac84633014e532eb2281e8512ddb627ca19170934aebba510b6b
4
+ data.tar.gz: 65dfad17a90ec803c8c10ac5e1d02a7768797001dd12304b9a762278f948d112
5
5
  SHA512:
6
- metadata.gz: c6c7e90ac0c954c80382001132a147830edaac1117997c733f8749261b970a3fbd83c4677f31555776a14a3cd190d9b0915be35fa4e2a7462e275d133c0fdde8
7
- data.tar.gz: 4f5add552c9d1d11a693221e7c148f4f016d23bcca1bd8a25bb4744c06e4c4bef8a7a0c23e74e948e30b0a3f8552f4450a2329d2f5818e6e43de78cbe6cfa94e
6
+ metadata.gz: d94b2cab47fbf7a3a42c9c929e813c3165ec5726e3a2dbeb62fa2e7cf88004583c8075b1b0b26857a689eafda36cb706ac683bfe03f36debab71c20d3a330617
7
+ data.tar.gz: a9302b2c86dd303fe689f52852f32b30538f57e1dae9c05339a73ddc661d42ec4b5df074efc9ab0842d6ac22874f6f49b6812bdf3759e2a463a968f53ae6719a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.77.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240524
6
+
7
+ ### v0.76.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240510
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.75.0 (2024-05-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20240426
@@ -1909,7 +1909,7 @@ module Google
1909
1909
  # disk free"; some of the space will be used by the operating system and build
1910
1910
  # utilities. Also note that this is the minimum disk size that will be allocated
1911
1911
  # for the build -- the build may run with a larger disk than requested. At
1912
- # present, the maximum disk size is 2000GB; builds that request more than the
1912
+ # present, the maximum disk size is 4000GB; builds that request more than the
1913
1913
  # maximum are rejected with an error.
1914
1914
  # Corresponds to the JSON property `diskSizeGb`
1915
1915
  # @return [Fixnum]
@@ -2221,7 +2221,7 @@ module Google
2221
2221
  class GoogleDevtoolsCloudbuildV1ConnectedRepository
2222
2222
  include Google::Apis::Core::Hashable
2223
2223
 
2224
- # Directory, relative to the source root, in which to run the build.
2224
+ # Optional. Directory, relative to the source root, in which to run the build.
2225
2225
  # Corresponds to the JSON property `dir`
2226
2226
  # @return [String]
2227
2227
  attr_accessor :dir
@@ -2232,8 +2232,8 @@ module Google
2232
2232
  # @return [String]
2233
2233
  attr_accessor :repository
2234
2234
 
2235
- # The revision to fetch from the Git repository such as a branch, a tag, a
2236
- # commit SHA, or any Git ref.
2235
+ # Required. The revision to fetch from the Git repository such as a branch, a
2236
+ # tag, a commit SHA, or any Git ref.
2237
2237
  # Corresponds to the JSON property `revision`
2238
2238
  # @return [String]
2239
2239
  attr_accessor :revision
@@ -2328,6 +2328,40 @@ module Google
2328
2328
  end
2329
2329
  end
2330
2330
 
2331
+ # Represents a storage location in Cloud Storage
2332
+ class GoogleDevtoolsCloudbuildV1GcsLocation
2333
+ include Google::Apis::Core::Hashable
2334
+
2335
+ # Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
2336
+ # requirements
2337
+ # Corresponds to the JSON property `bucket`
2338
+ # @return [String]
2339
+ attr_accessor :bucket
2340
+
2341
+ # Cloud Storage generation for the object. If the generation is omitted, the
2342
+ # latest generation will be used.
2343
+ # Corresponds to the JSON property `generation`
2344
+ # @return [Fixnum]
2345
+ attr_accessor :generation
2346
+
2347
+ # Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
2348
+ # objectnames
2349
+ # Corresponds to the JSON property `object`
2350
+ # @return [String]
2351
+ attr_accessor :object
2352
+
2353
+ def initialize(**args)
2354
+ update!(**args)
2355
+ end
2356
+
2357
+ # Update properties of this object
2358
+ def update!(**args)
2359
+ @bucket = args[:bucket] if args.key?(:bucket)
2360
+ @generation = args[:generation] if args.key?(:generation)
2361
+ @object = args[:object] if args.key?(:object)
2362
+ end
2363
+ end
2364
+
2331
2365
  # GitConfig is a configuration for git operations.
2332
2366
  class GoogleDevtoolsCloudbuildV1GitConfig
2333
2367
  include Google::Apis::Core::Hashable
@@ -2351,26 +2385,26 @@ module Google
2351
2385
  class GoogleDevtoolsCloudbuildV1GitSource
2352
2386
  include Google::Apis::Core::Hashable
2353
2387
 
2354
- # Directory, relative to the source root, in which to run the build. This must
2355
- # be a relative path. If a step's `dir` is specified and is an absolute path,
2356
- # this value is ignored for that step's execution.
2388
+ # Optional. Directory, relative to the source root, in which to run the build.
2389
+ # This must be a relative path. If a step's `dir` is specified and is an
2390
+ # absolute path, this value is ignored for that step's execution.
2357
2391
  # Corresponds to the JSON property `dir`
2358
2392
  # @return [String]
2359
2393
  attr_accessor :dir
2360
2394
 
2361
- # The revision to fetch from the Git repository such as a branch, a tag, a
2362
- # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2363
- # from the Git repository; therefore make sure that the string you provide for `
2364
- # revision` is parsable by the command. For information on string values
2365
- # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2395
+ # Optional. The revision to fetch from the Git repository such as a branch, a
2396
+ # tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the
2397
+ # revision from the Git repository; therefore make sure that the string you
2398
+ # provide for `revision` is parsable by the command. For information on string
2399
+ # values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2366
2400
  # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2367
2401
  # docs/git-fetch.
2368
2402
  # Corresponds to the JSON property `revision`
2369
2403
  # @return [String]
2370
2404
  attr_accessor :revision
2371
2405
 
2372
- # Location of the Git repo to build. This will be used as a `git remote`, see
2373
- # https://git-scm.com/docs/git-remote.
2406
+ # Required. Location of the Git repo to build. This will be used as a `git
2407
+ # remote`, see https://git-scm.com/docs/git-remote.
2374
2408
  # Corresponds to the JSON property `url`
2375
2409
  # @return [String]
2376
2410
  attr_accessor :url
@@ -2423,6 +2457,11 @@ module Google
2423
2457
  # @return [String]
2424
2458
  attr_accessor :proxy_secret_version_name
2425
2459
 
2460
+ # Represents a storage location in Cloud Storage
2461
+ # Corresponds to the JSON property `proxySslCaInfo`
2462
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GcsLocation]
2463
+ attr_accessor :proxy_ssl_ca_info
2464
+
2426
2465
  def initialize(**args)
2427
2466
  update!(**args)
2428
2467
  end
@@ -2430,6 +2469,7 @@ module Google
2430
2469
  # Update properties of this object
2431
2470
  def update!(**args)
2432
2471
  @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
2472
+ @proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
2433
2473
  end
2434
2474
  end
2435
2475
 
@@ -2609,31 +2649,32 @@ module Google
2609
2649
  # @return [String]
2610
2650
  attr_accessor :commit_sha
2611
2651
 
2612
- # Directory, relative to the source root, in which to run the build. This must
2613
- # be a relative path. If a step's `dir` is specified and is an absolute path,
2614
- # this value is ignored for that step's execution.
2652
+ # Optional. Directory, relative to the source root, in which to run the build.
2653
+ # This must be a relative path. If a step's `dir` is specified and is an
2654
+ # absolute path, this value is ignored for that step's execution.
2615
2655
  # Corresponds to the JSON property `dir`
2616
2656
  # @return [String]
2617
2657
  attr_accessor :dir
2618
2658
 
2619
- # Only trigger a build if the revision regex does NOT match the revision regex.
2659
+ # Optional. Only trigger a build if the revision regex does NOT match the
2660
+ # revision regex.
2620
2661
  # Corresponds to the JSON property `invertRegex`
2621
2662
  # @return [Boolean]
2622
2663
  attr_accessor :invert_regex
2623
2664
  alias_method :invert_regex?, :invert_regex
2624
2665
 
2625
- # ID of the project that owns the Cloud Source Repository. If omitted, the
2626
- # project ID requesting the build is assumed.
2666
+ # Optional. ID of the project that owns the Cloud Source Repository. If omitted,
2667
+ # the project ID requesting the build is assumed.
2627
2668
  # Corresponds to the JSON property `projectId`
2628
2669
  # @return [String]
2629
2670
  attr_accessor :project_id
2630
2671
 
2631
- # Name of the Cloud Source Repository.
2672
+ # Required. Name of the Cloud Source Repository.
2632
2673
  # Corresponds to the JSON property `repoName`
2633
2674
  # @return [String]
2634
2675
  attr_accessor :repo_name
2635
2676
 
2636
- # Substitutions to use in a triggered build. Should only be used with
2677
+ # Optional. Substitutions to use in a triggered build. Should only be used with
2637
2678
  # RunBuildTrigger
2638
2679
  # Corresponds to the JSON property `substitutions`
2639
2680
  # @return [Hash<String,String>]
@@ -2686,7 +2727,8 @@ module Google
2686
2727
  # List of build step outputs, produced by builder images, in the order
2687
2728
  # corresponding to build step indices. [Cloud Builders](https://cloud.google.com/
2688
2729
  # cloud-build/docs/cloud-builders) can produce this output by writing to `$
2689
- # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.
2730
+ # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$
2731
+ # BUILDER_OUTPUT` variable is read-only and can't be substituted.
2690
2732
  # Corresponds to the JSON property `buildStepOutputs`
2691
2733
  # @return [Array<String>]
2692
2734
  attr_accessor :build_step_outputs
@@ -2938,14 +2980,14 @@ module Google
2938
2980
  # @return [String]
2939
2981
  attr_accessor :bucket
2940
2982
 
2941
- # Cloud Storage generation for the object. If the generation is omitted, the
2942
- # latest generation will be used.
2983
+ # Optional. Cloud Storage generation for the object. If the generation is
2984
+ # omitted, the latest generation will be used.
2943
2985
  # Corresponds to the JSON property `generation`
2944
2986
  # @return [Fixnum]
2945
2987
  attr_accessor :generation
2946
2988
 
2947
- # Cloud Storage object containing the source. This object must be a zipped (`.
2948
- # zip`) or gzipped archive file (`.tar.gz`) containing source to build.
2989
+ # Required. Cloud Storage object containing the source. This object must be a
2990
+ # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
2949
2991
  # Corresponds to the JSON property `object`
2950
2992
  # @return [String]
2951
2993
  attr_accessor :object
@@ -2974,9 +3016,9 @@ module Google
2974
3016
  class GoogleDevtoolsCloudbuildV1StorageSourceManifest
2975
3017
  include Google::Apis::Core::Hashable
2976
3018
 
2977
- # Cloud Storage bucket containing the source manifest (see [Bucket Name
2978
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
2979
- # ).
3019
+ # Required. Cloud Storage bucket containing the source manifest (see [Bucket
3020
+ # Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#
3021
+ # requirements)).
2980
3022
  # Corresponds to the JSON property `bucket`
2981
3023
  # @return [String]
2982
3024
  attr_accessor :bucket
@@ -2987,8 +3029,8 @@ module Google
2987
3029
  # @return [Fixnum]
2988
3030
  attr_accessor :generation
2989
3031
 
2990
- # Cloud Storage object containing the source manifest. This object must be a
2991
- # JSON file.
3032
+ # Required. Cloud Storage object containing the source manifest. This object
3033
+ # must be a JSON file.
2992
3034
  # Corresponds to the JSON property `object`
2993
3035
  # @return [String]
2994
3036
  attr_accessor :object
@@ -4651,6 +4693,11 @@ module Google
4651
4693
  # @return [Hash<String,String>]
4652
4694
  attr_accessor :node_selector
4653
4695
 
4696
+ # Runtime. Leave unset for default.
4697
+ # Corresponds to the JSON property `runtimeClassName`
4698
+ # @return [String]
4699
+ attr_accessor :runtime_class_name
4700
+
4654
4701
  # Email address of the IAM service account associated with the revision of the
4655
4702
  # service. The service account represents the identity of the running revision,
4656
4703
  # and determines what permissions the revision has. If not provided, the
@@ -4682,6 +4729,7 @@ module Google
4682
4729
  @enable_service_links = args[:enable_service_links] if args.key?(:enable_service_links)
4683
4730
  @image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets)
4684
4731
  @node_selector = args[:node_selector] if args.key?(:node_selector)
4732
+ @runtime_class_name = args[:runtime_class_name] if args.key?(:runtime_class_name)
4685
4733
  @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
4686
4734
  @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
4687
4735
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.75.0"
19
+ GEM_VERSION = "0.77.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
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class GoogleDevtoolsCloudbuildV1GcsLocation
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class GoogleDevtoolsCloudbuildV1GitConfig
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -1371,6 +1377,15 @@ module Google
1371
1377
  end
1372
1378
  end
1373
1379
 
1380
+ class GoogleDevtoolsCloudbuildV1GcsLocation
1381
+ # @private
1382
+ class Representation < Google::Apis::Core::JsonRepresentation
1383
+ property :bucket, as: 'bucket'
1384
+ property :generation, :numeric_string => true, as: 'generation'
1385
+ property :object, as: 'object'
1386
+ end
1387
+ end
1388
+
1374
1389
  class GoogleDevtoolsCloudbuildV1GitConfig
1375
1390
  # @private
1376
1391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1400,6 +1415,8 @@ module Google
1400
1415
  # @private
1401
1416
  class Representation < Google::Apis::Core::JsonRepresentation
1402
1417
  property :proxy_secret_version_name, as: 'proxySecretVersionName'
1418
+ property :proxy_ssl_ca_info, as: 'proxySslCaInfo', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GcsLocation, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GcsLocation::Representation
1419
+
1403
1420
  end
1404
1421
  end
1405
1422
 
@@ -1993,6 +2010,7 @@ module Google
1993
2010
  collection :image_pull_secrets, as: 'imagePullSecrets', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
1994
2011
 
1995
2012
  hash :node_selector, as: 'nodeSelector'
2013
+ property :runtime_class_name, as: 'runtimeClassName'
1996
2014
  property :service_account_name, as: 'serviceAccountName'
1997
2015
  property :timeout_seconds, as: 'timeoutSeconds'
1998
2016
  collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
@@ -121,7 +121,7 @@ module Google
121
121
  execute_or_queue_command(command, &block)
122
122
  end
123
123
 
124
- # List configurations.
124
+ # List configurations. Results are sorted by creation time, descending.
125
125
  # @param [String] parent
126
126
  # The namespace from which the configurations should be listed. For Cloud Run,
127
127
  # replace `namespace_id` with the project ID or number.
@@ -459,7 +459,7 @@ module Google
459
459
  execute_or_queue_command(command, &block)
460
460
  end
461
461
 
462
- # List executions.
462
+ # List executions. Results are sorted by creation time, descending.
463
463
  # @param [String] parent
464
464
  # Required. The namespace from which the executions should be listed. Replace `
465
465
  # namespace` with the project ID or number. It takes the form namespaces/`
@@ -623,7 +623,7 @@ module Google
623
623
  execute_or_queue_command(command, &block)
624
624
  end
625
625
 
626
- # List jobs.
626
+ # List jobs. Results are sorted by creation time, descending.
627
627
  # @param [String] parent
628
628
  # Required. The namespace from which the jobs should be listed. Replace `
629
629
  # namespace` with the project ID or number. It takes the form namespaces/`
@@ -828,7 +828,7 @@ module Google
828
828
  execute_or_queue_command(command, &block)
829
829
  end
830
830
 
831
- # List revisions.
831
+ # List revisions. Results are sorted by creation time, descending.
832
832
  # @param [String] parent
833
833
  # The namespace from which the revisions should be listed. For Cloud Run (fully
834
834
  # managed), replace `namespace` with the project ID or number. It takes the form
@@ -918,7 +918,7 @@ module Google
918
918
  execute_or_queue_command(command, &block)
919
919
  end
920
920
 
921
- # List routes.
921
+ # List routes. Results are sorted by creation time, descending.
922
922
  # @param [String] parent
923
923
  # The namespace from which the routes should be listed. For Cloud Run (fully
924
924
  # managed), replace `namespace` with the project ID or number. It takes the form
@@ -1099,7 +1099,8 @@ module Google
1099
1099
  execute_or_queue_command(command, &block)
1100
1100
  end
1101
1101
 
1102
- # Lists services for the given project and region.
1102
+ # Lists services for the given project and region. Results are sorted by
1103
+ # creation time, descending.
1103
1104
  # @param [String] parent
1104
1105
  # Required. The parent from where the resources should be listed. In Cloud Run,
1105
1106
  # it may be one of the following: * ``project_id_or_number`` * `namespaces/`
@@ -1441,7 +1442,7 @@ module Google
1441
1442
  execute_or_queue_command(command, &block)
1442
1443
  end
1443
1444
 
1444
- # List configurations.
1445
+ # List configurations. Results are sorted by creation time, descending.
1445
1446
  # @param [String] parent
1446
1447
  # The namespace from which the configurations should be listed. For Cloud Run,
1447
1448
  # replace `namespace_id` with the project ID or number.
@@ -2015,7 +2016,7 @@ module Google
2015
2016
  execute_or_queue_command(command, &block)
2016
2017
  end
2017
2018
 
2018
- # List revisions.
2019
+ # List revisions. Results are sorted by creation time, descending.
2019
2020
  # @param [String] parent
2020
2021
  # The namespace from which the revisions should be listed. For Cloud Run (fully
2021
2022
  # managed), replace `namespace` with the project ID or number. It takes the form
@@ -2105,7 +2106,7 @@ module Google
2105
2106
  execute_or_queue_command(command, &block)
2106
2107
  end
2107
2108
 
2108
- # List routes.
2109
+ # List routes. Results are sorted by creation time, descending.
2109
2110
  # @param [String] parent
2110
2111
  # The namespace from which the routes should be listed. For Cloud Run (fully
2111
2112
  # managed), replace `namespace` with the project ID or number. It takes the form
@@ -2331,7 +2332,8 @@ module Google
2331
2332
  execute_or_queue_command(command, &block)
2332
2333
  end
2333
2334
 
2334
- # Lists services for the given project and region.
2335
+ # Lists services for the given project and region. Results are sorted by
2336
+ # creation time, descending.
2335
2337
  # @param [String] parent
2336
2338
  # Required. The parent from where the resources should be listed. In Cloud Run,
2337
2339
  # it may be one of the following: * ``project_id_or_number`` * `namespaces/`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.77.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.75.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.77.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
63
63
  post_install_message:
64
64
  rdoc_options: []