google-apis-connectors_v2 0.4.0 → 0.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13ce1f89267433b8aa064fdb230a416d7259c13c65e8a18183f043c430e6424f
|
4
|
+
data.tar.gz: 06642cb760c8b44903e0ad41806674833a545549ad3acc7b00eee40a4767785c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 179c45414f93bf42c78339910e346b9fd784ec9d14ff0024b824deb06f7b09fe2e29032a8393625325ee66082f3bce3586c9e777fab01be08e7dde3d26bc9b92
|
7
|
+
data.tar.gz: 44a5865bbfbf7eec05a1840664ac36f787db8823994e3a1ba70ea8fac44e6a2ad8656a301542914e904383aed0ed5863cc1bd05619ae83a61090a3d2cc2c09e9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-connectors_v2
|
2
2
|
|
3
|
+
### v0.6.0 (2023-09-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230906
|
6
|
+
|
7
|
+
### v0.5.0 (2023-08-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230812
|
10
|
+
|
3
11
|
### v0.4.0 (2023-02-19)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -27,6 +27,11 @@ module Google
|
|
27
27
|
class Action
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
+
# JsonSchema representation of schema metadata
|
31
|
+
# Corresponds to the JSON property `inputJsonSchema`
|
32
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
33
|
+
attr_accessor :input_json_schema
|
34
|
+
|
30
35
|
# List containing input parameter metadata.
|
31
36
|
# Corresponds to the JSON property `inputParameters`
|
32
37
|
# @return [Array<Google::Apis::ConnectorsV2::InputParameter>]
|
@@ -37,6 +42,11 @@ module Google
|
|
37
42
|
# @return [String]
|
38
43
|
attr_accessor :name
|
39
44
|
|
45
|
+
# JsonSchema representation of schema metadata
|
46
|
+
# Corresponds to the JSON property `resultJsonSchema`
|
47
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
48
|
+
attr_accessor :result_json_schema
|
49
|
+
|
40
50
|
# List containing the metadata of result fields.
|
41
51
|
# Corresponds to the JSON property `resultMetadata`
|
42
52
|
# @return [Array<Google::Apis::ConnectorsV2::ResultMetadata>]
|
@@ -48,8 +58,10 @@ module Google
|
|
48
58
|
|
49
59
|
# Update properties of this object
|
50
60
|
def update!(**args)
|
61
|
+
@input_json_schema = args[:input_json_schema] if args.key?(:input_json_schema)
|
51
62
|
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
52
63
|
@name = args[:name] if args.key?(:name)
|
64
|
+
@result_json_schema = args[:result_json_schema] if args.key?(:result_json_schema)
|
53
65
|
@result_metadata = args[:result_metadata] if args.key?(:result_metadata)
|
54
66
|
end
|
55
67
|
end
|
@@ -107,6 +119,11 @@ module Google
|
|
107
119
|
# @return [Array<Google::Apis::ConnectorsV2::Field>]
|
108
120
|
attr_accessor :fields
|
109
121
|
|
122
|
+
# JsonSchema representation of schema metadata
|
123
|
+
# Corresponds to the JSON property `jsonSchema`
|
124
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
125
|
+
attr_accessor :json_schema
|
126
|
+
|
110
127
|
# The name of the entity type.
|
111
128
|
# Corresponds to the JSON property `name`
|
112
129
|
# @return [String]
|
@@ -119,6 +136,7 @@ module Google
|
|
119
136
|
# Update properties of this object
|
120
137
|
def update!(**args)
|
121
138
|
@fields = args[:fields] if args.key?(:fields)
|
139
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
122
140
|
@name = args[:name] if args.key?(:name)
|
123
141
|
end
|
124
142
|
end
|
@@ -237,6 +255,11 @@ module Google
|
|
237
255
|
# @return [String]
|
238
256
|
attr_accessor :description
|
239
257
|
|
258
|
+
# JsonSchema representation of schema metadata
|
259
|
+
# Corresponds to the JSON property `jsonSchema`
|
260
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
261
|
+
attr_accessor :json_schema
|
262
|
+
|
240
263
|
# The following boolean field specifies if the current Field acts as a primary
|
241
264
|
# key or id if the parent is of type entity.
|
242
265
|
# Corresponds to the JSON property `key`
|
@@ -271,6 +294,7 @@ module Google
|
|
271
294
|
@data_type = args[:data_type] if args.key?(:data_type)
|
272
295
|
@default_value = args[:default_value] if args.key?(:default_value)
|
273
296
|
@description = args[:description] if args.key?(:description)
|
297
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
274
298
|
@key = args[:key] if args.key?(:key)
|
275
299
|
@name = args[:name] if args.key?(:name)
|
276
300
|
@nullable = args[:nullable] if args.key?(:nullable)
|
@@ -299,6 +323,11 @@ module Google
|
|
299
323
|
# @return [String]
|
300
324
|
attr_accessor :description
|
301
325
|
|
326
|
+
# JsonSchema representation of schema metadata
|
327
|
+
# Corresponds to the JSON property `jsonSchema`
|
328
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
329
|
+
attr_accessor :json_schema
|
330
|
+
|
302
331
|
# Name of the Parameter.
|
303
332
|
# Corresponds to the JSON property `name`
|
304
333
|
# @return [String]
|
@@ -319,11 +348,90 @@ module Google
|
|
319
348
|
@data_type = args[:data_type] if args.key?(:data_type)
|
320
349
|
@default_value = args[:default_value] if args.key?(:default_value)
|
321
350
|
@description = args[:description] if args.key?(:description)
|
351
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
322
352
|
@name = args[:name] if args.key?(:name)
|
323
353
|
@nullable = args[:nullable] if args.key?(:nullable)
|
324
354
|
end
|
325
355
|
end
|
326
356
|
|
357
|
+
# JsonSchema representation of schema metadata
|
358
|
+
class JsonSchema
|
359
|
+
include Google::Apis::Core::Hashable
|
360
|
+
|
361
|
+
# Additional details apart from standard json schema fields, this gives
|
362
|
+
# flexibility to store metadata about the schema
|
363
|
+
# Corresponds to the JSON property `additionalDetails`
|
364
|
+
# @return [Hash<String,Object>]
|
365
|
+
attr_accessor :additional_details
|
366
|
+
|
367
|
+
# The default value of the field or object described by this schema.
|
368
|
+
# Corresponds to the JSON property `default`
|
369
|
+
# @return [Object]
|
370
|
+
attr_accessor :default
|
371
|
+
|
372
|
+
# A description of this schema.
|
373
|
+
# Corresponds to the JSON property `description`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :description
|
376
|
+
|
377
|
+
# Possible values for an enumeration. This works in conjunction with `type` to
|
378
|
+
# represent types with a fixed set of legal values
|
379
|
+
# Corresponds to the JSON property `enum`
|
380
|
+
# @return [Array<Object>]
|
381
|
+
attr_accessor :enum
|
382
|
+
|
383
|
+
# Format of the value as per https://json-schema.org/understanding-json-schema/
|
384
|
+
# reference/string.html#format
|
385
|
+
# Corresponds to the JSON property `format`
|
386
|
+
# @return [String]
|
387
|
+
attr_accessor :format
|
388
|
+
|
389
|
+
# JsonSchema representation of schema metadata
|
390
|
+
# Corresponds to the JSON property `items`
|
391
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
392
|
+
attr_accessor :items
|
393
|
+
|
394
|
+
# JDBC datatype of the field.
|
395
|
+
# Corresponds to the JSON property `jdbcType`
|
396
|
+
# @return [String]
|
397
|
+
attr_accessor :jdbc_type
|
398
|
+
|
399
|
+
# The child schemas, applicable only if this is of type `object`. The key is the
|
400
|
+
# name of the property and the value is the json schema that describes that
|
401
|
+
# property
|
402
|
+
# Corresponds to the JSON property `properties`
|
403
|
+
# @return [Hash<String,Google::Apis::ConnectorsV2::JsonSchema>]
|
404
|
+
attr_accessor :properties
|
405
|
+
|
406
|
+
# Whether this property is required.
|
407
|
+
# Corresponds to the JSON property `required`
|
408
|
+
# @return [Array<String>]
|
409
|
+
attr_accessor :required
|
410
|
+
|
411
|
+
# JSON Schema Validation: A Vocabulary for Structural Validation of JSON
|
412
|
+
# Corresponds to the JSON property `type`
|
413
|
+
# @return [Array<String>]
|
414
|
+
attr_accessor :type
|
415
|
+
|
416
|
+
def initialize(**args)
|
417
|
+
update!(**args)
|
418
|
+
end
|
419
|
+
|
420
|
+
# Update properties of this object
|
421
|
+
def update!(**args)
|
422
|
+
@additional_details = args[:additional_details] if args.key?(:additional_details)
|
423
|
+
@default = args[:default] if args.key?(:default)
|
424
|
+
@description = args[:description] if args.key?(:description)
|
425
|
+
@enum = args[:enum] if args.key?(:enum)
|
426
|
+
@format = args[:format] if args.key?(:format)
|
427
|
+
@items = args[:items] if args.key?(:items)
|
428
|
+
@jdbc_type = args[:jdbc_type] if args.key?(:jdbc_type)
|
429
|
+
@properties = args[:properties] if args.key?(:properties)
|
430
|
+
@required = args[:required] if args.key?(:required)
|
431
|
+
@type = args[:type] if args.key?(:type)
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
327
435
|
# Response message for ActionService.ListActions
|
328
436
|
class ListActionsResponse
|
329
437
|
include Google::Apis::Core::Hashable
|
@@ -419,18 +527,63 @@ module Google
|
|
419
527
|
class Query
|
420
528
|
include Google::Apis::Core::Hashable
|
421
529
|
|
530
|
+
# Sets the limit for the maximum number of rows returned after the query
|
531
|
+
# execution.
|
532
|
+
# Corresponds to the JSON property `maxRows`
|
533
|
+
# @return [Fixnum]
|
534
|
+
attr_accessor :max_rows
|
535
|
+
|
422
536
|
# Required. Sql query to execute.
|
423
537
|
# Corresponds to the JSON property `query`
|
424
538
|
# @return [String]
|
425
539
|
attr_accessor :query
|
426
540
|
|
541
|
+
# In the struct, the value corresponds to the value of query parameter and date
|
542
|
+
# type corresponds to the date type of the query parameter.
|
543
|
+
# Corresponds to the JSON property `queryParameters`
|
544
|
+
# @return [Array<Google::Apis::ConnectorsV2::QueryParameter>]
|
545
|
+
attr_accessor :query_parameters
|
546
|
+
|
547
|
+
# Sets the number of seconds the driver will wait for a query to execute.
|
548
|
+
# Corresponds to the JSON property `timeout`
|
549
|
+
# @return [Fixnum]
|
550
|
+
attr_accessor :timeout
|
551
|
+
|
427
552
|
def initialize(**args)
|
428
553
|
update!(**args)
|
429
554
|
end
|
430
555
|
|
431
556
|
# Update properties of this object
|
432
557
|
def update!(**args)
|
558
|
+
@max_rows = args[:max_rows] if args.key?(:max_rows)
|
433
559
|
@query = args[:query] if args.key?(:query)
|
560
|
+
@query_parameters = args[:query_parameters] if args.key?(:query_parameters)
|
561
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
# Query parameter definition
|
566
|
+
class QueryParameter
|
567
|
+
include Google::Apis::Core::Hashable
|
568
|
+
|
569
|
+
#
|
570
|
+
# Corresponds to the JSON property `dataType`
|
571
|
+
# @return [String]
|
572
|
+
attr_accessor :data_type
|
573
|
+
|
574
|
+
#
|
575
|
+
# Corresponds to the JSON property `value`
|
576
|
+
# @return [String]
|
577
|
+
attr_accessor :value
|
578
|
+
|
579
|
+
def initialize(**args)
|
580
|
+
update!(**args)
|
581
|
+
end
|
582
|
+
|
583
|
+
# Update properties of this object
|
584
|
+
def update!(**args)
|
585
|
+
@data_type = args[:data_type] if args.key?(:data_type)
|
586
|
+
@value = args[:value] if args.key?(:value)
|
434
587
|
end
|
435
588
|
end
|
436
589
|
|
@@ -474,6 +627,11 @@ module Google
|
|
474
627
|
# @return [String]
|
475
628
|
attr_accessor :description
|
476
629
|
|
630
|
+
# JsonSchema representation of schema metadata
|
631
|
+
# Corresponds to the JSON property `jsonSchema`
|
632
|
+
# @return [Google::Apis::ConnectorsV2::JsonSchema]
|
633
|
+
attr_accessor :json_schema
|
634
|
+
|
477
635
|
# Name of the metadata field.
|
478
636
|
# Corresponds to the JSON property `name`
|
479
637
|
# @return [String]
|
@@ -487,6 +645,7 @@ module Google
|
|
487
645
|
def update!(**args)
|
488
646
|
@data_type = args[:data_type] if args.key?(:data_type)
|
489
647
|
@description = args[:description] if args.key?(:description)
|
648
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
490
649
|
@name = args[:name] if args.key?(:name)
|
491
650
|
end
|
492
651
|
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.6.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 = "20230906"
|
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
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class QueryParameter
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class Reference
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -127,9 +139,13 @@ module Google
|
|
127
139
|
class Action
|
128
140
|
# @private
|
129
141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
142
|
+
property :input_json_schema, as: 'inputJsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
143
|
+
|
130
144
|
collection :input_parameters, as: 'inputParameters', class: Google::Apis::ConnectorsV2::InputParameter, decorator: Google::Apis::ConnectorsV2::InputParameter::Representation
|
131
145
|
|
132
146
|
property :name, as: 'name'
|
147
|
+
property :result_json_schema, as: 'resultJsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
148
|
+
|
133
149
|
collection :result_metadata, as: 'resultMetadata', class: Google::Apis::ConnectorsV2::ResultMetadata, decorator: Google::Apis::ConnectorsV2::ResultMetadata::Representation
|
134
150
|
|
135
151
|
end
|
@@ -154,6 +170,8 @@ module Google
|
|
154
170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
155
171
|
collection :fields, as: 'fields', class: Google::Apis::ConnectorsV2::Field, decorator: Google::Apis::ConnectorsV2::Field::Representation
|
156
172
|
|
173
|
+
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
174
|
+
|
157
175
|
property :name, as: 'name'
|
158
176
|
end
|
159
177
|
end
|
@@ -194,6 +212,8 @@ module Google
|
|
194
212
|
property :data_type, as: 'dataType'
|
195
213
|
property :default_value, as: 'defaultValue'
|
196
214
|
property :description, as: 'description'
|
215
|
+
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
216
|
+
|
197
217
|
property :key, as: 'key'
|
198
218
|
property :name, as: 'name'
|
199
219
|
property :nullable, as: 'nullable'
|
@@ -208,11 +228,31 @@ module Google
|
|
208
228
|
property :data_type, as: 'dataType'
|
209
229
|
property :default_value, as: 'defaultValue'
|
210
230
|
property :description, as: 'description'
|
231
|
+
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
232
|
+
|
211
233
|
property :name, as: 'name'
|
212
234
|
property :nullable, as: 'nullable'
|
213
235
|
end
|
214
236
|
end
|
215
237
|
|
238
|
+
class JsonSchema
|
239
|
+
# @private
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
+
hash :additional_details, as: 'additionalDetails'
|
242
|
+
property :default, as: 'default'
|
243
|
+
property :description, as: 'description'
|
244
|
+
collection :enum, as: 'enum'
|
245
|
+
property :format, as: 'format'
|
246
|
+
property :items, as: 'items', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
247
|
+
|
248
|
+
property :jdbc_type, as: 'jdbcType'
|
249
|
+
hash :properties, as: 'properties', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
250
|
+
|
251
|
+
collection :required, as: 'required'
|
252
|
+
collection :type, as: 'type'
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
216
256
|
class ListActionsResponse
|
217
257
|
# @private
|
218
258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -245,7 +285,19 @@ module Google
|
|
245
285
|
class Query
|
246
286
|
# @private
|
247
287
|
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
+
property :max_rows, :numeric_string => true, as: 'maxRows'
|
248
289
|
property :query, as: 'query'
|
290
|
+
collection :query_parameters, as: 'queryParameters', class: Google::Apis::ConnectorsV2::QueryParameter, decorator: Google::Apis::ConnectorsV2::QueryParameter::Representation
|
291
|
+
|
292
|
+
property :timeout, :numeric_string => true, as: 'timeout'
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
class QueryParameter
|
297
|
+
# @private
|
298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
+
property :data_type, as: 'dataType'
|
300
|
+
property :value, as: 'value'
|
249
301
|
end
|
250
302
|
end
|
251
303
|
|
@@ -262,6 +314,8 @@ module Google
|
|
262
314
|
class Representation < Google::Apis::Core::JsonRepresentation
|
263
315
|
property :data_type, as: 'dataType'
|
264
316
|
property :description, as: 'description'
|
317
|
+
property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
|
318
|
+
|
265
319
|
property :name, as: 'name'
|
266
320
|
end
|
267
321
|
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.6.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-17 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.6.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Connectors API V2
|