google-apis-connectors_v2 0.5.0 → 0.7.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: 4327d308bd6751c42d57385111e1a44e533ce32963a5e6e12a570c114389bbbb
|
4
|
+
data.tar.gz: 99389b0b2ada898a78911e2af95acefed693d86d4284bcf508479d0046b3123d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e398cddc22c114f6fe5ae93613df7381e66824993a500cbecaabe9541a349aca150b4290e2fa250f4aefc559f79b83d81ff194fb9175a8f1712c19d712deec20
|
7
|
+
data.tar.gz: 545fc337e89eb25ade65f75a3bd16bb000ad7d338835051364a8f902b77b43f9a22e3fd2153abf8ea16ceb9dafc0b67f7f306e59e9352ca8165f3763509118d0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-connectors_v2
|
2
2
|
|
3
|
+
### v0.7.0 (2023-09-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230913
|
6
|
+
|
7
|
+
### v0.6.0 (2023-09-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230906
|
10
|
+
|
3
11
|
### v0.5.0 (2023-08-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230812
|
@@ -27,6 +27,21 @@ module Google
|
|
27
27
|
class Action
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
+
# Brief Description of action
|
31
|
+
# Corresponds to the JSON property `description`
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :description
|
34
|
+
|
35
|
+
# Display Name of action to be shown on client side
|
36
|
+
# Corresponds to the JSON property `displayName`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :display_name
|
39
|
+
|
40
|
+
# JsonSchema representation of schema metadata
|
41
|
+
# Corresponds to the JSON property `inputJsonSchema`
|
42
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
43
|
+
attr_accessor :input_json_schema
|
44
|
+
|
30
45
|
# List containing input parameter metadata.
|
31
46
|
# Corresponds to the JSON property `inputParameters`
|
32
47
|
# @return [Array<Google::Apis::ConnectorsV2::InputParameter>]
|
@@ -37,6 +52,11 @@ module Google
|
|
37
52
|
# @return [String]
|
38
53
|
attr_accessor :name
|
39
54
|
|
55
|
+
# JsonSchema representation of schema metadata
|
56
|
+
# Corresponds to the JSON property `resultJsonSchema`
|
57
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
58
|
+
attr_accessor :result_json_schema
|
59
|
+
|
40
60
|
# List containing the metadata of result fields.
|
41
61
|
# Corresponds to the JSON property `resultMetadata`
|
42
62
|
# @return [Array<Google::Apis::ConnectorsV2::ResultMetadata>]
|
@@ -48,8 +68,12 @@ module Google
|
|
48
68
|
|
49
69
|
# Update properties of this object
|
50
70
|
def update!(**args)
|
71
|
+
@description = args[:description] if args.key?(:description)
|
72
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
73
|
+
@input_json_schema = args[:input_json_schema] if args.key?(:input_json_schema)
|
51
74
|
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
52
75
|
@name = args[:name] if args.key?(:name)
|
76
|
+
@result_json_schema = args[:result_json_schema] if args.key?(:result_json_schema)
|
53
77
|
@result_metadata = args[:result_metadata] if args.key?(:result_metadata)
|
54
78
|
end
|
55
79
|
end
|
@@ -107,6 +131,11 @@ module Google
|
|
107
131
|
# @return [Array<Google::Apis::ConnectorsV2::Field>]
|
108
132
|
attr_accessor :fields
|
109
133
|
|
134
|
+
# JsonSchema representation of schema metadata
|
135
|
+
# Corresponds to the JSON property `jsonSchema`
|
136
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
137
|
+
attr_accessor :json_schema
|
138
|
+
|
110
139
|
# The name of the entity type.
|
111
140
|
# Corresponds to the JSON property `name`
|
112
141
|
# @return [String]
|
@@ -119,6 +148,7 @@ module Google
|
|
119
148
|
# Update properties of this object
|
120
149
|
def update!(**args)
|
121
150
|
@fields = args[:fields] if args.key?(:fields)
|
151
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
122
152
|
@name = args[:name] if args.key?(:name)
|
123
153
|
end
|
124
154
|
end
|
@@ -237,6 +267,11 @@ module Google
|
|
237
267
|
# @return [String]
|
238
268
|
attr_accessor :description
|
239
269
|
|
270
|
+
# JsonSchema representation of schema metadata
|
271
|
+
# Corresponds to the JSON property `jsonSchema`
|
272
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
273
|
+
attr_accessor :json_schema
|
274
|
+
|
240
275
|
# The following boolean field specifies if the current Field acts as a primary
|
241
276
|
# key or id if the parent is of type entity.
|
242
277
|
# Corresponds to the JSON property `key`
|
@@ -271,6 +306,7 @@ module Google
|
|
271
306
|
@data_type = args[:data_type] if args.key?(:data_type)
|
272
307
|
@default_value = args[:default_value] if args.key?(:default_value)
|
273
308
|
@description = args[:description] if args.key?(:description)
|
309
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
274
310
|
@key = args[:key] if args.key?(:key)
|
275
311
|
@name = args[:name] if args.key?(:name)
|
276
312
|
@nullable = args[:nullable] if args.key?(:nullable)
|
@@ -283,6 +319,12 @@ module Google
|
|
283
319
|
class InputParameter
|
284
320
|
include Google::Apis::Core::Hashable
|
285
321
|
|
322
|
+
# The following map contains fields that are not explicitly mentioned above,this
|
323
|
+
# give connectors the flexibility to add new metadata fields.
|
324
|
+
# Corresponds to the JSON property `additionalDetails`
|
325
|
+
# @return [Hash<String,Object>]
|
326
|
+
attr_accessor :additional_details
|
327
|
+
|
286
328
|
# The data type of the Parameter
|
287
329
|
# Corresponds to the JSON property `dataType`
|
288
330
|
# @return [String]
|
@@ -299,6 +341,11 @@ module Google
|
|
299
341
|
# @return [String]
|
300
342
|
attr_accessor :description
|
301
343
|
|
344
|
+
# JsonSchema representation of schema metadata
|
345
|
+
# Corresponds to the JSON property `jsonSchema`
|
346
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
347
|
+
attr_accessor :json_schema
|
348
|
+
|
302
349
|
# Name of the Parameter.
|
303
350
|
# Corresponds to the JSON property `name`
|
304
351
|
# @return [String]
|
@@ -316,14 +363,94 @@ module Google
|
|
316
363
|
|
317
364
|
# Update properties of this object
|
318
365
|
def update!(**args)
|
366
|
+
@additional_details = args[:additional_details] if args.key?(:additional_details)
|
319
367
|
@data_type = args[:data_type] if args.key?(:data_type)
|
320
368
|
@default_value = args[:default_value] if args.key?(:default_value)
|
321
369
|
@description = args[:description] if args.key?(:description)
|
370
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
322
371
|
@name = args[:name] if args.key?(:name)
|
323
372
|
@nullable = args[:nullable] if args.key?(:nullable)
|
324
373
|
end
|
325
374
|
end
|
326
375
|
|
376
|
+
# JsonSchema representation of schema metadata
|
377
|
+
class JsonSchema
|
378
|
+
include Google::Apis::Core::Hashable
|
379
|
+
|
380
|
+
# Additional details apart from standard json schema fields, this gives
|
381
|
+
# flexibility to store metadata about the schema
|
382
|
+
# Corresponds to the JSON property `additionalDetails`
|
383
|
+
# @return [Hash<String,Object>]
|
384
|
+
attr_accessor :additional_details
|
385
|
+
|
386
|
+
# The default value of the field or object described by this schema.
|
387
|
+
# Corresponds to the JSON property `default`
|
388
|
+
# @return [Object]
|
389
|
+
attr_accessor :default
|
390
|
+
|
391
|
+
# A description of this schema.
|
392
|
+
# Corresponds to the JSON property `description`
|
393
|
+
# @return [String]
|
394
|
+
attr_accessor :description
|
395
|
+
|
396
|
+
# Possible values for an enumeration. This works in conjunction with `type` to
|
397
|
+
# represent types with a fixed set of legal values
|
398
|
+
# Corresponds to the JSON property `enum`
|
399
|
+
# @return [Array<Object>]
|
400
|
+
attr_accessor :enum
|
401
|
+
|
402
|
+
# Format of the value as per https://json-schema.org/understanding-json-schema/
|
403
|
+
# reference/string.html#format
|
404
|
+
# Corresponds to the JSON property `format`
|
405
|
+
# @return [String]
|
406
|
+
attr_accessor :format
|
407
|
+
|
408
|
+
# JsonSchema representation of schema metadata
|
409
|
+
# Corresponds to the JSON property `items`
|
410
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
411
|
+
attr_accessor :items
|
412
|
+
|
413
|
+
# JDBC datatype of the field.
|
414
|
+
# Corresponds to the JSON property `jdbcType`
|
415
|
+
# @return [String]
|
416
|
+
attr_accessor :jdbc_type
|
417
|
+
|
418
|
+
# The child schemas, applicable only if this is of type `object`. The key is the
|
419
|
+
# name of the property and the value is the json schema that describes that
|
420
|
+
# property
|
421
|
+
# Corresponds to the JSON property `properties`
|
422
|
+
# @return [Hash<String,Google::Apis::ConnectorsV2::JsonSchema>]
|
423
|
+
attr_accessor :properties
|
424
|
+
|
425
|
+
# Whether this property is required.
|
426
|
+
# Corresponds to the JSON property `required`
|
427
|
+
# @return [Array<String>]
|
428
|
+
attr_accessor :required
|
429
|
+
|
430
|
+
# JSON Schema Validation: A Vocabulary for Structural Validation of JSON
|
431
|
+
# Corresponds to the JSON property `type`
|
432
|
+
# @return [Array<String>]
|
433
|
+
attr_accessor :type
|
434
|
+
|
435
|
+
def initialize(**args)
|
436
|
+
update!(**args)
|
437
|
+
end
|
438
|
+
|
439
|
+
# Update properties of this object
|
440
|
+
def update!(**args)
|
441
|
+
@additional_details = args[:additional_details] if args.key?(:additional_details)
|
442
|
+
@default = args[:default] if args.key?(:default)
|
443
|
+
@description = args[:description] if args.key?(:description)
|
444
|
+
@enum = args[:enum] if args.key?(:enum)
|
445
|
+
@format = args[:format] if args.key?(:format)
|
446
|
+
@items = args[:items] if args.key?(:items)
|
447
|
+
@jdbc_type = args[:jdbc_type] if args.key?(:jdbc_type)
|
448
|
+
@properties = args[:properties] if args.key?(:properties)
|
449
|
+
@required = args[:required] if args.key?(:required)
|
450
|
+
@type = args[:type] if args.key?(:type)
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
327
454
|
# Response message for ActionService.ListActions
|
328
455
|
class ListActionsResponse
|
329
456
|
include Google::Apis::Core::Hashable
|
@@ -465,7 +592,7 @@ module Google
|
|
465
592
|
|
466
593
|
#
|
467
594
|
# Corresponds to the JSON property `value`
|
468
|
-
# @return [
|
595
|
+
# @return [Object]
|
469
596
|
attr_accessor :value
|
470
597
|
|
471
598
|
def initialize(**args)
|
@@ -519,6 +646,11 @@ module Google
|
|
519
646
|
# @return [String]
|
520
647
|
attr_accessor :description
|
521
648
|
|
649
|
+
# JsonSchema representation of schema metadata
|
650
|
+
# Corresponds to the JSON property `jsonSchema`
|
651
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
652
|
+
attr_accessor :json_schema
|
653
|
+
|
522
654
|
# Name of the metadata field.
|
523
655
|
# Corresponds to the JSON property `name`
|
524
656
|
# @return [String]
|
@@ -532,6 +664,7 @@ module Google
|
|
532
664
|
def update!(**args)
|
533
665
|
@data_type = args[:data_type] if args.key?(:data_type)
|
534
666
|
@description = args[:description] if args.key?(:description)
|
667
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
535
668
|
@name = args[:name] if args.key?(:name)
|
536
669
|
end
|
537
670
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ConnectorsV2
|
18
18
|
# Version of the google-apis-connectors_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230913"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class JsonSchema
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class ListActionsResponse
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -133,9 +139,15 @@ module Google
|
|
133
139
|
class Action
|
134
140
|
# @private
|
135
141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
142
|
+
property :description, as: 'description'
|
143
|
+
property :display_name, as: 'displayName'
|
144
|
+
property :input_json_schema, as: 'inputJsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
145
|
+
|
136
146
|
collection :input_parameters, as: 'inputParameters', class: Google::Apis::ConnectorsV2::InputParameter, decorator: Google::Apis::ConnectorsV2::InputParameter::Representation
|
137
147
|
|
138
148
|
property :name, as: 'name'
|
149
|
+
property :result_json_schema, as: 'resultJsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
150
|
+
|
139
151
|
collection :result_metadata, as: 'resultMetadata', class: Google::Apis::ConnectorsV2::ResultMetadata, decorator: Google::Apis::ConnectorsV2::ResultMetadata::Representation
|
140
152
|
|
141
153
|
end
|
@@ -160,6 +172,8 @@ module Google
|
|
160
172
|
class Representation < Google::Apis::Core::JsonRepresentation
|
161
173
|
collection :fields, as: 'fields', class: Google::Apis::ConnectorsV2::Field, decorator: Google::Apis::ConnectorsV2::Field::Representation
|
162
174
|
|
175
|
+
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
176
|
+
|
163
177
|
property :name, as: 'name'
|
164
178
|
end
|
165
179
|
end
|
@@ -200,6 +214,8 @@ module Google
|
|
200
214
|
property :data_type, as: 'dataType'
|
201
215
|
property :default_value, as: 'defaultValue'
|
202
216
|
property :description, as: 'description'
|
217
|
+
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
218
|
+
|
203
219
|
property :key, as: 'key'
|
204
220
|
property :name, as: 'name'
|
205
221
|
property :nullable, as: 'nullable'
|
@@ -211,14 +227,35 @@ module Google
|
|
211
227
|
class InputParameter
|
212
228
|
# @private
|
213
229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
230
|
+
hash :additional_details, as: 'additionalDetails'
|
214
231
|
property :data_type, as: 'dataType'
|
215
232
|
property :default_value, as: 'defaultValue'
|
216
233
|
property :description, as: 'description'
|
234
|
+
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
235
|
+
|
217
236
|
property :name, as: 'name'
|
218
237
|
property :nullable, as: 'nullable'
|
219
238
|
end
|
220
239
|
end
|
221
240
|
|
241
|
+
class JsonSchema
|
242
|
+
# @private
|
243
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
244
|
+
hash :additional_details, as: 'additionalDetails'
|
245
|
+
property :default, as: 'default'
|
246
|
+
property :description, as: 'description'
|
247
|
+
collection :enum, as: 'enum'
|
248
|
+
property :format, as: 'format'
|
249
|
+
property :items, as: 'items', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
250
|
+
|
251
|
+
property :jdbc_type, as: 'jdbcType'
|
252
|
+
hash :properties, as: 'properties', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
253
|
+
|
254
|
+
collection :required, as: 'required'
|
255
|
+
collection :type, as: 'type'
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
222
259
|
class ListActionsResponse
|
223
260
|
# @private
|
224
261
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -280,6 +317,8 @@ module Google
|
|
280
317
|
class Representation < Google::Apis::Core::JsonRepresentation
|
281
318
|
property :data_type, as: 'dataType'
|
282
319
|
property :description, as: 'description'
|
320
|
+
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
321
|
+
|
283
322
|
property :name, as: 'name'
|
284
323
|
end
|
285
324
|
end
|
@@ -122,6 +122,37 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
+
# Gets the schema of the given action.
|
126
|
+
# @param [String] name
|
127
|
+
# Required. Resource name of the Action. Format: projects/`project`/locations/`
|
128
|
+
# location`/connections/`connection`/actions/`action`
|
129
|
+
# @param [String] fields
|
130
|
+
# Selector specifying which fields to include in a partial response.
|
131
|
+
# @param [String] quota_user
|
132
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
133
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
134
|
+
# @param [Google::Apis::RequestOptions] options
|
135
|
+
# Request-specific options
|
136
|
+
#
|
137
|
+
# @yield [result, err] Result & error if block supplied
|
138
|
+
# @yieldparam result [Google::Apis::ConnectorsV2::Action] parsed result object
|
139
|
+
# @yieldparam err [StandardError] error object if request failed
|
140
|
+
#
|
141
|
+
# @return [Google::Apis::ConnectorsV2::Action]
|
142
|
+
#
|
143
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
144
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
145
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
146
|
+
def get_project_location_connection_action(name, fields: nil, quota_user: nil, options: nil, &block)
|
147
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
148
|
+
command.response_representation = Google::Apis::ConnectorsV2::Action::Representation
|
149
|
+
command.response_class = Google::Apis::ConnectorsV2::Action
|
150
|
+
command.params['name'] = name unless name.nil?
|
151
|
+
command.query['fields'] = fields unless fields.nil?
|
152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
153
|
+
execute_or_queue_command(command, &block)
|
154
|
+
end
|
155
|
+
|
125
156
|
# Gets the schema of all the actions supported by the connector.
|
126
157
|
# @param [String] parent
|
127
158
|
# Required. Parent resource name of the Action. Format: projects/`project`/
|
@@ -132,6 +163,8 @@ module Google
|
|
132
163
|
# Page token, return from a previous ListActions call, that can be used retrieve
|
133
164
|
# the next page of content. If unspecified, the request returns the first page
|
134
165
|
# of actions.
|
166
|
+
# @param [String] view
|
167
|
+
# Specifies which fields of the Action are returned in the response.
|
135
168
|
# @param [String] fields
|
136
169
|
# Selector specifying which fields to include in a partial response.
|
137
170
|
# @param [String] quota_user
|
@@ -149,13 +182,45 @@ module Google
|
|
149
182
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
150
183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
151
184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
152
|
-
def list_project_location_connection_actions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
185
|
+
def list_project_location_connection_actions(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
153
186
|
command = make_simple_command(:get, 'v2/{+parent}/actions', options)
|
154
187
|
command.response_representation = Google::Apis::ConnectorsV2::ListActionsResponse::Representation
|
155
188
|
command.response_class = Google::Apis::ConnectorsV2::ListActionsResponse
|
156
189
|
command.params['parent'] = parent unless parent.nil?
|
157
190
|
command.query['pageSize'] = page_size unless page_size.nil?
|
158
191
|
command.query['pageToken'] = page_token unless page_token.nil?
|
192
|
+
command.query['view'] = view unless view.nil?
|
193
|
+
command.query['fields'] = fields unless fields.nil?
|
194
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
195
|
+
execute_or_queue_command(command, &block)
|
196
|
+
end
|
197
|
+
|
198
|
+
# Gets metadata of given entity type
|
199
|
+
# @param [String] name
|
200
|
+
# Required. Resource name of the Entity Type. Format: projects/`project`/
|
201
|
+
# locations/`location`/connections/`connection`/entityTypes/`entityType`
|
202
|
+
# @param [String] fields
|
203
|
+
# Selector specifying which fields to include in a partial response.
|
204
|
+
# @param [String] quota_user
|
205
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
206
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
207
|
+
# @param [Google::Apis::RequestOptions] options
|
208
|
+
# Request-specific options
|
209
|
+
#
|
210
|
+
# @yield [result, err] Result & error if block supplied
|
211
|
+
# @yieldparam result [Google::Apis::ConnectorsV2::EntityType] parsed result object
|
212
|
+
# @yieldparam err [StandardError] error object if request failed
|
213
|
+
#
|
214
|
+
# @return [Google::Apis::ConnectorsV2::EntityType]
|
215
|
+
#
|
216
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
217
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
|
+
def get_project_location_connection_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
220
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
221
|
+
command.response_representation = Google::Apis::ConnectorsV2::EntityType::Representation
|
222
|
+
command.response_class = Google::Apis::ConnectorsV2::EntityType
|
223
|
+
command.params['name'] = name unless name.nil?
|
159
224
|
command.query['fields'] = fields unless fields.nil?
|
160
225
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
161
226
|
execute_or_queue_command(command, &block)
|
@@ -171,6 +236,8 @@ module Google
|
|
171
236
|
# Page token, return from a previous ListEntityTypes call, that can be used
|
172
237
|
# retrieve the next page of content. If unspecified, the request returns the
|
173
238
|
# first page of entity types.
|
239
|
+
# @param [String] view
|
240
|
+
# Specifies which fields of the Entity Type are returned in the response.
|
174
241
|
# @param [String] fields
|
175
242
|
# Selector specifying which fields to include in a partial response.
|
176
243
|
# @param [String] quota_user
|
@@ -188,13 +255,14 @@ module Google
|
|
188
255
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
189
256
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
190
257
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
191
|
-
def list_project_location_connection_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
258
|
+
def list_project_location_connection_entity_types(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
192
259
|
command = make_simple_command(:get, 'v2/{+parent}/entityTypes', options)
|
193
260
|
command.response_representation = Google::Apis::ConnectorsV2::ListEntityTypesResponse::Representation
|
194
261
|
command.response_class = Google::Apis::ConnectorsV2::ListEntityTypesResponse
|
195
262
|
command.params['parent'] = parent unless parent.nil?
|
196
263
|
command.query['pageSize'] = page_size unless page_size.nil?
|
197
264
|
command.query['pageToken'] = page_token unless page_token.nil?
|
265
|
+
command.query['view'] = view unless view.nil?
|
198
266
|
command.query['fields'] = fields unless fields.nil?
|
199
267
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
200
268
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-connectors_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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-
|
11
|
+
date: 2023-09-24 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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|