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/.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://run.$UNIVERSE_DOMAIN$/"
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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Empty
Deletes a long-running operation.
-
#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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::GoogleLongrunningOperation
Gets the latest state of a long-running operation.
-
#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_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::GoogleLongrunningListOperationsResponse
Lists operations that match the specified filter in the request.
-
#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.
-
#wait_project_location_operation(name, google_longrunning_wait_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::GoogleLongrunningOperation
Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state.
Constructor Details
#initialize ⇒ CloudRunService
Returns a new instance of CloudRunService.
50 51 52 53 54 55 |
# File 'lib/google/apis/run_v1/service.rb', line 50 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', 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.
43 44 45 |
# File 'lib/google/apis/run_v1/service.rb', line 43 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.
48 49 50 |
# File 'lib/google/apis/run_v1/service.rb', line 48 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.
376 377 378 379 380 381 382 383 384 385 386 |
# File 'lib/google/apis/run_v1/service.rb', line 376 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.
203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/apis/run_v1/service.rb', line 203 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.
539 540 541 542 543 544 545 546 547 548 549 |
# File 'lib/google/apis/run_v1/service.rb', line 539 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.
1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File 'lib/google/apis/run_v1/service.rb', line 1007 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.
1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 |
# File 'lib/google/apis/run_v1/service.rb', line 1523 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.
2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 |
# File 'lib/google/apis/run_v1/service.rb', line 2194 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.
249 250 251 252 253 254 255 256 257 258 259 260 261 |
# File 'lib/google/apis/run_v1/service.rb', line 249 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.
417 418 419 420 421 422 423 424 425 426 427 428 |
# File 'lib/google/apis/run_v1/service.rb', line 417 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.
581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'lib/google/apis/run_v1/service.rb', line 581 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.
785 786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'lib/google/apis/run_v1/service.rb', line 785 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.
1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 |
# File 'lib/google/apis/run_v1/service.rb', line 1054 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.
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 |
# File 'lib/google/apis/run_v1/service.rb', line 1569 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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED
.
1813 1814 1815 1816 1817 1818 1819 1820 1821 |
# File 'lib/google/apis/run_v1/service.rb', line 1813 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::RunV1::Empty::Representation command.response_class = Google::Apis::RunV1::Empty 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 |
#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.
1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 |
# File 'lib/google/apis/run_v1/service.rb', line 1972 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.
2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 |
# File 'lib/google/apis/run_v1/service.rb', line 2241 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.
114 115 116 117 118 119 120 121 122 |
# File 'lib/google/apis/run_v1/service.rb', line 114 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.
285 286 287 288 289 290 291 292 293 |
# File 'lib/google/apis/run_v1/service.rb', line 285 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.
452 453 454 455 456 457 458 459 460 |
# File 'lib/google/apis/run_v1/service.rb', line 452 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.
616 617 618 619 620 621 622 623 624 |
# File 'lib/google/apis/run_v1/service.rb', line 616 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.
821 822 823 824 825 826 827 828 829 |
# File 'lib/google/apis/run_v1/service.rb', line 821 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.
911 912 913 914 915 916 917 918 919 |
# File 'lib/google/apis/run_v1/service.rb', line 911 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.
1092 1093 1094 1095 1096 1097 1098 1099 1100 |
# File 'lib/google/apis/run_v1/service.rb', line 1092 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.
1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/google/apis/run_v1/service.rb', line 1224 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.
1434 1435 1436 1437 1438 1439 1440 1441 1442 |
# File 'lib/google/apis/run_v1/service.rb', line 1434 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.
1605 1606 1607 1608 1609 1610 1611 1612 1613 |
# File 'lib/google/apis/run_v1/service.rb', line 1605 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.
1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 |
# File 'lib/google/apis/run_v1/service.rb', line 1707 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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::GoogleLongrunningOperation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
1844 1845 1846 1847 1848 1849 1850 1851 1852 |
# File 'lib/google/apis/run_v1/service.rb', line 1844 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::RunV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::RunV1::GoogleLongrunningOperation 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_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::Revision
Get information about a revision.
2008 2009 2010 2011 2012 2013 2014 2015 2016 |
# File 'lib/google/apis/run_v1/service.rb', line 2008 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.
2098 2099 2100 2101 2102 2103 2104 2105 2106 |
# File 'lib/google/apis/run_v1/service.rb', line 2098 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.
2279 2280 2281 2282 2283 2284 2285 2286 2287 |
# File 'lib/google/apis/run_v1/service.rb', line 2279 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.
2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 |
# File 'lib/google/apis/run_v1/service.rb', line 2323 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.
81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/google/apis/run_v1/service.rb', line 81 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.
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/google/apis/run_v1/service.rb', line 160 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.
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 |
# File 'lib/google/apis/run_v1/service.rb', line 336 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.
499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 |
# File 'lib/google/apis/run_v1/service.rb', line 499 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.
663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/google/apis/run_v1/service.rb', line 663 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.
872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 |
# File 'lib/google/apis/run_v1/service.rb', line 872 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.
962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 |
# File 'lib/google/apis/run_v1/service.rb', line 962 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.
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/google/apis/run_v1/service.rb', line 1141 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.
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 |
# File 'lib/google/apis/run_v1/service.rb', line 1281 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.
1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 |
# File 'lib/google/apis/run_v1/service.rb', line 1322 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.
1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 |
# File 'lib/google/apis/run_v1/service.rb', line 1401 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.
1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 |
# File 'lib/google/apis/run_v1/service.rb', line 1480 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.
1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 |
# File 'lib/google/apis/run_v1/service.rb', line 1656 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_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::GoogleLongrunningListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
.
1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 |
# File 'lib/google/apis/run_v1/service.rb', line 1887 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::RunV1::GoogleLongrunningListOperationsResponse::Representation command.response_class = Google::Apis::RunV1::GoogleLongrunningListOperationsResponse 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 |
#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.
2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 |
# File 'lib/google/apis/run_v1/service.rb', line 2059 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.
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 |
# File 'lib/google/apis/run_v1/service.rb', line 2149 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.
2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/google/apis/run_v1/service.rb', line 2373 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.
1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 |
# File 'lib/google/apis/run_v1/service.rb', line 1364 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.
706 707 708 709 710 711 712 713 714 715 716 |
# File 'lib/google/apis/run_v1/service.rb', line 706 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.
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 |
# File 'lib/google/apis/run_v1/service.rb', line 1189 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.
2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 |
# File 'lib/google/apis/run_v1/service.rb', line 2421 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.
741 742 743 744 745 746 747 748 749 750 751 |
# File 'lib/google/apis/run_v1/service.rb', line 741 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.
1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 |
# File 'lib/google/apis/run_v1/service.rb', line 1742 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.
2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 |
# File 'lib/google/apis/run_v1/service.rb', line 2458 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.
1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 |
# File 'lib/google/apis/run_v1/service.rb', line 1778 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.
2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 |
# File 'lib/google/apis/run_v1/service.rb', line 2494 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 |
#wait_project_location_operation(name, google_longrunning_wait_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1::GoogleLongrunningOperation
Waits until the specified long-running operation is done or reaches at most a
specified timeout, returning the latest state. If the operation is already
done, the latest state is immediately returned. If the timeout specified is
greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
the server does not support this method, it returns google.rpc.Code.
UNIMPLEMENTED
. Note that this method is on a best-effort basis. It may return
the latest state before the specified timeout (including immediately), meaning
even an immediate response is no guarantee that the operation is done.
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 |
# File 'lib/google/apis/run_v1/service.rb', line 1928 def wait_project_location_operation(name, google_longrunning_wait_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:wait', ) command.request_representation = Google::Apis::RunV1::GoogleLongrunningWaitOperationRequest::Representation command.request_object = google_longrunning_wait_operation_request_object command.response_representation = Google::Apis::RunV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::RunV1::GoogleLongrunningOperation 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 |