google-apis-run_v1 0.107.0 → 0.109.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/run_v1/classes.rb +53 -24
- data/lib/google/apis/run_v1/gem_version.rb +3 -3
- data/lib/google/apis/run_v1/representations.rb +4 -0
- data/lib/google/apis/run_v1/service.rb +61 -24
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d257a2d4817a811a98ebfd786f57151d644b35374db37b78954b17aaf9648bde
|
|
4
|
+
data.tar.gz: 172edc11e00e794f778e66bfbeca4abcb80e3071a782f38fca5fc62cd5351c08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c3f21dcb029ef5f03c0064d6d41ef46dc5d14774ef3cdcf060dd538b45f27e1f4dffb40a71ae38e3dde7cb04a37a5f1084dc81c365ae0022b7502c3a622b263
|
|
7
|
+
data.tar.gz: 253964b9f6e93276df8345e3f5d84c9acb32091fcaac888e2e1123a430cbb2f50649452d0a7dc5e05e56f217eb82f2f6959774cd100f64b02c3d2c81e7955d7e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-run_v1
|
|
2
2
|
|
|
3
|
+
### v0.109.0 (2026-07-05)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260629
|
|
6
|
+
|
|
7
|
+
### v0.108.0 (2026-06-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260603
|
|
10
|
+
* Regenerated using generator version 0.19.0
|
|
11
|
+
|
|
3
12
|
### v0.107.0 (2026-05-31)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260522
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/run/) may provide guidance
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -615,6 +615,13 @@ module Google
|
|
|
615
615
|
# @return [Google::Apis::RunV1::ResourceRequirements]
|
|
616
616
|
attr_accessor :resources
|
|
617
617
|
|
|
618
|
+
# Optional. Indicates that this container can act as a sandbox supervisor and
|
|
619
|
+
# launch sandboxes.
|
|
620
|
+
# Corresponds to the JSON property `sandboxLauncher`
|
|
621
|
+
# @return [Boolean]
|
|
622
|
+
attr_accessor :sandbox_launcher
|
|
623
|
+
alias_method :sandbox_launcher?, :sandbox_launcher
|
|
624
|
+
|
|
618
625
|
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
|
619
626
|
# will be applied to a container. Some fields are present in both
|
|
620
627
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
|
@@ -678,6 +685,7 @@ module Google
|
|
|
678
685
|
@ports = args[:ports] if args.key?(:ports)
|
|
679
686
|
@readiness_probe = args[:readiness_probe] if args.key?(:readiness_probe)
|
|
680
687
|
@resources = args[:resources] if args.key?(:resources)
|
|
688
|
+
@sandbox_launcher = args[:sandbox_launcher] if args.key?(:sandbox_launcher)
|
|
681
689
|
@security_context = args[:security_context] if args.key?(:security_context)
|
|
682
690
|
@startup_probe = args[:startup_probe] if args.key?(:startup_probe)
|
|
683
691
|
@termination_message_path = args[:termination_message_path] if args.key?(:termination_message_path)
|
|
@@ -3923,8 +3931,8 @@ module Google
|
|
|
3923
3931
|
end
|
|
3924
3932
|
end
|
|
3925
3933
|
|
|
3926
|
-
# Instance represents the configuration of a single
|
|
3927
|
-
# container image
|
|
3934
|
+
# An Instance represents the configuration of a single instance that references
|
|
3935
|
+
# a container image and runs to completion.
|
|
3928
3936
|
class Instance
|
|
3929
3937
|
include Google::Apis::Core::Hashable
|
|
3930
3938
|
|
|
@@ -3953,7 +3961,7 @@ module Google
|
|
|
3953
3961
|
# @return [Google::Apis::RunV1::InstanceSpec]
|
|
3954
3962
|
attr_accessor :spec
|
|
3955
3963
|
|
|
3956
|
-
# InstanceStatus represents the current state of
|
|
3964
|
+
# InstanceStatus represents the current state of an Instance.
|
|
3957
3965
|
# Corresponds to the JSON property `status`
|
|
3958
3966
|
# @return [Google::Apis::RunV1::InstanceStatus]
|
|
3959
3967
|
attr_accessor :status
|
|
@@ -3988,6 +3996,12 @@ module Google
|
|
|
3988
3996
|
# @return [Hash<String,String>]
|
|
3989
3997
|
attr_accessor :node_selector
|
|
3990
3998
|
|
|
3999
|
+
# Optional. Restart policy for the Instance. Allowable values are 'Always', '
|
|
4000
|
+
# OnFailure', or 'Never'.
|
|
4001
|
+
# Corresponds to the JSON property `restartPolicy`
|
|
4002
|
+
# @return [String]
|
|
4003
|
+
attr_accessor :restart_policy
|
|
4004
|
+
|
|
3991
4005
|
# Optional. Email address of the IAM service account associated with the
|
|
3992
4006
|
# Instance. The service account represents the identity of the running container,
|
|
3993
4007
|
# and determines what permissions the Instance has. If not provided, the
|
|
@@ -4010,6 +4024,7 @@ module Google
|
|
|
4010
4024
|
def update!(**args)
|
|
4011
4025
|
@containers = args[:containers] if args.key?(:containers)
|
|
4012
4026
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
4027
|
+
@restart_policy = args[:restart_policy] if args.key?(:restart_policy)
|
|
4013
4028
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
|
4014
4029
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
4015
4030
|
end
|
|
@@ -4051,7 +4066,7 @@ module Google
|
|
|
4051
4066
|
end
|
|
4052
4067
|
end
|
|
4053
4068
|
|
|
4054
|
-
# InstanceStatus represents the current state of
|
|
4069
|
+
# InstanceStatus represents the current state of an Instance.
|
|
4055
4070
|
class InstanceStatus
|
|
4056
4071
|
include Google::Apis::Core::Hashable
|
|
4057
4072
|
|
|
@@ -4911,26 +4926,26 @@ module Google
|
|
|
4911
4926
|
# googleapis.com/build-service-account`: Service. * `run.googleapis.com/build-
|
|
4912
4927
|
# source-location`: Service, Revision. * `run.googleapis.com/build-worker-pool`:
|
|
4913
4928
|
# Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.
|
|
4914
|
-
# com/cloudsql-instances`: Revision, Execution . * `run.googleapis.com/
|
|
4915
|
-
# dependencies`: Revision . * `run.googleapis.com/cpu-throttling`:
|
|
4916
|
-
# run.googleapis.com/custom-audiences`: Service. * `run.googleapis.
|
|
4917
|
-
# url-disabled`: Service. * `run.googleapis.com/description`:
|
|
4918
|
-
# googleapis.com/encryption-key-shutdown-hours`: Revision * `run.
|
|
4919
|
-
# encryption-key`: Revision, Execution . * `run.
|
|
4920
|
-
# environment`: Revision, Execution
|
|
4921
|
-
# Service. * `run.googleapis.com/gpu-zonal-redundancy-
|
|
4922
|
-
# run.googleapis.com/health-check-disabled`: Revision. *
|
|
4923
|
-
# ingress`: Service, Instance. * `run.googleapis.com/invoker-
|
|
4924
|
-
# Service, Instance. * `run.googleapis.com/launch-stage`: Service,
|
|
4925
|
-
# googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale
|
|
4926
|
-
# `run.googleapis.com/manualInstanceCount`: Service. * `run.
|
|
4927
|
-
# network-interfaces`: Revision, Execution. * `run.
|
|
4928
|
-
# revocation-action-type`: Revision. `run.googleapis.com/
|
|
4929
|
-
# `run.googleapis.com/secrets`: Revision, Execution. * `
|
|
4930
|
-
# secure-session-agent`: Revision. * `run.googleapis.com/
|
|
4931
|
-
# Revision. * `run.googleapis.com/startup-cpu-boost`: Revision.
|
|
4932
|
-
# googleapis.com/vpc-access-connector`: Revision, Execution
|
|
4933
|
-
# com/vpc-access-egress`: Revision, Execution.
|
|
4929
|
+
# com/cloudsql-instances`: Revision, Execution, Instance. * `run.googleapis.com/
|
|
4930
|
+
# container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`:
|
|
4931
|
+
# Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.
|
|
4932
|
+
# com/default-url-disabled`: Service. * `run.googleapis.com/description`:
|
|
4933
|
+
# Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.
|
|
4934
|
+
# googleapis.com/encryption-key`: Revision, Execution, Instance. * `run.
|
|
4935
|
+
# googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.
|
|
4936
|
+
# com/gc-traffic-tags`: Service. * `run.googleapis.com/gpu-zonal-redundancy-
|
|
4937
|
+
# disabled`: Revision. * `run.googleapis.com/health-check-disabled`: Revision. *
|
|
4938
|
+
# `run.googleapis.com/ingress`: Service, Instance. * `run.googleapis.com/invoker-
|
|
4939
|
+
# iam-disabled`: Service, Instance. * `run.googleapis.com/launch-stage`: Service,
|
|
4940
|
+
# Job. * `run.googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale`
|
|
4941
|
+
# : Service. * `run.googleapis.com/manualInstanceCount`: Service. * `run.
|
|
4942
|
+
# googleapis.com/network-interfaces`: Revision, Execution, Instance. * `run.
|
|
4943
|
+
# googleapis.com/post-key-revocation-action-type`: Revision. `run.googleapis.com/
|
|
4944
|
+
# scalingMode`: Service. * `run.googleapis.com/secrets`: Revision, Execution. * `
|
|
4945
|
+
# run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/
|
|
4946
|
+
# sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision.
|
|
4947
|
+
# * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.
|
|
4948
|
+
# googleapis.com/vpc-access-egress`: Revision, Execution, Instance.
|
|
4934
4949
|
# Corresponds to the JSON property `annotations`
|
|
4935
4950
|
# @return [Hash<String,String>]
|
|
4936
4951
|
attr_accessor :annotations
|
|
@@ -6100,12 +6115,19 @@ module Google
|
|
|
6100
6115
|
class StartInstanceRequest
|
|
6101
6116
|
include Google::Apis::Core::Hashable
|
|
6102
6117
|
|
|
6118
|
+
# Optional. Indicates that the server should validate the request and populate
|
|
6119
|
+
# default values without persisting the request. Supported values: `all`
|
|
6120
|
+
# Corresponds to the JSON property `dryRun`
|
|
6121
|
+
# @return [String]
|
|
6122
|
+
attr_accessor :dry_run
|
|
6123
|
+
|
|
6103
6124
|
def initialize(**args)
|
|
6104
6125
|
update!(**args)
|
|
6105
6126
|
end
|
|
6106
6127
|
|
|
6107
6128
|
# Update properties of this object
|
|
6108
6129
|
def update!(**args)
|
|
6130
|
+
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
|
6109
6131
|
end
|
|
6110
6132
|
end
|
|
6111
6133
|
|
|
@@ -6267,12 +6289,19 @@ module Google
|
|
|
6267
6289
|
class StopInstanceRequest
|
|
6268
6290
|
include Google::Apis::Core::Hashable
|
|
6269
6291
|
|
|
6292
|
+
# Optional. Indicates that the server should validate the request and populate
|
|
6293
|
+
# default values without persisting the request. Supported values: `all`
|
|
6294
|
+
# Corresponds to the JSON property `dryRun`
|
|
6295
|
+
# @return [String]
|
|
6296
|
+
attr_accessor :dry_run
|
|
6297
|
+
|
|
6270
6298
|
def initialize(**args)
|
|
6271
6299
|
update!(**args)
|
|
6272
6300
|
end
|
|
6273
6301
|
|
|
6274
6302
|
# Update properties of this object
|
|
6275
6303
|
def update!(**args)
|
|
6304
|
+
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
|
6276
6305
|
end
|
|
6277
6306
|
end
|
|
6278
6307
|
|
|
@@ -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.109.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260629"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1088,6 +1088,7 @@ module Google
|
|
|
1088
1088
|
|
|
1089
1089
|
property :resources, as: 'resources', class: Google::Apis::RunV1::ResourceRequirements, decorator: Google::Apis::RunV1::ResourceRequirements::Representation
|
|
1090
1090
|
|
|
1091
|
+
property :sandbox_launcher, as: 'sandboxLauncher'
|
|
1091
1092
|
property :security_context, as: 'securityContext', class: Google::Apis::RunV1::SecurityContext, decorator: Google::Apis::RunV1::SecurityContext::Representation
|
|
1092
1093
|
|
|
1093
1094
|
property :startup_probe, as: 'startupProbe', class: Google::Apis::RunV1::Probe, decorator: Google::Apis::RunV1::Probe::Representation
|
|
@@ -1963,6 +1964,7 @@ module Google
|
|
|
1963
1964
|
collection :containers, as: 'containers', class: Google::Apis::RunV1::Container, decorator: Google::Apis::RunV1::Container::Representation
|
|
1964
1965
|
|
|
1965
1966
|
hash :node_selector, as: 'nodeSelector'
|
|
1967
|
+
property :restart_policy, as: 'restartPolicy'
|
|
1966
1968
|
property :service_account_name, as: 'serviceAccountName'
|
|
1967
1969
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
|
|
1968
1970
|
|
|
@@ -2500,6 +2502,7 @@ module Google
|
|
|
2500
2502
|
class StartInstanceRequest
|
|
2501
2503
|
# @private
|
|
2502
2504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2505
|
+
property :dry_run, as: 'dryRun'
|
|
2503
2506
|
end
|
|
2504
2507
|
end
|
|
2505
2508
|
|
|
@@ -2542,6 +2545,7 @@ module Google
|
|
|
2542
2545
|
class StopInstanceRequest
|
|
2543
2546
|
# @private
|
|
2544
2547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2548
|
+
property :dry_run, as: 'dryRun'
|
|
2545
2549
|
end
|
|
2546
2550
|
end
|
|
2547
2551
|
|
|
@@ -513,12 +513,17 @@ module Google
|
|
|
513
513
|
execute_or_queue_command(command, &block)
|
|
514
514
|
end
|
|
515
515
|
|
|
516
|
-
# Create
|
|
516
|
+
# Create an Instance.
|
|
517
517
|
# @param [String] parent
|
|
518
|
-
# Required. The
|
|
519
|
-
#
|
|
520
|
-
#
|
|
518
|
+
# Required. The resource's parent. In Cloud Run, it may be one of the following:
|
|
519
|
+
# * ``project_id_or_number`` * `namespaces/`project_id_or_number`` * `namespaces/
|
|
520
|
+
# `project_id_or_number`/instances` * `projects/`project_id_or_number`/locations/
|
|
521
|
+
# `region`` * `projects/`project_id_or_number`/regions/`region`` Parent resource
|
|
522
|
+
# namespace.
|
|
521
523
|
# @param [Google::Apis::RunV1::Instance] instance_object
|
|
524
|
+
# @param [String] dry_run
|
|
525
|
+
# Optional. Indicates that the server should validate the request and populate
|
|
526
|
+
# default values without persisting the request. Supported values: `all`
|
|
522
527
|
# @param [String] fields
|
|
523
528
|
# Selector specifying which fields to include in a partial response.
|
|
524
529
|
# @param [String] quota_user
|
|
@@ -536,25 +541,32 @@ module Google
|
|
|
536
541
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
537
542
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
538
543
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
539
|
-
def create_namespace_instance(parent, instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
544
|
+
def create_namespace_instance(parent, instance_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
540
545
|
command = make_simple_command(:post, 'apis/run.googleapis.com/v1/{+parent}/instances', options)
|
|
541
546
|
command.request_representation = Google::Apis::RunV1::Instance::Representation
|
|
542
547
|
command.request_object = instance_object
|
|
543
548
|
command.response_representation = Google::Apis::RunV1::Instance::Representation
|
|
544
549
|
command.response_class = Google::Apis::RunV1::Instance
|
|
545
550
|
command.params['parent'] = parent unless parent.nil?
|
|
551
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
546
552
|
command.query['fields'] = fields unless fields.nil?
|
|
547
553
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
548
554
|
execute_or_queue_command(command, &block)
|
|
549
555
|
end
|
|
550
556
|
|
|
551
|
-
# Delete
|
|
557
|
+
# Delete an Instance.
|
|
552
558
|
# @param [String] name
|
|
553
|
-
# Required. The name of the Instance to delete.
|
|
554
|
-
#
|
|
555
|
-
#
|
|
559
|
+
# Required. The fully qualified name of the Instance to delete. It can be any of
|
|
560
|
+
# the following forms: * `namespaces/`project_id_or_number`/instances/`
|
|
561
|
+
# instance_name`` (only when the `endpoint` is regional) * `projects/`
|
|
562
|
+
# project_id_or_number`/locations/`region`/instances/`instance_name`` * `
|
|
563
|
+
# projects/`project_id_or_number`/regions/`region`/instances/`instance_name``
|
|
564
|
+
# Parent resource namespace.
|
|
556
565
|
# @param [String] api_version
|
|
557
566
|
# Optional. Cloud Run currently ignores this parameter.
|
|
567
|
+
# @param [String] dry_run
|
|
568
|
+
# Optional. Indicates that the server should validate the request and populate
|
|
569
|
+
# default values without persisting the request. Supported values: `all`
|
|
558
570
|
# @param [String] kind
|
|
559
571
|
# Optional. Cloud Run currently ignores this parameter.
|
|
560
572
|
# @param [String] propagation_policy
|
|
@@ -578,12 +590,13 @@ module Google
|
|
|
578
590
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
579
591
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
580
592
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
581
|
-
def delete_namespace_instance(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
593
|
+
def delete_namespace_instance(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
582
594
|
command = make_simple_command(:delete, 'apis/run.googleapis.com/v1/{+name}', options)
|
|
583
595
|
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
584
596
|
command.response_class = Google::Apis::RunV1::Status
|
|
585
597
|
command.params['name'] = name unless name.nil?
|
|
586
598
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
599
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
587
600
|
command.query['kind'] = kind unless kind.nil?
|
|
588
601
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
589
602
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -593,9 +606,12 @@ module Google
|
|
|
593
606
|
|
|
594
607
|
# Get an Instance.
|
|
595
608
|
# @param [String] name
|
|
596
|
-
# Required. The name of the Instance to retrieve. It
|
|
597
|
-
#
|
|
598
|
-
#
|
|
609
|
+
# Required. The fully qualified name of the Instance to retrieve. It can be any
|
|
610
|
+
# of the following forms: * `namespaces/`project_id_or_number`/instances/`
|
|
611
|
+
# instance_name`` (only when the `endpoint` is regional) * `projects/`
|
|
612
|
+
# project_id_or_number`/locations/`region`/instances/`instance_name`` * `
|
|
613
|
+
# projects/`project_id_or_number`/regions/`region`/instances/`instance_name``
|
|
614
|
+
# Parent resource namespace.
|
|
599
615
|
# @param [String] fields
|
|
600
616
|
# Selector specifying which fields to include in a partial response.
|
|
601
617
|
# @param [String] quota_user
|
|
@@ -625,9 +641,11 @@ module Google
|
|
|
625
641
|
|
|
626
642
|
# List Instances. Results are sorted by creation time, descending.
|
|
627
643
|
# @param [String] parent
|
|
628
|
-
# Required. The
|
|
629
|
-
#
|
|
630
|
-
#
|
|
644
|
+
# Required. The parent from where the resources should be listed. In Cloud Run,
|
|
645
|
+
# it may be one of the following: * ``project_id_or_number`` * `namespaces/`
|
|
646
|
+
# project_id_or_number`` * `namespaces/`project_id_or_number`/instances` * `
|
|
647
|
+
# projects/`project_id_or_number`/locations/`region`` * `projects/`
|
|
648
|
+
# project_id_or_number`/regions/`region`` Parent resource namespace.
|
|
631
649
|
# @param [String] continue
|
|
632
650
|
# Optional. Optional encoded string to continue paging.
|
|
633
651
|
# @param [String] field_selector
|
|
@@ -679,10 +697,16 @@ module Google
|
|
|
679
697
|
|
|
680
698
|
# Replace an Instance.
|
|
681
699
|
# @param [String] name
|
|
682
|
-
# Required. The name of the Instance being replaced.
|
|
683
|
-
#
|
|
684
|
-
#
|
|
700
|
+
# Required. The fully qualified name of the Instance being replaced. It can be
|
|
701
|
+
# any of the following forms: * `namespaces/`project_id_or_number`/instances/`
|
|
702
|
+
# instance_name`` (only when the `endpoint` is regional) * `projects/`
|
|
703
|
+
# project_id_or_number`/locations/`region`/instances/`instance_name`` * `
|
|
704
|
+
# projects/`project_id_or_number`/regions/`region`/instances/`instance_name``
|
|
705
|
+
# Parent resource namespace.
|
|
685
706
|
# @param [Google::Apis::RunV1::Instance] instance_object
|
|
707
|
+
# @param [String] dry_run
|
|
708
|
+
# Optional. Indicates that the server should validate the request and populate
|
|
709
|
+
# default values without persisting the request. Supported values: `all`
|
|
686
710
|
# @param [String] fields
|
|
687
711
|
# Selector specifying which fields to include in a partial response.
|
|
688
712
|
# @param [String] quota_user
|
|
@@ -700,13 +724,14 @@ module Google
|
|
|
700
724
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
701
725
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
702
726
|
# @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)
|
|
727
|
+
def replace_namespace_instance_instance(name, instance_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
704
728
|
command = make_simple_command(:put, 'apis/run.googleapis.com/v1/{+name}', options)
|
|
705
729
|
command.request_representation = Google::Apis::RunV1::Instance::Representation
|
|
706
730
|
command.request_object = instance_object
|
|
707
731
|
command.response_representation = Google::Apis::RunV1::Instance::Representation
|
|
708
732
|
command.response_class = Google::Apis::RunV1::Instance
|
|
709
733
|
command.params['name'] = name unless name.nil?
|
|
734
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
710
735
|
command.query['fields'] = fields unless fields.nil?
|
|
711
736
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
712
737
|
execute_or_queue_command(command, &block)
|
|
@@ -788,6 +813,9 @@ module Google
|
|
|
788
813
|
# with the project ID or number. It takes the form namespaces/`namespace`. For
|
|
789
814
|
# example: namespaces/PROJECT_ID
|
|
790
815
|
# @param [Google::Apis::RunV1::Job] job_object
|
|
816
|
+
# @param [String] dry_run
|
|
817
|
+
# Optional. Indicates that the server should validate the request and populate
|
|
818
|
+
# default values without persisting the request. Supported values: `all`
|
|
791
819
|
# @param [String] fields
|
|
792
820
|
# Selector specifying which fields to include in a partial response.
|
|
793
821
|
# @param [String] quota_user
|
|
@@ -805,13 +833,14 @@ module Google
|
|
|
805
833
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
806
834
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
807
835
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
808
|
-
def create_namespace_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
836
|
+
def create_namespace_job(parent, job_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
809
837
|
command = make_simple_command(:post, 'apis/run.googleapis.com/v1/{+parent}/jobs', options)
|
|
810
838
|
command.request_representation = Google::Apis::RunV1::Job::Representation
|
|
811
839
|
command.request_object = job_object
|
|
812
840
|
command.response_representation = Google::Apis::RunV1::Job::Representation
|
|
813
841
|
command.response_class = Google::Apis::RunV1::Job
|
|
814
842
|
command.params['parent'] = parent unless parent.nil?
|
|
843
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
815
844
|
command.query['fields'] = fields unless fields.nil?
|
|
816
845
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
817
846
|
execute_or_queue_command(command, &block)
|
|
@@ -824,6 +853,9 @@ module Google
|
|
|
824
853
|
# namespaces/PROJECT_ID
|
|
825
854
|
# @param [String] api_version
|
|
826
855
|
# Optional. Cloud Run currently ignores this parameter.
|
|
856
|
+
# @param [String] dry_run
|
|
857
|
+
# Optional. Indicates that the server should validate the request and populate
|
|
858
|
+
# default values without persisting the request. Supported values: `all`
|
|
827
859
|
# @param [String] kind
|
|
828
860
|
# Optional. Cloud Run currently ignores this parameter.
|
|
829
861
|
# @param [String] propagation_policy
|
|
@@ -847,12 +879,13 @@ module Google
|
|
|
847
879
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
848
880
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
849
881
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
850
|
-
def delete_namespace_job(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
882
|
+
def delete_namespace_job(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
851
883
|
command = make_simple_command(:delete, 'apis/run.googleapis.com/v1/{+name}', options)
|
|
852
884
|
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
853
885
|
command.response_class = Google::Apis::RunV1::Status
|
|
854
886
|
command.params['name'] = name unless name.nil?
|
|
855
887
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
888
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
856
889
|
command.query['kind'] = kind unless kind.nil?
|
|
857
890
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
858
891
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -955,6 +988,9 @@ module Google
|
|
|
955
988
|
# project ID or number. It takes the form namespaces/`namespace`. For example:
|
|
956
989
|
# namespaces/PROJECT_ID
|
|
957
990
|
# @param [Google::Apis::RunV1::Job] job_object
|
|
991
|
+
# @param [String] dry_run
|
|
992
|
+
# Optional. Indicates that the server should validate the request and populate
|
|
993
|
+
# default values without persisting the request. Supported values: `all`
|
|
958
994
|
# @param [String] fields
|
|
959
995
|
# Selector specifying which fields to include in a partial response.
|
|
960
996
|
# @param [String] quota_user
|
|
@@ -972,13 +1008,14 @@ module Google
|
|
|
972
1008
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
973
1009
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
974
1010
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
975
|
-
def replace_namespace_job_job(name, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1011
|
+
def replace_namespace_job_job(name, job_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
976
1012
|
command = make_simple_command(:put, 'apis/run.googleapis.com/v1/{+name}', options)
|
|
977
1013
|
command.request_representation = Google::Apis::RunV1::Job::Representation
|
|
978
1014
|
command.request_object = job_object
|
|
979
1015
|
command.response_representation = Google::Apis::RunV1::Job::Representation
|
|
980
1016
|
command.response_class = Google::Apis::RunV1::Job
|
|
981
1017
|
command.params['name'] = name unless name.nil?
|
|
1018
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
982
1019
|
command.query['fields'] = fields unless fields.nil?
|
|
983
1020
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
984
1021
|
execute_or_queue_command(command, &block)
|
|
@@ -2159,7 +2196,7 @@ module Google
|
|
|
2159
2196
|
execute_or_queue_command(command, &block)
|
|
2160
2197
|
end
|
|
2161
2198
|
|
|
2162
|
-
#
|
|
2199
|
+
# Gets the IAM Access Control policy currently in effect for the given instance.
|
|
2163
2200
|
# This result does not include any inherited policies.
|
|
2164
2201
|
# @param [String] resource
|
|
2165
2202
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
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.109.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.109.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:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|