From 23fe9ce23c3c6ebfa0fdab5a5f40a71f32f407c7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 5 Jul 2026 10:23:32 +0000 Subject: [PATCH] feat: Automated regeneration of run v1 client --- api_names_out.yaml | 8 ++ generated/google-apis-run_v1/CHANGELOG.md | 4 + .../lib/google/apis/run_v1/classes.rb | 68 ++++++++------- .../lib/google/apis/run_v1/gem_version.rb | 4 +- .../lib/google/apis/run_v1/representations.rb | 4 +- .../lib/google/apis/run_v1/service.rb | 85 +++++++++++++------ 6 files changed, 115 insertions(+), 58 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index dd27b458b0a..1b94b11a9bc 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -368666,6 +368666,7 @@ "/run:v1/SetIamPolicyRequest/policy": policy "/run:v1/SetIamPolicyRequest/updateMask": update_mask "/run:v1/StartInstanceRequest": start_instance_request +"/run:v1/StartInstanceRequest/dryRun": dry_run "/run:v1/Status": status "/run:v1/Status/code": code "/run:v1/Status/details": details @@ -368686,6 +368687,7 @@ "/run:v1/StatusDetails/retryAfterSeconds": retry_after_seconds "/run:v1/StatusDetails/uid": uid "/run:v1/StopInstanceRequest": stop_instance_request +"/run:v1/StopInstanceRequest/dryRun": dry_run "/run:v1/TCPSocketAction": tcp_socket_action "/run:v1/TCPSocketAction/host": host "/run:v1/TCPSocketAction/port": port @@ -368832,9 +368834,11 @@ "/run:v1/run.namespaces.executions.list/resourceVersion": resource_version "/run:v1/run.namespaces.executions.list/watch": watch "/run:v1/run.namespaces.instances.create": create_namespace_instance +"/run:v1/run.namespaces.instances.create/dryRun": dry_run "/run:v1/run.namespaces.instances.create/parent": parent "/run:v1/run.namespaces.instances.delete": delete_namespace_instance "/run:v1/run.namespaces.instances.delete/apiVersion": api_version +"/run:v1/run.namespaces.instances.delete/dryRun": dry_run "/run:v1/run.namespaces.instances.delete/kind": kind "/run:v1/run.namespaces.instances.delete/name": name "/run:v1/run.namespaces.instances.delete/propagationPolicy": propagation_policy @@ -368850,15 +368854,18 @@ "/run:v1/run.namespaces.instances.list/resourceVersion": resource_version "/run:v1/run.namespaces.instances.list/watch": watch "/run:v1/run.namespaces.instances.replaceInstance": replace_namespace_instance_instance +"/run:v1/run.namespaces.instances.replaceInstance/dryRun": dry_run "/run:v1/run.namespaces.instances.replaceInstance/name": name "/run:v1/run.namespaces.instances.start": start_instance "/run:v1/run.namespaces.instances.start/name": name "/run:v1/run.namespaces.instances.stop": stop_instance "/run:v1/run.namespaces.instances.stop/name": name "/run:v1/run.namespaces.jobs.create": create_namespace_job +"/run:v1/run.namespaces.jobs.create/dryRun": dry_run "/run:v1/run.namespaces.jobs.create/parent": parent "/run:v1/run.namespaces.jobs.delete": delete_namespace_job "/run:v1/run.namespaces.jobs.delete/apiVersion": api_version +"/run:v1/run.namespaces.jobs.delete/dryRun": dry_run "/run:v1/run.namespaces.jobs.delete/kind": kind "/run:v1/run.namespaces.jobs.delete/name": name "/run:v1/run.namespaces.jobs.delete/propagationPolicy": propagation_policy @@ -368874,6 +368881,7 @@ "/run:v1/run.namespaces.jobs.list/resourceVersion": resource_version "/run:v1/run.namespaces.jobs.list/watch": watch "/run:v1/run.namespaces.jobs.replaceJob": replace_namespace_job_job +"/run:v1/run.namespaces.jobs.replaceJob/dryRun": dry_run "/run:v1/run.namespaces.jobs.replaceJob/name": name "/run:v1/run.namespaces.jobs.run": run_job "/run:v1/run.namespaces.jobs.run/name": name diff --git a/generated/google-apis-run_v1/CHANGELOG.md b/generated/google-apis-run_v1/CHANGELOG.md index 277650d5545..8562e06c363 100644 --- a/generated/google-apis-run_v1/CHANGELOG.md +++ b/generated/google-apis-run_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-run_v1 +### v0.109.0 (2026-07-05) + +* Regenerated from discovery document revision 20260629 + ### v0.108.0 (2026-06-14) * Regenerated from discovery document revision 20260603 diff --git a/generated/google-apis-run_v1/lib/google/apis/run_v1/classes.rb b/generated/google-apis-run_v1/lib/google/apis/run_v1/classes.rb index 6a9f13ef081..c2f9f5bf139 100644 --- a/generated/google-apis-run_v1/lib/google/apis/run_v1/classes.rb +++ b/generated/google-apis-run_v1/lib/google/apis/run_v1/classes.rb @@ -3931,8 +3931,8 @@ def update!(**args) end end - # Instance represents the configuration of a single Instance, which references a - # container image which is run to completion. + # An Instance represents the configuration of a single instance that references + # a container image and runs to completion. class Instance include Google::Apis::Core::Hashable @@ -3961,7 +3961,7 @@ class Instance # @return [Google::Apis::RunV1::InstanceSpec] attr_accessor :spec - # InstanceStatus represents the current state of a Instance. + # InstanceStatus represents the current state of an Instance. # Corresponds to the JSON property `status` # @return [Google::Apis::RunV1::InstanceStatus] attr_accessor :status @@ -4066,7 +4066,7 @@ def update!(**args) end end - # InstanceStatus represents the current state of a Instance. + # InstanceStatus represents the current state of an Instance. class InstanceStatus include Google::Apis::Core::Hashable @@ -4926,26 +4926,26 @@ class ObjectMeta # googleapis.com/build-service-account`: Service. * `run.googleapis.com/build- # source-location`: Service, Revision. * `run.googleapis.com/build-worker-pool`: # Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis. - # com/cloudsql-instances`: Revision, Execution . * `run.googleapis.com/container- - # dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * ` - # run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default- - # url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run. - # googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/ - # encryption-key`: Revision, Execution . * `run.googleapis.com/execution- - # environment`: Revision, Execution . * `run.googleapis.com/gc-traffic-tags`: - # Service. * `run.googleapis.com/gpu-zonal-redundancy-disabled`: Revision. * ` - # run.googleapis.com/health-check-disabled`: Revision. * `run.googleapis.com/ - # ingress`: Service, Instance. * `run.googleapis.com/invoker-iam-disabled`: - # Service, Instance. * `run.googleapis.com/launch-stage`: Service, Job. * `run. - # googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale`: Service. * - # `run.googleapis.com/manualInstanceCount`: Service. * `run.googleapis.com/ - # network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key- - # revocation-action-type`: Revision. `run.googleapis.com/scalingMode`: Service. * - # `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/ - # secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: - # Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run. - # googleapis.com/vpc-access-connector`: Revision, Execution . * `run.googleapis. - # com/vpc-access-egress`: Revision, Execution. + # com/cloudsql-instances`: Revision, Execution, Instance. * `run.googleapis.com/ + # container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: + # Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis. + # com/default-url-disabled`: Service. * `run.googleapis.com/description`: + # Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run. + # googleapis.com/encryption-key`: Revision, Execution, Instance. * `run. + # googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis. + # com/gc-traffic-tags`: Service. * `run.googleapis.com/gpu-zonal-redundancy- + # disabled`: Revision. * `run.googleapis.com/health-check-disabled`: Revision. * + # `run.googleapis.com/ingress`: Service, Instance. * `run.googleapis.com/invoker- + # iam-disabled`: Service, Instance. * `run.googleapis.com/launch-stage`: Service, + # Job. * `run.googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale` + # : Service. * `run.googleapis.com/manualInstanceCount`: Service. * `run. + # googleapis.com/network-interfaces`: Revision, Execution, Instance. * `run. + # googleapis.com/post-key-revocation-action-type`: Revision. `run.googleapis.com/ + # scalingMode`: Service. * `run.googleapis.com/secrets`: Revision, Execution. * ` + # run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/ + # sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. + # * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run. + # googleapis.com/vpc-access-egress`: Revision, Execution, Instance. # Corresponds to the JSON property `annotations` # @return [Hash] attr_accessor :annotations @@ -5469,11 +5469,6 @@ class RevisionSpec # @return [String] attr_accessor :runtime_class_name - # Optional. Container templates that can be launched through the `sandbox` CLI. - # Corresponds to the JSON property `sandboxes` - # @return [Array] - attr_accessor :sandboxes - # Email address of the IAM service account associated with the revision of the # service. The service account represents the identity of the running revision, # and determines what permissions the revision has. If not provided, the @@ -5506,7 +5501,6 @@ def update!(**args) @image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets) @node_selector = args[:node_selector] if args.key?(:node_selector) @runtime_class_name = args[:runtime_class_name] if args.key?(:runtime_class_name) - @sandboxes = args[:sandboxes] if args.key?(:sandboxes) @service_account_name = args[:service_account_name] if args.key?(:service_account_name) @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds) @volumes = args[:volumes] if args.key?(:volumes) @@ -6121,12 +6115,19 @@ def update!(**args) class StartInstanceRequest include Google::Apis::Core::Hashable + # Optional. Indicates that the server should validate the request and populate + # default values without persisting the request. Supported values: `all` + # Corresponds to the JSON property `dryRun` + # @return [String] + attr_accessor :dry_run + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @dry_run = args[:dry_run] if args.key?(:dry_run) end end @@ -6288,12 +6289,19 @@ def update!(**args) class StopInstanceRequest include Google::Apis::Core::Hashable + # Optional. Indicates that the server should validate the request and populate + # default values without persisting the request. Supported values: `all` + # Corresponds to the JSON property `dryRun` + # @return [String] + attr_accessor :dry_run + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @dry_run = args[:dry_run] if args.key?(:dry_run) end end diff --git a/generated/google-apis-run_v1/lib/google/apis/run_v1/gem_version.rb b/generated/google-apis-run_v1/lib/google/apis/run_v1/gem_version.rb index c1d298b477e..1e9f9f5f0d6 100644 --- a/generated/google-apis-run_v1/lib/google/apis/run_v1/gem_version.rb +++ b/generated/google-apis-run_v1/lib/google/apis/run_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module RunV1 # Version of the google-apis-run_v1 gem - GEM_VERSION = "0.108.0" + GEM_VERSION = "0.109.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260603" + REVISION = "20260629" end end end diff --git a/generated/google-apis-run_v1/lib/google/apis/run_v1/representations.rb b/generated/google-apis-run_v1/lib/google/apis/run_v1/representations.rb index 482e61e624c..91b9820f306 100644 --- a/generated/google-apis-run_v1/lib/google/apis/run_v1/representations.rb +++ b/generated/google-apis-run_v1/lib/google/apis/run_v1/representations.rb @@ -2337,8 +2337,6 @@ class Representation < Google::Apis::Core::JsonRepresentation hash :node_selector, as: 'nodeSelector' property :runtime_class_name, as: 'runtimeClassName' - collection :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::Container, decorator: Google::Apis::RunV1::Container::Representation - property :service_account_name, as: 'serviceAccountName' property :timeout_seconds, as: 'timeoutSeconds' collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation @@ -2504,6 +2502,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class StartInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :dry_run, as: 'dryRun' end end @@ -2546,6 +2545,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class StopInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :dry_run, as: 'dryRun' end end diff --git a/generated/google-apis-run_v1/lib/google/apis/run_v1/service.rb b/generated/google-apis-run_v1/lib/google/apis/run_v1/service.rb index ac180dae1be..cacbb4e9d23 100644 --- a/generated/google-apis-run_v1/lib/google/apis/run_v1/service.rb +++ b/generated/google-apis-run_v1/lib/google/apis/run_v1/service.rb @@ -513,12 +513,17 @@ def list_namespace_executions(parent, continue: nil, field_selector: nil, includ execute_or_queue_command(command, &block) end - # Create a Instance. + # Create an Instance. # @param [String] parent - # Required. The namespace in which the Instance should be created. Replace ` - # namespace` with the project ID or number. It takes the form namespaces/` - # namespace`. For example: namespaces/PROJECT_ID + # Required. The resource's parent. In Cloud Run, it may be one of the following: + # * ``project_id_or_number`` * `namespaces/`project_id_or_number`` * `namespaces/ + # `project_id_or_number`/instances` * `projects/`project_id_or_number`/locations/ + # `region`` * `projects/`project_id_or_number`/regions/`region`` Parent resource + # namespace. # @param [Google::Apis::RunV1::Instance] instance_object + # @param [String] dry_run + # Optional. Indicates that the server should validate the request and populate + # default values without persisting the request. Supported values: `all` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -536,25 +541,32 @@ def list_namespace_executions(parent, continue: nil, field_selector: nil, includ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_namespace_instance(parent, instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def create_namespace_instance(parent, instance_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/run.googleapis.com/v1/{+parent}/instances', options) command.request_representation = Google::Apis::RunV1::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::RunV1::Instance::Representation command.response_class = Google::Apis::RunV1::Instance command.params['parent'] = parent unless parent.nil? + command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Delete a Instance. + # Delete an Instance. # @param [String] name - # Required. The name of the Instance to delete. Replace `namespace` with the - # project ID or number. It takes the form namespaces/`namespace`. For example: - # namespaces/PROJECT_ID + # Required. The fully qualified name of the Instance to delete. It can be any of + # the following forms: * `namespaces/`project_id_or_number`/instances/` + # instance_name`` (only when the `endpoint` is regional) * `projects/` + # project_id_or_number`/locations/`region`/instances/`instance_name`` * ` + # projects/`project_id_or_number`/regions/`region`/instances/`instance_name`` + # Parent resource namespace. # @param [String] api_version # Optional. Cloud Run currently ignores this parameter. + # @param [String] dry_run + # Optional. Indicates that the server should validate the request and populate + # default values without persisting the request. Supported values: `all` # @param [String] kind # Optional. Cloud Run currently ignores this parameter. # @param [String] propagation_policy @@ -578,12 +590,13 @@ def create_namespace_instance(parent, instance_object = nil, fields: nil, quota_ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_namespace_instance(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) + def delete_namespace_instance(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'apis/run.googleapis.com/v1/{+name}', options) command.response_representation = Google::Apis::RunV1::Status::Representation command.response_class = Google::Apis::RunV1::Status command.params['name'] = name unless name.nil? command.query['apiVersion'] = api_version unless api_version.nil? + command.query['dryRun'] = dry_run unless dry_run.nil? command.query['kind'] = kind unless kind.nil? command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? command.query['fields'] = fields unless fields.nil? @@ -593,9 +606,12 @@ def delete_namespace_instance(name, api_version: nil, kind: nil, propagation_pol # Get an Instance. # @param [String] name - # Required. The name of the Instance to retrieve. It takes the form namespaces/` - # namespace`/instances/`Instance_name` and the `endpoint` must be regional. - # Replace `namespace` with the project ID or number. + # Required. The fully qualified name of the Instance to retrieve. It can be any + # of the following forms: * `namespaces/`project_id_or_number`/instances/` + # instance_name`` (only when the `endpoint` is regional) * `projects/` + # project_id_or_number`/locations/`region`/instances/`instance_name`` * ` + # projects/`project_id_or_number`/regions/`region`/instances/`instance_name`` + # Parent resource namespace. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -625,9 +641,11 @@ def get_namespace_instance(name, fields: nil, quota_user: nil, options: nil, &bl # List Instances. Results are sorted by creation time, descending. # @param [String] parent - # Required. The namespace from which the Instances should be listed. Replace ` - # namespace` with the project ID or number. It takes the form namespaces/` - # namespace`. For example: namespaces/PROJECT_ID + # Required. The parent from where the resources should be listed. In Cloud Run, + # it may be one of the following: * ``project_id_or_number`` * `namespaces/` + # project_id_or_number`` * `namespaces/`project_id_or_number`/instances` * ` + # projects/`project_id_or_number`/locations/`region`` * `projects/` + # project_id_or_number`/regions/`region`` Parent resource namespace. # @param [String] continue # Optional. Optional encoded string to continue paging. # @param [String] field_selector @@ -679,10 +697,16 @@ def list_namespace_instances(parent, continue: nil, field_selector: nil, include # Replace an Instance. # @param [String] name - # Required. The name of the Instance being replaced. Replace `namespace` with - # the project ID or number. It takes the form namespaces/`namespace`. For - # example: namespaces/PROJECT_ID + # Required. The fully qualified name of the Instance being replaced. It can be + # any of the following forms: * `namespaces/`project_id_or_number`/instances/` + # instance_name`` (only when the `endpoint` is regional) * `projects/` + # project_id_or_number`/locations/`region`/instances/`instance_name`` * ` + # projects/`project_id_or_number`/regions/`region`/instances/`instance_name`` + # Parent resource namespace. # @param [Google::Apis::RunV1::Instance] instance_object + # @param [String] dry_run + # Optional. Indicates that the server should validate the request and populate + # default values without persisting the request. Supported values: `all` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -700,13 +724,14 @@ def list_namespace_instances(parent, continue: nil, field_selector: nil, include # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def replace_namespace_instance_instance(name, instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def replace_namespace_instance_instance(name, instance_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'apis/run.googleapis.com/v1/{+name}', options) command.request_representation = Google::Apis::RunV1::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::RunV1::Instance::Representation command.response_class = Google::Apis::RunV1::Instance command.params['name'] = name unless name.nil? + command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -788,6 +813,9 @@ def stop_instance(name, stop_instance_request_object = nil, fields: nil, quota_u # with the project ID or number. It takes the form namespaces/`namespace`. For # example: namespaces/PROJECT_ID # @param [Google::Apis::RunV1::Job] job_object + # @param [String] dry_run + # Optional. Indicates that the server should validate the request and populate + # default values without persisting the request. Supported values: `all` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -805,13 +833,14 @@ def stop_instance(name, stop_instance_request_object = nil, fields: nil, quota_u # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_namespace_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def create_namespace_job(parent, job_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/run.googleapis.com/v1/{+parent}/jobs', options) command.request_representation = Google::Apis::RunV1::Job::Representation command.request_object = job_object command.response_representation = Google::Apis::RunV1::Job::Representation command.response_class = Google::Apis::RunV1::Job command.params['parent'] = parent unless parent.nil? + command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -824,6 +853,9 @@ def create_namespace_job(parent, job_object = nil, fields: nil, quota_user: nil, # namespaces/PROJECT_ID # @param [String] api_version # Optional. Cloud Run currently ignores this parameter. + # @param [String] dry_run + # Optional. Indicates that the server should validate the request and populate + # default values without persisting the request. Supported values: `all` # @param [String] kind # Optional. Cloud Run currently ignores this parameter. # @param [String] propagation_policy @@ -847,12 +879,13 @@ def create_namespace_job(parent, job_object = nil, fields: nil, quota_user: nil, # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_namespace_job(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) + def delete_namespace_job(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'apis/run.googleapis.com/v1/{+name}', options) command.response_representation = Google::Apis::RunV1::Status::Representation command.response_class = Google::Apis::RunV1::Status command.params['name'] = name unless name.nil? command.query['apiVersion'] = api_version unless api_version.nil? + command.query['dryRun'] = dry_run unless dry_run.nil? command.query['kind'] = kind unless kind.nil? command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? command.query['fields'] = fields unless fields.nil? @@ -955,6 +988,9 @@ def list_namespace_jobs(parent, continue: nil, field_selector: nil, include_unin # project ID or number. It takes the form namespaces/`namespace`. For example: # namespaces/PROJECT_ID # @param [Google::Apis::RunV1::Job] job_object + # @param [String] dry_run + # Optional. Indicates that the server should validate the request and populate + # default values without persisting the request. Supported values: `all` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -972,13 +1008,14 @@ def list_namespace_jobs(parent, continue: nil, field_selector: nil, include_unin # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def replace_namespace_job_job(name, job_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def replace_namespace_job_job(name, job_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'apis/run.googleapis.com/v1/{+name}', options) command.request_representation = Google::Apis::RunV1::Job::Representation command.request_object = job_object command.response_representation = Google::Apis::RunV1::Job::Representation command.response_class = Google::Apis::RunV1::Job command.params['name'] = name unless name.nil? + command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -2159,7 +2196,7 @@ def list_project_location_domainmappings(parent, continue: nil, field_selector: execute_or_queue_command(command, &block) end - # Get the IAM Access Control policy currently in effect for the given instance. + # Gets the IAM Access Control policy currently in effect for the given instance. # This result does not include any inherited policies. # @param [String] resource # REQUIRED: The resource for which the policy is being requested. See [Resource