google-apis-run_v1 0.101.0 → 0.103.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/run_v1/classes.rb +175 -2
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +72 -0
- data/lib/google/apis/run_v1/service.rb +44 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f687823c91598834dc7f992fac386745f20c312c48976cc43e137014ae9fc1d
|
|
4
|
+
data.tar.gz: baa5d86ebc05d810ddca3e147d50e5c57fa7fbb90f1d5fe19516df77aebb52a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65d5603b3f57c0d1486851ea3c6ef3807596ab73910f16107489a246129cb9793cb7ee5aeb3942a00a0b551ea85ebda15b9c685e51c232cd83c4a0cfcb4a9752
|
|
7
|
+
data.tar.gz: b296f266552e4c7fbbb9a7982c0901864ee492553fb41c0839406bd698982a6f3cc14457e3bf2fffa98afeffb88fa6d55e54d5ba9fcad82927cda8568d208226
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-run_v1
|
|
2
2
|
|
|
3
|
+
### v0.103.0 (2026-04-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260403
|
|
6
|
+
|
|
7
|
+
### v0.102.0 (2026-03-22)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260313
|
|
10
|
+
|
|
3
11
|
### v0.101.0 (2026-03-15)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260306
|
|
@@ -1554,6 +1554,13 @@ module Google
|
|
|
1554
1554
|
class GoogleDevtoolsCloudbuildV1Artifacts
|
|
1555
1555
|
include Google::Apis::Core::Hashable
|
|
1556
1556
|
|
|
1557
|
+
# Optional. A list of generic artifacts to be uploaded to Artifact Registry upon
|
|
1558
|
+
# successful completion of all build steps. If any artifacts fail to be pushed,
|
|
1559
|
+
# the build is marked FAILURE.
|
|
1560
|
+
# Corresponds to the JSON property `genericArtifacts`
|
|
1561
|
+
# @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifact>]
|
|
1562
|
+
attr_accessor :generic_artifacts
|
|
1563
|
+
|
|
1557
1564
|
# Optional. A list of Go modules to be uploaded to Artifact Registry upon
|
|
1558
1565
|
# successful completion of all build steps. If any objects fail to be pushed,
|
|
1559
1566
|
# the build is marked FAILURE.
|
|
@@ -1594,6 +1601,15 @@ module Google
|
|
|
1594
1601
|
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ArtifactObjects]
|
|
1595
1602
|
attr_accessor :objects
|
|
1596
1603
|
|
|
1604
|
+
# Optional. A list of OCI images to be uploaded to Artifact Registry upon
|
|
1605
|
+
# successful completion of all build steps. OCI images in the specified paths
|
|
1606
|
+
# will be uploaded to the specified Artifact Registry repository using the
|
|
1607
|
+
# builder service account's credentials. If any images fail to be pushed, the
|
|
1608
|
+
# build is marked FAILURE.
|
|
1609
|
+
# Corresponds to the JSON property `oci`
|
|
1610
|
+
# @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1Oci>]
|
|
1611
|
+
attr_accessor :oci
|
|
1612
|
+
|
|
1597
1613
|
# A list of Python packages to be uploaded to Artifact Registry upon successful
|
|
1598
1614
|
# completion of all build steps. The build service account credentials will be
|
|
1599
1615
|
# used to perform the upload. If any objects fail to be pushed, the build is
|
|
@@ -1608,11 +1624,13 @@ module Google
|
|
|
1608
1624
|
|
|
1609
1625
|
# Update properties of this object
|
|
1610
1626
|
def update!(**args)
|
|
1627
|
+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
|
|
1611
1628
|
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
|
1612
1629
|
@images = args[:images] if args.key?(:images)
|
|
1613
1630
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
1614
1631
|
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
|
1615
1632
|
@objects = args[:objects] if args.key?(:objects)
|
|
1633
|
+
@oci = args[:oci] if args.key?(:oci)
|
|
1616
1634
|
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
|
1617
1635
|
end
|
|
1618
1636
|
end
|
|
@@ -2247,6 +2265,12 @@ module Google
|
|
|
2247
2265
|
# @return [String]
|
|
2248
2266
|
attr_accessor :name
|
|
2249
2267
|
|
|
2268
|
+
# Output only. The OCI media type of the artifact. Non-OCI images, such as
|
|
2269
|
+
# Docker images, will have an unspecified value.
|
|
2270
|
+
# Corresponds to the JSON property `ociMediaType`
|
|
2271
|
+
# @return [String]
|
|
2272
|
+
attr_accessor :oci_media_type
|
|
2273
|
+
|
|
2250
2274
|
# Start and end times for a build execution phase.
|
|
2251
2275
|
# Corresponds to the JSON property `pushTiming`
|
|
2252
2276
|
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan]
|
|
@@ -2261,6 +2285,7 @@ module Google
|
|
|
2261
2285
|
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
2262
2286
|
@digest = args[:digest] if args.key?(:digest)
|
|
2263
2287
|
@name = args[:name] if args.key?(:name)
|
|
2288
|
+
@oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
|
|
2264
2289
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
2265
2290
|
end
|
|
2266
2291
|
end
|
|
@@ -2310,6 +2335,11 @@ module Google
|
|
|
2310
2335
|
attr_accessor :empty
|
|
2311
2336
|
alias_method :empty?, :empty
|
|
2312
2337
|
|
|
2338
|
+
# Represents a generic artifact as a build dependency.
|
|
2339
|
+
# Corresponds to the JSON property `genericArtifact`
|
|
2340
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency]
|
|
2341
|
+
attr_accessor :generic_artifact
|
|
2342
|
+
|
|
2313
2343
|
# Represents a git repository as a build dependency.
|
|
2314
2344
|
# Corresponds to the JSON property `gitSource`
|
|
2315
2345
|
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency]
|
|
@@ -2322,6 +2352,7 @@ module Google
|
|
|
2322
2352
|
# Update properties of this object
|
|
2323
2353
|
def update!(**args)
|
|
2324
2354
|
@empty = args[:empty] if args.key?(:empty)
|
|
2355
|
+
@generic_artifact = args[:generic_artifact] if args.key?(:generic_artifact)
|
|
2325
2356
|
@git_source = args[:git_source] if args.key?(:git_source)
|
|
2326
2357
|
end
|
|
2327
2358
|
end
|
|
@@ -2404,6 +2435,61 @@ module Google
|
|
|
2404
2435
|
end
|
|
2405
2436
|
end
|
|
2406
2437
|
|
|
2438
|
+
# Generic artifact to upload to Artifact Registry upon successful completion of
|
|
2439
|
+
# all build steps.
|
|
2440
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
2441
|
+
include Google::Apis::Core::Hashable
|
|
2442
|
+
|
|
2443
|
+
# Required. Path to the generic artifact in the build's workspace to be uploaded
|
|
2444
|
+
# to Artifact Registry.
|
|
2445
|
+
# Corresponds to the JSON property `folder`
|
|
2446
|
+
# @return [String]
|
|
2447
|
+
attr_accessor :folder
|
|
2448
|
+
|
|
2449
|
+
# Required. Registry path to upload the generic artifact to, in the form
|
|
2450
|
+
# projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/
|
|
2451
|
+
# versions/$VERSION
|
|
2452
|
+
# Corresponds to the JSON property `registryPath`
|
|
2453
|
+
# @return [String]
|
|
2454
|
+
attr_accessor :registry_path
|
|
2455
|
+
|
|
2456
|
+
def initialize(**args)
|
|
2457
|
+
update!(**args)
|
|
2458
|
+
end
|
|
2459
|
+
|
|
2460
|
+
# Update properties of this object
|
|
2461
|
+
def update!(**args)
|
|
2462
|
+
@folder = args[:folder] if args.key?(:folder)
|
|
2463
|
+
@registry_path = args[:registry_path] if args.key?(:registry_path)
|
|
2464
|
+
end
|
|
2465
|
+
end
|
|
2466
|
+
|
|
2467
|
+
# Represents a generic artifact as a build dependency.
|
|
2468
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
2469
|
+
include Google::Apis::Core::Hashable
|
|
2470
|
+
|
|
2471
|
+
# Required. Where the artifact files should be placed on the worker.
|
|
2472
|
+
# Corresponds to the JSON property `destPath`
|
|
2473
|
+
# @return [String]
|
|
2474
|
+
attr_accessor :dest_path
|
|
2475
|
+
|
|
2476
|
+
# Required. The location to download the artifact files from. Ex: projects/p1/
|
|
2477
|
+
# locations/us/repositories/r1/packages/p1/versions/v1
|
|
2478
|
+
# Corresponds to the JSON property `resource`
|
|
2479
|
+
# @return [String]
|
|
2480
|
+
attr_accessor :resource
|
|
2481
|
+
|
|
2482
|
+
def initialize(**args)
|
|
2483
|
+
update!(**args)
|
|
2484
|
+
end
|
|
2485
|
+
|
|
2486
|
+
# Update properties of this object
|
|
2487
|
+
def update!(**args)
|
|
2488
|
+
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
|
2489
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
2490
|
+
end
|
|
2491
|
+
end
|
|
2492
|
+
|
|
2407
2493
|
# GitConfig is a configuration for git operations.
|
|
2408
2494
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
2409
2495
|
include Google::Apis::Core::Hashable
|
|
@@ -2757,6 +2843,40 @@ module Google
|
|
|
2757
2843
|
end
|
|
2758
2844
|
end
|
|
2759
2845
|
|
|
2846
|
+
# OCI image to upload to Artifact Registry upon successful completion of all
|
|
2847
|
+
# build steps.
|
|
2848
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
2849
|
+
include Google::Apis::Core::Hashable
|
|
2850
|
+
|
|
2851
|
+
# Required. Path on the local file system where to find the container to upload.
|
|
2852
|
+
# e.g. /workspace/my-image.tar
|
|
2853
|
+
# Corresponds to the JSON property `file`
|
|
2854
|
+
# @return [String]
|
|
2855
|
+
attr_accessor :file
|
|
2856
|
+
|
|
2857
|
+
# Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
|
|
2858
|
+
# dev/my-project/my-repo/my-image
|
|
2859
|
+
# Corresponds to the JSON property `registryPath`
|
|
2860
|
+
# @return [String]
|
|
2861
|
+
attr_accessor :registry_path
|
|
2862
|
+
|
|
2863
|
+
# Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
|
|
2864
|
+
# Corresponds to the JSON property `tags`
|
|
2865
|
+
# @return [Array<String>]
|
|
2866
|
+
attr_accessor :tags
|
|
2867
|
+
|
|
2868
|
+
def initialize(**args)
|
|
2869
|
+
update!(**args)
|
|
2870
|
+
end
|
|
2871
|
+
|
|
2872
|
+
# Update properties of this object
|
|
2873
|
+
def update!(**args)
|
|
2874
|
+
@file = args[:file] if args.key?(:file)
|
|
2875
|
+
@registry_path = args[:registry_path] if args.key?(:registry_path)
|
|
2876
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
2877
|
+
end
|
|
2878
|
+
end
|
|
2879
|
+
|
|
2760
2880
|
# Details about how a build should be executed on a `WorkerPool`. See [running
|
|
2761
2881
|
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
|
|
2762
2882
|
# run-builds-in-private-pool) for more information.
|
|
@@ -2910,6 +3030,12 @@ module Google
|
|
|
2910
3030
|
# @return [Array<String>]
|
|
2911
3031
|
attr_accessor :build_step_outputs
|
|
2912
3032
|
|
|
3033
|
+
# Output only. Generic artifacts uploaded to Artifact Registry at the end of the
|
|
3034
|
+
# build.
|
|
3035
|
+
# Corresponds to the JSON property `genericArtifacts`
|
|
3036
|
+
# @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact>]
|
|
3037
|
+
attr_accessor :generic_artifacts
|
|
3038
|
+
|
|
2913
3039
|
# Optional. Go module artifacts uploaded to Artifact Registry at the end of the
|
|
2914
3040
|
# build.
|
|
2915
3041
|
# Corresponds to the JSON property `goModules`
|
|
@@ -2952,6 +3078,7 @@ module Google
|
|
|
2952
3078
|
@artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
|
|
2953
3079
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
|
2954
3080
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
|
3081
|
+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
|
|
2955
3082
|
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
|
2956
3083
|
@images = args[:images] if args.key?(:images)
|
|
2957
3084
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
@@ -3256,6 +3383,52 @@ module Google
|
|
|
3256
3383
|
end
|
|
3257
3384
|
end
|
|
3258
3385
|
|
|
3386
|
+
# A generic artifact uploaded to Artifact Registry using the GenericArtifact
|
|
3387
|
+
# directive.
|
|
3388
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
3389
|
+
include Google::Apis::Core::Hashable
|
|
3390
|
+
|
|
3391
|
+
# Container message for hashes of byte content of files, used in
|
|
3392
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
|
3393
|
+
# Corresponds to the JSON property `artifactFingerprint`
|
|
3394
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes]
|
|
3395
|
+
attr_accessor :artifact_fingerprint
|
|
3396
|
+
|
|
3397
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
3398
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
3399
|
+
# @return [String]
|
|
3400
|
+
attr_accessor :artifact_registry_package
|
|
3401
|
+
|
|
3402
|
+
# Output only. The file hashes that make up the generic artifact.
|
|
3403
|
+
# Corresponds to the JSON property `fileHashes`
|
|
3404
|
+
# @return [Hash<String,Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes>]
|
|
3405
|
+
attr_accessor :file_hashes
|
|
3406
|
+
|
|
3407
|
+
# Start and end times for a build execution phase.
|
|
3408
|
+
# Corresponds to the JSON property `pushTiming`
|
|
3409
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan]
|
|
3410
|
+
attr_accessor :push_timing
|
|
3411
|
+
|
|
3412
|
+
# Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/
|
|
3413
|
+
# repositories/r1/packages/p1/versions/v1
|
|
3414
|
+
# Corresponds to the JSON property `uri`
|
|
3415
|
+
# @return [String]
|
|
3416
|
+
attr_accessor :uri
|
|
3417
|
+
|
|
3418
|
+
def initialize(**args)
|
|
3419
|
+
update!(**args)
|
|
3420
|
+
end
|
|
3421
|
+
|
|
3422
|
+
# Update properties of this object
|
|
3423
|
+
def update!(**args)
|
|
3424
|
+
@artifact_fingerprint = args[:artifact_fingerprint] if args.key?(:artifact_fingerprint)
|
|
3425
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
3426
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
|
3427
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
3428
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
3429
|
+
end
|
|
3430
|
+
end
|
|
3431
|
+
|
|
3259
3432
|
# A Go module artifact uploaded to Artifact Registry using the GoModule
|
|
3260
3433
|
# directive.
|
|
3261
3434
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
@@ -6495,8 +6668,8 @@ module Google
|
|
|
6495
6668
|
alias_method :read_only?, :read_only
|
|
6496
6669
|
|
|
6497
6670
|
# Path within the volume from which the container's volume should be mounted.
|
|
6498
|
-
# Defaults to "" (volume's root). This field is currently
|
|
6499
|
-
#
|
|
6671
|
+
# Defaults to "" (volume's root). This field is currently rejected in Secret
|
|
6672
|
+
# volume mounts.
|
|
6500
6673
|
# Corresponds to the JSON property `subPath`
|
|
6501
6674
|
# @return [String]
|
|
6502
6675
|
attr_accessor :sub_path
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.103.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260403"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -310,6 +310,18 @@ module Google
|
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
313
325
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
314
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
327
|
|
|
@@ -370,6 +382,12 @@ module Google
|
|
|
370
382
|
include Google::Apis::Core::JsonObjectSupport
|
|
371
383
|
end
|
|
372
384
|
|
|
385
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
373
391
|
class GoogleDevtoolsCloudbuildV1PoolOption
|
|
374
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
393
|
|
|
@@ -442,6 +460,12 @@ module Google
|
|
|
442
460
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
461
|
end
|
|
444
462
|
|
|
463
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
|
+
|
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
467
|
+
end
|
|
468
|
+
|
|
445
469
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
446
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
471
|
|
|
@@ -1295,6 +1319,8 @@ module Google
|
|
|
1295
1319
|
class GoogleDevtoolsCloudbuildV1Artifacts
|
|
1296
1320
|
# @private
|
|
1297
1321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1322
|
+
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifact, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifact::Representation
|
|
1323
|
+
|
|
1298
1324
|
collection :go_modules, as: 'goModules', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GoModule, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GoModule::Representation
|
|
1299
1325
|
|
|
1300
1326
|
collection :images, as: 'images'
|
|
@@ -1304,6 +1330,8 @@ module Google
|
|
|
1304
1330
|
|
|
1305
1331
|
property :objects, as: 'objects', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ArtifactObjects, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ArtifactObjects::Representation
|
|
1306
1332
|
|
|
1333
|
+
collection :oci, as: 'oci', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1Oci, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1Oci::Representation
|
|
1334
|
+
|
|
1307
1335
|
collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1PythonPackage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1PythonPackage::Representation
|
|
1308
1336
|
|
|
1309
1337
|
end
|
|
@@ -1437,6 +1465,7 @@ module Google
|
|
|
1437
1465
|
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
1438
1466
|
property :digest, as: 'digest'
|
|
1439
1467
|
property :name, as: 'name'
|
|
1468
|
+
property :oci_media_type, as: 'ociMediaType'
|
|
1440
1469
|
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
1441
1470
|
|
|
1442
1471
|
end
|
|
@@ -1455,6 +1484,8 @@ module Google
|
|
|
1455
1484
|
# @private
|
|
1456
1485
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1457
1486
|
property :empty, as: 'empty'
|
|
1487
|
+
property :generic_artifact, as: 'genericArtifact', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency::Representation
|
|
1488
|
+
|
|
1458
1489
|
property :git_source, as: 'gitSource', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency::Representation
|
|
1459
1490
|
|
|
1460
1491
|
end
|
|
@@ -1485,6 +1516,22 @@ module Google
|
|
|
1485
1516
|
end
|
|
1486
1517
|
end
|
|
1487
1518
|
|
|
1519
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
1520
|
+
# @private
|
|
1521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1522
|
+
property :folder, as: 'folder'
|
|
1523
|
+
property :registry_path, as: 'registryPath'
|
|
1524
|
+
end
|
|
1525
|
+
end
|
|
1526
|
+
|
|
1527
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
1528
|
+
# @private
|
|
1529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1530
|
+
property :dest_path, as: 'destPath'
|
|
1531
|
+
property :resource, as: 'resource'
|
|
1532
|
+
end
|
|
1533
|
+
end
|
|
1534
|
+
|
|
1488
1535
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
1489
1536
|
# @private
|
|
1490
1537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1577,6 +1624,15 @@ module Google
|
|
|
1577
1624
|
end
|
|
1578
1625
|
end
|
|
1579
1626
|
|
|
1627
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
1628
|
+
# @private
|
|
1629
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1630
|
+
property :file, as: 'file'
|
|
1631
|
+
property :registry_path, as: 'registryPath'
|
|
1632
|
+
collection :tags, as: 'tags'
|
|
1633
|
+
end
|
|
1634
|
+
end
|
|
1635
|
+
|
|
1580
1636
|
class GoogleDevtoolsCloudbuildV1PoolOption
|
|
1581
1637
|
# @private
|
|
1582
1638
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1614,6 +1670,8 @@ module Google
|
|
|
1614
1670
|
|
|
1615
1671
|
collection :build_step_images, as: 'buildStepImages'
|
|
1616
1672
|
collection :build_step_outputs, as: 'buildStepOutputs'
|
|
1673
|
+
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact::Representation
|
|
1674
|
+
|
|
1617
1675
|
collection :go_modules, as: 'goModules', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
|
|
1618
1676
|
|
|
1619
1677
|
collection :images, as: 'images', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuiltImage::Representation
|
|
@@ -1717,6 +1775,20 @@ module Google
|
|
|
1717
1775
|
end
|
|
1718
1776
|
end
|
|
1719
1777
|
|
|
1778
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
1779
|
+
# @private
|
|
1780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1781
|
+
property :artifact_fingerprint, as: 'artifactFingerprint', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
1782
|
+
|
|
1783
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
1784
|
+
hash :file_hashes, as: 'fileHashes', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
1785
|
+
|
|
1786
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
1787
|
+
|
|
1788
|
+
property :uri, as: 'uri'
|
|
1789
|
+
end
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1720
1792
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
1721
1793
|
# @private
|
|
1722
1794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -677,6 +677,41 @@ module Google
|
|
|
677
677
|
execute_or_queue_command(command, &block)
|
|
678
678
|
end
|
|
679
679
|
|
|
680
|
+
# Replace an Instance.
|
|
681
|
+
# @param [String] name
|
|
682
|
+
# Required. The name of the Instance being replaced. Replace `namespace` with
|
|
683
|
+
# the project ID or number. It takes the form namespaces/`namespace`. For
|
|
684
|
+
# example: namespaces/PROJECT_ID
|
|
685
|
+
# @param [Google::Apis::RunV1::Instance] instance_object
|
|
686
|
+
# @param [String] fields
|
|
687
|
+
# Selector specifying which fields to include in a partial response.
|
|
688
|
+
# @param [String] quota_user
|
|
689
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
690
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
691
|
+
# @param [Google::Apis::RequestOptions] options
|
|
692
|
+
# Request-specific options
|
|
693
|
+
#
|
|
694
|
+
# @yield [result, err] Result & error if block supplied
|
|
695
|
+
# @yieldparam result [Google::Apis::RunV1::Instance] parsed result object
|
|
696
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
697
|
+
#
|
|
698
|
+
# @return [Google::Apis::RunV1::Instance]
|
|
699
|
+
#
|
|
700
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
701
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
702
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
703
|
+
def replace_namespace_instance_instance(name, instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
704
|
+
command = make_simple_command(:put, 'apis/run.googleapis.com/v1/{+name}', options)
|
|
705
|
+
command.request_representation = Google::Apis::RunV1::Instance::Representation
|
|
706
|
+
command.request_object = instance_object
|
|
707
|
+
command.response_representation = Google::Apis::RunV1::Instance::Representation
|
|
708
|
+
command.response_class = Google::Apis::RunV1::Instance
|
|
709
|
+
command.params['name'] = name unless name.nil?
|
|
710
|
+
command.query['fields'] = fields unless fields.nil?
|
|
711
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
712
|
+
execute_or_queue_command(command, &block)
|
|
713
|
+
end
|
|
714
|
+
|
|
680
715
|
# Start an Instance which has been stopped.
|
|
681
716
|
# @param [String] name
|
|
682
717
|
# Required. The name of the Instance to run. Replace `namespace` with the
|
|
@@ -1773,10 +1808,15 @@ module Google
|
|
|
1773
1808
|
end
|
|
1774
1809
|
|
|
1775
1810
|
# Lists information about the supported locations for this service. This method
|
|
1776
|
-
#
|
|
1777
|
-
#
|
|
1778
|
-
#
|
|
1779
|
-
#
|
|
1811
|
+
# lists locations based on the resource scope provided in the [
|
|
1812
|
+
# ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
|
|
1813
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
1814
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
1815
|
+
# method lists locations visible to that specific project. This includes public,
|
|
1816
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
1817
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
1818
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
1819
|
+
# request path based on the specific service implementation and version.
|
|
1780
1820
|
# @param [String] name
|
|
1781
1821
|
# The resource that owns the locations collection, if applicable.
|
|
1782
1822
|
# @param [Array<String>, String] extra_location_types
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-run_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.103.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.103.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|