Class: Google::Apis::RunV1::CloudRunService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::RunV1::CloudRunService
- Defined in:
- lib/google/apis/run_v1/service.rb
Overview
Cloud Run Admin API
Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_execution(name, cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Execution
Cancel an execution.
-
#create_namespace_domainmapping(parent, domain_mapping_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::DomainMapping
Create a new domain mapping.
-
#create_namespace_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Job
Create a job.
-
#create_namespace_service(parent, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Creates a new Service.
-
#create_project_location_domainmapping(parent, domain_mapping_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::DomainMapping
Create a new domain mapping.
-
#create_project_location_service(parent, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Creates a new Service.
-
#delete_namespace_domainmapping(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a domain mapping.
-
#delete_namespace_execution(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete an execution.
-
#delete_namespace_job(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a job.
-
#delete_namespace_revision(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a revision.
-
#delete_namespace_service(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Deletes the provided service.
-
#delete_project_location_domainmapping(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a domain mapping.
-
#delete_project_location_revision(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a revision.
-
#delete_project_location_service(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Deletes the provided service.
-
#get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Configuration
Get information about a configuration.
-
#get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::DomainMapping
Get information about a domain mapping.
-
#get_namespace_execution(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Execution
Get information about an execution.
-
#get_namespace_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Job
Get information about a job.
-
#get_namespace_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Revision
Get information about a revision.
-
#get_namespace_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Route
Get information about a route.
-
#get_namespace_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Gets information about a service.
-
#get_namespace_task(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Task
Get information about a task.
-
#get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Configuration
Get information about a configuration.
-
#get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::DomainMapping
Get information about a domain mapping.
-
#get_project_location_job_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Policy
Get the IAM Access Control policy currently in effect for the given job.
-
#get_project_location_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Revision
Get information about a revision.
-
#get_project_location_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Route
Get information about a route.
-
#get_project_location_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Gets information about a service.
-
#get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Policy
Gets the IAM Access Control policy currently in effect for the given Cloud Run service.
-
#initialize ⇒ CloudRunService
constructor
A new instance of CloudRunService.
-
#list_namespace_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListAuthorizedDomainsResponse
List authorized domains.
-
#list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListConfigurationsResponse
List configurations.
-
#list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListDomainMappingsResponse
List all domain mappings.
-
#list_namespace_executions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListExecutionsResponse
List executions.
-
#list_namespace_jobs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListJobsResponse
List jobs.
-
#list_namespace_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListRevisionsResponse
List revisions.
-
#list_namespace_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListRoutesResponse
List routes.
-
#list_namespace_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListServicesResponse
Lists services for the given project and region.
-
#list_namespace_tasks(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListTasksResponse
List tasks.
-
#list_project_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListAuthorizedDomainsResponse
List authorized domains.
-
#list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListAuthorizedDomainsResponse
List authorized domains.
-
#list_project_location_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListConfigurationsResponse
List configurations.
-
#list_project_location_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListDomainMappingsResponse
List all domain mappings.
-
#list_project_location_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListRevisionsResponse
List revisions.
-
#list_project_location_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListRoutesResponse
List routes.
-
#list_project_location_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListServicesResponse
Lists services for the given project and region.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#replace_namespace_job_job(name, job_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Job
Replace a job.
-
#replace_namespace_service_service(name, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Replaces a service.
-
#replace_project_location_service_service(name, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Replaces a service.
-
#run_job(name, run_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Execution
Trigger creation of a new execution of this job.
-
#set_job_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Policy
Sets the IAM Access control policy for the specified job.
-
#set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Policy
Sets the IAM Access control policy for the specified Service.
-
#test_job_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified job.
-
#test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified Project.
Constructor Details
#initialize ⇒ CloudRunService
Returns a new instance of CloudRunService.
48 49 50 51 52 53 |
# File 'lib/google/apis/run_v1/service.rb', line 48 def initialize super('https://run.googleapis.com/', '', client_name: 'google-apis-run_v1', client_version: Google::Apis::RunV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41 42 43 |
# File 'lib/google/apis/run_v1/service.rb', line 41 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
46 47 48 |
# File 'lib/google/apis/run_v1/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#cancel_execution(name, cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Execution
Cancel an execution.
374 375 376 377 378 379 380 381 382 383 384 |
# File 'lib/google/apis/run_v1/service.rb', line 374 def cancel_execution(name, cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/run.googleapis.com/v1/{+name}:cancel', ) command.request_representation = Google::Apis::RunV1::CancelExecutionRequest::Representation command.request_object = cancel_execution_request_object command.response_representation = Google::Apis::RunV1::Execution::Representation command.response_class = Google::Apis::RunV1::Execution command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_namespace_domainmapping(parent, domain_mapping_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::DomainMapping
Create a new domain mapping.
201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'lib/google/apis/run_v1/service.rb', line 201 def create_namespace_domainmapping(parent, domain_mapping_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', ) command.request_representation = Google::Apis::RunV1::DomainMapping::Representation command.request_object = domain_mapping_object command.response_representation = Google::Apis::RunV1::DomainMapping::Representation command.response_class = Google::Apis::RunV1::DomainMapping 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 |
#create_namespace_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Job
Create a job.
537 538 539 540 541 542 543 544 545 546 547 |
# File 'lib/google/apis/run_v1/service.rb', line 537 def create_namespace_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/run.googleapis.com/v1/{+parent}/jobs', ) 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['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_namespace_service(parent, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Creates a new Service. Service creation will trigger a new deployment. Use GetService, and check service.status to determine if the Service is ready.
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 |
# File 'lib/google/apis/run_v1/service.rb', line 1005 def create_namespace_service(parent, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/services', ) command.request_representation = Google::Apis::RunV1::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::RunV1::Service::Representation command.response_class = Google::Apis::RunV1::Service 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 |
#create_project_location_domainmapping(parent, domain_mapping_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::DomainMapping
Create a new domain mapping.
1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 |
# File 'lib/google/apis/run_v1/service.rb', line 1521 def create_project_location_domainmapping(parent, domain_mapping_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/domainmappings', ) command.request_representation = Google::Apis::RunV1::DomainMapping::Representation command.request_object = domain_mapping_object command.response_representation = Google::Apis::RunV1::DomainMapping::Representation command.response_class = Google::Apis::RunV1::DomainMapping 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 |
#create_project_location_service(parent, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Creates a new Service. Service creation will trigger a new deployment. Use GetService, and check service.status to determine if the Service is ready.
2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 |
# File 'lib/google/apis/run_v1/service.rb', line 2042 def create_project_location_service(parent, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/services', ) command.request_representation = Google::Apis::RunV1::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::RunV1::Service::Representation command.response_class = Google::Apis::RunV1::Service 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_namespace_domainmapping(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a domain mapping.
247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'lib/google/apis/run_v1/service.rb', line 247 def delete_namespace_domainmapping(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/domains.cloudrun.com/v1/{+name}', ) 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? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_namespace_execution(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete an execution.
415 416 417 418 419 420 421 422 423 424 425 426 |
# File 'lib/google/apis/run_v1/service.rb', line 415 def delete_namespace_execution(name, api_version: 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}', ) 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['kind'] = kind unless kind.nil? command.query['propagationPolicy'] = propagation_policy unless propagation_policy.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_namespace_job(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a job.
579 580 581 582 583 584 585 586 587 588 589 590 |
# File 'lib/google/apis/run_v1/service.rb', line 579 def delete_namespace_job(name, api_version: 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}', ) 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['kind'] = kind unless kind.nil? command.query['propagationPolicy'] = propagation_policy unless propagation_policy.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_namespace_revision(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a revision.
783 784 785 786 787 788 789 790 791 792 793 794 795 |
# File 'lib/google/apis/run_v1/service.rb', line 783 def delete_namespace_revision(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/serving.knative.dev/v1/{+name}', ) 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? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_namespace_service(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions.
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 |
# File 'lib/google/apis/run_v1/service.rb', line 1052 def delete_namespace_service(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/serving.knative.dev/v1/{+name}', ) 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? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_domainmapping(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a domain mapping.
1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 |
# File 'lib/google/apis/run_v1/service.rb', line 1567 def delete_project_location_domainmapping(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, 'v1/{+name}', ) 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? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_revision(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Delete a revision.
1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 |
# File 'lib/google/apis/run_v1/service.rb', line 1820 def delete_project_location_revision(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, 'v1/{+name}', ) 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? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_service(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Status
Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions.
2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 |
# File 'lib/google/apis/run_v1/service.rb', line 2089 def delete_project_location_service(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, 'v1/{+name}', ) 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? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Configuration
Get information about a configuration.
112 113 114 115 116 117 118 119 120 |
# File 'lib/google/apis/run_v1/service.rb', line 112 def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Configuration::Representation command.response_class = Google::Apis::RunV1::Configuration command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::DomainMapping
Get information about a domain mapping.
283 284 285 286 287 288 289 290 291 |
# File 'lib/google/apis/run_v1/service.rb', line 283 def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+name}', ) command.response_representation = Google::Apis::RunV1::DomainMapping::Representation command.response_class = Google::Apis::RunV1::DomainMapping command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_namespace_execution(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Execution
Get information about an execution.
450 451 452 453 454 455 456 457 458 |
# File 'lib/google/apis/run_v1/service.rb', line 450 def get_namespace_execution(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/run.googleapis.com/v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Execution::Representation command.response_class = Google::Apis::RunV1::Execution command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_namespace_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Job
Get information about a job.
614 615 616 617 618 619 620 621 622 |
# File 'lib/google/apis/run_v1/service.rb', line 614 def get_namespace_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/run.googleapis.com/v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Job::Representation command.response_class = Google::Apis::RunV1::Job command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_namespace_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Revision
Get information about a revision.
819 820 821 822 823 824 825 826 827 |
# File 'lib/google/apis/run_v1/service.rb', line 819 def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Revision::Representation command.response_class = Google::Apis::RunV1::Revision command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_namespace_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Route
Get information about a route.
909 910 911 912 913 914 915 916 917 |
# File 'lib/google/apis/run_v1/service.rb', line 909 def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Route::Representation command.response_class = Google::Apis::RunV1::Route command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_namespace_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Gets information about a service.
1090 1091 1092 1093 1094 1095 1096 1097 1098 |
# File 'lib/google/apis/run_v1/service.rb', line 1090 def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Service::Representation command.response_class = Google::Apis::RunV1::Service command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_namespace_task(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Task
Get information about a task.
1222 1223 1224 1225 1226 1227 1228 1229 1230 |
# File 'lib/google/apis/run_v1/service.rb', line 1222 def get_namespace_task(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/run.googleapis.com/v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Task::Representation command.response_class = Google::Apis::RunV1::Task command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Configuration
Get information about a configuration.
1432 1433 1434 1435 1436 1437 1438 1439 1440 |
# File 'lib/google/apis/run_v1/service.rb', line 1432 def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Configuration::Representation command.response_class = Google::Apis::RunV1::Configuration command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::DomainMapping
Get information about a domain mapping.
1603 1604 1605 1606 1607 1608 1609 1610 1611 |
# File 'lib/google/apis/run_v1/service.rb', line 1603 def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::RunV1::DomainMapping::Representation command.response_class = Google::Apis::RunV1::DomainMapping command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_job_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Policy
Get the IAM Access Control policy currently in effect for the given job. This result does not include any inherited policies.
1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 |
# File 'lib/google/apis/run_v1/service.rb', line 1705 def get_project_location_job_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::RunV1::Policy::Representation command.response_class = Google::Apis::RunV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Revision
Get information about a revision.
1856 1857 1858 1859 1860 1861 1862 1863 1864 |
# File 'lib/google/apis/run_v1/service.rb', line 1856 def get_project_location_revision(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Revision::Representation command.response_class = Google::Apis::RunV1::Revision command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Route
Get information about a route.
1946 1947 1948 1949 1950 1951 1952 1953 1954 |
# File 'lib/google/apis/run_v1/service.rb', line 1946 def get_project_location_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Route::Representation command.response_class = Google::Apis::RunV1::Route command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Gets information about a service.
2127 2128 2129 2130 2131 2132 2133 2134 2135 |
# File 'lib/google/apis/run_v1/service.rb', line 2127 def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Service::Representation command.response_class = Google::Apis::RunV1::Service command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Policy
Gets the IAM Access Control policy currently in effect for the given Cloud Run service. This result does not include any inherited policies.
2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 |
# File 'lib/google/apis/run_v1/service.rb', line 2171 def get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::RunV1::Policy::Representation command.response_class = Google::Apis::RunV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListAuthorizedDomainsResponse
List authorized domains.
79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/google/apis/run_v1/service.rb', line 79 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/authorizeddomains', ) command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListConfigurationsResponse
List configurations.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/google/apis/run_v1/service.rb', line 158 def list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/configurations', ) command.response_representation = Google::Apis::RunV1::ListConfigurationsResponse::Representation command.response_class = Google::Apis::RunV1::ListConfigurationsResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListDomainMappingsResponse
List all domain mappings.
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 |
# File 'lib/google/apis/run_v1/service.rb', line 334 def list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', ) command.response_representation = Google::Apis::RunV1::ListDomainMappingsResponse::Representation command.response_class = Google::Apis::RunV1::ListDomainMappingsResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_executions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListExecutionsResponse
List executions.
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File 'lib/google/apis/run_v1/service.rb', line 497 def list_namespace_executions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/run.googleapis.com/v1/{+parent}/executions', ) command.response_representation = Google::Apis::RunV1::ListExecutionsResponse::Representation command.response_class = Google::Apis::RunV1::ListExecutionsResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_jobs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListJobsResponse
List jobs.
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 |
# File 'lib/google/apis/run_v1/service.rb', line 661 def list_namespace_jobs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/run.googleapis.com/v1/{+parent}/jobs', ) command.response_representation = Google::Apis::RunV1::ListJobsResponse::Representation command.response_class = Google::Apis::RunV1::ListJobsResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListRevisionsResponse
List revisions.
870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/google/apis/run_v1/service.rb', line 870 def list_namespace_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/revisions', ) command.response_representation = Google::Apis::RunV1::ListRevisionsResponse::Representation command.response_class = Google::Apis::RunV1::ListRevisionsResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListRoutesResponse
List routes.
960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 |
# File 'lib/google/apis/run_v1/service.rb', line 960 def list_namespace_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/routes', ) command.response_representation = Google::Apis::RunV1::ListRoutesResponse::Representation command.response_class = Google::Apis::RunV1::ListRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListServicesResponse
Lists services for the given project and region.
1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'lib/google/apis/run_v1/service.rb', line 1139 def list_namespace_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/services', ) command.response_representation = Google::Apis::RunV1::ListServicesResponse::Representation command.response_class = Google::Apis::RunV1::ListServicesResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_namespace_tasks(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListTasksResponse
List tasks.
1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 |
# File 'lib/google/apis/run_v1/service.rb', line 1279 def list_namespace_tasks(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/run.googleapis.com/v1/{+parent}/tasks', ) command.response_representation = Google::Apis::RunV1::ListTasksResponse::Representation command.response_class = Google::Apis::RunV1::ListTasksResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListAuthorizedDomainsResponse
List authorized domains.
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/google/apis/run_v1/service.rb', line 1320 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/authorizeddomains', ) command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListAuthorizedDomainsResponse
List authorized domains.
1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 |
# File 'lib/google/apis/run_v1/service.rb', line 1399 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/authorizeddomains', ) command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListConfigurationsResponse
List configurations.
1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 |
# File 'lib/google/apis/run_v1/service.rb', line 1478 def list_project_location_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/configurations', ) command.response_representation = Google::Apis::RunV1::ListConfigurationsResponse::Representation command.response_class = Google::Apis::RunV1::ListConfigurationsResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListDomainMappingsResponse
List all domain mappings.
1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 |
# File 'lib/google/apis/run_v1/service.rb', line 1654 def list_project_location_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/domainmappings', ) command.response_representation = Google::Apis::RunV1::ListDomainMappingsResponse::Representation command.response_class = Google::Apis::RunV1::ListDomainMappingsResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListRevisionsResponse
List revisions.
1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 |
# File 'lib/google/apis/run_v1/service.rb', line 1907 def list_project_location_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/revisions', ) command.response_representation = Google::Apis::RunV1::ListRevisionsResponse::Representation command.response_class = Google::Apis::RunV1::ListRevisionsResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListRoutesResponse
List routes.
1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 |
# File 'lib/google/apis/run_v1/service.rb', line 1997 def list_project_location_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/routes', ) command.response_representation = Google::Apis::RunV1::ListRoutesResponse::Representation command.response_class = Google::Apis::RunV1::ListRoutesResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListServicesResponse
Lists services for the given project and region.
2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 |
# File 'lib/google/apis/run_v1/service.rb', line 2221 def list_project_location_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/services', ) command.response_representation = Google::Apis::RunV1::ListServicesResponse::Representation command.response_class = Google::Apis::RunV1::ListServicesResponse command.params['parent'] = parent unless parent.nil? command.query['continue'] = continue unless continue.nil? command.query['fieldSelector'] = field_selector unless field_selector.nil? command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? command.query['labelSelector'] = label_selector unless label_selector.nil? command.query['limit'] = limit unless limit.nil? command.query['resourceVersion'] = resource_version unless resource_version.nil? command.query['watch'] = watch unless watch.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::ListLocationsResponse
Lists information about the supported locations for this service.
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 |
# File 'lib/google/apis/run_v1/service.rb', line 1362 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::RunV1::ListLocationsResponse::Representation command.response_class = Google::Apis::RunV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#replace_namespace_job_job(name, job_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Job
Replace a job. Only the spec and metadata labels and annotations are modifiable. After the Replace request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.
704 705 706 707 708 709 710 711 712 713 714 |
# File 'lib/google/apis/run_v1/service.rb', line 704 def replace_namespace_job_job(name, job_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'apis/run.googleapis.com/v1/{+name}', ) 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['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#replace_namespace_service_service(name, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Replaces a service. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 |
# File 'lib/google/apis/run_v1/service.rb', line 1187 def replace_namespace_service_service(name, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', ) command.request_representation = Google::Apis::RunV1::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::RunV1::Service::Representation command.response_class = Google::Apis::RunV1::Service 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) end |
#replace_project_location_service_service(name, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Service
Replaces a service. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.
2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 |
# File 'lib/google/apis/run_v1/service.rb', line 2269 def replace_project_location_service_service(name, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/{+name}', ) command.request_representation = Google::Apis::RunV1::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::RunV1::Service::Representation command.response_class = Google::Apis::RunV1::Service 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) end |
#run_job(name, run_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Execution
Trigger creation of a new execution of this job.
739 740 741 742 743 744 745 746 747 748 749 |
# File 'lib/google/apis/run_v1/service.rb', line 739 def run_job(name, run_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/run.googleapis.com/v1/{+name}:run', ) command.request_representation = Google::Apis::RunV1::RunJobRequest::Representation command.request_object = run_job_request_object command.response_representation = Google::Apis::RunV1::Execution::Representation command.response_class = Google::Apis::RunV1::Execution command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_job_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Policy
Sets the IAM Access control policy for the specified job. Overwrites any existing policy.
1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 |
# File 'lib/google/apis/run_v1/service.rb', line 1740 def set_job_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::RunV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::RunV1::Policy::Representation command.response_class = Google::Apis::RunV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Policy
Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.
2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 |
# File 'lib/google/apis/run_v1/service.rb', line 2306 def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::RunV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::RunV1::Policy::Representation command.response_class = Google::Apis::RunV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_job_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified job. There are no permissions required for making this API call.
1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 |
# File 'lib/google/apis/run_v1/service.rb', line 1776 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::RunV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::RunV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::RunV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 |
# File 'lib/google/apis/run_v1/service.rb', line 2342 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::RunV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::RunV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::RunV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |