google-apis-run_v1 0.108.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 +4 -0
- data/lib/google/apis/run_v1/classes.rb +38 -30
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +2 -2
- data/lib/google/apis/run_v1/service.rb +61 -24
- 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: 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
|
@@ -3931,8 +3931,8 @@ module Google
|
|
|
3931
3931
|
end
|
|
3932
3932
|
end
|
|
3933
3933
|
|
|
3934
|
-
# Instance represents the configuration of a single
|
|
3935
|
-
# container image
|
|
3934
|
+
# An Instance represents the configuration of a single instance that references
|
|
3935
|
+
# a container image and runs to completion.
|
|
3936
3936
|
class Instance
|
|
3937
3937
|
include Google::Apis::Core::Hashable
|
|
3938
3938
|
|
|
@@ -3961,7 +3961,7 @@ module Google
|
|
|
3961
3961
|
# @return [Google::Apis::RunV1::InstanceSpec]
|
|
3962
3962
|
attr_accessor :spec
|
|
3963
3963
|
|
|
3964
|
-
# InstanceStatus represents the current state of
|
|
3964
|
+
# InstanceStatus represents the current state of an Instance.
|
|
3965
3965
|
# Corresponds to the JSON property `status`
|
|
3966
3966
|
# @return [Google::Apis::RunV1::InstanceStatus]
|
|
3967
3967
|
attr_accessor :status
|
|
@@ -4066,7 +4066,7 @@ module Google
|
|
|
4066
4066
|
end
|
|
4067
4067
|
end
|
|
4068
4068
|
|
|
4069
|
-
# InstanceStatus represents the current state of
|
|
4069
|
+
# InstanceStatus represents the current state of an Instance.
|
|
4070
4070
|
class InstanceStatus
|
|
4071
4071
|
include Google::Apis::Core::Hashable
|
|
4072
4072
|
|
|
@@ -4926,26 +4926,26 @@ module Google
|
|
|
4926
4926
|
# googleapis.com/build-service-account`: Service. * `run.googleapis.com/build-
|
|
4927
4927
|
# source-location`: Service, Revision. * `run.googleapis.com/build-worker-pool`:
|
|
4928
4928
|
# Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.
|
|
4929
|
-
# com/cloudsql-instances`: Revision, Execution . * `run.googleapis.com/
|
|
4930
|
-
# dependencies`: Revision . * `run.googleapis.com/cpu-throttling`:
|
|
4931
|
-
# run.googleapis.com/custom-audiences`: Service. * `run.googleapis.
|
|
4932
|
-
# url-disabled`: Service. * `run.googleapis.com/description`:
|
|
4933
|
-
# googleapis.com/encryption-key-shutdown-hours`: Revision * `run.
|
|
4934
|
-
# encryption-key`: Revision, Execution . * `run.
|
|
4935
|
-
# environment`: Revision, Execution
|
|
4936
|
-
# Service. * `run.googleapis.com/gpu-zonal-redundancy-
|
|
4937
|
-
# run.googleapis.com/health-check-disabled`: Revision. *
|
|
4938
|
-
# ingress`: Service, Instance. * `run.googleapis.com/invoker-
|
|
4939
|
-
# Service, Instance. * `run.googleapis.com/launch-stage`: Service,
|
|
4940
|
-
# googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale
|
|
4941
|
-
# `run.googleapis.com/manualInstanceCount`: Service. * `run.
|
|
4942
|
-
# network-interfaces`: Revision, Execution. * `run.
|
|
4943
|
-
# revocation-action-type`: Revision. `run.googleapis.com/
|
|
4944
|
-
# `run.googleapis.com/secrets`: Revision, Execution. * `
|
|
4945
|
-
# secure-session-agent`: Revision. * `run.googleapis.com/
|
|
4946
|
-
# Revision. * `run.googleapis.com/startup-cpu-boost`: Revision.
|
|
4947
|
-
# googleapis.com/vpc-access-connector`: Revision, Execution
|
|
4948
|
-
# 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.
|
|
4949
4949
|
# Corresponds to the JSON property `annotations`
|
|
4950
4950
|
# @return [Hash<String,String>]
|
|
4951
4951
|
attr_accessor :annotations
|
|
@@ -5469,11 +5469,6 @@ module Google
|
|
|
5469
5469
|
# @return [String]
|
|
5470
5470
|
attr_accessor :runtime_class_name
|
|
5471
5471
|
|
|
5472
|
-
# Optional. Container templates that can be launched through the `sandbox` CLI.
|
|
5473
|
-
# Corresponds to the JSON property `sandboxes`
|
|
5474
|
-
# @return [Array<Google::Apis::RunV1::Container>]
|
|
5475
|
-
attr_accessor :sandboxes
|
|
5476
|
-
|
|
5477
5472
|
# Email address of the IAM service account associated with the revision of the
|
|
5478
5473
|
# service. The service account represents the identity of the running revision,
|
|
5479
5474
|
# and determines what permissions the revision has. If not provided, the
|
|
@@ -5506,7 +5501,6 @@ module Google
|
|
|
5506
5501
|
@image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets)
|
|
5507
5502
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
5508
5503
|
@runtime_class_name = args[:runtime_class_name] if args.key?(:runtime_class_name)
|
|
5509
|
-
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
5510
5504
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
|
5511
5505
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
|
5512
5506
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
@@ -6121,12 +6115,19 @@ module Google
|
|
|
6121
6115
|
class StartInstanceRequest
|
|
6122
6116
|
include Google::Apis::Core::Hashable
|
|
6123
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
|
+
|
|
6124
6124
|
def initialize(**args)
|
|
6125
6125
|
update!(**args)
|
|
6126
6126
|
end
|
|
6127
6127
|
|
|
6128
6128
|
# Update properties of this object
|
|
6129
6129
|
def update!(**args)
|
|
6130
|
+
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
|
6130
6131
|
end
|
|
6131
6132
|
end
|
|
6132
6133
|
|
|
@@ -6288,12 +6289,19 @@ module Google
|
|
|
6288
6289
|
class StopInstanceRequest
|
|
6289
6290
|
include Google::Apis::Core::Hashable
|
|
6290
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
|
+
|
|
6291
6298
|
def initialize(**args)
|
|
6292
6299
|
update!(**args)
|
|
6293
6300
|
end
|
|
6294
6301
|
|
|
6295
6302
|
# Update properties of this object
|
|
6296
6303
|
def update!(**args)
|
|
6304
|
+
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
|
6297
6305
|
end
|
|
6298
6306
|
end
|
|
6299
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
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
|
|
@@ -2337,8 +2337,6 @@ module Google
|
|
|
2337
2337
|
|
|
2338
2338
|
hash :node_selector, as: 'nodeSelector'
|
|
2339
2339
|
property :runtime_class_name, as: 'runtimeClassName'
|
|
2340
|
-
collection :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::Container, decorator: Google::Apis::RunV1::Container::Representation
|
|
2341
|
-
|
|
2342
2340
|
property :service_account_name, as: 'serviceAccountName'
|
|
2343
2341
|
property :timeout_seconds, as: 'timeoutSeconds'
|
|
2344
2342
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
|
|
@@ -2504,6 +2502,7 @@ module Google
|
|
|
2504
2502
|
class StartInstanceRequest
|
|
2505
2503
|
# @private
|
|
2506
2504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2505
|
+
property :dry_run, as: 'dryRun'
|
|
2507
2506
|
end
|
|
2508
2507
|
end
|
|
2509
2508
|
|
|
@@ -2546,6 +2545,7 @@ module Google
|
|
|
2546
2545
|
class StopInstanceRequest
|
|
2547
2546
|
# @private
|
|
2548
2547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2548
|
+
property :dry_run, as: 'dryRun'
|
|
2549
2549
|
end
|
|
2550
2550
|
end
|
|
2551
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:
|