google-apis-run_v2 0.111.0 → 0.113.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_v2/classes.rb +198 -5
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +87 -0
- data/lib/google/apis/run_v2/service.rb +165 -0
- 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: 3815a6bf0be1e60dc016ef519a82f2c76cac8304573a06e39a8fbe2f46a07069
|
|
4
|
+
data.tar.gz: 344c63910d608596fdf4db7e98aea61076d19db7de3a7d70941c414fdddd9c85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d13eedbc84bbd5f68b276e30a667994a2384fdbf3f5e7175fe67705473c6343a006d946253656e433092e4faa9ee53656f2c3d18d44b49ef49dab1d95e16a0d
|
|
7
|
+
data.tar.gz: d9131bc885b45647e26caba45946283c08e84065dfaf3979ffb2464ebffeb490cd405f517feaa268cb3599232632da4b4aabc40962e6e62506f8ec7ee69abe1d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-run_v2
|
|
2
2
|
|
|
3
|
+
### v0.113.0 (2026-05-10)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260501
|
|
6
|
+
|
|
7
|
+
### v0.112.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260403
|
|
10
|
+
|
|
3
11
|
### v0.111.0 (2026-03-22)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260313
|
|
@@ -1354,6 +1354,12 @@ module Google
|
|
|
1354
1354
|
# @return [String]
|
|
1355
1355
|
attr_accessor :creator
|
|
1356
1356
|
|
|
1357
|
+
# Optional. Disables public resolution of the default URI of this Instance.
|
|
1358
|
+
# Corresponds to the JSON property `defaultUriDisabled`
|
|
1359
|
+
# @return [Boolean]
|
|
1360
|
+
attr_accessor :default_uri_disabled
|
|
1361
|
+
alias_method :default_uri_disabled?, :default_uri_disabled
|
|
1362
|
+
|
|
1357
1363
|
# Output only. The deletion time.
|
|
1358
1364
|
# Corresponds to the JSON property `deleteTime`
|
|
1359
1365
|
# @return [String]
|
|
@@ -1557,6 +1563,7 @@ module Google
|
|
|
1557
1563
|
@containers = args[:containers] if args.key?(:containers)
|
|
1558
1564
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1559
1565
|
@creator = args[:creator] if args.key?(:creator)
|
|
1566
|
+
@default_uri_disabled = args[:default_uri_disabled] if args.key?(:default_uri_disabled)
|
|
1560
1567
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
1561
1568
|
@description = args[:description] if args.key?(:description)
|
|
1562
1569
|
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
|
@@ -2612,14 +2619,16 @@ module Google
|
|
|
2612
2619
|
|
|
2613
2620
|
# Optional. Determines a threshold for concurrency utilization before scaling
|
|
2614
2621
|
# begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to
|
|
2615
|
-
# disable concurrency utilization as threshold for scaling.
|
|
2622
|
+
# disable concurrency utilization as threshold for scaling. CPU and concurrency
|
|
2623
|
+
# scaling cannot both be disabled.
|
|
2616
2624
|
# Corresponds to the JSON property `concurrencyUtilization`
|
|
2617
2625
|
# @return [Float]
|
|
2618
2626
|
attr_accessor :concurrency_utilization
|
|
2619
2627
|
|
|
2620
2628
|
# Optional. Determines a threshold for CPU utilization before scaling begins.
|
|
2621
2629
|
# Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable
|
|
2622
|
-
# CPU utilization as threshold for scaling.
|
|
2630
|
+
# CPU utilization as threshold for scaling. CPU and concurrency scaling cannot
|
|
2631
|
+
# both be disabled.
|
|
2623
2632
|
# Corresponds to the JSON property `cpuUtilization`
|
|
2624
2633
|
# @return [Float]
|
|
2625
2634
|
attr_accessor :cpu_utilization
|
|
@@ -4188,8 +4197,8 @@ module Google
|
|
|
4188
4197
|
attr_accessor :name
|
|
4189
4198
|
|
|
4190
4199
|
# Optional. Path within the volume from which the container's volume should be
|
|
4191
|
-
# mounted. Defaults to "" (volume's root). This field is currently
|
|
4192
|
-
# Secret
|
|
4200
|
+
# mounted. Defaults to "" (volume's root). This field is currently rejected in
|
|
4201
|
+
# Secret volume mounts.
|
|
4193
4202
|
# Corresponds to the JSON property `subPath`
|
|
4194
4203
|
# @return [String]
|
|
4195
4204
|
attr_accessor :sub_path
|
|
@@ -4296,7 +4305,7 @@ module Google
|
|
|
4296
4305
|
# @return [String]
|
|
4297
4306
|
attr_accessor :creator
|
|
4298
4307
|
|
|
4299
|
-
# Not supported, and ignored by Cloud Run.
|
|
4308
|
+
# Deprecated: Not supported, and ignored by Cloud Run.
|
|
4300
4309
|
# Corresponds to the JSON property `customAudiences`
|
|
4301
4310
|
# @return [Array<String>]
|
|
4302
4311
|
attr_accessor :custom_audiences
|
|
@@ -4767,6 +4776,13 @@ module Google
|
|
|
4767
4776
|
class GoogleDevtoolsCloudbuildV1Artifacts
|
|
4768
4777
|
include Google::Apis::Core::Hashable
|
|
4769
4778
|
|
|
4779
|
+
# Optional. A list of generic artifacts to be uploaded to Artifact Registry upon
|
|
4780
|
+
# successful completion of all build steps. If any artifacts fail to be pushed,
|
|
4781
|
+
# the build is marked FAILURE.
|
|
4782
|
+
# Corresponds to the JSON property `genericArtifacts`
|
|
4783
|
+
# @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GenericArtifact>]
|
|
4784
|
+
attr_accessor :generic_artifacts
|
|
4785
|
+
|
|
4770
4786
|
# Optional. A list of Go modules to be uploaded to Artifact Registry upon
|
|
4771
4787
|
# successful completion of all build steps. If any objects fail to be pushed,
|
|
4772
4788
|
# the build is marked FAILURE.
|
|
@@ -4830,6 +4846,7 @@ module Google
|
|
|
4830
4846
|
|
|
4831
4847
|
# Update properties of this object
|
|
4832
4848
|
def update!(**args)
|
|
4849
|
+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
|
|
4833
4850
|
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
|
4834
4851
|
@images = args[:images] if args.key?(:images)
|
|
4835
4852
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
@@ -5374,6 +5391,11 @@ module Google
|
|
|
5374
5391
|
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan]
|
|
5375
5392
|
attr_accessor :pull_timing
|
|
5376
5393
|
|
|
5394
|
+
# Output only. Declaration of results for this build step.
|
|
5395
|
+
# Corresponds to the JSON property `results`
|
|
5396
|
+
# @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult>]
|
|
5397
|
+
attr_accessor :results
|
|
5398
|
+
|
|
5377
5399
|
# A shell script to be executed in the step. When script is provided, the user
|
|
5378
5400
|
# cannot specify the entrypoint or args.
|
|
5379
5401
|
# Corresponds to the JSON property `script`
|
|
@@ -5440,6 +5462,7 @@ module Google
|
|
|
5440
5462
|
@id = args[:id] if args.key?(:id)
|
|
5441
5463
|
@name = args[:name] if args.key?(:name)
|
|
5442
5464
|
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
|
5465
|
+
@results = args[:results] if args.key?(:results)
|
|
5443
5466
|
@script = args[:script] if args.key?(:script)
|
|
5444
5467
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
|
5445
5468
|
@status = args[:status] if args.key?(:status)
|
|
@@ -5450,6 +5473,25 @@ module Google
|
|
|
5450
5473
|
end
|
|
5451
5474
|
end
|
|
5452
5475
|
|
|
5476
|
+
# Results for a build step.
|
|
5477
|
+
class GoogleDevtoolsCloudbuildV1BuildStepResults
|
|
5478
|
+
include Google::Apis::Core::Hashable
|
|
5479
|
+
|
|
5480
|
+
# Results for a build step.
|
|
5481
|
+
# Corresponds to the JSON property `results`
|
|
5482
|
+
# @return [Hash<String,String>]
|
|
5483
|
+
attr_accessor :results
|
|
5484
|
+
|
|
5485
|
+
def initialize(**args)
|
|
5486
|
+
update!(**args)
|
|
5487
|
+
end
|
|
5488
|
+
|
|
5489
|
+
# Update properties of this object
|
|
5490
|
+
def update!(**args)
|
|
5491
|
+
@results = args[:results] if args.key?(:results)
|
|
5492
|
+
end
|
|
5493
|
+
end
|
|
5494
|
+
|
|
5453
5495
|
# An image built by the pipeline.
|
|
5454
5496
|
class GoogleDevtoolsCloudbuildV1BuiltImage
|
|
5455
5497
|
include Google::Apis::Core::Hashable
|
|
@@ -5540,6 +5582,11 @@ module Google
|
|
|
5540
5582
|
attr_accessor :empty
|
|
5541
5583
|
alias_method :empty?, :empty
|
|
5542
5584
|
|
|
5585
|
+
# Represents a generic artifact as a build dependency.
|
|
5586
|
+
# Corresponds to the JSON property `genericArtifact`
|
|
5587
|
+
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GenericArtifactDependency]
|
|
5588
|
+
attr_accessor :generic_artifact
|
|
5589
|
+
|
|
5543
5590
|
# Represents a git repository as a build dependency.
|
|
5544
5591
|
# Corresponds to the JSON property `gitSource`
|
|
5545
5592
|
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSourceDependency]
|
|
@@ -5552,6 +5599,7 @@ module Google
|
|
|
5552
5599
|
# Update properties of this object
|
|
5553
5600
|
def update!(**args)
|
|
5554
5601
|
@empty = args[:empty] if args.key?(:empty)
|
|
5602
|
+
@generic_artifact = args[:generic_artifact] if args.key?(:generic_artifact)
|
|
5555
5603
|
@git_source = args[:git_source] if args.key?(:git_source)
|
|
5556
5604
|
end
|
|
5557
5605
|
end
|
|
@@ -5634,6 +5682,61 @@ module Google
|
|
|
5634
5682
|
end
|
|
5635
5683
|
end
|
|
5636
5684
|
|
|
5685
|
+
# Generic artifact to upload to Artifact Registry upon successful completion of
|
|
5686
|
+
# all build steps.
|
|
5687
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
5688
|
+
include Google::Apis::Core::Hashable
|
|
5689
|
+
|
|
5690
|
+
# Required. Path to the generic artifact in the build's workspace to be uploaded
|
|
5691
|
+
# to Artifact Registry.
|
|
5692
|
+
# Corresponds to the JSON property `folder`
|
|
5693
|
+
# @return [String]
|
|
5694
|
+
attr_accessor :folder
|
|
5695
|
+
|
|
5696
|
+
# Required. Registry path to upload the generic artifact to, in the form
|
|
5697
|
+
# projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/
|
|
5698
|
+
# versions/$VERSION
|
|
5699
|
+
# Corresponds to the JSON property `registryPath`
|
|
5700
|
+
# @return [String]
|
|
5701
|
+
attr_accessor :registry_path
|
|
5702
|
+
|
|
5703
|
+
def initialize(**args)
|
|
5704
|
+
update!(**args)
|
|
5705
|
+
end
|
|
5706
|
+
|
|
5707
|
+
# Update properties of this object
|
|
5708
|
+
def update!(**args)
|
|
5709
|
+
@folder = args[:folder] if args.key?(:folder)
|
|
5710
|
+
@registry_path = args[:registry_path] if args.key?(:registry_path)
|
|
5711
|
+
end
|
|
5712
|
+
end
|
|
5713
|
+
|
|
5714
|
+
# Represents a generic artifact as a build dependency.
|
|
5715
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
5716
|
+
include Google::Apis::Core::Hashable
|
|
5717
|
+
|
|
5718
|
+
# Required. Where the artifact files should be placed on the worker.
|
|
5719
|
+
# Corresponds to the JSON property `destPath`
|
|
5720
|
+
# @return [String]
|
|
5721
|
+
attr_accessor :dest_path
|
|
5722
|
+
|
|
5723
|
+
# Required. The location to download the artifact files from. Ex: projects/p1/
|
|
5724
|
+
# locations/us/repositories/r1/packages/p1/versions/v1
|
|
5725
|
+
# Corresponds to the JSON property `resource`
|
|
5726
|
+
# @return [String]
|
|
5727
|
+
attr_accessor :resource
|
|
5728
|
+
|
|
5729
|
+
def initialize(**args)
|
|
5730
|
+
update!(**args)
|
|
5731
|
+
end
|
|
5732
|
+
|
|
5733
|
+
# Update properties of this object
|
|
5734
|
+
def update!(**args)
|
|
5735
|
+
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
|
5736
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
5737
|
+
end
|
|
5738
|
+
end
|
|
5739
|
+
|
|
5637
5740
|
# GitConfig is a configuration for git operations.
|
|
5638
5741
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
5639
5742
|
include Google::Apis::Core::Hashable
|
|
@@ -6174,6 +6277,17 @@ module Google
|
|
|
6174
6277
|
# @return [Array<String>]
|
|
6175
6278
|
attr_accessor :build_step_outputs
|
|
6176
6279
|
|
|
6280
|
+
# Results for build steps. step_id ->
|
|
6281
|
+
# Corresponds to the JSON property `buildStepResults`
|
|
6282
|
+
# @return [Hash<String,Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults>]
|
|
6283
|
+
attr_accessor :build_step_results
|
|
6284
|
+
|
|
6285
|
+
# Output only. Generic artifacts uploaded to Artifact Registry at the end of the
|
|
6286
|
+
# build.
|
|
6287
|
+
# Corresponds to the JSON property `genericArtifacts`
|
|
6288
|
+
# @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact>]
|
|
6289
|
+
attr_accessor :generic_artifacts
|
|
6290
|
+
|
|
6177
6291
|
# Optional. Go module artifacts uploaded to Artifact Registry at the end of the
|
|
6178
6292
|
# build.
|
|
6179
6293
|
# Corresponds to the JSON property `goModules`
|
|
@@ -6216,6 +6330,8 @@ module Google
|
|
|
6216
6330
|
@artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
|
|
6217
6331
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
|
6218
6332
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
|
6333
|
+
@build_step_results = args[:build_step_results] if args.key?(:build_step_results)
|
|
6334
|
+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
|
|
6219
6335
|
@go_modules = args[:go_modules] if args.key?(:go_modules)
|
|
6220
6336
|
@images = args[:images] if args.key?(:images)
|
|
6221
6337
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
@@ -6418,6 +6534,37 @@ module Google
|
|
|
6418
6534
|
end
|
|
6419
6535
|
end
|
|
6420
6536
|
|
|
6537
|
+
# StepResult is the declaration of a result for a build step.
|
|
6538
|
+
class GoogleDevtoolsCloudbuildV1StepResult
|
|
6539
|
+
include Google::Apis::Core::Hashable
|
|
6540
|
+
|
|
6541
|
+
# Optional. The content of the attestation to be generated.
|
|
6542
|
+
# Corresponds to the JSON property `attestationContent`
|
|
6543
|
+
# @return [String]
|
|
6544
|
+
attr_accessor :attestation_content
|
|
6545
|
+
|
|
6546
|
+
# Optional. The type of attestation to be generated.
|
|
6547
|
+
# Corresponds to the JSON property `attestationType`
|
|
6548
|
+
# @return [String]
|
|
6549
|
+
attr_accessor :attestation_type
|
|
6550
|
+
|
|
6551
|
+
# Required. The name of the result.
|
|
6552
|
+
# Corresponds to the JSON property `name`
|
|
6553
|
+
# @return [String]
|
|
6554
|
+
attr_accessor :name
|
|
6555
|
+
|
|
6556
|
+
def initialize(**args)
|
|
6557
|
+
update!(**args)
|
|
6558
|
+
end
|
|
6559
|
+
|
|
6560
|
+
# Update properties of this object
|
|
6561
|
+
def update!(**args)
|
|
6562
|
+
@attestation_content = args[:attestation_content] if args.key?(:attestation_content)
|
|
6563
|
+
@attestation_type = args[:attestation_type] if args.key?(:attestation_type)
|
|
6564
|
+
@name = args[:name] if args.key?(:name)
|
|
6565
|
+
end
|
|
6566
|
+
end
|
|
6567
|
+
|
|
6421
6568
|
# Location of the source in an archive file in Cloud Storage.
|
|
6422
6569
|
class GoogleDevtoolsCloudbuildV1StorageSource
|
|
6423
6570
|
include Google::Apis::Core::Hashable
|
|
@@ -6520,6 +6667,52 @@ module Google
|
|
|
6520
6667
|
end
|
|
6521
6668
|
end
|
|
6522
6669
|
|
|
6670
|
+
# A generic artifact uploaded to Artifact Registry using the GenericArtifact
|
|
6671
|
+
# directive.
|
|
6672
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
6673
|
+
include Google::Apis::Core::Hashable
|
|
6674
|
+
|
|
6675
|
+
# Container message for hashes of byte content of files, used in
|
|
6676
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
|
6677
|
+
# Corresponds to the JSON property `artifactFingerprint`
|
|
6678
|
+
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes]
|
|
6679
|
+
attr_accessor :artifact_fingerprint
|
|
6680
|
+
|
|
6681
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
6682
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
6683
|
+
# @return [String]
|
|
6684
|
+
attr_accessor :artifact_registry_package
|
|
6685
|
+
|
|
6686
|
+
# Output only. The file hashes that make up the generic artifact.
|
|
6687
|
+
# Corresponds to the JSON property `fileHashes`
|
|
6688
|
+
# @return [Hash<String,Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes>]
|
|
6689
|
+
attr_accessor :file_hashes
|
|
6690
|
+
|
|
6691
|
+
# Start and end times for a build execution phase.
|
|
6692
|
+
# Corresponds to the JSON property `pushTiming`
|
|
6693
|
+
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan]
|
|
6694
|
+
attr_accessor :push_timing
|
|
6695
|
+
|
|
6696
|
+
# Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/
|
|
6697
|
+
# repositories/r1/packages/p1/versions/v1
|
|
6698
|
+
# Corresponds to the JSON property `uri`
|
|
6699
|
+
# @return [String]
|
|
6700
|
+
attr_accessor :uri
|
|
6701
|
+
|
|
6702
|
+
def initialize(**args)
|
|
6703
|
+
update!(**args)
|
|
6704
|
+
end
|
|
6705
|
+
|
|
6706
|
+
# Update properties of this object
|
|
6707
|
+
def update!(**args)
|
|
6708
|
+
@artifact_fingerprint = args[:artifact_fingerprint] if args.key?(:artifact_fingerprint)
|
|
6709
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
6710
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
|
6711
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
6712
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
6713
|
+
end
|
|
6714
|
+
end
|
|
6715
|
+
|
|
6523
6716
|
# A Go module artifact uploaded to Artifact Registry using the GoModule
|
|
6524
6717
|
# directive.
|
|
6525
6718
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.113.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 = "20260501"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -538,6 +538,12 @@ module Google
|
|
|
538
538
|
include Google::Apis::Core::JsonObjectSupport
|
|
539
539
|
end
|
|
540
540
|
|
|
541
|
+
class GoogleDevtoolsCloudbuildV1BuildStepResults
|
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
543
|
+
|
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
545
|
+
end
|
|
546
|
+
|
|
541
547
|
class GoogleDevtoolsCloudbuildV1BuiltImage
|
|
542
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
543
549
|
|
|
@@ -574,6 +580,18 @@ module Google
|
|
|
574
580
|
include Google::Apis::Core::JsonObjectSupport
|
|
575
581
|
end
|
|
576
582
|
|
|
583
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
585
|
+
|
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
591
|
+
|
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
593
|
+
end
|
|
594
|
+
|
|
577
595
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
578
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
579
597
|
|
|
@@ -694,6 +712,12 @@ module Google
|
|
|
694
712
|
include Google::Apis::Core::JsonObjectSupport
|
|
695
713
|
end
|
|
696
714
|
|
|
715
|
+
class GoogleDevtoolsCloudbuildV1StepResult
|
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
717
|
+
|
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
719
|
+
end
|
|
720
|
+
|
|
697
721
|
class GoogleDevtoolsCloudbuildV1StorageSource
|
|
698
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
699
723
|
|
|
@@ -712,6 +736,12 @@ module Google
|
|
|
712
736
|
include Google::Apis::Core::JsonObjectSupport
|
|
713
737
|
end
|
|
714
738
|
|
|
739
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
741
|
+
|
|
742
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
743
|
+
end
|
|
744
|
+
|
|
715
745
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
716
746
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
717
747
|
|
|
@@ -1168,6 +1198,7 @@ module Google
|
|
|
1168
1198
|
|
|
1169
1199
|
property :create_time, as: 'createTime'
|
|
1170
1200
|
property :creator, as: 'creator'
|
|
1201
|
+
property :default_uri_disabled, as: 'defaultUriDisabled'
|
|
1171
1202
|
property :delete_time, as: 'deleteTime'
|
|
1172
1203
|
property :description, as: 'description'
|
|
1173
1204
|
property :encryption_key, as: 'encryptionKey'
|
|
@@ -1923,6 +1954,8 @@ module Google
|
|
|
1923
1954
|
class GoogleDevtoolsCloudbuildV1Artifacts
|
|
1924
1955
|
# @private
|
|
1925
1956
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1957
|
+
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GenericArtifact, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GenericArtifact::Representation
|
|
1958
|
+
|
|
1926
1959
|
collection :go_modules, as: 'goModules', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GoModule, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GoModule::Representation
|
|
1927
1960
|
|
|
1928
1961
|
collection :images, as: 'images'
|
|
@@ -2049,6 +2082,8 @@ module Google
|
|
|
2049
2082
|
property :name, as: 'name'
|
|
2050
2083
|
property :pull_timing, as: 'pullTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
2051
2084
|
|
|
2085
|
+
collection :results, as: 'results', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult::Representation
|
|
2086
|
+
|
|
2052
2087
|
property :script, as: 'script'
|
|
2053
2088
|
collection :secret_env, as: 'secretEnv'
|
|
2054
2089
|
property :status, as: 'status'
|
|
@@ -2061,6 +2096,13 @@ module Google
|
|
|
2061
2096
|
end
|
|
2062
2097
|
end
|
|
2063
2098
|
|
|
2099
|
+
class GoogleDevtoolsCloudbuildV1BuildStepResults
|
|
2100
|
+
# @private
|
|
2101
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2102
|
+
hash :results, as: 'results'
|
|
2103
|
+
end
|
|
2104
|
+
end
|
|
2105
|
+
|
|
2064
2106
|
class GoogleDevtoolsCloudbuildV1BuiltImage
|
|
2065
2107
|
# @private
|
|
2066
2108
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2086,6 +2128,8 @@ module Google
|
|
|
2086
2128
|
# @private
|
|
2087
2129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2088
2130
|
property :empty, as: 'empty'
|
|
2131
|
+
property :generic_artifact, as: 'genericArtifact', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GenericArtifactDependency, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GenericArtifactDependency::Representation
|
|
2132
|
+
|
|
2089
2133
|
property :git_source, as: 'gitSource', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSourceDependency, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSourceDependency::Representation
|
|
2090
2134
|
|
|
2091
2135
|
end
|
|
@@ -2116,6 +2160,22 @@ module Google
|
|
|
2116
2160
|
end
|
|
2117
2161
|
end
|
|
2118
2162
|
|
|
2163
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifact
|
|
2164
|
+
# @private
|
|
2165
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2166
|
+
property :folder, as: 'folder'
|
|
2167
|
+
property :registry_path, as: 'registryPath'
|
|
2168
|
+
end
|
|
2169
|
+
end
|
|
2170
|
+
|
|
2171
|
+
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
2172
|
+
# @private
|
|
2173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2174
|
+
property :dest_path, as: 'destPath'
|
|
2175
|
+
property :resource, as: 'resource'
|
|
2176
|
+
end
|
|
2177
|
+
end
|
|
2178
|
+
|
|
2119
2179
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
|
2120
2180
|
# @private
|
|
2121
2181
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2254,6 +2314,10 @@ module Google
|
|
|
2254
2314
|
|
|
2255
2315
|
collection :build_step_images, as: 'buildStepImages'
|
|
2256
2316
|
collection :build_step_outputs, as: 'buildStepOutputs'
|
|
2317
|
+
hash :build_step_results, as: 'buildStepResults', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults::Representation
|
|
2318
|
+
|
|
2319
|
+
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact::Representation
|
|
2320
|
+
|
|
2257
2321
|
collection :go_modules, as: 'goModules', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
|
|
2258
2322
|
|
|
2259
2323
|
collection :images, as: 'images', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuiltImage::Representation
|
|
@@ -2330,6 +2394,15 @@ module Google
|
|
|
2330
2394
|
end
|
|
2331
2395
|
end
|
|
2332
2396
|
|
|
2397
|
+
class GoogleDevtoolsCloudbuildV1StepResult
|
|
2398
|
+
# @private
|
|
2399
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2400
|
+
property :attestation_content, as: 'attestationContent'
|
|
2401
|
+
property :attestation_type, as: 'attestationType'
|
|
2402
|
+
property :name, as: 'name'
|
|
2403
|
+
end
|
|
2404
|
+
end
|
|
2405
|
+
|
|
2333
2406
|
class GoogleDevtoolsCloudbuildV1StorageSource
|
|
2334
2407
|
# @private
|
|
2335
2408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2357,6 +2430,20 @@ module Google
|
|
|
2357
2430
|
end
|
|
2358
2431
|
end
|
|
2359
2432
|
|
|
2433
|
+
class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
|
|
2434
|
+
# @private
|
|
2435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2436
|
+
property :artifact_fingerprint, as: 'artifactFingerprint', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
2437
|
+
|
|
2438
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
2439
|
+
hash :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
2440
|
+
|
|
2441
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
2442
|
+
|
|
2443
|
+
property :uri, as: 'uri'
|
|
2444
|
+
end
|
|
2445
|
+
end
|
|
2446
|
+
|
|
2360
2447
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
2361
2448
|
# @private
|
|
2362
2449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -333,6 +333,51 @@ module Google
|
|
|
333
333
|
execute_or_queue_command(command, &block)
|
|
334
334
|
end
|
|
335
335
|
|
|
336
|
+
# Gets the IAM Access Control policy currently in effect for the given Instance.
|
|
337
|
+
# This result does not include any inherited policies.
|
|
338
|
+
# @param [String] resource
|
|
339
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
340
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
341
|
+
# appropriate value for this field.
|
|
342
|
+
# @param [Fixnum] options_requested_policy_version
|
|
343
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
|
344
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
345
|
+
# rejected. Requests for policies with any conditional role bindings must
|
|
346
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
|
347
|
+
# valid value or leave the field unset. The policy in the response might use the
|
|
348
|
+
# policy version that you specified, or it might use a lower policy version. For
|
|
349
|
+
# example, if you specify version 3, but the policy has no conditional role
|
|
350
|
+
# bindings, the response uses version 1. To learn which resources support
|
|
351
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
352
|
+
# google.com/iam/help/conditions/resource-policies).
|
|
353
|
+
# @param [String] fields
|
|
354
|
+
# Selector specifying which fields to include in a partial response.
|
|
355
|
+
# @param [String] quota_user
|
|
356
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
357
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
358
|
+
# @param [Google::Apis::RequestOptions] options
|
|
359
|
+
# Request-specific options
|
|
360
|
+
#
|
|
361
|
+
# @yield [result, err] Result & error if block supplied
|
|
362
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
|
|
363
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
364
|
+
#
|
|
365
|
+
# @return [Google::Apis::RunV2::GoogleIamV1Policy]
|
|
366
|
+
#
|
|
367
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
368
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
369
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
370
|
+
def get_project_location_instance_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
371
|
+
command = make_simple_command(:get, 'v2/{+resource}:getIamPolicy', options)
|
|
372
|
+
command.response_representation = Google::Apis::RunV2::GoogleIamV1Policy::Representation
|
|
373
|
+
command.response_class = Google::Apis::RunV2::GoogleIamV1Policy
|
|
374
|
+
command.params['resource'] = resource unless resource.nil?
|
|
375
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
376
|
+
command.query['fields'] = fields unless fields.nil?
|
|
377
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
378
|
+
execute_or_queue_command(command, &block)
|
|
379
|
+
end
|
|
380
|
+
|
|
336
381
|
# Lists Instances. Results are sorted by creation time, descending.
|
|
337
382
|
# @param [String] parent
|
|
338
383
|
# Required. The location and project to list resources on. Format: projects/`
|
|
@@ -375,6 +420,90 @@ module Google
|
|
|
375
420
|
execute_or_queue_command(command, &block)
|
|
376
421
|
end
|
|
377
422
|
|
|
423
|
+
# Updates an Instance.
|
|
424
|
+
# @param [String] name
|
|
425
|
+
# The fully qualified name of this Instance. In CreateInstanceRequest, this
|
|
426
|
+
# field is ignored, and instead composed from CreateInstanceRequest.parent and
|
|
427
|
+
# CreateInstanceRequest.instance_id. Format: projects/`project`/locations/`
|
|
428
|
+
# location`/instances/`instance_id`
|
|
429
|
+
# @param [Google::Apis::RunV2::GoogleCloudRunV2Instance] google_cloud_run_v2_instance_object
|
|
430
|
+
# @param [Boolean] allow_missing
|
|
431
|
+
# Optional. If set to true, and if the Instance does not exist, it will create a
|
|
432
|
+
# new one. The caller must have 'run.instances.create' permissions if this is
|
|
433
|
+
# set to true and the Instance does not exist.
|
|
434
|
+
# @param [String] update_mask
|
|
435
|
+
# Optional. The list of fields to be updated.
|
|
436
|
+
# @param [Boolean] validate_only
|
|
437
|
+
# Optional. Indicates that the request should be validated and default values
|
|
438
|
+
# populated, without persisting the request or updating any resources.
|
|
439
|
+
# @param [String] fields
|
|
440
|
+
# Selector specifying which fields to include in a partial response.
|
|
441
|
+
# @param [String] quota_user
|
|
442
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
443
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
444
|
+
# @param [Google::Apis::RequestOptions] options
|
|
445
|
+
# Request-specific options
|
|
446
|
+
#
|
|
447
|
+
# @yield [result, err] Result & error if block supplied
|
|
448
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleLongrunningOperation] parsed result object
|
|
449
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
450
|
+
#
|
|
451
|
+
# @return [Google::Apis::RunV2::GoogleLongrunningOperation]
|
|
452
|
+
#
|
|
453
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
454
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
455
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
456
|
+
def patch_project_location_instance(name, google_cloud_run_v2_instance_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
457
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
|
458
|
+
command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2Instance::Representation
|
|
459
|
+
command.request_object = google_cloud_run_v2_instance_object
|
|
460
|
+
command.response_representation = Google::Apis::RunV2::GoogleLongrunningOperation::Representation
|
|
461
|
+
command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
|
|
462
|
+
command.params['name'] = name unless name.nil?
|
|
463
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
|
464
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
465
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
466
|
+
command.query['fields'] = fields unless fields.nil?
|
|
467
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
468
|
+
execute_or_queue_command(command, &block)
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
# Sets the IAM Access control policy for the specified Instance. Overwrites any
|
|
472
|
+
# existing policy.
|
|
473
|
+
# @param [String] resource
|
|
474
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
475
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
476
|
+
# appropriate value for this field.
|
|
477
|
+
# @param [Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
|
478
|
+
# @param [String] fields
|
|
479
|
+
# Selector specifying which fields to include in a partial response.
|
|
480
|
+
# @param [String] quota_user
|
|
481
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
482
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
483
|
+
# @param [Google::Apis::RequestOptions] options
|
|
484
|
+
# Request-specific options
|
|
485
|
+
#
|
|
486
|
+
# @yield [result, err] Result & error if block supplied
|
|
487
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
|
|
488
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
489
|
+
#
|
|
490
|
+
# @return [Google::Apis::RunV2::GoogleIamV1Policy]
|
|
491
|
+
#
|
|
492
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
493
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
494
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
495
|
+
def set_project_location_instance_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
496
|
+
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
|
|
497
|
+
command.request_representation = Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest::Representation
|
|
498
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
|
499
|
+
command.response_representation = Google::Apis::RunV2::GoogleIamV1Policy::Representation
|
|
500
|
+
command.response_class = Google::Apis::RunV2::GoogleIamV1Policy
|
|
501
|
+
command.params['resource'] = resource unless resource.nil?
|
|
502
|
+
command.query['fields'] = fields unless fields.nil?
|
|
503
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
504
|
+
execute_or_queue_command(command, &block)
|
|
505
|
+
end
|
|
506
|
+
|
|
378
507
|
# Starts an Instance.
|
|
379
508
|
# @param [String] name
|
|
380
509
|
# Required. The name of the Instance to stop. Format: `projects/`project`/
|
|
@@ -445,6 +574,42 @@ module Google
|
|
|
445
574
|
execute_or_queue_command(command, &block)
|
|
446
575
|
end
|
|
447
576
|
|
|
577
|
+
# Returns permissions that a caller has on the specified Project. There are no
|
|
578
|
+
# permissions required for making this API call.
|
|
579
|
+
# @param [String] resource
|
|
580
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
581
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
582
|
+
# appropriate value for this field.
|
|
583
|
+
# @param [Google::Apis::RunV2::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
|
584
|
+
# @param [String] fields
|
|
585
|
+
# Selector specifying which fields to include in a partial response.
|
|
586
|
+
# @param [String] quota_user
|
|
587
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
588
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
589
|
+
# @param [Google::Apis::RequestOptions] options
|
|
590
|
+
# Request-specific options
|
|
591
|
+
#
|
|
592
|
+
# @yield [result, err] Result & error if block supplied
|
|
593
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
|
594
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
595
|
+
#
|
|
596
|
+
# @return [Google::Apis::RunV2::GoogleIamV1TestIamPermissionsResponse]
|
|
597
|
+
#
|
|
598
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
599
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
600
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
601
|
+
def test_project_location_instance_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
602
|
+
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
|
|
603
|
+
command.request_representation = Google::Apis::RunV2::GoogleIamV1TestIamPermissionsRequest::Representation
|
|
604
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
|
605
|
+
command.response_representation = Google::Apis::RunV2::GoogleIamV1TestIamPermissionsResponse::Representation
|
|
606
|
+
command.response_class = Google::Apis::RunV2::GoogleIamV1TestIamPermissionsResponse
|
|
607
|
+
command.params['resource'] = resource unless resource.nil?
|
|
608
|
+
command.query['fields'] = fields unless fields.nil?
|
|
609
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
610
|
+
execute_or_queue_command(command, &block)
|
|
611
|
+
end
|
|
612
|
+
|
|
448
613
|
# Creates a Job.
|
|
449
614
|
# @param [String] parent
|
|
450
615
|
# Required. The location and project in which this Job should be created. Format:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-run_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.113.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_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.113.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|