Class: Google::Apis::RunV1alpha1::CloudRunService

Inherits:
Core::BaseService show all
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.

Examples:

require 'google/apis/run_v1alpha1'

Run = Google::Apis::RunV1alpha1 # Alias the module
service = Run::CloudRunService.new

See Also:

Instance Attribute Summary collapse

Attributes inherited from Core::BaseService

#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path

Instance Method Summary collapse

Methods inherited from Core::BaseService

#batch, #batch_upload, #fetch_all, #http

Methods included from Core::Logging

#logger

Constructor Details

#initializeCloudRunService

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

#keyString

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.

Returns:

  • (String)

    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_userString

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.

Returns:

  • (String)

    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.

Parameters:

  • parent (String)

    The project ID or project number in which this domain mapping should be created.

  • domain_mapping_object (Google::Apis::RunV1alpha1::DomainMapping) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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', options)
  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_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::PubSub

Creates a new pubsub.

Parameters:

  • parent (String)

    The project ID or project number in which this pubsub should be created.

  • pub_sub_object (Google::Apis::RunV1alpha1::PubSub) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



457
458
459
460
461
462
463
464
465
466
467
# File 'generated/google/apis/run_v1alpha1/service.rb', line 457

def create_namespace_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
  command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.request_object = pub_sub_object
  command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.response_class = Google::Apis::RunV1alpha1::PubSub
  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.

Parameters:

  • parent (String)

    The project ID or project number in which this service should be created.

  • service_object (Google::Apis::RunV1alpha1::Service) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



884
885
886
887
888
889
890
891
892
893
894
# File 'generated/google/apis/run_v1alpha1/service.rb', line 884

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number in which this trigger should be created.

  • trigger_object (Google::Apis::RunV1alpha1::Trigger) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1096

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number in which this domain mapping should be created.

  • domain_mapping_object (Google::Apis::RunV1alpha1::DomainMapping) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1463

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', options)
  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_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::PubSub

Creates a new pubsub.

Parameters:

  • parent (String)

    The project ID or project number in which this pubsub should be created.

  • pub_sub_object (Google::Apis::RunV1alpha1::PubSub) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1723

def create_project_location_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+parent}/pubsubs', options)
  command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.request_object = pub_sub_object
  command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.response_class = Google::Apis::RunV1alpha1::PubSub
  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.

Parameters:

  • parent (String)

    The project ID or project number in which this service should be created.

  • service_object (Google::Apis::RunV1alpha1::Service) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2150

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number in which this trigger should be created.

  • trigger_object (Google::Apis::RunV1alpha1::Trigger) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2472

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', options)
  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.

Parameters:

  • name (String)

    The name of the domain mapping being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • orphan_dependents (Boolean)

    Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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}', options)
  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_pubsub(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 pubsub.

Parameters:

  • name (String)

    The name of the pubsub being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



499
500
501
502
503
504
505
506
507
508
509
510
# File 'generated/google/apis/run_v1alpha1/service.rb', line 499

def delete_namespace_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
  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_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.

Parameters:

  • name (String)

    The name of the revision being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • orphan_dependents (Boolean)

    Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



675
676
677
678
679
680
681
682
683
684
685
686
687
# File 'generated/google/apis/run_v1alpha1/service.rb', line 675

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}', options)
  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.

Parameters:

  • name (String)

    The name of the service being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • orphan_dependents (Boolean)

    Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



934
935
936
937
938
939
940
941
942
943
944
945
946
# File 'generated/google/apis/run_v1alpha1/service.rb', line 934

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}', options)
  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.

Parameters:

  • name (String)

    The name of the trigger being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1138

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}', options)
  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.

Parameters:

  • name (String)

    The name of the domain mapping being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • orphan_dependents (Boolean)

    Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1511

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}', options)
  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_pubsub(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 pubsub.

Parameters:

  • name (String)

    The name of the pubsub being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1765

def delete_project_location_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
  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_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.

Parameters:

  • name (String)

    The name of the revision being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • orphan_dependents (Boolean)

    Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1941

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}', options)
  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.

Parameters:

  • name (String)

    The name of the service being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • orphan_dependents (Boolean)

    Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2200

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}', options)
  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.

