google-apis-connectors_v1 0.56.0 → 0.58.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4d483ddefacf5c6adcd803079a7214ae56039d40ae1ad55791217894dc7c5ee
|
4
|
+
data.tar.gz: 92a14be22427b5504f2f0e31be6b4886a5d33f29e1b990ff0ac472f193d5152b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9db883b2d2fd90e4885a9e74d5faa516da8de608aff6656fb56d68fae8718d21966358bed97bfd9cd58c9fafb736f36b64f36fe28f5ccf05f8fe2ca2870c02c8
|
7
|
+
data.tar.gz: 6b7973365d4c3e41efa03bbbcc0a99cd5ccd4ae0b02a9bea867bc9cd042e822665a4c04a249b7f9f41154c7728dbfbb589de50f24c22dd76dad8588043b4fb3b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-connectors_v1
|
2
2
|
|
3
|
+
### v0.58.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240504
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
8
|
+
### v0.57.0 (2024-04-21)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240415
|
11
|
+
|
3
12
|
### v0.56.0 (2024-03-31)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240320
|
@@ -242,6 +242,25 @@ module Google
|
|
242
242
|
end
|
243
243
|
end
|
244
244
|
|
245
|
+
# Billing config for the connection.
|
246
|
+
class BillingConfig
|
247
|
+
include Google::Apis::Core::Hashable
|
248
|
+
|
249
|
+
# Output only. Billing category for the connector.
|
250
|
+
# Corresponds to the JSON property `billingCategory`
|
251
|
+
# @return [String]
|
252
|
+
attr_accessor :billing_category
|
253
|
+
|
254
|
+
def initialize(**args)
|
255
|
+
update!(**args)
|
256
|
+
end
|
257
|
+
|
258
|
+
# Update properties of this object
|
259
|
+
def update!(**args)
|
260
|
+
@billing_category = args[:billing_category] if args.key?(:billing_category)
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
245
264
|
# Associates `members`, or principals, with a `role`.
|
246
265
|
class Binding
|
247
266
|
include Google::Apis::Core::Hashable
|
@@ -524,6 +543,11 @@ module Google
|
|
524
543
|
# @return [Google::Apis::ConnectorsV1::AuthConfig]
|
525
544
|
attr_accessor :auth_config
|
526
545
|
|
546
|
+
# Billing config for the connection.
|
547
|
+
# Corresponds to the JSON property `billingConfig`
|
548
|
+
# @return [Google::Apis::ConnectorsV1::BillingConfig]
|
549
|
+
attr_accessor :billing_config
|
550
|
+
|
527
551
|
# Optional. Configuration for configuring the connection with an external system.
|
528
552
|
# Corresponds to the JSON property `configVariables`
|
529
553
|
# @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
|
@@ -680,6 +704,7 @@ module Google
|
|
680
704
|
# Update properties of this object
|
681
705
|
def update!(**args)
|
682
706
|
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
707
|
+
@billing_config = args[:billing_config] if args.key?(:billing_config)
|
683
708
|
@config_variables = args[:config_variables] if args.key?(:config_variables)
|
684
709
|
@connection_revision = args[:connection_revision] if args.key?(:connection_revision)
|
685
710
|
@connector_version = args[:connector_version] if args.key?(:connector_version)
|
@@ -1163,6 +1188,11 @@ module Google
|
|
1163
1188
|
attr_accessor :enabled
|
1164
1189
|
alias_method :enabled?, :enabled
|
1165
1190
|
|
1191
|
+
# Optional. Log configuration level.
|
1192
|
+
# Corresponds to the JSON property `level`
|
1193
|
+
# @return [String]
|
1194
|
+
attr_accessor :level
|
1195
|
+
|
1166
1196
|
def initialize(**args)
|
1167
1197
|
update!(**args)
|
1168
1198
|
end
|
@@ -1170,6 +1200,7 @@ module Google
|
|
1170
1200
|
# Update properties of this object
|
1171
1201
|
def update!(**args)
|
1172
1202
|
@enabled = args[:enabled] if args.key?(:enabled)
|
1203
|
+
@level = args[:level] if args.key?(:level)
|
1173
1204
|
end
|
1174
1205
|
end
|
1175
1206
|
|
@@ -1178,11 +1209,16 @@ module Google
|
|
1178
1209
|
class CustomConnector
|
1179
1210
|
include Google::Apis::Core::Hashable
|
1180
1211
|
|
1181
|
-
#
|
1212
|
+
# Output only. Active connector versions.
|
1182
1213
|
# Corresponds to the JSON property `activeConnectorVersions`
|
1183
1214
|
# @return [Array<String>]
|
1184
1215
|
attr_accessor :active_connector_versions
|
1185
1216
|
|
1217
|
+
# Output only. All connector versions.
|
1218
|
+
# Corresponds to the JSON property `allConnectorVersions`
|
1219
|
+
# @return [Array<String>]
|
1220
|
+
attr_accessor :all_connector_versions
|
1221
|
+
|
1186
1222
|
# Output only. Created time.
|
1187
1223
|
# Corresponds to the JSON property `createTime`
|
1188
1224
|
# @return [String]
|
@@ -1233,6 +1269,7 @@ module Google
|
|
1233
1269
|
# Update properties of this object
|
1234
1270
|
def update!(**args)
|
1235
1271
|
@active_connector_versions = args[:active_connector_versions] if args.key?(:active_connector_versions)
|
1272
|
+
@all_connector_versions = args[:all_connector_versions] if args.key?(:all_connector_versions)
|
1236
1273
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1237
1274
|
@custom_connector_type = args[:custom_connector_type] if args.key?(:custom_connector_type)
|
1238
1275
|
@description = args[:description] if args.key?(:description)
|
@@ -1480,6 +1517,19 @@ module Google
|
|
1480
1517
|
end
|
1481
1518
|
end
|
1482
1519
|
|
1520
|
+
# Request message for ConnectorsService.DeprecateCustomConnectorVersion
|
1521
|
+
class DeprecateCustomConnectorVersionRequest
|
1522
|
+
include Google::Apis::Core::Hashable
|
1523
|
+
|
1524
|
+
def initialize(**args)
|
1525
|
+
update!(**args)
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
# Update properties of this object
|
1529
|
+
def update!(**args)
|
1530
|
+
end
|
1531
|
+
end
|
1532
|
+
|
1483
1533
|
#
|
1484
1534
|
class Destination
|
1485
1535
|
include Google::Apis::Core::Hashable
|
@@ -1750,6 +1800,14 @@ module Google
|
|
1750
1800
|
# @return [String]
|
1751
1801
|
attr_accessor :description
|
1752
1802
|
|
1803
|
+
# Optional. The Private Service Connect Connection Endpoint Global Access. https:
|
1804
|
+
# //cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#
|
1805
|
+
# global-access
|
1806
|
+
# Corresponds to the JSON property `endpointGlobalAccess`
|
1807
|
+
# @return [Boolean]
|
1808
|
+
attr_accessor :endpoint_global_access
|
1809
|
+
alias_method :endpoint_global_access?, :endpoint_global_access
|
1810
|
+
|
1753
1811
|
# Output only. The Private Service Connect connection endpoint ip
|
1754
1812
|
# Corresponds to the JSON property `endpointIp`
|
1755
1813
|
# @return [String]
|
@@ -1786,6 +1844,7 @@ module Google
|
|
1786
1844
|
def update!(**args)
|
1787
1845
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1788
1846
|
@description = args[:description] if args.key?(:description)
|
1847
|
+
@endpoint_global_access = args[:endpoint_global_access] if args.key?(:endpoint_global_access)
|
1789
1848
|
@endpoint_ip = args[:endpoint_ip] if args.key?(:endpoint_ip)
|
1790
1849
|
@labels = args[:labels] if args.key?(:labels)
|
1791
1850
|
@name = args[:name] if args.key?(:name)
|
@@ -4701,6 +4760,11 @@ module Google
|
|
4701
4760
|
# @return [Google::Apis::ConnectorsV1::JsonSchema]
|
4702
4761
|
attr_accessor :json_schema
|
4703
4762
|
|
4763
|
+
# List of operations supported by this entity
|
4764
|
+
# Corresponds to the JSON property `operations`
|
4765
|
+
# @return [Array<String>]
|
4766
|
+
attr_accessor :operations
|
4767
|
+
|
4704
4768
|
def initialize(**args)
|
4705
4769
|
update!(**args)
|
4706
4770
|
end
|
@@ -4710,6 +4774,7 @@ module Google
|
|
4710
4774
|
@entity = args[:entity] if args.key?(:entity)
|
4711
4775
|
@fields = args[:fields] if args.key?(:fields)
|
4712
4776
|
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
4777
|
+
@operations = args[:operations] if args.key?(:operations)
|
4713
4778
|
end
|
4714
4779
|
end
|
4715
4780
|
|
@@ -4773,6 +4838,69 @@ module Google
|
|
4773
4838
|
end
|
4774
4839
|
end
|
4775
4840
|
|
4841
|
+
# SearchConnectionInstance represents an instance of connector with specific
|
4842
|
+
# fields
|
4843
|
+
class SearchConnectionInstance
|
4844
|
+
include Google::Apis::Core::Hashable
|
4845
|
+
|
4846
|
+
# Schema of a runtime action.
|
4847
|
+
# Corresponds to the JSON property `actionSchema`
|
4848
|
+
# @return [Google::Apis::ConnectorsV1::RuntimeActionSchema]
|
4849
|
+
attr_accessor :action_schema
|
4850
|
+
|
4851
|
+
# Connection represents an instance of connector.
|
4852
|
+
# Corresponds to the JSON property `connection`
|
4853
|
+
# @return [Google::Apis::ConnectorsV1::Connection]
|
4854
|
+
attr_accessor :connection
|
4855
|
+
|
4856
|
+
# Schema of a runtime entity.
|
4857
|
+
# Corresponds to the JSON property `entitySchema`
|
4858
|
+
# @return [Google::Apis::ConnectorsV1::RuntimeEntitySchema]
|
4859
|
+
attr_accessor :entity_schema
|
4860
|
+
|
4861
|
+
def initialize(**args)
|
4862
|
+
update!(**args)
|
4863
|
+
end
|
4864
|
+
|
4865
|
+
# Update properties of this object
|
4866
|
+
def update!(**args)
|
4867
|
+
@action_schema = args[:action_schema] if args.key?(:action_schema)
|
4868
|
+
@connection = args[:connection] if args.key?(:connection)
|
4869
|
+
@entity_schema = args[:entity_schema] if args.key?(:entity_schema)
|
4870
|
+
end
|
4871
|
+
end
|
4872
|
+
|
4873
|
+
# Response message for Connectors.SearchConnections.
|
4874
|
+
class SearchConnectionsResponse
|
4875
|
+
include Google::Apis::Core::Hashable
|
4876
|
+
|
4877
|
+
# A list of connectors.
|
4878
|
+
# Corresponds to the JSON property `connections`
|
4879
|
+
# @return [Array<Google::Apis::ConnectorsV1::SearchConnectionInstance>]
|
4880
|
+
attr_accessor :connections
|
4881
|
+
|
4882
|
+
# Optional. page_token
|
4883
|
+
# Corresponds to the JSON property `nextPageToken`
|
4884
|
+
# @return [String]
|
4885
|
+
attr_accessor :next_page_token
|
4886
|
+
|
4887
|
+
# Locations that could not be reached.
|
4888
|
+
# Corresponds to the JSON property `unreachable`
|
4889
|
+
# @return [Array<String>]
|
4890
|
+
attr_accessor :unreachable
|
4891
|
+
|
4892
|
+
def initialize(**args)
|
4893
|
+
update!(**args)
|
4894
|
+
end
|
4895
|
+
|
4896
|
+
# Update properties of this object
|
4897
|
+
def update!(**args)
|
4898
|
+
@connections = args[:connections] if args.key?(:connections)
|
4899
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4900
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
4901
|
+
end
|
4902
|
+
end
|
4903
|
+
|
4776
4904
|
# Secret provides a reference to entries in Secret Manager.
|
4777
4905
|
class Secret
|
4778
4906
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.58.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240504"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class BillingConfig
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class Binding
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -160,6 +166,12 @@ module Google
|
|
160
166
|
include Google::Apis::Core::JsonObjectSupport
|
161
167
|
end
|
162
168
|
|
169
|
+
class DeprecateCustomConnectorVersionRequest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
163
175
|
class Destination
|
164
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
177
|
|
@@ -664,6 +676,18 @@ module Google
|
|
664
676
|
include Google::Apis::Core::JsonObjectSupport
|
665
677
|
end
|
666
678
|
|
679
|
+
class SearchConnectionInstance
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
685
|
+
class SearchConnectionsResponse
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
|
+
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
689
|
+
end
|
690
|
+
|
667
691
|
class Secret
|
668
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
693
|
|
@@ -843,6 +867,13 @@ module Google
|
|
843
867
|
end
|
844
868
|
end
|
845
869
|
|
870
|
+
class BillingConfig
|
871
|
+
# @private
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
873
|
+
property :billing_category, as: 'billingCategory'
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
846
877
|
class Binding
|
847
878
|
# @private
|
848
879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -902,6 +933,8 @@ module Google
|
|
902
933
|
class Representation < Google::Apis::Core::JsonRepresentation
|
903
934
|
property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
|
904
935
|
|
936
|
+
property :billing_config, as: 'billingConfig', class: Google::Apis::ConnectorsV1::BillingConfig, decorator: Google::Apis::ConnectorsV1::BillingConfig::Representation
|
937
|
+
|
905
938
|
collection :config_variables, as: 'configVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
|
906
939
|
|
907
940
|
property :connection_revision, :numeric_string => true, as: 'connectionRevision'
|
@@ -1056,6 +1089,7 @@ module Google
|
|
1056
1089
|
# @private
|
1057
1090
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1058
1091
|
property :enabled, as: 'enabled'
|
1092
|
+
property :level, as: 'level'
|
1059
1093
|
end
|
1060
1094
|
end
|
1061
1095
|
|
@@ -1063,6 +1097,7 @@ module Google
|
|
1063
1097
|
# @private
|
1064
1098
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1065
1099
|
collection :active_connector_versions, as: 'activeConnectorVersions'
|
1100
|
+
collection :all_connector_versions, as: 'allConnectorVersions'
|
1066
1101
|
property :create_time, as: 'createTime'
|
1067
1102
|
property :custom_connector_type, as: 'customConnectorType'
|
1068
1103
|
property :description, as: 'description'
|
@@ -1133,6 +1168,12 @@ module Google
|
|
1133
1168
|
end
|
1134
1169
|
end
|
1135
1170
|
|
1171
|
+
class DeprecateCustomConnectorVersionRequest
|
1172
|
+
# @private
|
1173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1136
1177
|
class Destination
|
1137
1178
|
# @private
|
1138
1179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1212,6 +1253,7 @@ module Google
|
|
1212
1253
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1213
1254
|
property :create_time, as: 'createTime'
|
1214
1255
|
property :description, as: 'description'
|
1256
|
+
property :endpoint_global_access, as: 'endpointGlobalAccess'
|
1215
1257
|
property :endpoint_ip, as: 'endpointIp'
|
1216
1258
|
hash :labels, as: 'labels'
|
1217
1259
|
property :name, as: 'name'
|
@@ -2012,6 +2054,7 @@ module Google
|
|
2012
2054
|
|
2013
2055
|
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV1::JsonSchema, decorator: Google::Apis::ConnectorsV1::JsonSchema::Representation
|
2014
2056
|
|
2057
|
+
collection :operations, as: 'operations'
|
2015
2058
|
end
|
2016
2059
|
end
|
2017
2060
|
|
@@ -2033,6 +2076,28 @@ module Google
|
|
2033
2076
|
end
|
2034
2077
|
end
|
2035
2078
|
|
2079
|
+
class SearchConnectionInstance
|
2080
|
+
# @private
|
2081
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2082
|
+
property :action_schema, as: 'actionSchema', class: Google::Apis::ConnectorsV1::RuntimeActionSchema, decorator: Google::Apis::ConnectorsV1::RuntimeActionSchema::Representation
|
2083
|
+
|
2084
|
+
property :connection, as: 'connection', class: Google::Apis::ConnectorsV1::Connection, decorator: Google::Apis::ConnectorsV1::Connection::Representation
|
2085
|
+
|
2086
|
+
property :entity_schema, as: 'entitySchema', class: Google::Apis::ConnectorsV1::RuntimeEntitySchema, decorator: Google::Apis::ConnectorsV1::RuntimeEntitySchema::Representation
|
2087
|
+
|
2088
|
+
end
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
class SearchConnectionsResponse
|
2092
|
+
# @private
|
2093
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2094
|
+
collection :connections, as: 'connections', class: Google::Apis::ConnectorsV1::SearchConnectionInstance, decorator: Google::Apis::ConnectorsV1::SearchConnectionInstance::Representation
|
2095
|
+
|
2096
|
+
property :next_page_token, as: 'nextPageToken'
|
2097
|
+
collection :unreachable, as: 'unreachable'
|
2098
|
+
end
|
2099
|
+
end
|
2100
|
+
|
2036
2101
|
class Secret
|
2037
2102
|
# @private
|
2038
2103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -558,6 +558,46 @@ module Google
|
|
558
558
|
execute_or_queue_command(command, &block)
|
559
559
|
end
|
560
560
|
|
561
|
+
# Returns Top matching Connections for a given query.
|
562
|
+
# @param [String] name
|
563
|
+
# Required. Parent resource of the Connection, of the form: `projects/*/
|
564
|
+
# locations/*/connections`
|
565
|
+
# @param [Fixnum] page_size
|
566
|
+
# Optional. The number of top matching connectors to return
|
567
|
+
# @param [String] page_token
|
568
|
+
# Optional. page_token
|
569
|
+
# @param [String] query
|
570
|
+
# Required. The query against which the search needs to be done.
|
571
|
+
# @param [String] fields
|
572
|
+
# Selector specifying which fields to include in a partial response.
|
573
|
+
# @param [String] quota_user
|
574
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
575
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
576
|
+
# @param [Google::Apis::RequestOptions] options
|
577
|
+
# Request-specific options
|
578
|
+
#
|
579
|
+
# @yield [result, err] Result & error if block supplied
|
580
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::SearchConnectionsResponse] parsed result object
|
581
|
+
# @yieldparam err [StandardError] error object if request failed
|
582
|
+
#
|
583
|
+
# @return [Google::Apis::ConnectorsV1::SearchConnectionsResponse]
|
584
|
+
#
|
585
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
586
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
587
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
588
|
+
def search_project_location_connections(name, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
589
|
+
command = make_simple_command(:get, 'v1/{+name}:search', options)
|
590
|
+
command.response_representation = Google::Apis::ConnectorsV1::SearchConnectionsResponse::Representation
|
591
|
+
command.response_class = Google::Apis::ConnectorsV1::SearchConnectionsResponse
|
592
|
+
command.params['name'] = name unless name.nil?
|
593
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
594
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
595
|
+
command.query['query'] = query unless query.nil?
|
596
|
+
command.query['fields'] = fields unless fields.nil?
|
597
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
598
|
+
execute_or_queue_command(command, &block)
|
599
|
+
end
|
600
|
+
|
561
601
|
# Sets the access control policy on the specified resource. Replaces any
|
562
602
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
563
603
|
# PERMISSION_DENIED` errors.
|
@@ -1189,6 +1229,41 @@ module Google
|
|
1189
1229
|
execute_or_queue_command(command, &block)
|
1190
1230
|
end
|
1191
1231
|
|
1232
|
+
# Deprecates a single CustomConnectorVersion.
|
1233
|
+
# @param [String] name
|
1234
|
+
# Required. Resource name of the form: `projects/`project`/locations/`location`/
|
1235
|
+
# customConnectors/`custom_connector`/customConnectorVersions/`
|
1236
|
+
# custom_connector_version``
|
1237
|
+
# @param [Google::Apis::ConnectorsV1::DeprecateCustomConnectorVersionRequest] deprecate_custom_connector_version_request_object
|
1238
|
+
# @param [String] fields
|
1239
|
+
# Selector specifying which fields to include in a partial response.
|
1240
|
+
# @param [String] quota_user
|
1241
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1242
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1243
|
+
# @param [Google::Apis::RequestOptions] options
|
1244
|
+
# Request-specific options
|
1245
|
+
#
|
1246
|
+
# @yield [result, err] Result & error if block supplied
|
1247
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1248
|
+
# @yieldparam err [StandardError] error object if request failed
|
1249
|
+
#
|
1250
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1251
|
+
#
|
1252
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1253
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1254
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1255
|
+
def deprecate_custom_connector_version(name, deprecate_custom_connector_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1256
|
+
command = make_simple_command(:post, 'v1/{+name}:deprecate', options)
|
1257
|
+
command.request_representation = Google::Apis::ConnectorsV1::DeprecateCustomConnectorVersionRequest::Representation
|
1258
|
+
command.request_object = deprecate_custom_connector_version_request_object
|
1259
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1260
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1261
|
+
command.params['name'] = name unless name.nil?
|
1262
|
+
command.query['fields'] = fields unless fields.nil?
|
1263
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1264
|
+
execute_or_queue_command(command, &block)
|
1265
|
+
end
|
1266
|
+
|
1192
1267
|
# Creates a new EndpointAttachment in a given project and location.
|
1193
1268
|
# @param [String] parent
|
1194
1269
|
# Required. Parent resource of the EndpointAttachment, of the form: `projects/*/
|
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.
|
4
|
+
version: 0.58.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: 2024-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.58.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: []
|