google-apis-connectors_v2 0.28.0 → 0.29.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: fe7d26f7c74fa57ae4811c6c3b60d85ebc5714932d5602910bc18ae8f17aa30f
|
4
|
+
data.tar.gz: 476e87b328171769bc9688ae2533a1bccaca9536b02f16876522db26d080d6cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebe4aa5c5a8d3751f15ece81386ba4024523bb41db9b4703c538750d69062567711c8c8a7a1798426d941e9e6a47d40253ad5f2bf5dcd480fed4d296d818be99
|
7
|
+
data.tar.gz: 8760f12c3d620b20770efcb453f5135a064f8238e781608e0e431293af106596d7114ab74f6da669ba4e1865e6435c0f208462cf738b3efaa84023890d75b244
|
data/CHANGELOG.md
CHANGED
@@ -585,6 +585,11 @@ module Google
|
|
585
585
|
class ExecuteToolResponse
|
586
586
|
include Google::Apis::Core::Hashable
|
587
587
|
|
588
|
+
# Metadata like service latency, etc.
|
589
|
+
# Corresponds to the JSON property `metadata`
|
590
|
+
# @return [Hash<String,Hash<String,Object>>]
|
591
|
+
attr_accessor :metadata
|
592
|
+
|
588
593
|
# Output from the tool execution.
|
589
594
|
# Corresponds to the JSON property `result`
|
590
595
|
# @return [Hash<String,Object>]
|
@@ -596,6 +601,7 @@ module Google
|
|
596
601
|
|
597
602
|
# Update properties of this object
|
598
603
|
def update!(**args)
|
604
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
599
605
|
@result = args[:result] if args.key?(:result)
|
600
606
|
end
|
601
607
|
end
|
@@ -673,6 +679,38 @@ module Google
|
|
673
679
|
end
|
674
680
|
end
|
675
681
|
|
682
|
+
#
|
683
|
+
class GetResourceResponse
|
684
|
+
include Google::Apis::Core::Hashable
|
685
|
+
|
686
|
+
# The content of the resource.
|
687
|
+
# Corresponds to the JSON property `data`
|
688
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
689
|
+
# @return [String]
|
690
|
+
attr_accessor :data
|
691
|
+
|
692
|
+
# Metadata like service latency, etc.
|
693
|
+
# Corresponds to the JSON property `metadata`
|
694
|
+
# @return [Hash<String,Hash<String,Object>>]
|
695
|
+
attr_accessor :metadata
|
696
|
+
|
697
|
+
# The MIME type of the resource.
|
698
|
+
# Corresponds to the JSON property `mimeType`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :mime_type
|
701
|
+
|
702
|
+
def initialize(**args)
|
703
|
+
update!(**args)
|
704
|
+
end
|
705
|
+
|
706
|
+
# Update properties of this object
|
707
|
+
def update!(**args)
|
708
|
+
@data = args[:data] if args.key?(:data)
|
709
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
710
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
676
714
|
# Input Parameter message contains metadata about the parameters required for
|
677
715
|
# executing an Action.
|
678
716
|
class InputParameter
|
@@ -1092,10 +1130,46 @@ module Google
|
|
1092
1130
|
end
|
1093
1131
|
end
|
1094
1132
|
|
1133
|
+
#
|
1134
|
+
class ListResourcesResponse
|
1135
|
+
include Google::Apis::Core::Hashable
|
1136
|
+
|
1137
|
+
# Metadata like service latency, etc.
|
1138
|
+
# Corresponds to the JSON property `metadata`
|
1139
|
+
# @return [Hash<String,Hash<String,Object>>]
|
1140
|
+
attr_accessor :metadata
|
1141
|
+
|
1142
|
+
# Next page token if more resources available.
|
1143
|
+
# Corresponds to the JSON property `nextPageToken`
|
1144
|
+
# @return [String]
|
1145
|
+
attr_accessor :next_page_token
|
1146
|
+
|
1147
|
+
# List of available resources.
|
1148
|
+
# Corresponds to the JSON property `resources`
|
1149
|
+
# @return [Array<Google::Apis::ConnectorsV2::Resource>]
|
1150
|
+
attr_accessor :resources
|
1151
|
+
|
1152
|
+
def initialize(**args)
|
1153
|
+
update!(**args)
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
# Update properties of this object
|
1157
|
+
def update!(**args)
|
1158
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1159
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1160
|
+
@resources = args[:resources] if args.key?(:resources)
|
1161
|
+
end
|
1162
|
+
end
|
1163
|
+
|
1095
1164
|
# Response message for ConnectorAgentService.ListTools
|
1096
1165
|
class ListToolsResponse
|
1097
1166
|
include Google::Apis::Core::Hashable
|
1098
1167
|
|
1168
|
+
# Metadata like service latency, etc.
|
1169
|
+
# Corresponds to the JSON property `metadata`
|
1170
|
+
# @return [Hash<String,Hash<String,Object>>]
|
1171
|
+
attr_accessor :metadata
|
1172
|
+
|
1099
1173
|
# Next page token.
|
1100
1174
|
# Corresponds to the JSON property `nextPageToken`
|
1101
1175
|
# @return [String]
|
@@ -1112,6 +1186,7 @@ module Google
|
|
1112
1186
|
|
1113
1187
|
# Update properties of this object
|
1114
1188
|
def update!(**args)
|
1189
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1115
1190
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1116
1191
|
@tools = args[:tools] if args.key?(:tools)
|
1117
1192
|
end
|
@@ -1547,6 +1622,49 @@ module Google
|
|
1547
1622
|
end
|
1548
1623
|
end
|
1549
1624
|
|
1625
|
+
#
|
1626
|
+
class Resource
|
1627
|
+
include Google::Apis::Core::Hashable
|
1628
|
+
|
1629
|
+
# A description of what this resource represents.
|
1630
|
+
# Corresponds to the JSON property `description`
|
1631
|
+
# @return [String]
|
1632
|
+
attr_accessor :description
|
1633
|
+
|
1634
|
+
# The MIME type of this resource, if known.
|
1635
|
+
# Corresponds to the JSON property `mimeType`
|
1636
|
+
# @return [String]
|
1637
|
+
attr_accessor :mime_type
|
1638
|
+
|
1639
|
+
# A human-readable name for this resource.
|
1640
|
+
# Corresponds to the JSON property `name`
|
1641
|
+
# @return [String]
|
1642
|
+
attr_accessor :name
|
1643
|
+
|
1644
|
+
# The size of the raw resource content, in bytes, if known.
|
1645
|
+
# Corresponds to the JSON property `size`
|
1646
|
+
# @return [Fixnum]
|
1647
|
+
attr_accessor :size
|
1648
|
+
|
1649
|
+
# The URI of this resource.
|
1650
|
+
# Corresponds to the JSON property `uri`
|
1651
|
+
# @return [String]
|
1652
|
+
attr_accessor :uri
|
1653
|
+
|
1654
|
+
def initialize(**args)
|
1655
|
+
update!(**args)
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
# Update properties of this object
|
1659
|
+
def update!(**args)
|
1660
|
+
@description = args[:description] if args.key?(:description)
|
1661
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
1662
|
+
@name = args[:name] if args.key?(:name)
|
1663
|
+
@size = args[:size] if args.key?(:size)
|
1664
|
+
@uri = args[:uri] if args.key?(:uri)
|
1665
|
+
end
|
1666
|
+
end
|
1667
|
+
|
1550
1668
|
# Result Metadata message contains metadata about the result returned after
|
1551
1669
|
# executing an Action.
|
1552
1670
|
class ResultMetadata
|
@@ -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.29.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250930"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -142,6 +142,12 @@ module Google
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
+
class GetResourceResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
145
151
|
class InputParameter
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
153
|
|
@@ -178,6 +184,12 @@ module Google
|
|
178
184
|
include Google::Apis::Core::JsonObjectSupport
|
179
185
|
end
|
180
186
|
|
187
|
+
class ListResourcesResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
181
193
|
class ListToolsResponse
|
182
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
195
|
|
@@ -262,6 +274,12 @@ module Google
|
|
262
274
|
include Google::Apis::Core::JsonObjectSupport
|
263
275
|
end
|
264
276
|
|
277
|
+
class Resource
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
265
283
|
class ResultMetadata
|
266
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
285
|
|
@@ -491,6 +509,7 @@ module Google
|
|
491
509
|
class ExecuteToolResponse
|
492
510
|
# @private
|
493
511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
512
|
+
hash :metadata, as: 'metadata'
|
494
513
|
hash :result, as: 'result'
|
495
514
|
end
|
496
515
|
end
|
@@ -512,6 +531,15 @@ module Google
|
|
512
531
|
end
|
513
532
|
end
|
514
533
|
|
534
|
+
class GetResourceResponse
|
535
|
+
# @private
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
537
|
+
property :data, :base64 => true, as: 'data'
|
538
|
+
hash :metadata, as: 'metadata'
|
539
|
+
property :mime_type, as: 'mimeType'
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
515
543
|
class InputParameter
|
516
544
|
# @private
|
517
545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -605,9 +633,20 @@ module Google
|
|
605
633
|
end
|
606
634
|
end
|
607
635
|
|
636
|
+
class ListResourcesResponse
|
637
|
+
# @private
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
639
|
+
hash :metadata, as: 'metadata'
|
640
|
+
property :next_page_token, as: 'nextPageToken'
|
641
|
+
collection :resources, as: 'resources', class: Google::Apis::ConnectorsV2::Resource, decorator: Google::Apis::ConnectorsV2::Resource::Representation
|
642
|
+
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
608
646
|
class ListToolsResponse
|
609
647
|
# @private
|
610
648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
hash :metadata, as: 'metadata'
|
611
650
|
property :next_page_token, as: 'nextPageToken'
|
612
651
|
collection :tools, as: 'tools', class: Google::Apis::ConnectorsV2::Tool, decorator: Google::Apis::ConnectorsV2::Tool::Representation
|
613
652
|
|
@@ -735,6 +774,17 @@ module Google
|
|
735
774
|
end
|
736
775
|
end
|
737
776
|
|
777
|
+
class Resource
|
778
|
+
# @private
|
779
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
780
|
+
property :description, as: 'description'
|
781
|
+
property :mime_type, as: 'mimeType'
|
782
|
+
property :name, as: 'name'
|
783
|
+
property :size, :numeric_string => true, as: 'size'
|
784
|
+
property :uri, as: 'uri'
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
738
788
|
class ResultMetadata
|
739
789
|
# @private
|
740
790
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -690,6 +690,74 @@ module Google
|
|
690
690
|
execute_or_queue_command(command, &block)
|
691
691
|
end
|
692
692
|
|
693
|
+
# Gets a specific resource.
|
694
|
+
# @param [String] name
|
695
|
+
# Required. Resource name of the Resource. Format: projects/`project`/locations/`
|
696
|
+
# location`/connections/`connection`/resources/`resource`
|
697
|
+
# @param [String] fields
|
698
|
+
# Selector specifying which fields to include in a partial response.
|
699
|
+
# @param [String] quota_user
|
700
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
701
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
702
|
+
# @param [Google::Apis::RequestOptions] options
|
703
|
+
# Request-specific options
|
704
|
+
#
|
705
|
+
# @yield [result, err] Result & error if block supplied
|
706
|
+
# @yieldparam result [Google::Apis::ConnectorsV2::GetResourceResponse] parsed result object
|
707
|
+
# @yieldparam err [StandardError] error object if request failed
|
708
|
+
#
|
709
|
+
# @return [Google::Apis::ConnectorsV2::GetResourceResponse]
|
710
|
+
#
|
711
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
712
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
713
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
714
|
+
def get_project_location_connection_resource(name, fields: nil, quota_user: nil, options: nil, &block)
|
715
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
716
|
+
command.response_representation = Google::Apis::ConnectorsV2::GetResourceResponse::Representation
|
717
|
+
command.response_class = Google::Apis::ConnectorsV2::GetResourceResponse
|
718
|
+
command.params['name'] = name unless name.nil?
|
719
|
+
command.query['fields'] = fields unless fields.nil?
|
720
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
721
|
+
execute_or_queue_command(command, &block)
|
722
|
+
end
|
723
|
+
|
724
|
+
# Lists all available resources.
|
725
|
+
# @param [String] parent
|
726
|
+
# Required. Resource name of the connection. Format: projects/`project`/
|
727
|
+
# locations/`location`/connections/`connection`
|
728
|
+
# @param [Fixnum] page_size
|
729
|
+
# Optional. Page size for the request.
|
730
|
+
# @param [String] page_token
|
731
|
+
# Optional. Page token for the request.
|
732
|
+
# @param [String] fields
|
733
|
+
# Selector specifying which fields to include in a partial response.
|
734
|
+
# @param [String] quota_user
|
735
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
736
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
737
|
+
# @param [Google::Apis::RequestOptions] options
|
738
|
+
# Request-specific options
|
739
|
+
#
|
740
|
+
# @yield [result, err] Result & error if block supplied
|
741
|
+
# @yieldparam result [Google::Apis::ConnectorsV2::ListResourcesResponse] parsed result object
|
742
|
+
# @yieldparam err [StandardError] error object if request failed
|
743
|
+
#
|
744
|
+
# @return [Google::Apis::ConnectorsV2::ListResourcesResponse]
|
745
|
+
#
|
746
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
747
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
748
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
749
|
+
def list_project_location_connection_resources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
750
|
+
command = make_simple_command(:get, 'v2/{+parent}/resources', options)
|
751
|
+
command.response_representation = Google::Apis::ConnectorsV2::ListResourcesResponse::Representation
|
752
|
+
command.response_class = Google::Apis::ConnectorsV2::ListResourcesResponse
|
753
|
+
command.params['parent'] = parent unless parent.nil?
|
754
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
755
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
756
|
+
command.query['fields'] = fields unless fields.nil?
|
757
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
758
|
+
execute_or_queue_command(command, &block)
|
759
|
+
end
|
760
|
+
|
693
761
|
# Executes a specific tool.
|
694
762
|
# @param [String] name
|
695
763
|
# Required. Resource name of the Tool. Format: projects/`project`/locations/`
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.29.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|