Class: Google::Apis::EventarcV1::EventarcService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::EventarcV1::EventarcService
- Defined in:
- lib/google/apis/eventarc_v1/service.rb
Overview
Eventarc API
Build event-driven applications on Google Cloud Platform.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://eventarc.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_channel(parent, channel_object = nil, channel_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new channel in a particular project and location.
-
#create_project_location_channel_connection(parent, channel_connection_object = nil, channel_connection_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new ChannelConnection in a particular project and location.
-
#create_project_location_enrollment(parent, enrollment_object = nil, enrollment_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new Enrollment in a particular project and location.
-
#create_project_location_google_api_source(parent, google_api_source_object = nil, google_api_source_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new GoogleApiSource in a particular project and location.
-
#create_project_location_message_bus(parent, message_bus_object = nil, message_bus_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new MessageBus in a particular project and location.
-
#create_project_location_pipeline(parent, pipeline_object = nil, pipeline_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new Pipeline in a particular project and location.
-
#create_project_location_trigger(parent, trigger_object = nil, trigger_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new trigger in a particular project and location.
-
#delete_project_location_channel(name, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single channel.
-
#delete_project_location_channel_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single ChannelConnection.
-
#delete_project_location_enrollment(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single Enrollment.
-
#delete_project_location_google_api_source(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single GoogleApiSource.
-
#delete_project_location_message_bus(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single message bus.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Empty
Deletes a long-running operation.
-
#delete_project_location_pipeline(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single pipeline.
-
#delete_project_location_trigger(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single trigger.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Location
Gets information about a location.
-
#get_project_location_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Channel
Get a single Channel.
-
#get_project_location_channel_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ChannelConnection
Get a single ChannelConnection.
-
#get_project_location_channel_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_channel_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_enrollment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Enrollment
Get a single Enrollment.
-
#get_project_location_enrollment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_google_api_source(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleApiSource
Get a single GoogleApiSource.
-
#get_project_location_google_api_source_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_google_channel_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleChannelConfig
Get a GoogleChannelConfig.
-
#get_project_location_message_bus(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::MessageBus
Get a single MessageBus.
-
#get_project_location_message_bus_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Gets the latest state of a long-running operation.
-
#get_project_location_pipeline(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Pipeline
Get a single Pipeline.
-
#get_project_location_pipeline_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_provider(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Provider
Get a single Provider.
-
#get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Trigger
Get a single trigger.
-
#get_project_location_trigger_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource.
-
#initialize ⇒ EventarcService
constructor
A new instance of EventarcService.
-
#list_project_location_channel_connections(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListChannelConnectionsResponse
List channel connections.
-
#list_project_location_channels(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListChannelsResponse
List channels.
-
#list_project_location_enrollments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListEnrollmentsResponse
List Enrollments.
-
#list_project_location_google_api_sources(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListGoogleApiSourcesResponse
List GoogleApiSources.
-
#list_project_location_message_bus_enrollments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListMessageBusEnrollmentsResponse
List message bus enrollments.
-
#list_project_location_message_buses(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListMessageBusesResponse
List message buses.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_pipelines(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListPipelinesResponse
List pipelines.
-
#list_project_location_providers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListProvidersResponse
List providers.
-
#list_project_location_triggers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListTriggersResponse
List triggers.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_channel(name, channel_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single channel.
-
#patch_project_location_enrollment(name, enrollment_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single Enrollment.
-
#patch_project_location_google_api_source(name, google_api_source_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single GoogleApiSource.
-
#patch_project_location_message_bus(name, message_bus_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single message bus.
-
#patch_project_location_pipeline(name, pipeline_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single pipeline.
-
#patch_project_location_trigger(name, trigger_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single trigger.
-
#set_channel_connection_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource.
-
#set_channel_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource.
-
#set_enrollment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource.
-
#set_google_api_source_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource.
-
#set_message_bus_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource.
-
#set_pipeline_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource.
-
#set_trigger_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource.
-
#test_channel_connection_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_channel_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_enrollment_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_google_api_source_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_message_bus_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_pipeline_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_trigger_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#update_project_location_google_channel_config(name, google_channel_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleChannelConfig
Update a single GoogleChannelConfig.
Constructor Details
#initialize ⇒ EventarcService
Returns a new instance of EventarcService.
47 48 49 50 51 52 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-eventarc_v1', client_version: Google::Apis::EventarcV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1825 def cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::EventarcV1::GoogleLongrunningCancelOperationRequest::Representation command.request_object = google_longrunning_cancel_operation_request_object command.response_representation = Google::Apis::EventarcV1::Empty::Representation command.response_class = Google::Apis::EventarcV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_channel(parent, channel_object = nil, channel_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new channel in a particular project and location.
479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 479 def create_project_location_channel(parent, channel_object = nil, channel_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/channels', ) command.request_representation = Google::Apis::EventarcV1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['channelId'] = channel_id unless channel_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_channel_connection(parent, channel_connection_object = nil, channel_connection_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new ChannelConnection in a particular project and location.
219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 219 def create_project_location_channel_connection(parent, channel_connection_object = nil, channel_connection_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/channelConnections', ) command.request_representation = Google::Apis::EventarcV1::ChannelConnection::Representation command.request_object = channel_connection_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['channelConnectionId'] = channel_connection_id unless channel_connection_id.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_enrollment(parent, enrollment_object = nil, enrollment_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new Enrollment in a particular project and location.
795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 795 def create_project_location_enrollment(parent, enrollment_object = nil, enrollment_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/enrollments', ) command.request_representation = Google::Apis::EventarcV1::Enrollment::Representation command.request_object = enrollment_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['enrollmentId'] = enrollment_id unless enrollment_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_google_api_source(parent, google_api_source_object = nil, google_api_source_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new GoogleApiSource in a particular project and location.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1125 def create_project_location_google_api_source(parent, google_api_source_object = nil, google_api_source_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/googleApiSources', ) command.request_representation = Google::Apis::EventarcV1::GoogleApiSource::Representation command.request_object = google_api_source_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['googleApiSourceId'] = google_api_source_id unless google_api_source_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_message_bus(parent, message_bus_object = nil, message_bus_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new MessageBus in a particular project and location.
1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1455 def (parent, = nil, message_bus_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/messageBuses', ) command.request_representation = Google::Apis::EventarcV1::MessageBus::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['messageBusId'] = unless .nil? command.query['validateOnly'] = validate_only unless validate_only.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_pipeline(parent, pipeline_object = nil, pipeline_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new Pipeline in a particular project and location.
1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1967 def create_project_location_pipeline(parent, pipeline_object = nil, pipeline_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/pipelines', ) command.request_representation = Google::Apis::EventarcV1::Pipeline::Representation command.request_object = pipeline_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['pipelineId'] = pipeline_id unless pipeline_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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, trigger_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Create a new trigger in a particular project and location.
2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2374 def create_project_location_trigger(parent, trigger_object = nil, trigger_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/triggers', ) command.request_representation = Google::Apis::EventarcV1::Trigger::Representation command.request_object = trigger_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? command.query['triggerId'] = trigger_id unless trigger_id.nil? command.query['validateOnly'] = validate_only unless validate_only.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_channel(name, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single channel.
516 517 518 519 520 521 522 523 524 525 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 516 def delete_project_location_channel(name, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['validateOnly'] = validate_only unless validate_only.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_channel_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single ChannelConnection.
252 253 254 255 256 257 258 259 260 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 252 def delete_project_location_channel_connection(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_enrollment(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single Enrollment.
838 839 840 841 842 843 844 845 846 847 848 849 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 838 def delete_project_location_enrollment(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['etag'] = etag unless etag.nil? command.query['validateOnly'] = validate_only unless validate_only.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_google_api_source(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single GoogleApiSource.
1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1168 def delete_project_location_google_api_source(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['etag'] = etag unless etag.nil? command.query['validateOnly'] = validate_only unless validate_only.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_message_bus(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single message bus.
1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1498 def (name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['etag'] = etag unless etag.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED
.
1860 1861 1862 1863 1864 1865 1866 1867 1868 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1860 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::Empty::Representation command.response_class = Google::Apis::EventarcV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_pipeline(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single pipeline.
2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2010 def delete_project_location_pipeline(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['etag'] = etag unless etag.nil? command.query['validateOnly'] = validate_only unless validate_only.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, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Delete a single trigger.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2417 def delete_project_location_trigger(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['etag'] = etag unless etag.nil? command.query['validateOnly'] = validate_only unless validate_only.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(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Location
Gets information about a location.
74 75 76 77 78 79 80 81 82 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 74 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::Location::Representation command.response_class = Google::Apis::EventarcV1::Location 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_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Channel
Get a single Channel.
547 548 549 550 551 552 553 554 555 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 547 def get_project_location_channel(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::Channel::Representation command.response_class = Google::Apis::EventarcV1::Channel 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_channel_connection(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ChannelConnection
Get a single ChannelConnection.
282 283 284 285 286 287 288 289 290 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 282 def get_project_location_channel_connection(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::ChannelConnection::Representation command.response_class = Google::Apis::EventarcV1::ChannelConnection 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_channel_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
326 327 328 329 330 331 332 333 334 335 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 326 def get_project_location_channel_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_channel_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
591 592 593 594 595 596 597 598 599 600 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 591 def get_project_location_channel_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_enrollment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Enrollment
Get a single Enrollment.
871 872 873 874 875 876 877 878 879 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 871 def get_project_location_enrollment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::Enrollment::Representation command.response_class = Google::Apis::EventarcV1::Enrollment 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_enrollment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
915 916 917 918 919 920 921 922 923 924 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 915 def get_project_location_enrollment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_google_api_source(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleApiSource
Get a single GoogleApiSource.
1201 1202 1203 1204 1205 1206 1207 1208 1209 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1201 def get_project_location_google_api_source(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleApiSource::Representation command.response_class = Google::Apis::EventarcV1::GoogleApiSource 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_google_api_source_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1245 def get_project_location_google_api_source_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_google_channel_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleChannelConfig
Get a GoogleChannelConfig
104 105 106 107 108 109 110 111 112 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 104 def get_project_location_google_channel_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleChannelConfig::Representation command.response_class = Google::Apis::EventarcV1::GoogleChannelConfig 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_message_bus(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::MessageBus
Get a single MessageBus.
1531 1532 1533 1534 1535 1536 1537 1538 1539 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1531 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::MessageBus::Representation command.response_class = Google::Apis::EventarcV1::MessageBus 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_message_bus_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1575 def (resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
1891 1892 1893 1894 1895 1896 1897 1898 1899 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1891 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_pipeline(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Pipeline
Get a single Pipeline.
2043 2044 2045 2046 2047 2048 2049 2050 2051 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2043 def get_project_location_pipeline(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::Pipeline::Representation command.response_class = Google::Apis::EventarcV1::Pipeline 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_pipeline_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2087 def get_project_location_pipeline_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_provider(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Provider
Get a single Provider.
2291 2292 2293 2294 2295 2296 2297 2298 2299 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2291 def get_project_location_provider(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::Provider::Representation command.response_class = Google::Apis::EventarcV1::Provider 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_trigger(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Trigger
Get a single trigger.
2450 2451 2452 2453 2454 2455 2456 2457 2458 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2450 def get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::EventarcV1::Trigger::Representation command.response_class = Google::Apis::EventarcV1::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_trigger_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2494 def get_project_location_trigger_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_channel_connections(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListChannelConnectionsResponse
List channel connections.
365 366 367 368 369 370 371 372 373 374 375 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 365 def list_project_location_channel_connections(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/channelConnections', ) command.response_representation = Google::Apis::EventarcV1::ListChannelConnectionsResponse::Representation command.response_class = Google::Apis::EventarcV1::ListChannelConnectionsResponse 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_channels(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListChannelsResponse
List channels.
635 636 637 638 639 640 641 642 643 644 645 646 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 635 def list_project_location_channels(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/channels', ) command.response_representation = Google::Apis::EventarcV1::ListChannelsResponse::Representation command.response_class = Google::Apis::EventarcV1::ListChannelsResponse command.params['parent'] = parent unless parent.nil? command.query['orderBy'] = order_by unless order_by.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_enrollments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListEnrollmentsResponse
List Enrollments.
961 962 963 964 965 966 967 968 969 970 971 972 973 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 961 def list_project_location_enrollments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/enrollments', ) command.response_representation = Google::Apis::EventarcV1::ListEnrollmentsResponse::Representation command.response_class = Google::Apis::EventarcV1::ListEnrollmentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_google_api_sources(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListGoogleApiSourcesResponse
List GoogleApiSources.
1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1291 def list_project_location_google_api_sources(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/googleApiSources', ) command.response_representation = Google::Apis::EventarcV1::ListGoogleApiSourcesResponse::Representation command.response_class = Google::Apis::EventarcV1::ListGoogleApiSourcesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_message_bus_enrollments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListMessageBusEnrollmentsResponse
List message bus enrollments.
1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1662 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}:listEnrollments', ) command.response_representation = Google::Apis::EventarcV1::ListMessageBusEnrollmentsResponse::Representation command.response_class = Google::Apis::EventarcV1::ListMessageBusEnrollmentsResponse 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_message_buses(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListMessageBusesResponse
List message buses.
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1621 def (parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/messageBuses', ) command.response_representation = Google::Apis::EventarcV1::ListMessageBusesResponse::Representation command.response_class = Google::Apis::EventarcV1::ListMessageBusesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
.
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1928 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningListOperationsResponse::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_pipelines(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListPipelinesResponse
List pipelines.
2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2133 def list_project_location_pipelines(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/pipelines', ) command.response_representation = Google::Apis::EventarcV1::ListPipelinesResponse::Representation command.response_class = Google::Apis::EventarcV1::ListPipelinesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_providers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListProvidersResponse
List providers.
2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2334 def list_project_location_providers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/providers', ) command.response_representation = Google::Apis::EventarcV1::ListProvidersResponse::Representation command.response_class = Google::Apis::EventarcV1::ListProvidersResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_triggers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListTriggersResponse
List triggers.
2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2542 def list_project_location_triggers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/triggers', ) command.response_representation = Google::Apis::EventarcV1::ListTriggersResponse::Representation command.response_class = Google::Apis::EventarcV1::ListTriggersResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::ListLocationsResponse
Lists information about the supported locations for this service.
144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 144 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::EventarcV1::ListLocationsResponse::Representation command.response_class = Google::Apis::EventarcV1::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 |
#patch_project_location_channel(name, channel_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single channel.
678 679 680 681 682 683 684 685 686 687 688 689 690 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 678 def patch_project_location_channel(name, channel_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::EventarcV1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_enrollment(name, enrollment_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single Enrollment.
1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1007 def patch_project_location_enrollment(name, enrollment_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::EventarcV1::Enrollment::Representation command.request_object = enrollment_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_google_api_source(name, google_api_source_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single GoogleApiSource.
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1337 def patch_project_location_google_api_source(name, google_api_source_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::EventarcV1::GoogleApiSource::Representation command.request_object = google_api_source_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_message_bus(name, message_bus_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single message bus.
1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1706 def (name, = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::EventarcV1::MessageBus::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_pipeline(name, pipeline_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single pipeline.
2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2180 def patch_project_location_pipeline(name, pipeline_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::EventarcV1::Pipeline::Representation command.request_object = pipeline_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_trigger(name, trigger_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleLongrunningOperation
Update a single trigger.
2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2589 def patch_project_location_trigger(name, trigger_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::EventarcV1::Trigger::Representation command.request_object = trigger_object command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.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_channel_connection_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
402 403 404 405 406 407 408 409 410 411 412 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 402 def set_channel_connection_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_channel_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
717 718 719 720 721 722 723 724 725 726 727 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 717 def set_channel_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_enrollment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1047 def set_enrollment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_google_api_source_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1377 def set_google_api_source_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_message_bus_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1746 def (resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_pipeline_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2220 def set_pipeline_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_trigger_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2629 def set_trigger_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::EventarcV1::Policy::Representation command.response_class = Google::Apis::EventarcV1::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_channel_connection_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
441 442 443 444 445 446 447 448 449 450 451 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 441 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_channel_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
756 757 758 759 760 761 762 763 764 765 766 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 756 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_enrollment_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1086 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_google_api_source_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1416 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_message_bus_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 1785 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_pipeline_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2259 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_trigger_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 2668 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::EventarcV1::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 |
#update_project_location_google_channel_config(name, google_channel_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::EventarcV1::GoogleChannelConfig
Update a single GoogleChannelConfig
183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'lib/google/apis/eventarc_v1/service.rb', line 183 def update_project_location_google_channel_config(name, google_channel_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::EventarcV1::GoogleChannelConfig::Representation command.request_object = google_channel_config_object command.response_representation = Google::Apis::EventarcV1::GoogleChannelConfig::Representation command.response_class = Google::Apis::EventarcV1::GoogleChannelConfig command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |