google-apis-connectors_v1 0.64.0 → 0.66.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 903fc6d9010f0ff882600c31d06fe55b884e0db43653bad2bbaeb42606dd592d
4
- data.tar.gz: 13734b17905dcf953655e29ccb8badfaefa9c3d216154c196614b8819b4e83bb
3
+ metadata.gz: 4416136c4935a4fae1db579cbeee33e05a5e527b52418d2dafdea00068b6b114
4
+ data.tar.gz: 79aa44ffd21ceb8b43e957da60a31d863106c01c2cf1af7da43333850d88b99e
5
5
  SHA512:
6
- metadata.gz: 7df3c12b64455c70069944cf7ccab2a9779af9e31ae4f245bfe62fc8a9326a380f9f1aa83f473988e73f6fc07879c2549c394869bfe3a95c445edbc08e5509bb
7
- data.tar.gz: d385062c65148c973684da827b8238ef6b41c7023ea054ba557f67acb4cbf7e6b1ec83edbb2765bbc64abb2bdf53eba4272304945fe1d1e692454476c154d23f
6
+ metadata.gz: 99722ecea211b68f0184e2f37b181ae295144007c4c0bf4af49a33338393d1af9abca1e560451e9399c9b81a2977a07037b187fc308fe5b8169049ac85979f1d
7
+ data.tar.gz: 7db11fd7a29bf668b877a0e1b91560f1ce42d7d0a70cae85c5eab0bd6c4e782ea3312466ffb1a4ed24959f4c6b68c9825c643045fc453c4a196984ca6a79523d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.66.0 (2025-01-07)
4
+
5
+ * Regenerated from discovery document revision 20250101
6
+
7
+ ### v0.65.0 (2024-12-08)
8
+
9
+ * Regenerated from discovery document revision 20241203
10
+
3
11
  ### v0.64.0 (2024-12-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20241105
@@ -384,8 +384,8 @@ module Google
384
384
  class AuthorizationCodeLink
385
385
  include Google::Apis::Core::Hashable
386
386
 
387
- # The client ID assigned to the Google Cloud Connectors OAuth app for the
388
- # connector data source.
387
+ # Optional. The client ID assigned to the Google Cloud Connectors OAuth app for
388
+ # the connector data source.
389
389
  # Corresponds to the JSON property `clientId`
390
390
  # @return [String]
391
391
  attr_accessor :client_id
@@ -395,7 +395,7 @@ module Google
395
395
  # @return [Google::Apis::ConnectorsV1::Secret]
396
396
  attr_accessor :client_secret
397
397
 
398
- # Whether to enable PKCE for the auth code flow.
398
+ # Optional. Whether to enable PKCE for the auth code flow.
399
399
  # Corresponds to the JSON property `enablePkce`
400
400
  # @return [Boolean]
401
401
  attr_accessor :enable_pkce
@@ -407,13 +407,14 @@ module Google
407
407
  attr_accessor :omit_query_params
408
408
  alias_method :omit_query_params?, :omit_query_params
409
409
 
410
- # The scopes for which the user will authorize Google Cloud Connectors on the
411
- # connector data source.
410
+ # Optional. The scopes for which the user will authorize Google Cloud Connectors
411
+ # on the connector data source.
412
412
  # Corresponds to the JSON property `scopes`
413
413
  # @return [Array<String>]
414
414
  attr_accessor :scopes
415
415
 
416
- # The base URI the user must click to trigger the authorization code login flow.
416
+ # Optional. The base URI the user must click to trigger the authorization code
417
+ # login flow.
417
418
  # Corresponds to the JSON property `uri`
418
419
  # @return [String]
419
420
  attr_accessor :uri
@@ -628,17 +629,17 @@ module Google
628
629
  # @return [Google::Apis::ConnectorsV1::AuthorizationCodeLink]
629
630
  attr_accessor :authorization_code_link
630
631
 
631
- # Description.
632
+ # Optional. Description.
632
633
  # Corresponds to the JSON property `description`
633
634
  # @return [String]
634
635
  attr_accessor :description
635
636
 
636
- # Display name of the parameter.
637
+ # Optional. Display name of the parameter.
637
638
  # Corresponds to the JSON property `displayName`
638
639
  # @return [String]
639
640
  attr_accessor :display_name
640
641
 
641
- # Enum options. To be populated if `ValueType` is `ENUM`
642
+ # Optional. Enum options. To be populated if `ValueType` is `ENUM`
642
643
  # Corresponds to the JSON property `enumOptions`
643
644
  # @return [Array<Google::Apis::ConnectorsV1::EnumOption>]
644
645
  attr_accessor :enum_options
@@ -648,13 +649,13 @@ module Google
648
649
  # @return [String]
649
650
  attr_accessor :enum_source
650
651
 
651
- # Indicates if current template is part of advanced settings
652
+ # Optional. Indicates if current template is part of advanced settings
652
653
  # Corresponds to the JSON property `isAdvanced`
653
654
  # @return [Boolean]
654
655
  attr_accessor :is_advanced
655
656
  alias_method :is_advanced?, :is_advanced
656
657
 
657
- # Key of the config variable.
658
+ # Optional. Key of the config variable.
658
659
  # Corresponds to the JSON property `key`
659
660
  # @return [String]
660
661
  attr_accessor :key
@@ -670,7 +671,8 @@ module Google
670
671
  # @return [Google::Apis::ConnectorsV1::MultipleSelectConfig]
671
672
  attr_accessor :multiple_select_config
672
673
 
673
- # Flag represents that this `ConfigVariable` must be provided for a connection.
674
+ # Optional. Flag represents that this `ConfigVariable` must be provided for a
675
+ # connection.
674
676
  # Corresponds to the JSON property `required`
675
677
  # @return [Boolean]
676
678
  attr_accessor :required
@@ -690,19 +692,19 @@ module Google
690
692
  # @return [Google::Apis::ConnectorsV1::RoleGrant]
691
693
  attr_accessor :role_grant
692
694
 
693
- # State of the config variable.
695
+ # Output only. State of the config variable.
694
696
  # Corresponds to the JSON property `state`
695
697
  # @return [String]
696
698
  attr_accessor :state
697
699
 
698
- # Regular expression in RE2 syntax used for validating the `value` of a `
699
- # ConfigVariable`.
700
+ # Optional. Regular expression in RE2 syntax used for validating the `value` of
701
+ # a `ConfigVariable`.
700
702
  # Corresponds to the JSON property `validationRegex`
701
703
  # @return [String]
702
704
  attr_accessor :validation_regex
703
705
 
704
- # Type of the parameter: string, int, bool etc. consider custom type for the
705
- # benefit for the validation.
706
+ # Optional. Type of the parameter: string, int, bool etc. consider custom type
707
+ # for the benefit for the validation.
706
708
  # Corresponds to the JSON property `valueType`
707
709
  # @return [String]
708
710
  attr_accessor :value_type
@@ -1108,6 +1110,11 @@ module Google
1108
1110
  # @return [String]
1109
1111
  attr_accessor :launch_stage
1110
1112
 
1113
+ # Marketplace connector details.
1114
+ # Corresponds to the JSON property `marketplaceConnectorDetails`
1115
+ # @return [Google::Apis::ConnectorsV1::MarketplaceConnectorDetails]
1116
+ attr_accessor :marketplace_connector_details
1117
+
1111
1118
  # Output only. Resource name of the Connector. Format: projects/`project`/
1112
1119
  # locations/`location`/providers/`provider`/connectors/`connector` Only global
1113
1120
  # location is supported for Connector resource.
@@ -1146,6 +1153,7 @@ module Google
1146
1153
  @external_uri = args[:external_uri] if args.key?(:external_uri)
1147
1154
  @labels = args[:labels] if args.key?(:labels)
1148
1155
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1156
+ @marketplace_connector_details = args[:marketplace_connector_details] if args.key?(:marketplace_connector_details)
1149
1157
  @name = args[:name] if args.key?(:name)
1150
1158
  @tags = args[:tags] if args.key?(:tags)
1151
1159
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1445,7 +1453,7 @@ module Google
1445
1453
  # @return [Fixnum]
1446
1454
  attr_accessor :connection_ratelimit_window_seconds
1447
1455
 
1448
- # Optional. Indicates whether connector is deployed on GKE/CloudRun
1456
+ # Output only. Indicates whether connector is deployed on GKE/CloudRun
1449
1457
  # Corresponds to the JSON property `deploymentModel`
1450
1458
  # @return [String]
1451
1459
  attr_accessor :deployment_model
@@ -2228,12 +2236,12 @@ module Google
2228
2236
  class EnumOption
2229
2237
  include Google::Apis::Core::Hashable
2230
2238
 
2231
- # Display name of the option.
2239
+ # Optional. Display name of the option.
2232
2240
  # Corresponds to the JSON property `displayName`
2233
2241
  # @return [String]
2234
2242
  attr_accessor :display_name
2235
2243
 
2236
- # Id of the option.
2244
+ # Optional. Id of the option.
2237
2245
  # Corresponds to the JSON property `id`
2238
2246
  # @return [String]
2239
2247
  attr_accessor :id
@@ -2450,7 +2458,7 @@ module Google
2450
2458
  class EventingConfig
2451
2459
  include Google::Apis::Core::Hashable
2452
2460
 
2453
- # Additional eventing related field values
2461
+ # Optional. Additional eventing related field values
2454
2462
  # Corresponds to the JSON property `additionalVariables`
2455
2463
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
2456
2464
  attr_accessor :additional_variables
@@ -2465,7 +2473,7 @@ module Google
2465
2473
  # @return [Google::Apis::ConnectorsV1::DeadLetterConfig]
2466
2474
  attr_accessor :dead_letter_config
2467
2475
 
2468
- # Enrichment Enabled.
2476
+ # Optional. Enrichment Enabled.
2469
2477
  # Corresponds to the JSON property `enrichmentEnabled`
2470
2478
  # @return [Boolean]
2471
2479
  attr_accessor :enrichment_enabled
@@ -2950,7 +2958,7 @@ module Google
2950
2958
  attr_accessor :bool_value
2951
2959
  alias_method :bool_value?, :bool_value
2952
2960
 
2953
- # Comparator to use for comparing the field value.
2961
+ # Optional. Comparator to use for comparing the field value.
2954
2962
  # Corresponds to the JSON property `comparator`
2955
2963
  # @return [String]
2956
2964
  attr_accessor :comparator
@@ -2960,7 +2968,7 @@ module Google
2960
2968
  # @return [Fixnum]
2961
2969
  attr_accessor :int_value
2962
2970
 
2963
- # Key of the field.
2971
+ # Optional. Key of the field.
2964
2972
  # Corresponds to the JSON property `key`
2965
2973
  # @return [String]
2966
2974
  attr_accessor :key
@@ -3958,17 +3966,17 @@ module Google
3958
3966
  class LogicalExpression
3959
3967
  include Google::Apis::Core::Hashable
3960
3968
 
3961
- # A list of fields to be compared.
3969
+ # Optional. A list of fields to be compared.
3962
3970
  # Corresponds to the JSON property `fieldComparisons`
3963
3971
  # @return [Array<Google::Apis::ConnectorsV1::FieldComparison>]
3964
3972
  attr_accessor :field_comparisons
3965
3973
 
3966
- # A list of nested conditions to be compared.
3974
+ # Optional. A list of nested conditions to be compared.
3967
3975
  # Corresponds to the JSON property `logicalExpressions`
3968
3976
  # @return [Array<Google::Apis::ConnectorsV1::LogicalExpression>]
3969
3977
  attr_accessor :logical_expressions
3970
3978
 
3971
- # The logical operator to use between the fields and conditions.
3979
+ # Optional. The logical operator to use between the fields and conditions.
3972
3980
  # Corresponds to the JSON property `logicalOperator`
3973
3981
  # @return [String]
3974
3982
  attr_accessor :logical_operator
@@ -4229,6 +4237,43 @@ module Google
4229
4237
  end
4230
4238
  end
4231
4239
 
4240
+ # Marketplace connector details.
4241
+ class MarketplaceConnectorDetails
4242
+ include Google::Apis::Core::Hashable
4243
+
4244
+ # Marketplace product name.
4245
+ # Corresponds to the JSON property `marketplaceProduct`
4246
+ # @return [String]
4247
+ attr_accessor :marketplace_product
4248
+
4249
+ # Marketplace product ID.
4250
+ # Corresponds to the JSON property `marketplaceProductId`
4251
+ # @return [String]
4252
+ attr_accessor :marketplace_product_id
4253
+
4254
+ # Marketplace product URL.
4255
+ # Corresponds to the JSON property `marketplaceProductUri`
4256
+ # @return [String]
4257
+ attr_accessor :marketplace_product_uri
4258
+
4259
+ # The name of the partner.
4260
+ # Corresponds to the JSON property `partner`
4261
+ # @return [String]
4262
+ attr_accessor :partner
4263
+
4264
+ def initialize(**args)
4265
+ update!(**args)
4266
+ end
4267
+
4268
+ # Update properties of this object
4269
+ def update!(**args)
4270
+ @marketplace_product = args[:marketplace_product] if args.key?(:marketplace_product)
4271
+ @marketplace_product_id = args[:marketplace_product_id] if args.key?(:marketplace_product_id)
4272
+ @marketplace_product_uri = args[:marketplace_product_uri] if args.key?(:marketplace_product_uri)
4273
+ @partner = args[:partner] if args.key?(:partner)
4274
+ end
4275
+ end
4276
+
4232
4277
  # MultipleSelectConfig represents the multiple options for a config variable.
4233
4278
  class MultipleSelectConfig
4234
4279
  include Google::Apis::Core::Hashable
@@ -5017,6 +5062,27 @@ module Google
5017
5062
  end
5018
5063
  end
5019
5064
 
5065
+ # Request message for ConnectorsService.PublishCustomConnectorVersion
5066
+ class PublishCustomConnectorVersionRequest
5067
+ include Google::Apis::Core::Hashable
5068
+
5069
+ # Partner metadata details. This will be populated when publishing the custom
5070
+ # connector as a partner connector version. On publishing, parntner connector
5071
+ # version will be created using the fields in PartnerMetadata.
5072
+ # Corresponds to the JSON property `partnerMetadata`
5073
+ # @return [Google::Apis::ConnectorsV1::PartnerMetadata]
5074
+ attr_accessor :partner_metadata
5075
+
5076
+ def initialize(**args)
5077
+ update!(**args)
5078
+ end
5079
+
5080
+ # Update properties of this object
5081
+ def update!(**args)
5082
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
5083
+ end
5084
+ end
5085
+
5020
5086
  # Publish status of a custom connector.
5021
5087
  class PublishStatus
5022
5088
  include Google::Apis::Core::Hashable
@@ -5125,14 +5191,14 @@ module Google
5125
5191
  class Resource
5126
5192
  include Google::Apis::Core::Hashable
5127
5193
 
5128
- # Template to uniquely represent a Google Cloud resource in a format IAM expects
5129
- # This is a template that can have references to other values provided in the
5130
- # config variable template.
5194
+ # Optional. Template to uniquely represent a Google Cloud resource in a format
5195
+ # IAM expects This is a template that can have references to other values
5196
+ # provided in the config variable template.
5131
5197
  # Corresponds to the JSON property `pathTemplate`
5132
5198
  # @return [String]
5133
5199
  attr_accessor :path_template
5134
5200
 
5135
- # Different types of resource supported.
5201
+ # Optional. Different types of resource supported.
5136
5202
  # Corresponds to the JSON property `type`
5137
5203
  # @return [String]
5138
5204
  attr_accessor :type