Parameters:

  • name (String)

    The name of the trigger being deleted. If needed, replace namespace_id with the project ID.

  • api_version (String)

    Cloud Run currently ignores this parameter.

  • kind (String)

    Cloud Run currently ignores this parameter.

  • propagation_policy (String)

    Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2514

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}', options)
  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.

Parameters:

  • name (String)

    The name of the configuration being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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}', options)
  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.

Parameters:

  • name (String)

    The name of the domain mapping being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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}', options)
  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.

Parameters:

  • name (String)

    The name of the trigger being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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}', options)
  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_pubsub(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::PubSub

Rpc to get information about a pubsub.

Parameters:

  • name (String)

    The name of the pubsub being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



533
534
535
536
537
538
539
540
541
# File 'generated/google/apis/run_v1alpha1/service.rb', line 533

def get_namespace_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.response_class = Google::Apis::RunV1alpha1::PubSub
  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.

Parameters:

  • name (String)

    The name of the revision being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



710
711
712
713
714
715
716
717
718
# File 'generated/google/apis/run_v1alpha1/service.rb', line 710

def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
  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.

Parameters:

  • name (String)

    The name of the route being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



797
798
799
800
801
802
803
804
805
# File 'generated/google/apis/run_v1alpha1/service.rb', line 797

def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
  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.

Parameters:

  • name (String)

    The name of the service being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



969
970
971
972
973
974
975
976
977
# File 'generated/google/apis/run_v1alpha1/service.rb', line 969

def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
  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.

Parameters:

  • name (String)

    The name of the trigger being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1172
1173
1174
1175
1176
1177
1178
1179
1180
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1172

def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
  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.

Parameters:

  • name (String)

    The name of the configuration being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1374
1375
1376
1377
1378
1379
1380
1381
1382
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1374

def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  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.

Parameters:

  • name (String)

    The name of the domain mapping being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1546
1547
1548
1549
1550
1551
1552
1553
1554
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1546

def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  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.

Parameters:

  • name (String)

    The name of the trigger being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1634
1635
1636
1637
1638
1639
1640
1641
1642
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1634

def get_project_location_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  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_pubsub(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::PubSub

Rpc to get information about a pubsub.

Parameters:

  • name (String)

    The name of the pubsub being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1799
1800
1801
1802
1803
1804
1805
1806
1807
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1799

def get_project_location_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.response_class = Google::Apis::RunV1alpha1::PubSub
  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.

Parameters:

  • name (String)

    The name of the revision being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1976
1977
1978
1979
1980
1981
1982
1983
1984
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1976

def get_project_location_revision(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  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.

Parameters:

  • name (String)

    The name of the route being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2063
2064
2065
2066
2067
2068
2069
2070
2071
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2063

def get_project_location_route(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  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.

Parameters:

  • name (String)

    The name of the service being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2235
2236
2237
2238
2239
2240
2241
2242
2243
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2235

def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  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.

Parameters:

  • resource (String)

    REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

  • options_requested_policy_version (Fixnum)

    Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2274

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', options)
  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'] = options_requested_policy_version unless options_requested_policy_version.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.

Parameters:

  • name (String)

    The name of the trigger being retrieved. If needed, replace namespace_id with the project ID.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2548
2549
2550
2551
2552
2553
2554
2555
2556
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2548

def get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  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.

Parameters:

  • parent (String)

    Name of the parent Application resource. Example: apps/myapp.

  • page_size (Fixnum)

    Maximum results to return per page.

  • page_token (String)

    Continuation token for fetching the next page of results.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



75
76
77
78
79
80
81
82
83
84
85
# File 'generated/google/apis/run_v1alpha1/service.rb', line 75

def list_namespace_authorizeddomains(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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the configurations should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the domain mappings should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the EventTypes should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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', options)
  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_pubsubs(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::ListPubSubsResponse

Rpc to list pubsubs.

Parameters:

  • parent (String)

    The project ID or project number from which the pubsubs should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
# File 'generated/google/apis/run_v1alpha1/service.rb', line 583

def list_namespace_pubsubs(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/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
  command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
  command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the revisions should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'generated/google/apis/run_v1alpha1/service.rb', line 759

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the routes should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
# File 'generated/google/apis/run_v1alpha1/service.rb', line 846

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the services should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



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_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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the triggers should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1222

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', options)
  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.

Parameters:

  • parent (String)

    Name of the parent Application resource. Example: apps/myapp.

  • page_size (Fixnum)

    Maximum results to return per page.

  • page_token (String)

    Continuation token for fetching the next page of results.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1341

def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the configurations should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1424

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the domain mappings should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1596

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the EventTypes should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1684

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', options)
  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_pubsubs(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::ListPubSubsResponse

Rpc to list pubsubs.

Parameters:

  • parent (String)

    The project ID or project number from which the pubsubs should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1849

def list_project_location_pubsubs(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}/pubsubs', options)
  command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
  command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the revisions should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2025

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the routes should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2112

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the services should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2324

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', options)
  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.

Parameters:

  • parent (String)

    The project ID or project number from which the triggers should be listed.

  • continue (String)

    Optional encoded string to continue paging.

  • field_selector (String)

    Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.

  • include_uninitialized (Boolean)

    Not currently used by Cloud Run.

  • label_selector (String)

    Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

  • limit (Fixnum)

    The maximum number of records that should be returned.

  • resource_version (String)

    The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.

  • watch (Boolean)

    Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2598

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', options)
  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.

Parameters:

  • name (String)

    The resource that owns the locations collection, if applicable.

  • filter (String)

    The standard list filter.

  • page_size (Fixnum)

    The standard list page size.

  • page_token (String)

    The standard list page token.

  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1304

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', options)
  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_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::PubSub

Rpc to replace a pubsub. 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.

Parameters:

  • name (String)

    The name of the pubsub being retrieved. If needed, replace namespace_id with the project ID.

  • pub_sub_object (Google::Apis::RunV1alpha1::PubSub) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



627
628
629
630
631
632
633
634
635
636
637
# File 'generated/google/apis/run_v1alpha1/service.rb', line 627

def replace_namespace_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.request_object = pub_sub_object
  command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.response_class = Google::Apis::RunV1alpha1::PubSub
  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, 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.

Parameters:

  • name (String)

    The name of the service being replaced. If needed, replace namespace_id with the project ID.

  • service_object (Google::Apis::RunV1alpha1::Service) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1062

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}', options)
  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.

Parameters:

  • name (String)

    The name of the trigger being retrieved. If needed, replace namespace_id with the project ID.

  • trigger_object (Google::Apis::RunV1alpha1::Trigger) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1266

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}', options)
  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_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::RunV1alpha1::PubSub

Rpc to replace a pubsub. 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.

Parameters:

  • name (String)

    The name of the pubsub being retrieved. If needed, replace namespace_id with the project ID.

  • pub_sub_object (Google::Apis::RunV1alpha1::PubSub) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
# File 'generated/google/apis/run_v1alpha1/service.rb', line 1893

def replace_project_location_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:put, 'v1alpha1/{+name}', options)
  command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.request_object = pub_sub_object
  command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
  command.response_class = Google::Apis::RunV1alpha1::PubSub
  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.

Parameters:

  • name (String)

    The name of the service being replaced. If needed, replace namespace_id with the project ID.

  • service_object (Google::Apis::RunV1alpha1::Service) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2368

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}', options)
  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.

Parameters:

  • name (String)

    The name of the trigger being retrieved. If needed, replace namespace_id with the project ID.

  • trigger_object (Google::Apis::RunV1alpha1::Trigger) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2642

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}', options)
  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.

Parameters:

  • resource (String)

    REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.

  • set_iam_policy_request_object (Google::Apis::RunV1alpha1::SetIamPolicyRequest) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2403

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', options)
  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.

Parameters:

  • resource (String)

    REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.

  • test_iam_permissions_request_object (Google::Apis::RunV1alpha1::TestIamPermissionsRequest) (defaults to: nil)
  • fields (String)

    Selector specifying which fields to include in a partial response.

  • quota_user (String)

    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.

  • options (Google::Apis::RequestOptions)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:



2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'generated/google/apis/run_v1alpha1/service.rb', line 2438

def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
  command.request_representation = Google::Apis::RunV1alpha1::TestIamPermissionsRequest::Representation
  command.request_object = test_iam_permissions_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