Class: Google::Apis::RunV1alpha1::CloudRunService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::RunV1alpha1::CloudRunService
- Defined in:
- generated/google/apis/run_v1alpha1/service.rb
Overview
Cloud Run API
Deploy and manage user provided container images that scale automatically based on HTTP traffic.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::DomainMapping
Creates a new domain mapping.
-
#create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to create a service.
-
#create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Creates a new trigger.
-
#create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::DomainMapping
Creates a new domain mapping.
-
#create_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to create a service.
-
#create_project_location_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Creates a new trigger.
-
#delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a domain mapping.
-
#delete_namespace_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a revision.
-
#delete_namespace_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a service.
-
#delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a trigger.
-
#delete_project_location_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a domain mapping.
-
#delete_project_location_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a revision.
-
#delete_project_location_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a service.
-
#delete_project_location_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a trigger.
-
#get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Configuration
Rpc to get information about a configuration.
-
#get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::DomainMapping
Rpc to get information about a domain mapping.
-
#get_namespace_eventtype(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::EventType
Rpc to get information about an EventType.
-
#get_namespace_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Revision
Rpc to get information about a revision.
-
#get_namespace_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Route
Rpc to get information about a route.
-
#get_namespace_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to get information about a service.
-
#get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Rpc to get information about a trigger.
-
#get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Configuration
Rpc to get information about a configuration.
-
#get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::DomainMapping
Rpc to get information about a domain mapping.
-
#get_project_location_eventtype(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::EventType
Rpc to get information about an EventType.
-
#get_project_location_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Revision
Rpc to get information about a revision.
-
#get_project_location_route(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Route
Rpc to get information about a route.
-
#get_project_location_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to get 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::RunV1alpha1::Policy
Get the IAM Access Control policy currently in effect for the given Cloud Run service.
-
#get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Rpc to get information about a trigger.
-
#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::RunV1alpha1::ListAuthorizedDomainsResponse
RPC to 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::RunV1alpha1::ListConfigurationsResponse
Rpc to 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::RunV1alpha1::ListDomainMappingsResponse
Rpc to list domain mappings.
-
#list_namespace_eventtypes(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::RunV1alpha1::ListEventTypesResponse
Rpc to list EventTypes.
-
#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::RunV1alpha1::ListRevisionsResponse
Rpc to 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::RunV1alpha1::ListRoutesResponse
Rpc to 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::RunV1alpha1::ListServicesResponse
Rpc to list services.
-
#list_namespace_triggers(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::RunV1alpha1::ListTriggersResponse
Rpc to list triggers.
-
#list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
RPC to 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::RunV1alpha1::ListConfigurationsResponse
Rpc to 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::RunV1alpha1::ListDomainMappingsResponse
Rpc to list domain mappings.
-
#list_project_location_eventtypes(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::RunV1alpha1::ListEventTypesResponse
Rpc to list EventTypes.
-
#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::RunV1alpha1::ListRevisionsResponse
Rpc to 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::RunV1alpha1::ListRoutesResponse
Rpc to 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::RunV1alpha1::ListServicesResponse
Rpc to list services.
-
#list_project_location_triggers(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::RunV1alpha1::ListTriggersResponse
Rpc to list triggers.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to replace a service.
-
#replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Rpc to replace a trigger.
-
#replace_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to replace a service.
-
#replace_project_location_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Rpc to replace a trigger.
-
#set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Policy
Sets the IAM Access control policy for the specified Service.
-
#test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified Project.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ CloudRunService
Returns a new instance of CloudRunService
46 47 48 49 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 46 def initialize super('https://run.googleapis.com/', '') @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.
39 40 41 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 39 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.
44 45 46 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 44 def quota_user @quota_user end |
Instance Method Details
#create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::DomainMapping
Creates a new domain mapping.
197 198 199 200 201 202 203 204 205 206 207 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 197 def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', ) command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation command.request_object = domain_mapping_object command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation command.response_class = Google::Apis::RunV1alpha1::DomainMapping 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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to create a service.
680 681 682 683 684 685 686 687 688 689 690 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 680 def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', ) command.request_representation = Google::Apis::RunV1alpha1::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::RunV1alpha1::Service::Representation command.response_class = Google::Apis::RunV1alpha1::Service 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_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Creates a new trigger.
892 893 894 895 896 897 898 899 900 901 902 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 892 def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', ) command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.request_object = trigger_object command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.response_class = Google::Apis::RunV1alpha1::Trigger 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_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::DomainMapping
Creates a new domain mapping.
1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1259 def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', ) command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation command.request_object = domain_mapping_object command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation command.response_class = Google::Apis::RunV1alpha1::DomainMapping 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_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to create a service.
1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1742 def create_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/services', ) command.request_representation = Google::Apis::RunV1alpha1::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::RunV1alpha1::Service::Representation command.response_class = Google::Apis::RunV1alpha1::Service 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_project_location_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Creates a new trigger.
2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2062 def create_project_location_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/triggers', ) command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.request_object = trigger_object command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.response_class = Google::Apis::RunV1alpha1::Trigger 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 |
#delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a domain mapping.
245 246 247 248 249 250 251 252 253 254 255 256 257 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 245 def delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation command.response_class = Google::Apis::RunV1alpha1::Empty 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['orphanDependents'] = orphan_dependents unless orphan_dependents.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, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a revision.
471 472 473 474 475 476 477 478 479 480 481 482 483 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 471 def delete_namespace_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation command.response_class = Google::Apis::RunV1alpha1::Empty 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['orphanDependents'] = orphan_dependents unless orphan_dependents.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, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a service. This will cause the Service to stop serving traffic and will delete the child entities like Routes, Configurations and Revisions.
730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 730 def delete_namespace_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation command.response_class = Google::Apis::RunV1alpha1::Empty 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['orphanDependents'] = orphan_dependents unless orphan_dependents.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_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a trigger.
934 935 936 937 938 939 940 941 942 943 944 945 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 934 def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation command.response_class = Google::Apis::RunV1alpha1::Empty 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_project_location_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a domain mapping.
1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1307 def delete_project_location_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation command.response_class = Google::Apis::RunV1alpha1::Empty 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['orphanDependents'] = orphan_dependents unless orphan_dependents.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, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a revision.
1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1533 def delete_project_location_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation command.response_class = Google::Apis::RunV1alpha1::Empty 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['orphanDependents'] = orphan_dependents unless orphan_dependents.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, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a service. This will cause the Service to stop serving traffic and will delete the child entities like Routes, Configurations and Revisions.
1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1792 def delete_project_location_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation command.response_class = Google::Apis::RunV1alpha1::Empty 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['orphanDependents'] = orphan_dependents unless orphan_dependents.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_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Empty
Rpc to delete a trigger.
2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2104 def delete_project_location_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation command.response_class = Google::Apis::RunV1alpha1::Empty 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 |
#get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Configuration
Rpc to get information about a configuration.
108 109 110 111 112 113 114 115 116 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 108 def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::DomainMapping
Rpc to get information about a domain mapping.
280 281 282 283 284 285 286 287 288 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 280 def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation command.response_class = Google::Apis::RunV1alpha1::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_eventtype(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::EventType
Rpc to get information about an EventType.
368 369 370 371 372 373 374 375 376 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 368 def get_namespace_eventtype(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation command.response_class = Google::Apis::RunV1alpha1::EventType 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::RunV1alpha1::Revision
Rpc to get information about a revision.
506 507 508 509 510 511 512 513 514 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 506 def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::Route
Rpc to get information about a route.
593 594 595 596 597 598 599 600 601 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 593 def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Route::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::Service
Rpc to get information about a service.
765 766 767 768 769 770 771 772 773 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 765 def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Service::Representation command.response_class = Google::Apis::RunV1alpha1::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_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Rpc to get information about a trigger.
968 969 970 971 972 973 974 975 976 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 968 def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.response_class = Google::Apis::RunV1alpha1::Trigger 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::RunV1alpha1::Configuration
Rpc to get information about a configuration.
1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1170 def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::DomainMapping
Rpc to get information about a domain mapping.
1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1342 def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation command.response_class = Google::Apis::RunV1alpha1::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_eventtype(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::EventType
Rpc to get information about an EventType.
1430 1431 1432 1433 1434 1435 1436 1437 1438 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1430 def get_project_location_eventtype(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation command.response_class = Google::Apis::RunV1alpha1::EventType 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::RunV1alpha1::Revision
Rpc to get information about a revision.
1568 1569 1570 1571 1572 1573 1574 1575 1576 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1568 def get_project_location_revision(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::Route
Rpc to get information about a route.
1655 1656 1657 1658 1659 1660 1661 1662 1663 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1655 def get_project_location_route(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Route::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::Service
Rpc to get information about a service.
1827 1828 1829 1830 1831 1832 1833 1834 1835 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1827 def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Service::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::Policy
Get the IAM Access Control policy currently in effect for the given Cloud Run service. This result does not include any inherited policies.
1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1864 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, 'v1alpha1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation command.response_class = Google::Apis::RunV1alpha1::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_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Rpc to get information about a trigger.
2138 2139 2140 2141 2142 2143 2144 2145 2146 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2138 def get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.response_class = Google::Apis::RunV1alpha1::Trigger 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 |
#list_namespace_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
RPC to list authorized domains.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 75 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/v1alpha1/{+parent}/authorizeddomains', ) command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::ListConfigurationsResponse
Rpc to list configurations.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
# File 'generated/google/apis/run_v1alpha1/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/v1alpha1/{+parent}/configurations', ) command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::ListDomainMappingsResponse
Rpc to list domain mappings.
330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 330 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/v1alpha1/{+parent}/domainmappings', ) command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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_eventtypes(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::RunV1alpha1::ListEventTypesResponse
Rpc to list EventTypes.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 418 def list_namespace_eventtypes(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/eventing.knative.dev/v1alpha1/{+parent}/eventtypes', ) command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation command.response_class = Google::Apis::RunV1alpha1::ListEventTypesResponse 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::RunV1alpha1::ListRevisionsResponse
Rpc to list revisions.
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 555 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/v1alpha1/{+parent}/revisions', ) command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::ListRoutesResponse
Rpc to list routes.
642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 642 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/v1alpha1/{+parent}/routes', ) command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::ListServicesResponse
Rpc to list services.
814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 814 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/v1alpha1/{+parent}/services', ) command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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_triggers(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::RunV1alpha1::ListTriggersResponse
Rpc to list triggers.
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1018 def list_namespace_triggers(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/eventing.knative.dev/v1alpha1/{+parent}/triggers', ) command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse 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_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
RPC to list authorized domains.
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1137 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', ) command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::ListConfigurationsResponse
Rpc to list configurations.
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1220 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, 'v1alpha1/{+parent}/configurations', ) command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::ListDomainMappingsResponse
Rpc to list domain mappings.
1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1392 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, 'v1alpha1/{+parent}/domainmappings', ) command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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_eventtypes(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::RunV1alpha1::ListEventTypesResponse
Rpc to list EventTypes.
1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1480 def list_project_location_eventtypes(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, 'v1alpha1/{+parent}/eventtypes', ) command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation command.response_class = Google::Apis::RunV1alpha1::ListEventTypesResponse 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::RunV1alpha1::ListRevisionsResponse
Rpc to list revisions.
1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1617 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, 'v1alpha1/{+parent}/revisions', ) command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::ListRoutesResponse
Rpc to list routes.
1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1704 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, 'v1alpha1/{+parent}/routes', ) command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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::RunV1alpha1::ListServicesResponse
Rpc to list services.
1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1914 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, 'v1alpha1/{+parent}/services', ) command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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_location_triggers(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::RunV1alpha1::ListTriggersResponse
Rpc to list triggers.
2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2188 def list_project_location_triggers(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, 'v1alpha1/{+parent}/triggers', ) command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse 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::RunV1alpha1::ListLocationsResponse
Lists information about the supported locations for this service.
1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1100 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, 'v1alpha1/{+name}/locations', ) command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to replace 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.
858 859 860 861 862 863 864 865 866 867 868 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 858 def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'apis/serving.knative.dev/v1alpha1/{+name}', ) command.request_representation = Google::Apis::RunV1alpha1::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::RunV1alpha1::Service::Representation command.response_class = Google::Apis::RunV1alpha1::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 |
#replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Rpc to replace a trigger. 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.
1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1062 def replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'apis/eventing.knative.dev/v1alpha1/{+name}', ) command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.request_object = trigger_object command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.response_class = Google::Apis::RunV1alpha1::Trigger 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_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Service
Rpc to replace 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.
1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1958 def replace_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::RunV1alpha1::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::RunV1alpha1::Service::Representation command.response_class = Google::Apis::RunV1alpha1::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 |
#replace_project_location_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Trigger
Rpc to replace a trigger. 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.
2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2232 def replace_project_location_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.request_object = trigger_object command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation command.response_class = Google::Apis::RunV1alpha1::Trigger 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_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::Policy
Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.
1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1993 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, 'v1alpha1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::RunV1alpha1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation command.response_class = Google::Apis::RunV1alpha1::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_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 |
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2028 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::RunV1alpha1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::RunV1alpha1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::RunV1alpha1::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 |