@@ -5270,12 +5336,12 @@ module Google
5270
5336
  class RoleGrant
5271
5337
  include Google::Apis::Core::Hashable
5272
5338
 
5273
- # Template that UI can use to provide helper text to customers.
5339
+ # Optional. Template that UI can use to provide helper text to customers.
5274
5340
  # Corresponds to the JSON property `helperTextTemplate`
5275
5341
  # @return [String]
5276
5342
  attr_accessor :helper_text_template
5277
5343
 
5278
- # Prinicipal/Identity for whom the role need to assigned.
5344
+ # Optional. Prinicipal/Identity for whom the role need to assigned.
5279
5345
  # Corresponds to the JSON property `principal`
5280
5346
  # @return [String]
5281
5347
  attr_accessor :principal
@@ -5285,7 +5351,7 @@ module Google
5285
5351
  # @return [Google::Apis::ConnectorsV1::Resource]
5286
5352
  attr_accessor :resource
5287
5353
 
5288
- # List of roles that need to be granted.
5354
+ # Optional. List of roles that need to be granted.
5289
5355
  # Corresponds to the JSON property `roles`
5290
5356
  # @return [Array<String>]
5291
5357
  attr_accessor :roles
@@ -5855,12 +5921,12 @@ module Google
5855
5921
  class SslConfig
5856
5922
  include Google::Apis::Core::Hashable
5857
5923
 
5858
- # Additional SSL related field values
5924
+ # Optional. Additional SSL related field values
5859
5925
  # Corresponds to the JSON property `additionalVariables`
5860
5926
  # @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
5861
5927
  attr_accessor :additional_variables
5862
5928
 
5863
- # Type of Client Cert (PEM/JKS/.. etc.)
5929
+ # Optional. Type of Client Cert (PEM/JKS/.. etc.)
5864
5930
  # Corresponds to the JSON property `clientCertType`
5865
5931
  # @return [String]
5866
5932
  attr_accessor :client_cert_type
@@ -5885,22 +5951,22 @@ module Google
5885
5951
  # @return [Google::Apis::ConnectorsV1::Secret]
5886
5952
  attr_accessor :private_server_certificate
5887
5953
 
5888
- # Type of Server Cert (PEM/JKS/.. etc.)
5954
+ # Optional. Type of Server Cert (PEM/JKS/.. etc.)
5889
5955
  # Corresponds to the JSON property `serverCertType`
5890
5956
  # @return [String]
5891
5957
  attr_accessor :server_cert_type
5892
5958
 
5893
- # Trust Model of the SSL connection
5959
+ # Optional. Trust Model of the SSL connection
5894
5960
  # Corresponds to the JSON property `trustModel`
5895
5961
  # @return [String]
5896
5962
  attr_accessor :trust_model
5897
5963
 
5898
- # Controls the ssl type for the given connector version.
5964
+ # Optional. Controls the ssl type for the given connector version.
5899
5965
  # Corresponds to the JSON property `type`
5900
5966
  # @return [String]
5901
5967
  attr_accessor :type
5902
5968
 
5903
- # Bool for enabling SSL
5969
+ # Optional. Bool for enabling SSL
5904
5970
  # Corresponds to the JSON property `useSsl`
5905
5971
  # @return [Boolean]
5906
5972
  attr_accessor :use_ssl
@@ -6362,6 +6428,19 @@ module Google
6362
6428
  @schedule = args[:schedule] if args.key?(:schedule)
6363
6429
  end
6364
6430
  end
6431
+
6432
+ # Request message for ConnectorsService.WithdrawCustomConnectorVersion
6433
+ class WithdrawCustomConnectorVersionRequest
6434
+ include Google::Apis::Core::Hashable
6435
+
6436
+ def initialize(**args)
6437
+ update!(**args)
6438
+ end
6439
+
6440
+ # Update properties of this object
6441
+ def update!(**args)
6442
+ end
6443
+ end
6365
6444
  end
6366
6445
  end
