google-apis-connectors_v1 0.32.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -389,7 +389,8 @@ module Google
389
389
  # Required. You can modify only the fields listed below. To lock/unlock a
390
390
  # connection: * `lock_config` To suspend/resume a connection: * `suspended` To
391
391
  # update the connection details: * `description` * `labels` * `connector_version`
392
- # * `config_variables` * `auth_config` * `destination_configs` * `node_config`
392
+ # * `config_variables` * `auth_config` * `destination_configs` * `node_config` *
393
+ # `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config`
393
394
  # @param [String] fields
394
395
  # Selector specifying which fields to include in a partial response.
395
396
  # @param [String] quota_user
@@ -420,6 +421,39 @@ module Google
420
421
  execute_or_queue_command(command, &block)
421
422
  end
422
423
 
424
+ # RepaiEventing tries to repair eventing related event subscriptions.
425
+ # @param [String] name
426
+ # Required. Resource name of the form: `projects/*/locations/*/connections/*`
427
+ # @param [Google::Apis::ConnectorsV1::RepairEventingRequest] repair_eventing_request_object
428
+ # @param [String] fields
429
+ # Selector specifying which fields to include in a partial response.
430
+ # @param [String] quota_user
431
+ # Available to use for quota purposes for server-side applications. Can be any
432
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
433
+ # @param [Google::Apis::RequestOptions] options
434
+ # Request-specific options
435
+ #
436
+ # @yield [result, err] Result & error if block supplied
437
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
438
+ # @yieldparam err [StandardError] error object if request failed
439
+ #
440
+ # @return [Google::Apis::ConnectorsV1::Operation]
441
+ #
442
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
443
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
444
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
445
+ def repair_connection_eventing(name, repair_eventing_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
446
+ command = make_simple_command(:post, 'v1/{+name}:repairEventing', options)
447
+ command.request_representation = Google::Apis::ConnectorsV1::RepairEventingRequest::Representation
448
+ command.request_object = repair_eventing_request_object
449
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
450
+ command.response_class = Google::Apis::ConnectorsV1::Operation
451
+ command.params['name'] = name unless name.nil?
452
+ command.query['fields'] = fields unless fields.nil?
453
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
454
+ execute_or_queue_command(command, &block)
455
+ end
456
+
423
457
  # Sets the access control policy on the specified resource. Replaces any
424
458
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
425
459
  # PERMISSION_DENIED` errors.
@@ -530,6 +564,225 @@ module Google
530
564
  execute_or_queue_command(command, &block)
531
565
  end
532
566
 
567
+ # Creates a new EventSubscription in a given project,location and connection.
568
+ # @param [String] parent
569
+ # Required. Parent resource of the EventSubscription, of the form: `projects/*/
570
+ # locations/*/connections/*`
571
+ # @param [Google::Apis::ConnectorsV1::EventSubscription] event_subscription_object
572
+ # @param [String] event_subscription_id
573
+ # Required. Identifier to assign to the Event Subscription. Must be unique
574
+ # within scope of the parent resource.
575
+ # @param [String] fields
576
+ # Selector specifying which fields to include in a partial response.
577
+ # @param [String] quota_user
578
+ # Available to use for quota purposes for server-side applications. Can be any
579
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
580
+ # @param [Google::Apis::RequestOptions] options
581
+ # Request-specific options
582
+ #
583
+ # @yield [result, err] Result & error if block supplied
584
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
585
+ # @yieldparam err [StandardError] error object if request failed
586
+ #
587
+ # @return [Google::Apis::ConnectorsV1::Operation]
588
+ #
589
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
590
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
591
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
592
+ def create_project_location_connection_event_subscription(parent, event_subscription_object = nil, event_subscription_id: nil, fields: nil, quota_user: nil, options: nil, &block)
593
+ command = make_simple_command(:post, 'v1/{+parent}/eventSubscriptions', options)
594
+ command.request_representation = Google::Apis::ConnectorsV1::EventSubscription::Representation
595
+ command.request_object = event_subscription_object
596
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
597
+ command.response_class = Google::Apis::ConnectorsV1::Operation
598
+ command.params['parent'] = parent unless parent.nil?
599
+ command.query['eventSubscriptionId'] = event_subscription_id unless event_subscription_id.nil?
600
+ command.query['fields'] = fields unless fields.nil?
601
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
602
+ execute_or_queue_command(command, &block)
603
+ end
604
+
605
+ # Deletes a single EventSubscription.
606
+ # @param [String] name
607
+ # Required. Resource name of the form: `projects/*/locations/*/connections/*/
608
+ # eventsubscriptions/*`
609
+ # @param [String] fields
610
+ # Selector specifying which fields to include in a partial response.
611
+ # @param [String] quota_user
612
+ # Available to use for quota purposes for server-side applications. Can be any
613
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
614
+ # @param [Google::Apis::RequestOptions] options
615
+ # Request-specific options
616
+ #
617
+ # @yield [result, err] Result & error if block supplied
618
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
619
+ # @yieldparam err [StandardError] error object if request failed
620
+ #
621
+ # @return [Google::Apis::ConnectorsV1::Operation]
622
+ #
623
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
624
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
625
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
626
+ def delete_project_location_connection_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
627
+ command = make_simple_command(:delete, 'v1/{+name}', options)
628
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
629
+ command.response_class = Google::Apis::ConnectorsV1::Operation
630
+ command.params['name'] = name unless name.nil?
631
+ command.query['fields'] = fields unless fields.nil?
632
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
633
+ execute_or_queue_command(command, &block)
634
+ end
635
+
636
+ # Gets details of a single EventSubscription.
637
+ # @param [String] name
638
+ # Required. Resource name of the form: `projects/*/locations/*/connections/*/
639
+ # eventSubscriptions/*`
640
+ # @param [String] fields
641
+ # Selector specifying which fields to include in a partial response.
642
+ # @param [String] quota_user
643
+ # Available to use for quota purposes for server-side applications. Can be any
644
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
645
+ # @param [Google::Apis::RequestOptions] options
646
+ # Request-specific options
647
+ #
648
+ # @yield [result, err] Result & error if block supplied
649
+ # @yieldparam result [Google::Apis::ConnectorsV1::EventSubscription] parsed result object
650
+ # @yieldparam err [StandardError] error object if request failed
651
+ #
652
+ # @return [Google::Apis::ConnectorsV1::EventSubscription]
653
+ #
654
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
655
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
656
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
657
+ def get_project_location_connection_event_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
658
+ command = make_simple_command(:get, 'v1/{+name}', options)
659
+ command.response_representation = Google::Apis::ConnectorsV1::EventSubscription::Representation
660
+ command.response_class = Google::Apis::ConnectorsV1::EventSubscription
661
+ command.params['name'] = name unless name.nil?
662
+ command.query['fields'] = fields unless fields.nil?
663
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
664
+ execute_or_queue_command(command, &block)
665
+ end
666
+
667
+ # List EventSubscriptions in a given project,location and connection.
668
+ # @param [String] parent
669
+ # Required. Parent resource of the EventSubscription, of the form: `projects/*/
670
+ # locations/*/connections/*`
671
+ # @param [String] filter
672
+ # Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/
673
+ # list_filtering.md#filtering.
674
+ # @param [String] order_by
675
+ # Order by parameters.
676
+ # @param [Fixnum] page_size
677
+ # Page size.
678
+ # @param [String] page_token
679
+ # Page token.
680
+ # @param [String] fields
681
+ # Selector specifying which fields to include in a partial response.
682
+ # @param [String] quota_user
683
+ # Available to use for quota purposes for server-side applications. Can be any
684
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
685
+ # @param [Google::Apis::RequestOptions] options
686
+ # Request-specific options
687
+ #
688
+ # @yield [result, err] Result & error if block supplied
689
+ # @yieldparam result [Google::Apis::ConnectorsV1::ListEventSubscriptionsResponse] parsed result object
690
+ # @yieldparam err [StandardError] error object if request failed
691
+ #
692
+ # @return [Google::Apis::ConnectorsV1::ListEventSubscriptionsResponse]
693
+ #
694
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
695
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
696
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
697
+ def list_project_location_connection_event_subscriptions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
698
+ command = make_simple_command(:get, 'v1/{+parent}/eventSubscriptions', options)
699
+ command.response_representation = Google::Apis::ConnectorsV1::ListEventSubscriptionsResponse::Representation
700
+ command.response_class = Google::Apis::ConnectorsV1::ListEventSubscriptionsResponse
701
+ command.params['parent'] = parent unless parent.nil?
702
+ command.query['filter'] = filter unless filter.nil?
703
+ command.query['orderBy'] = order_by unless order_by.nil?
704
+ command.query['pageSize'] = page_size unless page_size.nil?
705
+ command.query['pageToken'] = page_token unless page_token.nil?
706
+ command.query['fields'] = fields unless fields.nil?
707
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
708
+ execute_or_queue_command(command, &block)
709
+ end
710
+
711
+ # Updates the parameters of a single EventSubscription.
712
+ # @param [String] name
713
+ # Required. Resource name of the EventSubscription. Format: projects/`project`/
714
+ # locations/`location`/connections/`connection`/eventSubscriptions/`
715
+ # event_subscription`
716
+ # @param [Google::Apis::ConnectorsV1::EventSubscription] event_subscription_object
717
+ # @param [String] update_mask
718
+ # Required. The list of fields to update. Fields are specified relative to the
719
+ # Subscription. A field will be overwritten if it is in the mask. You can modify
720
+ # only the fields listed below. To update the EventSubscription details: * `
721
+ # serviceAccount`
722
+ # @param [String] fields
723
+ # Selector specifying which fields to include in a partial response.
724
+ # @param [String] quota_user
725
+ # Available to use for quota purposes for server-side applications. Can be any
726
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
727
+ # @param [Google::Apis::RequestOptions] options
728
+ # Request-specific options
729
+ #
730
+ # @yield [result, err] Result & error if block supplied
731
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
732
+ # @yieldparam err [StandardError] error object if request failed
733
+ #
734
+ # @return [Google::Apis::ConnectorsV1::Operation]
735
+ #
736
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
737
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
738
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
739
+ def patch_project_location_connection_event_subscription(name, event_subscription_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
740
+ command = make_simple_command(:patch, 'v1/{+name}', options)
741
+ command.request_representation = Google::Apis::ConnectorsV1::EventSubscription::Representation
742
+ command.request_object = event_subscription_object
743
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
744
+ command.response_class = Google::Apis::ConnectorsV1::Operation
745
+ command.params['name'] = name unless name.nil?
746
+ command.query['updateMask'] = update_mask unless update_mask.nil?
747
+ command.query['fields'] = fields unless fields.nil?
748
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
749
+ execute_or_queue_command(command, &block)
750
+ end
751
+
752
+ # RetryEventSubscription retries the registration of Subscription.
753
+ # @param [String] name
754
+ # Required. Resource name of the form: `projects/*/locations/*/connections/*/
755
+ # eventSubscriptions/*`
756
+ # @param [Google::Apis::ConnectorsV1::RetryEventSubscriptionRequest] retry_event_subscription_request_object
757
+ # @param [String] fields
758
+ # Selector specifying which fields to include in a partial response.
759
+ # @param [String] quota_user
760
+ # Available to use for quota purposes for server-side applications. Can be any
761
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
762
+ # @param [Google::Apis::RequestOptions] options
763
+ # Request-specific options
764
+ #
765
+ # @yield [result, err] Result & error if block supplied
766
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
767
+ # @yieldparam err [StandardError] error object if request failed
768
+ #
769
+ # @return [Google::Apis::ConnectorsV1::Operation]
770
+ #
771
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
772
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
773
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
774
+ def retry_event_subscription(name, retry_event_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
775
+ command = make_simple_command(:post, 'v1/{+name}:retry', options)
776
+ command.request_representation = Google::Apis::ConnectorsV1::RetryEventSubscriptionRequest::Representation
777
+ command.request_object = retry_event_subscription_request_object
778
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
779
+ command.response_class = Google::Apis::ConnectorsV1::Operation
780
+ command.params['name'] = name unless name.nil?
781
+ command.query['fields'] = fields unless fields.nil?
782
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
783
+ execute_or_queue_command(command, &block)
784
+ end
785
+
533
786
  # List schema of a runtime actions filtered by action name.
534
787
  # @param [String] parent
535
788
  # Required. Parent resource of RuntimeActionSchema Format: projects/`project`/
@@ -829,6 +1082,43 @@ module Google
829
1082
  execute_or_queue_command(command, &block)
830
1083
  end
831
1084
 
1085
+ # Update the global settings of a project.
1086
+ # @param [String] name
1087
+ # Output only. Resource name of the Connection. Format: projects/`project`/
1088
+ # locations/global/settings`
1089
+ # @param [Google::Apis::ConnectorsV1::Settings] settings_object
1090
+ # @param [String] update_mask
1091
+ # Required. The list of fields to update.
1092
+ # @param [String] fields
1093
+ # Selector specifying which fields to include in a partial response.
1094
+ # @param [String] quota_user
1095
+ # Available to use for quota purposes for server-side applications. Can be any
1096
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1097
+ # @param [Google::Apis::RequestOptions] options
1098
+ # Request-specific options
1099
+ #
1100
+ # @yield [result, err] Result & error if block supplied
1101
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1102
+ # @yieldparam err [StandardError] error object if request failed
1103
+ #
1104
+ # @return [Google::Apis::ConnectorsV1::Operation]
1105
+ #
1106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1109
+ def update_project_location_global_settings(name, settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1110
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1111
+ command.request_representation = Google::Apis::ConnectorsV1::Settings::Representation
1112
+ command.request_object = settings_object
1113
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1114
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1115
+ command.params['name'] = name unless name.nil?
1116
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1117
+ command.query['fields'] = fields unless fields.nil?
1118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1119
+ execute_or_queue_command(command, &block)
1120
+ end
1121
+
832
1122
  # Creates a new ManagedZone in a given project and location.
833
1123
  # @param [String] parent
834
1124
  # Required. Parent resource of the ManagedZone, of the form: `projects/*/
@@ -1495,6 +1785,76 @@ module Google
1495
1785
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1496
1786
  execute_or_queue_command(command, &block)
1497
1787
  end
1788
+
1789
+ # Gets details of a single event type.
1790
+ # @param [String] name
1791
+ # Required. Resource name of the form: `projects/*/locations/*/providers/*/
1792
+ # connectors/*/versions/*/eventtypes/*` Only global location is supported for
1793
+ # EventType resource.
1794
+ # @param [String] fields
1795
+ # Selector specifying which fields to include in a partial response.
1796
+ # @param [String] quota_user
1797
+ # Available to use for quota purposes for server-side applications. Can be any
1798
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1799
+ # @param [Google::Apis::RequestOptions] options
1800
+ # Request-specific options
1801
+ #
1802
+ # @yield [result, err] Result & error if block supplied
1803
+ # @yieldparam result [Google::Apis::ConnectorsV1::EventType] parsed result object
1804
+ # @yieldparam err [StandardError] error object if request failed
1805
+ #
1806
+ # @return [Google::Apis::ConnectorsV1::EventType]
1807
+ #
1808
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1809
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1810
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1811
+ def get_project_location_provider_connector_version_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
1812
+ command = make_simple_command(:get, 'v1/{+name}', options)
1813
+ command.response_representation = Google::Apis::ConnectorsV1::EventType::Representation
1814
+ command.response_class = Google::Apis::ConnectorsV1::EventType
1815
+ command.params['name'] = name unless name.nil?
1816
+ command.query['fields'] = fields unless fields.nil?
1817
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1818
+ execute_or_queue_command(command, &block)
1819
+ end
1820
+
1821
+ # Lists Event Types in a given Connector Version.
1822
+ # @param [String] parent
1823
+ # Required. Parent resource of the connectors, of the form: `projects/*/
1824
+ # locations/*/providers/*/connectors/*/versions/*` Only global location is
1825
+ # supported for EventType resource.
1826
+ # @param [Fixnum] page_size
1827
+ # Page size.
1828
+ # @param [String] page_token
1829
+ # Page token.
1830
+ # @param [String] fields
1831
+ # Selector specifying which fields to include in a partial response.
1832
+ # @param [String] quota_user
1833
+ # Available to use for quota purposes for server-side applications. Can be any
1834
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1835
+ # @param [Google::Apis::RequestOptions] options
1836
+ # Request-specific options
1837
+ #
1838
+ # @yield [result, err] Result & error if block supplied
1839
+ # @yieldparam result [Google::Apis::ConnectorsV1::ListEventTypesResponse] parsed result object
1840
+ # @yieldparam err [StandardError] error object if request failed
1841
+ #
1842
+ # @return [Google::Apis::ConnectorsV1::ListEventTypesResponse]
1843
+ #
1844
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1845
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1846
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1847
+ def list_project_location_provider_connector_version_eventtypes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1848
+ command = make_simple_command(:get, 'v1/{+parent}/eventtypes', options)
1849
+ command.response_representation = Google::Apis::ConnectorsV1::ListEventTypesResponse::Representation
1850
+ command.response_class = Google::Apis::ConnectorsV1::ListEventTypesResponse
1851
+ command.params['parent'] = parent unless parent.nil?
1852
+ command.query['pageSize'] = page_size unless page_size.nil?
1853
+ command.query['pageToken'] = page_token unless page_token.nil?
1854
+ command.query['fields'] = fields unless fields.nil?
1855
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1856
+ execute_or_queue_command(command, &block)
1857
+ end
1498
1858
 
1499
1859
  protected
1500
1860
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-11 00:00:00.000000000 Z
11
+ date: 2023-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
63
63
  post_install_message:
64
64
  rdoc_options: []