google-apis-run_v1 0.102.0 → 0.104.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 +186 -2
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +86 -0
- data/lib/google/apis/run_v1/service.rb +46 -6
- 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: f0caf2b9fd3171261bb1c925aae3300eb3ada609777546961f8ce6ee06765256
|
|
4
|
+
data.tar.gz: b47e42cbd927944755cd55bbcc737cda96c6d92ffb9e05e2672f6cd8c6e903a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 014a833e1d8d2fd17976c901b3c32d0feb9f4e153606d2cecd103ad34449dc600df1c5aed7440400d70617bcc0b6e15ce94596354b2f9b3d44a15f128f9e9067
|
|
7
|
+
data.tar.gz: 7e121c4e9e49cfe83572e82850e34816794435af28bb93000e699a3a6c563b16224d85bdccc8deadbe73e2156771f832269f6737f57a2fef6a12282539d93a7e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-run_v1
|
|
2
2
|
|
|
3
|
+
### v0.104.0 (2026-05-03)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260427
|
|
6
|
+
|
|
7
|
+
### v0.103.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260403
|
|
10
|
+
|
|
3
11
|
### v0.102.0 (2026-03-22)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260313
|
|
@@ -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.
|
|
@@ -1617,6 +1624,7 @@ module Google
|
|
|
1617
1624
|
|
|
1618
1625
|
# Update properties of this object
|
|
1619
1626
|
def update!(**args)
|
|
1627
|
+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
|
|
1620
1628
|
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
|
1621
1629
|
@images = args[:images] if args.key?(:images)
|
|
1622
1630
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
@@ -2161,6 +2169,11 @@ module Google
|
|
|
2161
2169
|
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan]
|
|
2162
2170
|
attr_accessor :pull_timing
|
|
2163
2171
|
|
|
2172
|
+
# Declaration of results for this build step.
|
|
2173
|
+
# Corresponds to the JSON property `results`
|
|
2174
|
+
# @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1StepResult>]
|
|
2175
|
+
attr_accessor :results
|
|
2176
|
+
|
|
2164
2177
|
# A shell script to be executed in the step. When script is provided, the user
|
|
2165
2178
|
# cannot specify the entrypoint or args.
|
|
2166
2179
|
# Corresponds to the JSON property `script`
|
|
@@ -2227,6 +2240,7 @@ module Google
|
|
|
2227
2240
|
@id = args[:id] if args.key?(:id)
|
|
2228
2241
|
@name = args[:name] if args.key?(:name)
|
|
2229
2242
|
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
|
2243
|
+
@results = args[:results] if args.key?(:results)
|
|
2230
2244
|
@script = args[:script] if args.key?(:script)
|
|
2231
2245
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
|
2232
2246
|
@status = args[:status] if args.key?(:status)
|
|
@@ -2237,6 +2251,25 @@ module Google
|
|
|
2237
2251
|
end
|
|
2238
2252
|
end
|
|
2239
2253
|
|
|
2254
|
+
# Results for a build step.
|
|
2255
|
+
class GoogleDevtoolsCloudbuildV1BuildStepResults
|
|
2256
|
+
include Google::Apis::Core::Hashable
|
|
2257
|
+
|
|
2258
|
+
# Results for a build step.
|
|
2259
|
+
# Corresponds to the JSON property `results`
|
|
2260
|
+
# @return [Hash<String,String>]
|
|
2261
|
+
attr_accessor :results
|
|
2262
|
+
|
|
2263
|
+
def initialize(**args)
|
|
2264
|
+
update!(**args)
|
|
2265
|
+
end
|
|
2266
|
+
|
|
2267
|
+
# Update properties of this object
|
|
2268
|
+
def update!(**args)
|
|
2269
|
+
@results = args[:results] if args.key?(:results)
|
|
2270
|
+
end
|
|
2271
|
+
end
|
|
2272
|
+
|
|
2240
2273
|
# An image built by the pipeline.
|
|
2241
2274
|
class GoogleDevtoolsCloudbuildV1BuiltImage
|
|
2242
2275
|
include Google::Apis::Core::Hashable
|
|
@@ -2327,6 +2360,11 @@ module Google
|
|
|
2327
2360
|
attr_accessor :empty
|
|
2328
2361
|
alias_method :empty?, :empty
|
|
2329
2362
|
|
|
2363
|
+
# Represents a generic artifact as a build dependency.
|
|
2364
|
+
# Corresponds to the JSON property `genericArtifact`
|
|
2365
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency]
|
|
2366
|
+
attr_accessor :generic_artifact
|
|
2367
|
+
|
|
2330
2368
|
# Represents a git repository as a build dependency.
|
|
2331
2369
|
# Corresponds to the JSON property `gitSource`
|
|
2332
2370
|
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency]
|
|
@@ -2339,6 +2377,7 @@ module Google
|
|
|
2339
2377
|
# Update properties of this object
|
|
2340
2378
|
def update!(**args)
|
|
2341
2379
|
@empty = args[:empty] if args.key?(:empty)
|
|
2380
|
+
@generic_artifact = args[:generic_artifact] if args.key?(:generic_artifact)
|
|
2342
2381
|
@git_source = args[:git_source] if args.key?(:git_source)
|
|
2343
2382
|
end
|
|
2344
2383
|
end
|
|
@@ -2421,6 +2460,61 @@ module Google
|
|
|
2421
2460
|
end
|
|
2422
2461
|
end
|
|
2423
2462
|
|
|
2463
|
+
# Generic artifact to upload to Artifact Registry upon successful completion of
|
|
2464
|
+
# all build steps.
|
|
2465
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
2466
|
+
include Google::Apis::Core::Hashable
|
|
2467
|
+
|
|
2468
|
+
# Required. Path to the generic artifact in the build's workspace to be uploaded
|
|
2469
|
+
# to Artifact Registry.
|
|
2470
|
+
# Corresponds to the JSON property `folder`
|
|
2471
|
+
# @return [String]
|
|
2472
|
+
attr_accessor :folder
|
|
2473
|
+
|
|
2474
|
+
# Required. Registry path to upload the generic artifact to, in the form
|
|
2475
|
+
# projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/
|
|
2476
|
+
# versions/$VERSION
|
|
2477
|
+
# Corresponds to the JSON property `registryPath`
|
|
2478
|
+
# @return [String]
|
|
2479
|
+
attr_accessor :registry_path
|
|
2480
|
+
|
|
2481
|
+
def initialize(**args)
|
|
2482
|
+
update!(**args)
|
|
2483
|
+
end
|
|
2484
|
+
|
|
2485
|
+
# Update properties of this object
|
|
2486
|
+
def update!(**args)
|
|
2487
|
+
@folder = args[:folder] if args.key?(:folder)
|
|
2488
|
+
@registry_path = args[:registry_path] if args.key?(:registry_path)
|
|
2489
|
+
end
|
|
2490
|
+
end
|
|
2491
|
+
|
|
2492
|
+
# Represents a generic artifact as a build dependency.
|
|
2493
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
2494
|
+
include Google::Apis::Core::Hashable
|
|
2495
|
+
|
|
2496
|
+
# Required. Where the artifact files should be placed on the worker.
|
|
2497
|
+
# Corresponds to the JSON property `destPath`
|
|
2498
|
+
# @return [String]
|
|
2499
|
+
attr_accessor :dest_path
|
|
2500
|
+
|
|
2501
|
+
# Required. The location to download the artifact files from. Ex: projects/p1/
|
|
2502
|
+
# locations/us/repositories/r1/packages/p1/versions/v1
|
|
2503
|
+
# Corresponds to the JSON property `resource`
|
|
2504
|
+
# @return [String]
|
|
2505
|
+
attr_accessor :resource
|
|
2506
|
+
|
|
2507
|
+
def initialize(**args)
|
|
2508
|
+
update!(**args)
|
|
2509
|
+
end
|
|
2510
|
+
|
|
2511
|
+
# Update properties of this object
|
|
2512
|
+
def update!(**args)
|
|
2513
|
+
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
|
2514
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
2515
|
+
end
|
|
2516
|
+
end
|
|
2517
|
+
|
|
2424
2518
|
# GitConfig is a configuration for git operations.
|
|
2425
2519
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
2426
2520
|
include Google::Apis::Core::Hashable
|
|
@@ -2961,6 +3055,17 @@ module Google
|
|
|
2961
3055
|
# @return [Array<String>]
|
|
2962
3056
|
attr_accessor :build_step_outputs
|
|
2963
3057
|
|
|
3058
|
+
# Results for build steps. step_id ->
|
|
3059
|
+
# Corresponds to the JSON property `buildStepResults`
|
|
3060
|
+
# @return [Hash<String,Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildStepResults>]
|
|
3061
|
+
attr_accessor :build_step_results
|
|
3062
|
+
|
|
3063
|
+
# Output only. Generic artifacts uploaded to Artifact Registry at the end of the
|
|
3064
|
+
# build.
|
|
3065
|
+
# Corresponds to the JSON property `genericArtifacts`
|
|
3066
|
+
# @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact>]
|
|
3067
|
+
attr_accessor :generic_artifacts
|
|
3068
|
+
|
|
2964
3069
|
# Optional. Go module artifacts uploaded to Artifact Registry at the end of the
|
|
2965
3070
|
# build.
|
|
2966
3071
|
# Corresponds to the JSON property `goModules`
|
|
@@ -3003,6 +3108,8 @@ module Google
|
|
|
3003
3108
|
@artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
|
|
3004
3109
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
|
3005
3110
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
|
3111
|
+
@build_step_results = args[:build_step_results] if args.key?(:build_step_results)
|
|
3112
|
+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
|
|
3006
3113
|
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
|
3007
3114
|
@images = args[:images] if args.key?(:images)
|
|
3008
3115
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
@@ -3205,6 +3312,37 @@ module Google
|
|
|
3205
3312
|
end
|
|
3206
3313
|
end
|
|
3207
3314
|
|
|
3315
|
+
# StepResult is the declaration of a result for a build step.
|
|
3316
|
+
class GoogleDevtoolsCloudbuildV1StepResult
|
|
3317
|
+
include Google::Apis::Core::Hashable
|
|
3318
|
+
|
|
3319
|
+
# Optional. The content of the attestation to be generated.
|
|
3320
|
+
# Corresponds to the JSON property `attestationContent`
|
|
3321
|
+
# @return [String]
|
|
3322
|
+
attr_accessor :attestation_content
|
|
3323
|
+
|
|
3324
|
+
# Optional. The type of attestation to be generated.
|
|
3325
|
+
# Corresponds to the JSON property `attestationType`
|
|
3326
|
+
# @return [String]
|
|
3327
|
+
attr_accessor :attestation_type
|
|
3328
|
+
|
|
3329
|
+
# Required. The name of the result.
|
|
3330
|
+
# Corresponds to the JSON property `name`
|
|
3331
|
+
# @return [String]
|
|
3332
|
+
attr_accessor :name
|
|
3333
|
+
|
|
3334
|
+
def initialize(**args)
|
|
3335
|
+
update!(**args)
|
|
3336
|
+
end
|
|
3337
|
+
|
|
3338
|
+
# Update properties of this object
|
|
3339
|
+
def update!(**args)
|
|
3340
|
+
@attestation_content = args[:attestation_content] if args.key?(:attestation_content)
|
|
3341
|
+
@attestation_type = args[:attestation_type] if args.key?(:attestation_type)
|
|
3342
|
+
@name = args[:name] if args.key?(:name)
|
|
3343
|
+
end
|
|
3344
|
+
end
|
|
3345
|
+
|
|
3208
3346
|
# Location of the source in an archive file in Cloud Storage.
|
|
3209
3347
|
class GoogleDevtoolsCloudbuildV1StorageSource
|
|
3210
3348
|
include Google::Apis::Core::Hashable
|
|
@@ -3307,6 +3445,52 @@ module Google
|
|
|
3307
3445
|
end
|
|
3308
3446
|
end
|
|
3309
3447
|
|
|
3448
|
+
# A generic artifact uploaded to Artifact Registry using the GenericArtifact
|
|
3449
|
+
# directive.
|
|
3450
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
3451
|
+
include Google::Apis::Core::Hashable
|
|
3452
|
+
|
|
3453
|
+
# Container message for hashes of byte content of files, used in
|
|
3454
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
|
3455
|
+
# Corresponds to the JSON property `artifactFingerprint`
|
|
3456
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes]
|
|
3457
|
+
attr_accessor :artifact_fingerprint
|
|
3458
|
+
|
|
3459
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
3460
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
3461
|
+
# @return [String]
|
|
3462
|
+
attr_accessor :artifact_registry_package
|
|
3463
|
+
|
|
3464
|
+
# Output only. The file hashes that make up the generic artifact.
|
|
3465
|
+
# Corresponds to the JSON property `fileHashes`
|
|
3466
|
+
# @return [Hash<String,Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes>]
|
|
3467
|
+
attr_accessor :file_hashes
|
|
3468
|
+
|
|
3469
|
+
# Start and end times for a build execution phase.
|
|
3470
|
+
# Corresponds to the JSON property `pushTiming`
|
|
3471
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan]
|
|
3472
|
+
attr_accessor :push_timing
|
|
3473
|
+
|
|
3474
|
+
# Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/
|
|
3475
|
+
# repositories/r1/packages/p1/versions/v1
|
|
3476
|
+
# Corresponds to the JSON property `uri`
|
|
3477
|
+
# @return [String]
|
|
3478
|
+
attr_accessor :uri
|
|
3479
|
+
|
|
3480
|
+
def initialize(**args)
|
|
3481
|
+
update!(**args)
|
|
3482
|
+
end
|
|
3483
|
+
|
|
3484
|
+
# Update properties of this object
|
|
3485
|
+
def update!(**args)
|
|
3486
|
+
@artifact_fingerprint = args[:artifact_fingerprint] if args.key?(:artifact_fingerprint)
|
|
3487
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
3488
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
|
3489
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
3490
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
3491
|
+
end
|
|
3492
|
+
end
|
|
3493
|
+
|
|
3310
3494
|
# A Go module artifact uploaded to Artifact Registry using the GoModule
|
|
3311
3495
|
# directive.
|
|
3312
3496
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
@@ -6546,8 +6730,8 @@ module Google
|
|
|
6546
6730
|
alias_method :read_only?, :read_only
|
|
6547
6731
|
|
|
6548
6732
|
# Path within the volume from which the container's volume should be mounted.
|
|
6549
|
-
# Defaults to "" (volume's root). This field is currently
|
|
6550
|
-
#
|
|
6733
|
+
# Defaults to "" (volume's root). This field is currently rejected in Secret
|
|
6734
|
+
# volume mounts.
|
|
6551
6735
|
# Corresponds to the JSON property `subPath`
|
|
6552
6736
|
# @return [String]
|
|
6553
6737
|
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.104.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 = "20260427"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -274,6 +274,12 @@ module Google
|
|
|
274
274
|
include Google::Apis::Core::JsonObjectSupport
|
|
275
275
|
end
|
|
276
276
|
|
|
277
|
+
class GoogleDevtoolsCloudbuildV1BuildStepResults
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
277
283
|
class GoogleDevtoolsCloudbuildV1BuiltImage
|
|
278
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
285
|
|
|
@@ -310,6 +316,18 @@ module Google
|
|
|
310
316
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
317
|
end
|
|
312
318
|
|
|
319
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
313
331
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
314
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
333
|
|
|
@@ -430,6 +448,12 @@ module Google
|
|
|
430
448
|
include Google::Apis::Core::JsonObjectSupport
|
|
431
449
|
end
|
|
432
450
|
|
|
451
|
+
class GoogleDevtoolsCloudbuildV1StepResult
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
433
457
|
class GoogleDevtoolsCloudbuildV1StorageSource
|
|
434
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
459
|
|
|
@@ -448,6 +472,12 @@ module Google
|
|
|
448
472
|
include Google::Apis::Core::JsonObjectSupport
|
|
449
473
|
end
|
|
450
474
|
|
|
475
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
|
+
|
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
479
|
+
end
|
|
480
|
+
|
|
451
481
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
452
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
483
|
|
|
@@ -1301,6 +1331,8 @@ module Google
|
|
|
1301
1331
|
class GoogleDevtoolsCloudbuildV1Artifacts
|
|
1302
1332
|
# @private
|
|
1303
1333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1334
|
+
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifact, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifact::Representation
|
|
1335
|
+
|
|
1304
1336
|
collection :go_modules, as: 'goModules', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GoModule, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GoModule::Representation
|
|
1305
1337
|
|
|
1306
1338
|
collection :images, as: 'images'
|
|
@@ -1427,6 +1459,8 @@ module Google
|
|
|
1427
1459
|
property :name, as: 'name'
|
|
1428
1460
|
property :pull_timing, as: 'pullTiming', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
1429
1461
|
|
|
1462
|
+
collection :results, as: 'results', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1StepResult, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1StepResult::Representation
|
|
1463
|
+
|
|
1430
1464
|
property :script, as: 'script'
|
|
1431
1465
|
collection :secret_env, as: 'secretEnv'
|
|
1432
1466
|
property :status, as: 'status'
|
|
@@ -1439,6 +1473,13 @@ module Google
|
|
|
1439
1473
|
end
|
|
1440
1474
|
end
|
|
1441
1475
|
|
|
1476
|
+
class GoogleDevtoolsCloudbuildV1BuildStepResults
|
|
1477
|
+
# @private
|
|
1478
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1479
|
+
hash :results, as: 'results'
|
|
1480
|
+
end
|
|
1481
|
+
end
|
|
1482
|
+
|
|
1442
1483
|
class GoogleDevtoolsCloudbuildV1BuiltImage
|
|
1443
1484
|
# @private
|
|
1444
1485
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1464,6 +1505,8 @@ module Google
|
|
|
1464
1505
|
# @private
|
|
1465
1506
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1466
1507
|
property :empty, as: 'empty'
|
|
1508
|
+
property :generic_artifact, as: 'genericArtifact', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency::Representation
|
|
1509
|
+
|
|
1467
1510
|
property :git_source, as: 'gitSource', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency::Representation
|
|
1468
1511
|
|
|
1469
1512
|
end
|
|
@@ -1494,6 +1537,22 @@ module Google
|
|
|
1494
1537
|
end
|
|
1495
1538
|
end
|
|
1496
1539
|
|
|
1540
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
1541
|
+
# @private
|
|
1542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1543
|
+
property :folder, as: 'folder'
|
|
1544
|
+
property :registry_path, as: 'registryPath'
|
|
1545
|
+
end
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1548
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
1549
|
+
# @private
|
|
1550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1551
|
+
property :dest_path, as: 'destPath'
|
|
1552
|
+
property :resource, as: 'resource'
|
|
1553
|
+
end
|
|
1554
|
+
end
|
|
1555
|
+
|
|
1497
1556
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
1498
1557
|
# @private
|
|
1499
1558
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1632,6 +1691,10 @@ module Google
|
|
|
1632
1691
|
|
|
1633
1692
|
collection :build_step_images, as: 'buildStepImages'
|
|
1634
1693
|
collection :build_step_outputs, as: 'buildStepOutputs'
|
|
1694
|
+
hash :build_step_results, as: 'buildStepResults', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildStepResults, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildStepResults::Representation
|
|
1695
|
+
|
|
1696
|
+
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact::Representation
|
|
1697
|
+
|
|
1635
1698
|
collection :go_modules, as: 'goModules', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
|
|
1636
1699
|
|
|
1637
1700
|
collection :images, as: 'images', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuiltImage::Representation
|
|
@@ -1708,6 +1771,15 @@ module Google
|
|
|
1708
1771
|
end
|
|
1709
1772
|
end
|
|
1710
1773
|
|
|
1774
|
+
class GoogleDevtoolsCloudbuildV1StepResult
|
|
1775
|
+
# @private
|
|
1776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1777
|
+
property :attestation_content, as: 'attestationContent'
|
|
1778
|
+
property :attestation_type, as: 'attestationType'
|
|
1779
|
+
property :name, as: 'name'
|
|
1780
|
+
end
|
|
1781
|
+
end
|
|
1782
|
+
|
|
1711
1783
|
class GoogleDevtoolsCloudbuildV1StorageSource
|
|
1712
1784
|
# @private
|
|
1713
1785
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1735,6 +1807,20 @@ module Google
|
|
|
1735
1807
|
end
|
|
1736
1808
|
end
|
|
1737
1809
|
|
|
1810
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
1811
|
+
# @private
|
|
1812
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1813
|
+
property :artifact_fingerprint, as: 'artifactFingerprint', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
1814
|
+
|
|
1815
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
1816
|
+
hash :file_hashes, as: 'fileHashes', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
1817
|
+
|
|
1818
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
1819
|
+
|
|
1820
|
+
property :uri, as: 'uri'
|
|
1821
|
+
end
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1738
1824
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
1739
1825
|
# @private
|
|
1740
1826
|
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,15 +1808,20 @@ 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
|
|
1783
|
-
# Optional. Do not use this field
|
|
1784
|
-
#
|
|
1823
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
1824
|
+
# is primarily for internal usage.
|
|
1785
1825
|
# @param [String] filter
|
|
1786
1826
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
1787
1827
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
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.104.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.104.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:
|