6367
6446
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConnectorsV1
18
18
  # Version of the google-apis-connectors_v1 gem
19
- GEM_VERSION = "0.64.0"
19
+ GEM_VERSION = "0.66.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241105"
25
+ REVISION = "20250101"
26
26
  end
27
27
  end
28
28
  end
@@ -550,6 +550,12 @@ module Google
550
550
  include Google::Apis::Core::JsonObjectSupport
551
551
  end
552
552
 
553
+ class MarketplaceConnectorDetails
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
553
559
  class MultipleSelectConfig
554
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
561
 
@@ -652,6 +658,12 @@ module Google
652
658
  include Google::Apis::Core::JsonObjectSupport
653
659
  end
654
660
 
661
+ class PublishCustomConnectorVersionRequest
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
655
667
  class PublishStatus
656
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
669
 
@@ -892,6 +904,12 @@ module Google
892
904
  include Google::Apis::Core::JsonObjectSupport
893
905
  end
894
906
 
907
+ class WithdrawCustomConnectorVersionRequest
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
895
913
  class AuditConfig
896
914
  # @private
897
915
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1150,6 +1168,8 @@ module Google
1150
1168
  property :external_uri, as: 'externalUri'
1151
1169
  hash :labels, as: 'labels'
1152
1170
  property :launch_stage, as: 'launchStage'
1171
+ property :marketplace_connector_details, as: 'marketplaceConnectorDetails', class: Google::Apis::ConnectorsV1::MarketplaceConnectorDetails, decorator: Google::Apis::ConnectorsV1::MarketplaceConnectorDetails::Representation
1172
+
1153
1173
  property :name, as: 'name'
1154
1174
  collection :tags, as: 'tags'
1155
1175
  property :update_time, as: 'updateTime'
@@ -1988,6 +2008,16 @@ module Google
1988
2008
  end
1989
2009
  end
1990
2010
 
2011
+ class MarketplaceConnectorDetails
2012
+ # @private
2013
+ class Representation < Google::Apis::Core::JsonRepresentation
2014
+ property :marketplace_product, as: 'marketplaceProduct'
2015
+ property :marketplace_product_id, as: 'marketplaceProductId'
2016
+ property :marketplace_product_uri, as: 'marketplaceProductUri'
2017
+ property :partner, as: 'partner'
2018
+ end
2019
+ end
2020
+
1991
2021
  class MultipleSelectConfig
1992
2022
  # @private
1993
2023
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2174,6 +2204,14 @@ module Google
2174
2204
  end
2175
2205
  end
2176
2206
 
2207
+ class PublishCustomConnectorVersionRequest
2208
+ # @private
2209
+ class Representation < Google::Apis::Core::JsonRepresentation
2210
+ property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::ConnectorsV1::PartnerMetadata, decorator: Google::Apis::ConnectorsV1::PartnerMetadata::Representation
2211
+
2212
+ end
2213
+ end
2214
+
2177
2215
  class PublishStatus
2178
2216
  # @private
2179
2217
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2567,6 +2605,12 @@ module Google
2567
2605
 
2568
2606
  end
2569
2607
  end
2608
+
2609
+ class WithdrawCustomConnectorVersionRequest
2610
+ # @private
2611
+ class Representation < Google::Apis::Core::JsonRepresentation
2612
+ end
2613
+ end
2570
2614
  end
2571
2615
  end
2572
2616
  end
@@ -1267,6 +1267,78 @@ module Google
1267
1267
  execute_or_queue_command(command, &block)
1268
1268
  end
1269
1269
 
