google-apis-apihub_v1 0.18.0 → 0.19.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: 3548cd292f1a2075d0b3583936320d2819b8f39e57929af9b26751944816509c
|
|
4
|
+
data.tar.gz: d1518292e7ce8ec60b3962deb586d7453e76c7cb37f0dd304d14a8318bdbd440
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aab9555c9bc15e0e961688813efe79c2293596b1c3cf19982e5d352bf738de3fb66fd3e0d737f7306504c9825f6d15e1d45dbfc9b3cd183643947569053ab322
|
|
7
|
+
data.tar.gz: f76e85fa08e4ca34065d3f7cceb294ad084ced3d578bae5480cddcacf6a9aed2d3ef085660cb079dfc37e0c35aea98ace19da8a4a0e5be1b8b75dbb4733ab61d
|
data/CHANGELOG.md
CHANGED
|
@@ -834,6 +834,53 @@ module Google
|
|
|
834
834
|
end
|
|
835
835
|
end
|
|
836
836
|
|
|
837
|
+
# The target configuration for Apigee X. Note: If this API is called while an
|
|
838
|
+
# earlier deployment is still in progress, the earlier deployment will be
|
|
839
|
+
# aborted and a new deployment will be triggered.
|
|
840
|
+
class GoogleCloudApihubV1ApigeeXTargetDetails
|
|
841
|
+
include Google::Apis::Core::Hashable
|
|
842
|
+
|
|
843
|
+
# Output only. The revision number of the Apigee proxy that was deployed.
|
|
844
|
+
# Corresponds to the JSON property `deployedRevision`
|
|
845
|
+
# @return [String]
|
|
846
|
+
attr_accessor :deployed_revision
|
|
847
|
+
|
|
848
|
+
# Required. The specific Apigee environment where the server will be deployed.
|
|
849
|
+
# Corresponds to the JSON property `environment`
|
|
850
|
+
# @return [String]
|
|
851
|
+
attr_accessor :environment
|
|
852
|
+
|
|
853
|
+
# Metadata for the server configuration in Apigee X.
|
|
854
|
+
# Corresponds to the JSON property `metadata`
|
|
855
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1MetaData]
|
|
856
|
+
attr_accessor :metadata
|
|
857
|
+
|
|
858
|
+
# Required. This name identifies the proxy resource in Apigee. It typically
|
|
859
|
+
# follows a standard alphanumeric format (e.g., "mcp-discovery-server").
|
|
860
|
+
# Corresponds to the JSON property `proxy`
|
|
861
|
+
# @return [String]
|
|
862
|
+
attr_accessor :proxy
|
|
863
|
+
|
|
864
|
+
# Required. The runtime project that hosts the Apigee X organization. This must
|
|
865
|
+
# be one of the runtime projects attached to the API Hub host project.
|
|
866
|
+
# Corresponds to the JSON property `targetProject`
|
|
867
|
+
# @return [String]
|
|
868
|
+
attr_accessor :target_project
|
|
869
|
+
|
|
870
|
+
def initialize(**args)
|
|
871
|
+
update!(**args)
|
|
872
|
+
end
|
|
873
|
+
|
|
874
|
+
# Update properties of this object
|
|
875
|
+
def update!(**args)
|
|
876
|
+
@deployed_revision = args[:deployed_revision] if args.key?(:deployed_revision)
|
|
877
|
+
@environment = args[:environment] if args.key?(:environment)
|
|
878
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
879
|
+
@proxy = args[:proxy] if args.key?(:proxy)
|
|
880
|
+
@target_project = args[:target_project] if args.key?(:target_project)
|
|
881
|
+
end
|
|
882
|
+
end
|
|
883
|
+
|
|
837
884
|
# The details of the Application Integration endpoint to be triggered for
|
|
838
885
|
# curation.
|
|
839
886
|
class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails
|
|
@@ -1348,6 +1395,25 @@ module Google
|
|
|
1348
1395
|
end
|
|
1349
1396
|
end
|
|
1350
1397
|
|
|
1398
|
+
# Request message for ApiHub.ConfigureAndDeployServer.
|
|
1399
|
+
class GoogleCloudApihubV1ConfigureAndDeployServerRequest
|
|
1400
|
+
include Google::Apis::Core::Hashable
|
|
1401
|
+
|
|
1402
|
+
# MCP-specific server configuration.
|
|
1403
|
+
# Corresponds to the JSON property `mcpServerConfig`
|
|
1404
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1McpServerConfig]
|
|
1405
|
+
attr_accessor :mcp_server_config
|
|
1406
|
+
|
|
1407
|
+
def initialize(**args)
|
|
1408
|
+
update!(**args)
|
|
1409
|
+
end
|
|
1410
|
+
|
|
1411
|
+
# Update properties of this object
|
|
1412
|
+
def update!(**args)
|
|
1413
|
+
@mcp_server_config = args[:mcp_server_config] if args.key?(:mcp_server_config)
|
|
1414
|
+
end
|
|
1415
|
+
end
|
|
1416
|
+
|
|
1351
1417
|
# A curation resource in the API Hub.
|
|
1352
1418
|
class GoogleCloudApihubV1Curation
|
|
1353
1419
|
include Google::Apis::Core::Hashable
|
|
@@ -2627,6 +2693,42 @@ module Google
|
|
|
2627
2693
|
end
|
|
2628
2694
|
end
|
|
2629
2695
|
|
|
2696
|
+
# Identifies a single API Hub operation by spec resource name + HTTP path + HTTP
|
|
2697
|
+
# method.
|
|
2698
|
+
class GoogleCloudApihubV1HttpOperationConfig
|
|
2699
|
+
include Google::Apis::Core::Hashable
|
|
2700
|
+
|
|
2701
|
+
# Required. HTTP method of the operation within the referenced spec. (GET / PUT /
|
|
2702
|
+
# POST / DELETE / OPTIONS / HEAD / PATCH / TRACE).
|
|
2703
|
+
# Corresponds to the JSON property `method`
|
|
2704
|
+
# @return [String]
|
|
2705
|
+
attr_accessor :method_prop
|
|
2706
|
+
|
|
2707
|
+
# Required. HTTP path of the operation within the referenced spec. Match is
|
|
2708
|
+
# exact (no template substitution): the path here must appear verbatim on an
|
|
2709
|
+
# APIOperationRevision belonging to the spec.
|
|
2710
|
+
# Corresponds to the JSON property `path`
|
|
2711
|
+
# @return [String]
|
|
2712
|
+
attr_accessor :path
|
|
2713
|
+
|
|
2714
|
+
# Required. Spec resource name: `projects/`project`/locations/`location`/apis/`
|
|
2715
|
+
# api`/versions/`version`/specs/`spec``
|
|
2716
|
+
# Corresponds to the JSON property `spec`
|
|
2717
|
+
# @return [String]
|
|
2718
|
+
attr_accessor :spec
|
|
2719
|
+
|
|
2720
|
+
def initialize(**args)
|
|
2721
|
+
update!(**args)
|
|
2722
|
+
end
|
|
2723
|
+
|
|
2724
|
+
# Update properties of this object
|
|
2725
|
+
def update!(**args)
|
|
2726
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
2727
|
+
@path = args[:path] if args.key?(:path)
|
|
2728
|
+
@spec = args[:spec] if args.key?(:spec)
|
|
2729
|
+
end
|
|
2730
|
+
end
|
|
2731
|
+
|
|
2630
2732
|
# An HTTP-based API Operation, sometimes called a "REST" Operation.
|
|
2631
2733
|
class GoogleCloudApihubV1HttpOperationDetails
|
|
2632
2734
|
include Google::Apis::Core::Hashable
|
|
@@ -3416,6 +3518,33 @@ module Google
|
|
|
3416
3518
|
end
|
|
3417
3519
|
end
|
|
3418
3520
|
|
|
3521
|
+
# MCP-specific server configuration.
|
|
3522
|
+
class GoogleCloudApihubV1McpServerConfig
|
|
3523
|
+
include Google::Apis::Core::Hashable
|
|
3524
|
+
|
|
3525
|
+
# The target configuration for Apigee X. Note: If this API is called while an
|
|
3526
|
+
# earlier deployment is still in progress, the earlier deployment will be
|
|
3527
|
+
# aborted and a new deployment will be triggered.
|
|
3528
|
+
# Corresponds to the JSON property `apigeeXTargetDetails`
|
|
3529
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeXTargetDetails]
|
|
3530
|
+
attr_accessor :apigee_x_target_details
|
|
3531
|
+
|
|
3532
|
+
# Required. The tools to expose on the MCP server.
|
|
3533
|
+
# Corresponds to the JSON property `tools`
|
|
3534
|
+
# @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1McpToolConfig>]
|
|
3535
|
+
attr_accessor :tools
|
|
3536
|
+
|
|
3537
|
+
def initialize(**args)
|
|
3538
|
+
update!(**args)
|
|
3539
|
+
end
|
|
3540
|
+
|
|
3541
|
+
# Update properties of this object
|
|
3542
|
+
def update!(**args)
|
|
3543
|
+
@apigee_x_target_details = args[:apigee_x_target_details] if args.key?(:apigee_x_target_details)
|
|
3544
|
+
@tools = args[:tools] if args.key?(:tools)
|
|
3545
|
+
end
|
|
3546
|
+
end
|
|
3547
|
+
|
|
3419
3548
|
# Details describing an MCP Tool.
|
|
3420
3549
|
class GoogleCloudApihubV1McpTool
|
|
3421
3550
|
include Google::Apis::Core::Hashable
|
|
@@ -3465,6 +3594,68 @@ module Google
|
|
|
3465
3594
|
end
|
|
3466
3595
|
end
|
|
3467
3596
|
|
|
3597
|
+
# A tool exposed by the MCP server. Each tool wraps exactly one API Hub
|
|
3598
|
+
# operation under a caller-supplied identifier.
|
|
3599
|
+
class GoogleCloudApihubV1McpToolConfig
|
|
3600
|
+
include Google::Apis::Core::Hashable
|
|
3601
|
+
|
|
3602
|
+
# Required. Description of what the tool does and how it is used. Description
|
|
3603
|
+
# serves as key reference for the agent to know about the tool capabilities.
|
|
3604
|
+
# Corresponds to the JSON property `description`
|
|
3605
|
+
# @return [String]
|
|
3606
|
+
attr_accessor :description
|
|
3607
|
+
|
|
3608
|
+
# API hub Operation config.
|
|
3609
|
+
# Corresponds to the JSON property `operation`
|
|
3610
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1OperationConfig]
|
|
3611
|
+
attr_accessor :operation
|
|
3612
|
+
|
|
3613
|
+
# Required. Caller-supplied identifier for the tool; each tool must have a
|
|
3614
|
+
# unique identifier. This will be by used by agents to invoke the tool. Tool ID
|
|
3615
|
+
# must be unique across all tools in the given MCP server configuration.
|
|
3616
|
+
# Corresponds to the JSON property `toolId`
|
|
3617
|
+
# @return [String]
|
|
3618
|
+
attr_accessor :tool_id
|
|
3619
|
+
|
|
3620
|
+
def initialize(**args)
|
|
3621
|
+
update!(**args)
|
|
3622
|
+
end
|
|
3623
|
+
|
|
3624
|
+
# Update properties of this object
|
|
3625
|
+
def update!(**args)
|
|
3626
|
+
@description = args[:description] if args.key?(:description)
|
|
3627
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
3628
|
+
@tool_id = args[:tool_id] if args.key?(:tool_id)
|
|
3629
|
+
end
|
|
3630
|
+
end
|
|
3631
|
+
|
|
3632
|
+
# Metadata for the server configuration in Apigee X.
|
|
3633
|
+
class GoogleCloudApihubV1MetaData
|
|
3634
|
+
include Google::Apis::Core::Hashable
|
|
3635
|
+
|
|
3636
|
+
# Optional. Description for the server. For apigee target, this will be used as
|
|
3637
|
+
# revision description.
|
|
3638
|
+
# Corresponds to the JSON property `description`
|
|
3639
|
+
# @return [String]
|
|
3640
|
+
attr_accessor :description
|
|
3641
|
+
|
|
3642
|
+
# Optional. Display name for the server. For apigee target, this will be used as
|
|
3643
|
+
# revision display name.
|
|
3644
|
+
# Corresponds to the JSON property `displayName`
|
|
3645
|
+
# @return [String]
|
|
3646
|
+
attr_accessor :display_name
|
|
3647
|
+
|
|
3648
|
+
def initialize(**args)
|
|
3649
|
+
update!(**args)
|
|
3650
|
+
end
|
|
3651
|
+
|
|
3652
|
+
# Update properties of this object
|
|
3653
|
+
def update!(**args)
|
|
3654
|
+
@description = args[:description] if args.key?(:description)
|
|
3655
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3656
|
+
end
|
|
3657
|
+
end
|
|
3658
|
+
|
|
3468
3659
|
# The config variable value of data type multi int.
|
|
3469
3660
|
class GoogleCloudApihubV1MultiIntValues
|
|
3470
3661
|
include Google::Apis::Core::Hashable
|
|
@@ -3581,6 +3772,33 @@ module Google
|
|
|
3581
3772
|
end
|
|
3582
3773
|
end
|
|
3583
3774
|
|
|
3775
|
+
# API hub Operation config.
|
|
3776
|
+
class GoogleCloudApihubV1OperationConfig
|
|
3777
|
+
include Google::Apis::Core::Hashable
|
|
3778
|
+
|
|
3779
|
+
# Identifies a single API Hub operation by spec resource name + HTTP path + HTTP
|
|
3780
|
+
# method.
|
|
3781
|
+
# Corresponds to the JSON property `httpOperation`
|
|
3782
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperationConfig]
|
|
3783
|
+
attr_accessor :http_operation
|
|
3784
|
+
|
|
3785
|
+
# Full API Hub operation resource name: `projects/`project`/locations/`location`/
|
|
3786
|
+
# apis/`api`/versions/`version`/operations/`operation``
|
|
3787
|
+
# Corresponds to the JSON property `operation`
|
|
3788
|
+
# @return [String]
|
|
3789
|
+
attr_accessor :operation
|
|
3790
|
+
|
|
3791
|
+
def initialize(**args)
|
|
3792
|
+
update!(**args)
|
|
3793
|
+
end
|
|
3794
|
+
|
|
3795
|
+
# Update properties of this object
|
|
3796
|
+
def update!(**args)
|
|
3797
|
+
@http_operation = args[:http_operation] if args.key?(:http_operation)
|
|
3798
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
3799
|
+
end
|
|
3800
|
+
end
|
|
3801
|
+
|
|
3584
3802
|
# The operation details parsed from the spec.
|
|
3585
3803
|
class GoogleCloudApihubV1OperationDetails
|
|
3586
3804
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ApihubV1
|
|
18
18
|
# Version of the google-apis-apihub_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.19.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260720"
|
|
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 GoogleCloudApihubV1ApigeeXTargetDetails
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
145
151
|
class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails
|
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
153
|
|
|
@@ -208,6 +214,12 @@ module Google
|
|
|
208
214
|
include Google::Apis::Core::JsonObjectSupport
|
|
209
215
|
end
|
|
210
216
|
|
|
217
|
+
class GoogleCloudApihubV1ConfigureAndDeployServerRequest
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
211
223
|
class GoogleCloudApihubV1Curation
|
|
212
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
225
|
|
|
@@ -400,6 +412,12 @@ module Google
|
|
|
400
412
|
include Google::Apis::Core::JsonObjectSupport
|
|
401
413
|
end
|
|
402
414
|
|
|
415
|
+
class GoogleCloudApihubV1HttpOperationConfig
|
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
+
|
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
+
end
|
|
420
|
+
|
|
403
421
|
class GoogleCloudApihubV1HttpOperationDetails
|
|
404
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
405
423
|
|
|
@@ -574,12 +592,30 @@ module Google
|
|
|
574
592
|
include Google::Apis::Core::JsonObjectSupport
|
|
575
593
|
end
|
|
576
594
|
|
|
595
|
+
class GoogleCloudApihubV1McpServerConfig
|
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
597
|
+
|
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
599
|
+
end
|
|
600
|
+
|
|
577
601
|
class GoogleCloudApihubV1McpTool
|
|
578
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
579
603
|
|
|
580
604
|
include Google::Apis::Core::JsonObjectSupport
|
|
581
605
|
end
|
|
582
606
|
|
|
607
|
+
class GoogleCloudApihubV1McpToolConfig
|
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
609
|
+
|
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
class GoogleCloudApihubV1MetaData
|
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
615
|
+
|
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
617
|
+
end
|
|
618
|
+
|
|
583
619
|
class GoogleCloudApihubV1MultiIntValues
|
|
584
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
585
621
|
|
|
@@ -610,6 +646,12 @@ module Google
|
|
|
610
646
|
include Google::Apis::Core::JsonObjectSupport
|
|
611
647
|
end
|
|
612
648
|
|
|
649
|
+
class GoogleCloudApihubV1OperationConfig
|
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
651
|
+
|
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
653
|
+
end
|
|
654
|
+
|
|
613
655
|
class GoogleCloudApihubV1OperationDetails
|
|
614
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
615
657
|
|
|
@@ -1108,6 +1150,18 @@ module Google
|
|
|
1108
1150
|
end
|
|
1109
1151
|
end
|
|
1110
1152
|
|
|
1153
|
+
class GoogleCloudApihubV1ApigeeXTargetDetails
|
|
1154
|
+
# @private
|
|
1155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1156
|
+
property :deployed_revision, as: 'deployedRevision'
|
|
1157
|
+
property :environment, as: 'environment'
|
|
1158
|
+
property :metadata, as: 'metadata', class: Google::Apis::ApihubV1::GoogleCloudApihubV1MetaData, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1MetaData::Representation
|
|
1159
|
+
|
|
1160
|
+
property :proxy, as: 'proxy'
|
|
1161
|
+
property :target_project, as: 'targetProject'
|
|
1162
|
+
end
|
|
1163
|
+
end
|
|
1164
|
+
|
|
1111
1165
|
class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails
|
|
1112
1166
|
# @private
|
|
1113
1167
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1250,6 +1304,14 @@ module Google
|
|
|
1250
1304
|
end
|
|
1251
1305
|
end
|
|
1252
1306
|
|
|
1307
|
+
class GoogleCloudApihubV1ConfigureAndDeployServerRequest
|
|
1308
|
+
# @private
|
|
1309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1310
|
+
property :mcp_server_config, as: 'mcpServerConfig', class: Google::Apis::ApihubV1::GoogleCloudApihubV1McpServerConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1McpServerConfig::Representation
|
|
1311
|
+
|
|
1312
|
+
end
|
|
1313
|
+
end
|
|
1314
|
+
|
|
1253
1315
|
class GoogleCloudApihubV1Curation
|
|
1254
1316
|
# @private
|
|
1255
1317
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1606,6 +1668,15 @@ module Google
|
|
|
1606
1668
|
end
|
|
1607
1669
|
end
|
|
1608
1670
|
|
|
1671
|
+
class GoogleCloudApihubV1HttpOperationConfig
|
|
1672
|
+
# @private
|
|
1673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1674
|
+
property :method_prop, as: 'method'
|
|
1675
|
+
property :path, as: 'path'
|
|
1676
|
+
property :spec, as: 'spec'
|
|
1677
|
+
end
|
|
1678
|
+
end
|
|
1679
|
+
|
|
1609
1680
|
class GoogleCloudApihubV1HttpOperationDetails
|
|
1610
1681
|
# @private
|
|
1611
1682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1873,6 +1944,16 @@ module Google
|
|
|
1873
1944
|
end
|
|
1874
1945
|
end
|
|
1875
1946
|
|
|
1947
|
+
class GoogleCloudApihubV1McpServerConfig
|
|
1948
|
+
# @private
|
|
1949
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1950
|
+
property :apigee_x_target_details, as: 'apigeeXTargetDetails', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeXTargetDetails, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeXTargetDetails::Representation
|
|
1951
|
+
|
|
1952
|
+
collection :tools, as: 'tools', class: Google::Apis::ApihubV1::GoogleCloudApihubV1McpToolConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1McpToolConfig::Representation
|
|
1953
|
+
|
|
1954
|
+
end
|
|
1955
|
+
end
|
|
1956
|
+
|
|
1876
1957
|
class GoogleCloudApihubV1McpTool
|
|
1877
1958
|
# @private
|
|
1878
1959
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1888,6 +1969,24 @@ module Google
|
|
|
1888
1969
|
end
|
|
1889
1970
|
end
|
|
1890
1971
|
|
|
1972
|
+
class GoogleCloudApihubV1McpToolConfig
|
|
1973
|
+
# @private
|
|
1974
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1975
|
+
property :description, as: 'description'
|
|
1976
|
+
property :operation, as: 'operation', class: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationConfig::Representation
|
|
1977
|
+
|
|
1978
|
+
property :tool_id, as: 'toolId'
|
|
1979
|
+
end
|
|
1980
|
+
end
|
|
1981
|
+
|
|
1982
|
+
class GoogleCloudApihubV1MetaData
|
|
1983
|
+
# @private
|
|
1984
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1985
|
+
property :description, as: 'description'
|
|
1986
|
+
property :display_name, as: 'displayName'
|
|
1987
|
+
end
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1891
1990
|
class GoogleCloudApihubV1MultiIntValues
|
|
1892
1991
|
# @private
|
|
1893
1992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1929,6 +2028,15 @@ module Google
|
|
|
1929
2028
|
end
|
|
1930
2029
|
end
|
|
1931
2030
|
|
|
2031
|
+
class GoogleCloudApihubV1OperationConfig
|
|
2032
|
+
# @private
|
|
2033
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2034
|
+
property :http_operation, as: 'httpOperation', class: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperationConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperationConfig::Representation
|
|
2035
|
+
|
|
2036
|
+
property :operation, as: 'operation'
|
|
2037
|
+
end
|
|
2038
|
+
end
|
|
2039
|
+
|
|
1932
2040
|
class GoogleCloudApihubV1OperationDetails
|
|
1933
2041
|
# @private
|
|
1934
2042
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4152,6 +4152,43 @@ module Google
|
|
|
4152
4152
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4153
4153
|
execute_or_queue_command(command, &block)
|
|
4154
4154
|
end
|
|
4155
|
+
|
|
4156
|
+
# Configures and deploys a given server config for given target. Currently this
|
|
4157
|
+
# API supports only deploying MCP server in Apigee X. For mcp server deployment
|
|
4158
|
+
# in apigee X, if there is already a mcp proxy deployed, then this method will
|
|
4159
|
+
# try to overwrite it by creating new revision i.e. all existing tools will be
|
|
4160
|
+
# removed and new set of tools will be deployed.
|
|
4161
|
+
# @param [String] parent
|
|
4162
|
+
# Required. Format: `projects/`project`/locations/`location``
|
|
4163
|
+
# @param [Google::Apis::ApihubV1::GoogleCloudApihubV1ConfigureAndDeployServerRequest] google_cloud_apihub_v1_configure_and_deploy_server_request_object
|
|
4164
|
+
# @param [String] fields
|
|
4165
|
+
# Selector specifying which fields to include in a partial response.
|
|
4166
|
+
# @param [String] quota_user
|
|
4167
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4168
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4169
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4170
|
+
# Request-specific options
|
|
4171
|
+
#
|
|
4172
|
+
# @yield [result, err] Result & error if block supplied
|
|
4173
|
+
# @yieldparam result [Google::Apis::ApihubV1::GoogleLongrunningOperation] parsed result object
|
|
4174
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4175
|
+
#
|
|
4176
|
+
# @return [Google::Apis::ApihubV1::GoogleLongrunningOperation]
|
|
4177
|
+
#
|
|
4178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4181
|
+
def configure_project_location_server_and_deploy_server(parent, google_cloud_apihub_v1_configure_and_deploy_server_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4182
|
+
command = make_simple_command(:post, 'v1/{+parent}/servers:configureAndDeployServer', options)
|
|
4183
|
+
command.request_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ConfigureAndDeployServerRequest::Representation
|
|
4184
|
+
command.request_object = google_cloud_apihub_v1_configure_and_deploy_server_request_object
|
|
4185
|
+
command.response_representation = Google::Apis::ApihubV1::GoogleLongrunningOperation::Representation
|
|
4186
|
+
command.response_class = Google::Apis::ApihubV1::GoogleLongrunningOperation
|
|
4187
|
+
command.params['parent'] = parent unless parent.nil?
|
|
4188
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4189
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4190
|
+
execute_or_queue_command(command, &block)
|
|
4191
|
+
end
|
|
4155
4192
|
|
|
4156
4193
|
protected
|
|
4157
4194
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-apihub_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.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-apihub_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apihub_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apihub_v1/v0.19.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apihub_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|