1270
+ # Publish request for the CustomConnectorVersion. Once approved, the
1271
+ # CustomConnectorVersion will be published as PartnerConnector.
1272
+ # @param [String] name
1273
+ # Required. Resource name of the form: `projects/`project`/locations/`location`/
1274
+ # customConnectors/`custom_connector`/customConnectorVersions/`
1275
+ # custom_connector_version``
1276
+ # @param [Google::Apis::ConnectorsV1::PublishCustomConnectorVersionRequest] publish_custom_connector_version_request_object
1277
+ # @param [String] fields
1278
+ # Selector specifying which fields to include in a partial response.
1279
+ # @param [String] quota_user
1280
+ # Available to use for quota purposes for server-side applications. Can be any
1281
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1282
+ # @param [Google::Apis::RequestOptions] options
1283
+ # Request-specific options
1284
+ #
1285
+ # @yield [result, err] Result & error if block supplied
1286
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1287
+ # @yieldparam err [StandardError] error object if request failed
1288
+ #
1289
+ # @return [Google::Apis::ConnectorsV1::Operation]
1290
+ #
1291
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1292
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1293
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1294
+ def publish_custom_connector_version(name, publish_custom_connector_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1295
+ command = make_simple_command(:post, 'v1/{+name}:publish', options)
1296
+ command.request_representation = Google::Apis::ConnectorsV1::PublishCustomConnectorVersionRequest::Representation
1297
+ command.request_object = publish_custom_connector_version_request_object
1298
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1299
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1300
+ command.params['name'] = name unless name.nil?
1301
+ command.query['fields'] = fields unless fields.nil?
1302
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1303
+ execute_or_queue_command(command, &block)
1304
+ end
1305
+
1306
+ # Withdraw the publish request for the CustomConnectorVersion. This can only be
1307
+ # used before the CustomConnectorVersion is published.
1308
+ # @param [String] name
1309
+ # Required. Resource name of the form: `projects/`project`/locations/`location`/
1310
+ # customConnectors/`custom_connector`/customConnectorVersions/`
1311
+ # custom_connector_version``
1312
+ # @param [Google::Apis::ConnectorsV1::WithdrawCustomConnectorVersionRequest] withdraw_custom_connector_version_request_object
1313
+ # @param [String] fields
1314
+ # Selector specifying which fields to include in a partial response.
1315
+ # @param [String] quota_user
1316
+ # Available to use for quota purposes for server-side applications. Can be any
1317
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1318
+ # @param [Google::Apis::RequestOptions] options
1319
+ # Request-specific options
1320
+ #
1321
+ # @yield [result, err] Result & error if block supplied
1322
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
1323
+ # @yieldparam err [StandardError] error object if request failed
1324
+ #
1325
+ # @return [Google::Apis::ConnectorsV1::Operation]
1326
+ #
1327
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1328
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1329
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1330
+ def withdraw_custom_connector_version(name, withdraw_custom_connector_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1331
+ command = make_simple_command(:post, 'v1/{+name}:withdraw', options)
1332
+ command.request_representation = Google::Apis::ConnectorsV1::WithdrawCustomConnectorVersionRequest::Representation
1333
+ command.request_object = withdraw_custom_connector_version_request_object
1334
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1335
+ command.response_class = Google::Apis::ConnectorsV1::Operation
1336
+ command.params['name'] = name unless name.nil?
1337
+ command.query['fields'] = fields unless fields.nil?
1338
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1339
+ execute_or_queue_command(command, &block)
1340
+ end
1341
+
1270
1342
  # Creates a new EndpointAttachment in a given project and location.
1271
1343
  # @param [String] parent
1272
1344
  # Required. Parent resource of the EndpointAttachment, of the form: `projects/*/
@@ -2006,8 +2078,8 @@ module Google
2006
2078
  # Clients can use Operations.GetOperation or other methods to check whether the
2007
2079
  # cancellation succeeded or whether the operation completed despite cancellation.
2008
2080
  # On successful cancellation, the operation is not deleted; instead, it becomes
2009
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
2010
- # corresponding to `Code.CANCELLED`.
2081
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
2082
+ # , corresponding to `Code.CANCELLED`.
2011
2083
  # @param [String] name
2012
2084
  # The name of the operation resource to be cancelled.
2013
2085
  # @param [Google::Apis::ConnectorsV1::CancelOperationRequest] cancel_operation_request_object
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0
4
+ version: 0.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.64.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.66.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Connectors API V1
82
79
  test_files: []