google-apis-apihub_v1 0.10.0 → 0.11.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/apihub_v1/classes.rb +347 -2
- data/lib/google/apis/apihub_v1/gem_version.rb +2 -2
- data/lib/google/apis/apihub_v1/representations.rb +158 -0
- data/lib/google/apis/apihub_v1/service.rb +116 -29
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c7f189f579454abb5c2f596191bdb2605b53b24c64f120855927f2189e4f006
|
|
4
|
+
data.tar.gz: b0218ffecd60bb0adb3737f629e1b3e78519f6050c6ebe5d67585746b1672931
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c53f69e5fb7575a6e28d548cea6203b1afd3ecf4596d4ac1fe8b659db9f36f3156d9cce656b915415c6e711542b17903dee327925692b76321d9beb7afc223a
|
|
7
|
+
data.tar.gz: 10a7c584c0ab4c6a98cf6231e4f4fc8001e42f2a36244e9bd0e87c0ebc17f704d1a36f4cb613097335a2b22a8bf8d83d4bf8fdf7744e7576f61a27e63c95654f
|
data/CHANGELOG.md
CHANGED
|
@@ -101,6 +101,50 @@ module Google
|
|
|
101
101
|
end
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
+
# The additional spec content for the spec. This contains the metadata and the
|
|
105
|
+
# last update time for the additional spec content.
|
|
106
|
+
class GoogleCloudApihubV1AdditionalSpecContent
|
|
107
|
+
include Google::Apis::Core::Hashable
|
|
108
|
+
|
|
109
|
+
# Output only. The time at which the spec content was created.
|
|
110
|
+
# Corresponds to the JSON property `createTime`
|
|
111
|
+
# @return [String]
|
|
112
|
+
attr_accessor :create_time
|
|
113
|
+
|
|
114
|
+
# Optional. The labels of the spec content e.g. specboost addon version.
|
|
115
|
+
# Corresponds to the JSON property `labels`
|
|
116
|
+
# @return [Hash<String,String>]
|
|
117
|
+
attr_accessor :labels
|
|
118
|
+
|
|
119
|
+
# Required. The type of the spec content.
|
|
120
|
+
# Corresponds to the JSON property `specContentType`
|
|
121
|
+
# @return [String]
|
|
122
|
+
attr_accessor :spec_content_type
|
|
123
|
+
|
|
124
|
+
# The spec contents.
|
|
125
|
+
# Corresponds to the JSON property `specContents`
|
|
126
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1SpecContents]
|
|
127
|
+
attr_accessor :spec_contents
|
|
128
|
+
|
|
129
|
+
# Output only. The time at which the spec content was last updated.
|
|
130
|
+
# Corresponds to the JSON property `updateTime`
|
|
131
|
+
# @return [String]
|
|
132
|
+
attr_accessor :update_time
|
|
133
|
+
|
|
134
|
+
def initialize(**args)
|
|
135
|
+
update!(**args)
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Update properties of this object
|
|
139
|
+
def update!(**args)
|
|
140
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
141
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
142
|
+
@spec_content_type = args[:spec_content_type] if args.key?(:spec_content_type)
|
|
143
|
+
@spec_contents = args[:spec_contents] if args.key?(:spec_contents)
|
|
144
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
104
148
|
# Addon resource.
|
|
105
149
|
class GoogleCloudApihubV1Addon
|
|
106
150
|
include Google::Apis::Core::Hashable
|
|
@@ -676,6 +720,33 @@ module Google
|
|
|
676
720
|
end
|
|
677
721
|
end
|
|
678
722
|
|
|
723
|
+
# The view of an API.
|
|
724
|
+
class GoogleCloudApihubV1ApiView
|
|
725
|
+
include Google::Apis::Core::Hashable
|
|
726
|
+
|
|
727
|
+
# A flattened view of an API, its version and one of the linked deployments.
|
|
728
|
+
# Corresponds to the JSON property `mcpServerView`
|
|
729
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1FlattenedApiVersionDeploymentView]
|
|
730
|
+
attr_accessor :mcp_server_view
|
|
731
|
+
|
|
732
|
+
# A flattened view of an API, its version, one of its operations and one of the
|
|
733
|
+
# linked deployments. If there are no deployments linked to the operation then
|
|
734
|
+
# the result will be empty.
|
|
735
|
+
# Corresponds to the JSON property `mcpToolView`
|
|
736
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView]
|
|
737
|
+
attr_accessor :mcp_tool_view
|
|
738
|
+
|
|
739
|
+
def initialize(**args)
|
|
740
|
+
update!(**args)
|
|
741
|
+
end
|
|
742
|
+
|
|
743
|
+
# Update properties of this object
|
|
744
|
+
def update!(**args)
|
|
745
|
+
@mcp_server_view = args[:mcp_server_view] if args.key?(:mcp_server_view)
|
|
746
|
+
@mcp_tool_view = args[:mcp_tool_view] if args.key?(:mcp_tool_view)
|
|
747
|
+
end
|
|
748
|
+
end
|
|
749
|
+
|
|
679
750
|
# Configuration for Apigee Edge gateways. Applicability of a filter is
|
|
680
751
|
# determined by the filter being provided. If none of the filters are provided
|
|
681
752
|
# the addon will be enabled for all data brought in by the gateway plugin
|
|
@@ -2214,6 +2285,111 @@ module Google
|
|
|
2214
2285
|
end
|
|
2215
2286
|
end
|
|
2216
2287
|
|
|
2288
|
+
# The FetchAdditionalSpecContent method's response.
|
|
2289
|
+
class GoogleCloudApihubV1FetchAdditionalSpecContentResponse
|
|
2290
|
+
include Google::Apis::Core::Hashable
|
|
2291
|
+
|
|
2292
|
+
# The additional spec content for the spec. This contains the metadata and the
|
|
2293
|
+
# last update time for the additional spec content.
|
|
2294
|
+
# Corresponds to the JSON property `additionalSpecContent`
|
|
2295
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AdditionalSpecContent]
|
|
2296
|
+
attr_accessor :additional_spec_content
|
|
2297
|
+
|
|
2298
|
+
def initialize(**args)
|
|
2299
|
+
update!(**args)
|
|
2300
|
+
end
|
|
2301
|
+
|
|
2302
|
+
# Update properties of this object
|
|
2303
|
+
def update!(**args)
|
|
2304
|
+
@additional_spec_content = args[:additional_spec_content] if args.key?(:additional_spec_content)
|
|
2305
|
+
end
|
|
2306
|
+
end
|
|
2307
|
+
|
|
2308
|
+
# A flattened view of an API, its version and one of the linked deployments.
|
|
2309
|
+
class GoogleCloudApihubV1FlattenedApiVersionDeploymentView
|
|
2310
|
+
include Google::Apis::Core::Hashable
|
|
2311
|
+
|
|
2312
|
+
# An API resource in the API Hub.
|
|
2313
|
+
# Corresponds to the JSON property `api`
|
|
2314
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Api]
|
|
2315
|
+
attr_accessor :api
|
|
2316
|
+
|
|
2317
|
+
# Details of the deployment where APIs are hosted. A deployment could represent
|
|
2318
|
+
# an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud
|
|
2319
|
+
# services as well. A deployment entity is a root level entity in the API hub
|
|
2320
|
+
# and exists independent of any API.
|
|
2321
|
+
# Corresponds to the JSON property `deployment`
|
|
2322
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment]
|
|
2323
|
+
attr_accessor :deployment
|
|
2324
|
+
|
|
2325
|
+
# Represents a version of the API resource in API hub. This is also referred to
|
|
2326
|
+
# as the API version.
|
|
2327
|
+
# Corresponds to the JSON property `version`
|
|
2328
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Version]
|
|
2329
|
+
attr_accessor :version
|
|
2330
|
+
|
|
2331
|
+
def initialize(**args)
|
|
2332
|
+
update!(**args)
|
|
2333
|
+
end
|
|
2334
|
+
|
|
2335
|
+
# Update properties of this object
|
|
2336
|
+
def update!(**args)
|
|
2337
|
+
@api = args[:api] if args.key?(:api)
|
|
2338
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
2339
|
+
@version = args[:version] if args.key?(:version)
|
|
2340
|
+
end
|
|
2341
|
+
end
|
|
2342
|
+
|
|
2343
|
+
# A flattened view of an API, its version, one of its operations and one of the
|
|
2344
|
+
# linked deployments. If there are no deployments linked to the operation then
|
|
2345
|
+
# the result will be empty.
|
|
2346
|
+
class GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView
|
|
2347
|
+
include Google::Apis::Core::Hashable
|
|
2348
|
+
|
|
2349
|
+
# An API resource in the API Hub.
|
|
2350
|
+
# Corresponds to the JSON property `api`
|
|
2351
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Api]
|
|
2352
|
+
attr_accessor :api
|
|
2353
|
+
|
|
2354
|
+
# Represents an operation contained in an API version in the API Hub. An
|
|
2355
|
+
# operation is added/updated/deleted in an API version when a new spec is added
|
|
2356
|
+
# or an existing spec is updated/deleted in a version. Currently, an operation
|
|
2357
|
+
# will be created only corresponding to OpenAPI spec as parsing is supported for
|
|
2358
|
+
# OpenAPI spec. Alternatively operations can be managed via create,update and
|
|
2359
|
+
# delete APIs, creation of apiOperation can be possible only for version with no
|
|
2360
|
+
# parsed operations and update/delete can be possible only for operations
|
|
2361
|
+
# created via create API.
|
|
2362
|
+
# Corresponds to the JSON property `apiOperation`
|
|
2363
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ApiOperation]
|
|
2364
|
+
attr_accessor :api_operation
|
|
2365
|
+
|
|
2366
|
+
# Details of the deployment where APIs are hosted. A deployment could represent
|
|
2367
|
+
# an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud
|
|
2368
|
+
# services as well. A deployment entity is a root level entity in the API hub
|
|
2369
|
+
# and exists independent of any API.
|
|
2370
|
+
# Corresponds to the JSON property `deployment`
|
|
2371
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment]
|
|
2372
|
+
attr_accessor :deployment
|
|
2373
|
+
|
|
2374
|
+
# Represents a version of the API resource in API hub. This is also referred to
|
|
2375
|
+
# as the API version.
|
|
2376
|
+
# Corresponds to the JSON property `version`
|
|
2377
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Version]
|
|
2378
|
+
attr_accessor :version
|
|
2379
|
+
|
|
2380
|
+
def initialize(**args)
|
|
2381
|
+
update!(**args)
|
|
2382
|
+
end
|
|
2383
|
+
|
|
2384
|
+
# Update properties of this object
|
|
2385
|
+
def update!(**args)
|
|
2386
|
+
@api = args[:api] if args.key?(:api)
|
|
2387
|
+
@api_operation = args[:api_operation] if args.key?(:api_operation)
|
|
2388
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
|
2389
|
+
@version = args[:version] if args.key?(:version)
|
|
2390
|
+
end
|
|
2391
|
+
end
|
|
2392
|
+
|
|
2217
2393
|
# Configuration for gateway plugin addons. This is used to specify the list of
|
|
2218
2394
|
# gateway plugin configs for which the addon is enabled.
|
|
2219
2395
|
class GoogleCloudApihubV1GatewayPluginAddonConfig
|
|
@@ -2575,6 +2751,13 @@ module Google
|
|
|
2575
2751
|
# @return [String]
|
|
2576
2752
|
attr_accessor :result
|
|
2577
2753
|
|
|
2754
|
+
# Output only. The result metadata of the last execution of the plugin instance.
|
|
2755
|
+
# This will be a string representation of a JSON object and will be available on
|
|
2756
|
+
# successful execution.
|
|
2757
|
+
# Corresponds to the JSON property `resultMetadata`
|
|
2758
|
+
# @return [String]
|
|
2759
|
+
attr_accessor :result_metadata
|
|
2760
|
+
|
|
2578
2761
|
# Output only. The last execution start time of the plugin instance.
|
|
2579
2762
|
# Corresponds to the JSON property `startTime`
|
|
2580
2763
|
# @return [String]
|
|
@@ -2589,6 +2772,7 @@ module Google
|
|
|
2589
2772
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
2590
2773
|
@error_message = args[:error_message] if args.key?(:error_message)
|
|
2591
2774
|
@result = args[:result] if args.key?(:result)
|
|
2775
|
+
@result_metadata = args[:result_metadata] if args.key?(:result_metadata)
|
|
2592
2776
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
2593
2777
|
end
|
|
2594
2778
|
end
|
|
@@ -3205,6 +3389,55 @@ module Google
|
|
|
3205
3389
|
end
|
|
3206
3390
|
end
|
|
3207
3391
|
|
|
3392
|
+
# Details describing an MCP Tool.
|
|
3393
|
+
class GoogleCloudApihubV1McpTool
|
|
3394
|
+
include Google::Apis::Core::Hashable
|
|
3395
|
+
|
|
3396
|
+
# Annotations for a Tool.
|
|
3397
|
+
# Corresponds to the JSON property `annotations`
|
|
3398
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ToolAnnotations]
|
|
3399
|
+
attr_accessor :annotations
|
|
3400
|
+
|
|
3401
|
+
# Optional. Description of what the tool does.
|
|
3402
|
+
# Corresponds to the JSON property `description`
|
|
3403
|
+
# @return [String]
|
|
3404
|
+
attr_accessor :description
|
|
3405
|
+
|
|
3406
|
+
# The operation schema needed for an operation.
|
|
3407
|
+
# Corresponds to the JSON property `inputSchema`
|
|
3408
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema]
|
|
3409
|
+
attr_accessor :input_schema
|
|
3410
|
+
|
|
3411
|
+
# Required. The name of the tool, unique within its parent scope (version).
|
|
3412
|
+
# Corresponds to the JSON property `name`
|
|
3413
|
+
# @return [String]
|
|
3414
|
+
attr_accessor :name
|
|
3415
|
+
|
|
3416
|
+
# The operation schema needed for an operation.
|
|
3417
|
+
# Corresponds to the JSON property `outputSchema`
|
|
3418
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema]
|
|
3419
|
+
attr_accessor :output_schema
|
|
3420
|
+
|
|
3421
|
+
# Optional. Optional title for the tool.
|
|
3422
|
+
# Corresponds to the JSON property `title`
|
|
3423
|
+
# @return [String]
|
|
3424
|
+
attr_accessor :title
|
|
3425
|
+
|
|
3426
|
+
def initialize(**args)
|
|
3427
|
+
update!(**args)
|
|
3428
|
+
end
|
|
3429
|
+
|
|
3430
|
+
# Update properties of this object
|
|
3431
|
+
def update!(**args)
|
|
3432
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
3433
|
+
@description = args[:description] if args.key?(:description)
|
|
3434
|
+
@input_schema = args[:input_schema] if args.key?(:input_schema)
|
|
3435
|
+
@name = args[:name] if args.key?(:name)
|
|
3436
|
+
@output_schema = args[:output_schema] if args.key?(:output_schema)
|
|
3437
|
+
@title = args[:title] if args.key?(:title)
|
|
3438
|
+
end
|
|
3439
|
+
end
|
|
3440
|
+
|
|
3208
3441
|
# The config variable value of data type multi int.
|
|
3209
3442
|
class GoogleCloudApihubV1MultiIntValues
|
|
3210
3443
|
include Google::Apis::Core::Hashable
|
|
@@ -3349,6 +3582,11 @@ module Google
|
|
|
3349
3582
|
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation]
|
|
3350
3583
|
attr_accessor :http_operation
|
|
3351
3584
|
|
|
3585
|
+
# Details describing an MCP Tool.
|
|
3586
|
+
# Corresponds to the JSON property `mcpTool`
|
|
3587
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1McpTool]
|
|
3588
|
+
attr_accessor :mcp_tool
|
|
3589
|
+
|
|
3352
3590
|
def initialize(**args)
|
|
3353
3591
|
update!(**args)
|
|
3354
3592
|
end
|
|
@@ -3359,6 +3597,7 @@ module Google
|
|
|
3359
3597
|
@description = args[:description] if args.key?(:description)
|
|
3360
3598
|
@documentation = args[:documentation] if args.key?(:documentation)
|
|
3361
3599
|
@http_operation = args[:http_operation] if args.key?(:http_operation)
|
|
3600
|
+
@mcp_tool = args[:mcp_tool] if args.key?(:mcp_tool)
|
|
3362
3601
|
end
|
|
3363
3602
|
end
|
|
3364
3603
|
|
|
@@ -3421,6 +3660,26 @@ module Google
|
|
|
3421
3660
|
end
|
|
3422
3661
|
end
|
|
3423
3662
|
|
|
3663
|
+
# The operation schema needed for an operation.
|
|
3664
|
+
class GoogleCloudApihubV1OperationSchema
|
|
3665
|
+
include Google::Apis::Core::Hashable
|
|
3666
|
+
|
|
3667
|
+
# The JSON schema. Only valid JSON is accepted but semantic validation of schema
|
|
3668
|
+
# is not supported right now.
|
|
3669
|
+
# Corresponds to the JSON property `jsonSchema`
|
|
3670
|
+
# @return [Hash<String,Object>]
|
|
3671
|
+
attr_accessor :json_schema
|
|
3672
|
+
|
|
3673
|
+
def initialize(**args)
|
|
3674
|
+
update!(**args)
|
|
3675
|
+
end
|
|
3676
|
+
|
|
3677
|
+
# Update properties of this object
|
|
3678
|
+
def update!(**args)
|
|
3679
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
|
3680
|
+
end
|
|
3681
|
+
end
|
|
3682
|
+
|
|
3424
3683
|
# Owner details.
|
|
3425
3684
|
class GoogleCloudApihubV1Owner
|
|
3426
3685
|
include Google::Apis::Core::Hashable
|
|
@@ -3966,6 +4225,31 @@ module Google
|
|
|
3966
4225
|
end
|
|
3967
4226
|
end
|
|
3968
4227
|
|
|
4228
|
+
# The RetrieveApiViews method's response.
|
|
4229
|
+
class GoogleCloudApihubV1RetrieveApiViewsResponse
|
|
4230
|
+
include Google::Apis::Core::Hashable
|
|
4231
|
+
|
|
4232
|
+
# The list of API views.
|
|
4233
|
+
# Corresponds to the JSON property `apiViews`
|
|
4234
|
+
# @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1ApiView>]
|
|
4235
|
+
attr_accessor :api_views
|
|
4236
|
+
|
|
4237
|
+
# Next page token.
|
|
4238
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
4239
|
+
# @return [String]
|
|
4240
|
+
attr_accessor :next_page_token
|
|
4241
|
+
|
|
4242
|
+
def initialize(**args)
|
|
4243
|
+
update!(**args)
|
|
4244
|
+
end
|
|
4245
|
+
|
|
4246
|
+
# Update properties of this object
|
|
4247
|
+
def update!(**args)
|
|
4248
|
+
@api_views = args[:api_views] if args.key?(:api_views)
|
|
4249
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4250
|
+
end
|
|
4251
|
+
end
|
|
4252
|
+
|
|
3969
4253
|
# Runtime project attachment represents an attachment from the runtime project
|
|
3970
4254
|
# to the host project. Api Hub looks for deployments in the attached runtime
|
|
3971
4255
|
# projects and creates corresponding resources in Api Hub for the discovered
|
|
@@ -4249,6 +4533,11 @@ module Google
|
|
|
4249
4533
|
class GoogleCloudApihubV1Spec
|
|
4250
4534
|
include Google::Apis::Core::Hashable
|
|
4251
4535
|
|
|
4536
|
+
# Output only. The additional spec contents for the spec.
|
|
4537
|
+
# Corresponds to the JSON property `additionalSpecContents`
|
|
4538
|
+
# @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1AdditionalSpecContent>]
|
|
4539
|
+
attr_accessor :additional_spec_contents
|
|
4540
|
+
|
|
4252
4541
|
# Optional. The list of user defined attributes associated with the spec. The
|
|
4253
4542
|
# key is the attribute name. It will be of the format: `projects/`project`/
|
|
4254
4543
|
# locations/`location`/attributes/`attribute``. The value is the attribute
|
|
@@ -4327,6 +4616,7 @@ module Google
|
|
|
4327
4616
|
|
|
4328
4617
|
# Update properties of this object
|
|
4329
4618
|
def update!(**args)
|
|
4619
|
+
@additional_spec_contents = args[:additional_spec_contents] if args.key?(:additional_spec_contents)
|
|
4330
4620
|
@attributes = args[:attributes] if args.key?(:attributes)
|
|
4331
4621
|
@contents = args[:contents] if args.key?(:contents)
|
|
4332
4622
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
@@ -4539,6 +4829,60 @@ module Google
|
|
|
4539
4829
|
end
|
|
4540
4830
|
end
|
|
4541
4831
|
|
|
4832
|
+
# Annotations for a Tool.
|
|
4833
|
+
class GoogleCloudApihubV1ToolAnnotations
|
|
4834
|
+
include Google::Apis::Core::Hashable
|
|
4835
|
+
|
|
4836
|
+
# Optional. Additional hints which may help tools and not covered in defaults.
|
|
4837
|
+
# Corresponds to the JSON property `additionalHints`
|
|
4838
|
+
# @return [Hash<String,String>]
|
|
4839
|
+
attr_accessor :additional_hints
|
|
4840
|
+
|
|
4841
|
+
# Optional. Hint indicating if the tool may have destructive side effects.
|
|
4842
|
+
# Corresponds to the JSON property `destructiveHint`
|
|
4843
|
+
# @return [Boolean]
|
|
4844
|
+
attr_accessor :destructive_hint
|
|
4845
|
+
alias_method :destructive_hint?, :destructive_hint
|
|
4846
|
+
|
|
4847
|
+
# Optional. Hint indicating if the tool is idempotent.
|
|
4848
|
+
# Corresponds to the JSON property `idempotentHint`
|
|
4849
|
+
# @return [Boolean]
|
|
4850
|
+
attr_accessor :idempotent_hint
|
|
4851
|
+
alias_method :idempotent_hint?, :idempotent_hint
|
|
4852
|
+
|
|
4853
|
+
# Optional. Hint indicating if the tool interacts with the open world (e.g.,
|
|
4854
|
+
# internet).
|
|
4855
|
+
# Corresponds to the JSON property `openWorldHint`
|
|
4856
|
+
# @return [Boolean]
|
|
4857
|
+
attr_accessor :open_world_hint
|
|
4858
|
+
alias_method :open_world_hint?, :open_world_hint
|
|
4859
|
+
|
|
4860
|
+
# Optional. Hint indicating if the tool is read-only.
|
|
4861
|
+
# Corresponds to the JSON property `readOnlyHint`
|
|
4862
|
+
# @return [Boolean]
|
|
4863
|
+
attr_accessor :read_only_hint
|
|
4864
|
+
alias_method :read_only_hint?, :read_only_hint
|
|
4865
|
+
|
|
4866
|
+
# Optional. A human-readable title for the tool (if different from Tool.title).
|
|
4867
|
+
# Corresponds to the JSON property `title`
|
|
4868
|
+
# @return [String]
|
|
4869
|
+
attr_accessor :title
|
|
4870
|
+
|
|
4871
|
+
def initialize(**args)
|
|
4872
|
+
update!(**args)
|
|
4873
|
+
end
|
|
4874
|
+
|
|
4875
|
+
# Update properties of this object
|
|
4876
|
+
def update!(**args)
|
|
4877
|
+
@additional_hints = args[:additional_hints] if args.key?(:additional_hints)
|
|
4878
|
+
@destructive_hint = args[:destructive_hint] if args.key?(:destructive_hint)
|
|
4879
|
+
@idempotent_hint = args[:idempotent_hint] if args.key?(:idempotent_hint)
|
|
4880
|
+
@open_world_hint = args[:open_world_hint] if args.key?(:open_world_hint)
|
|
4881
|
+
@read_only_hint = args[:read_only_hint] if args.key?(:read_only_hint)
|
|
4882
|
+
@title = args[:title] if args.key?(:title)
|
|
4883
|
+
end
|
|
4884
|
+
end
|
|
4885
|
+
|
|
4542
4886
|
# Parameters to support Username and Password Authentication.
|
|
4543
4887
|
class GoogleCloudApihubV1UserPasswordConfig
|
|
4544
4888
|
include Google::Apis::Core::Hashable
|
|
@@ -4905,8 +5249,9 @@ module Google
|
|
|
4905
5249
|
attr_accessor :operations
|
|
4906
5250
|
|
|
4907
5251
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
4908
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
4909
|
-
# when attempting to list all resources across all supported
|
|
5252
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
5253
|
+
# For example, when attempting to list all resources across all supported
|
|
5254
|
+
# locations.
|
|
4910
5255
|
# Corresponds to the JSON property `unreachable`
|
|
4911
5256
|
# @return [Array<String>]
|
|
4912
5257
|
attr_accessor :unreachable
|
|
@@ -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.11.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 = "20251205"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -40,6 +40,12 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
class GoogleCloudApihubV1AdditionalSpecContent
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
43
49
|
class GoogleCloudApihubV1Addon
|
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
51
|
|
|
@@ -106,6 +112,12 @@ module Google
|
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
113
|
end
|
|
108
114
|
|
|
115
|
+
class GoogleCloudApihubV1ApiView
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
109
121
|
class GoogleCloudApihubV1ApigeeEdgeConfig
|
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
123
|
|
|
@@ -322,6 +334,24 @@ module Google
|
|
|
322
334
|
include Google::Apis::Core::JsonObjectSupport
|
|
323
335
|
end
|
|
324
336
|
|
|
337
|
+
class GoogleCloudApihubV1FetchAdditionalSpecContentResponse
|
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
|
+
|
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
class GoogleCloudApihubV1FlattenedApiVersionDeploymentView
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
class GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
325
355
|
class GoogleCloudApihubV1GatewayPluginAddonConfig
|
|
326
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
357
|
|
|
@@ -538,6 +568,12 @@ module Google
|
|
|
538
568
|
include Google::Apis::Core::JsonObjectSupport
|
|
539
569
|
end
|
|
540
570
|
|
|
571
|
+
class GoogleCloudApihubV1McpTool
|
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
573
|
+
|
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
575
|
+
end
|
|
576
|
+
|
|
541
577
|
class GoogleCloudApihubV1MultiIntValues
|
|
542
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
543
579
|
|
|
@@ -580,6 +616,12 @@ module Google
|
|
|
580
616
|
include Google::Apis::Core::JsonObjectSupport
|
|
581
617
|
end
|
|
582
618
|
|
|
619
|
+
class GoogleCloudApihubV1OperationSchema
|
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
621
|
+
|
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
623
|
+
end
|
|
624
|
+
|
|
583
625
|
class GoogleCloudApihubV1Owner
|
|
584
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
585
627
|
|
|
@@ -658,6 +700,12 @@ module Google
|
|
|
658
700
|
include Google::Apis::Core::JsonObjectSupport
|
|
659
701
|
end
|
|
660
702
|
|
|
703
|
+
class GoogleCloudApihubV1RetrieveApiViewsResponse
|
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
705
|
+
|
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
707
|
+
end
|
|
708
|
+
|
|
661
709
|
class GoogleCloudApihubV1RuntimeProjectAttachment
|
|
662
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
663
711
|
|
|
@@ -754,6 +802,12 @@ module Google
|
|
|
754
802
|
include Google::Apis::Core::JsonObjectSupport
|
|
755
803
|
end
|
|
756
804
|
|
|
805
|
+
class GoogleCloudApihubV1ToolAnnotations
|
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
807
|
+
|
|
808
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
809
|
+
end
|
|
810
|
+
|
|
757
811
|
class GoogleCloudApihubV1UserPasswordConfig
|
|
758
812
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
759
813
|
|
|
@@ -840,6 +894,18 @@ module Google
|
|
|
840
894
|
end
|
|
841
895
|
end
|
|
842
896
|
|
|
897
|
+
class GoogleCloudApihubV1AdditionalSpecContent
|
|
898
|
+
# @private
|
|
899
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
900
|
+
property :create_time, as: 'createTime'
|
|
901
|
+
hash :labels, as: 'labels'
|
|
902
|
+
property :spec_content_type, as: 'specContentType'
|
|
903
|
+
property :spec_contents, as: 'specContents', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SpecContents, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SpecContents::Representation
|
|
904
|
+
|
|
905
|
+
property :update_time, as: 'updateTime'
|
|
906
|
+
end
|
|
907
|
+
end
|
|
908
|
+
|
|
843
909
|
class GoogleCloudApihubV1Addon
|
|
844
910
|
# @private
|
|
845
911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -995,6 +1061,16 @@ module Google
|
|
|
995
1061
|
end
|
|
996
1062
|
end
|
|
997
1063
|
|
|
1064
|
+
class GoogleCloudApihubV1ApiView
|
|
1065
|
+
# @private
|
|
1066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1067
|
+
property :mcp_server_view, as: 'mcpServerView', class: Google::Apis::ApihubV1::GoogleCloudApihubV1FlattenedApiVersionDeploymentView, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1FlattenedApiVersionDeploymentView::Representation
|
|
1068
|
+
|
|
1069
|
+
property :mcp_tool_view, as: 'mcpToolView', class: Google::Apis::ApihubV1::GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView::Representation
|
|
1070
|
+
|
|
1071
|
+
end
|
|
1072
|
+
end
|
|
1073
|
+
|
|
998
1074
|
class GoogleCloudApihubV1ApigeeEdgeConfig
|
|
999
1075
|
# @private
|
|
1000
1076
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1419,6 +1495,40 @@ module Google
|
|
|
1419
1495
|
end
|
|
1420
1496
|
end
|
|
1421
1497
|
|
|
1498
|
+
class GoogleCloudApihubV1FetchAdditionalSpecContentResponse
|
|
1499
|
+
# @private
|
|
1500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1501
|
+
property :additional_spec_content, as: 'additionalSpecContent', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AdditionalSpecContent, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AdditionalSpecContent::Representation
|
|
1502
|
+
|
|
1503
|
+
end
|
|
1504
|
+
end
|
|
1505
|
+
|
|
1506
|
+
class GoogleCloudApihubV1FlattenedApiVersionDeploymentView
|
|
1507
|
+
# @private
|
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1509
|
+
property :api, as: 'api', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Api, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Api::Representation
|
|
1510
|
+
|
|
1511
|
+
property :deployment, as: 'deployment', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment::Representation
|
|
1512
|
+
|
|
1513
|
+
property :version, as: 'version', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Version, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Version::Representation
|
|
1514
|
+
|
|
1515
|
+
end
|
|
1516
|
+
end
|
|
1517
|
+
|
|
1518
|
+
class GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView
|
|
1519
|
+
# @private
|
|
1520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1521
|
+
property :api, as: 'api', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Api, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Api::Representation
|
|
1522
|
+
|
|
1523
|
+
property :api_operation, as: 'apiOperation', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ApiOperation, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ApiOperation::Representation
|
|
1524
|
+
|
|
1525
|
+
property :deployment, as: 'deployment', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Deployment::Representation
|
|
1526
|
+
|
|
1527
|
+
property :version, as: 'version', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Version, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Version::Representation
|
|
1528
|
+
|
|
1529
|
+
end
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1422
1532
|
class GoogleCloudApihubV1GatewayPluginAddonConfig
|
|
1423
1533
|
# @private
|
|
1424
1534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1532,6 +1642,7 @@ module Google
|
|
|
1532
1642
|
property :end_time, as: 'endTime'
|
|
1533
1643
|
property :error_message, as: 'errorMessage'
|
|
1534
1644
|
property :result, as: 'result'
|
|
1645
|
+
property :result_metadata, as: 'resultMetadata'
|
|
1535
1646
|
property :start_time, as: 'startTime'
|
|
1536
1647
|
end
|
|
1537
1648
|
end
|
|
@@ -1747,6 +1858,21 @@ module Google
|
|
|
1747
1858
|
end
|
|
1748
1859
|
end
|
|
1749
1860
|
|
|
1861
|
+
class GoogleCloudApihubV1McpTool
|
|
1862
|
+
# @private
|
|
1863
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1864
|
+
property :annotations, as: 'annotations', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ToolAnnotations, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ToolAnnotations::Representation
|
|
1865
|
+
|
|
1866
|
+
property :description, as: 'description'
|
|
1867
|
+
property :input_schema, as: 'inputSchema', class: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema::Representation
|
|
1868
|
+
|
|
1869
|
+
property :name, as: 'name'
|
|
1870
|
+
property :output_schema, as: 'outputSchema', class: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationSchema::Representation
|
|
1871
|
+
|
|
1872
|
+
property :title, as: 'title'
|
|
1873
|
+
end
|
|
1874
|
+
end
|
|
1875
|
+
|
|
1750
1876
|
class GoogleCloudApihubV1MultiIntValues
|
|
1751
1877
|
# @private
|
|
1752
1878
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1797,6 +1923,8 @@ module Google
|
|
|
1797
1923
|
|
|
1798
1924
|
property :http_operation, as: 'httpOperation', class: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation::Representation
|
|
1799
1925
|
|
|
1926
|
+
property :mcp_tool, as: 'mcpTool', class: Google::Apis::ApihubV1::GoogleCloudApihubV1McpTool, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1McpTool::Representation
|
|
1927
|
+
|
|
1800
1928
|
end
|
|
1801
1929
|
end
|
|
1802
1930
|
|
|
@@ -1813,6 +1941,13 @@ module Google
|
|
|
1813
1941
|
end
|
|
1814
1942
|
end
|
|
1815
1943
|
|
|
1944
|
+
class GoogleCloudApihubV1OperationSchema
|
|
1945
|
+
# @private
|
|
1946
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1947
|
+
hash :json_schema, as: 'jsonSchema'
|
|
1948
|
+
end
|
|
1949
|
+
end
|
|
1950
|
+
|
|
1816
1951
|
class GoogleCloudApihubV1Owner
|
|
1817
1952
|
# @private
|
|
1818
1953
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1961,6 +2096,15 @@ module Google
|
|
|
1961
2096
|
end
|
|
1962
2097
|
end
|
|
1963
2098
|
|
|
2099
|
+
class GoogleCloudApihubV1RetrieveApiViewsResponse
|
|
2100
|
+
# @private
|
|
2101
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2102
|
+
collection :api_views, as: 'apiViews', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ApiView, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ApiView::Representation
|
|
2103
|
+
|
|
2104
|
+
property :next_page_token, as: 'nextPageToken'
|
|
2105
|
+
end
|
|
2106
|
+
end
|
|
2107
|
+
|
|
1964
2108
|
class GoogleCloudApihubV1RuntimeProjectAttachment
|
|
1965
2109
|
# @private
|
|
1966
2110
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2037,6 +2181,8 @@ module Google
|
|
|
2037
2181
|
class GoogleCloudApihubV1Spec
|
|
2038
2182
|
# @private
|
|
2039
2183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2184
|
+
collection :additional_spec_contents, as: 'additionalSpecContents', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AdditionalSpecContent, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AdditionalSpecContent::Representation
|
|
2185
|
+
|
|
2040
2186
|
hash :attributes, as: 'attributes', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues::Representation
|
|
2041
2187
|
|
|
2042
2188
|
property :contents, as: 'contents', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SpecContents, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SpecContents::Representation
|
|
@@ -2121,6 +2267,18 @@ module Google
|
|
|
2121
2267
|
end
|
|
2122
2268
|
end
|
|
2123
2269
|
|
|
2270
|
+
class GoogleCloudApihubV1ToolAnnotations
|
|
2271
|
+
# @private
|
|
2272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2273
|
+
hash :additional_hints, as: 'additionalHints'
|
|
2274
|
+
property :destructive_hint, as: 'destructiveHint'
|
|
2275
|
+
property :idempotent_hint, as: 'idempotentHint'
|
|
2276
|
+
property :open_world_hint, as: 'openWorldHint'
|
|
2277
|
+
property :read_only_hint, as: 'readOnlyHint'
|
|
2278
|
+
property :title, as: 'title'
|
|
2279
|
+
end
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2124
2282
|
class GoogleCloudApihubV1UserPasswordConfig
|
|
2125
2283
|
# @private
|
|
2126
2284
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -195,6 +195,50 @@ module Google
|
|
|
195
195
|
execute_or_queue_command(command, &block)
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
+
# Retrieve API views.
|
|
199
|
+
# @param [String] parent
|
|
200
|
+
# Required. The parent resource name. Format: `projects/`project`/locations/`
|
|
201
|
+
# location``.
|
|
202
|
+
# @param [String] filter
|
|
203
|
+
# Optional. The filter expression.
|
|
204
|
+
# @param [Fixnum] page_size
|
|
205
|
+
# Optional. The maximum number of results to return. Default to 100.
|
|
206
|
+
# @param [String] page_token
|
|
207
|
+
# Optional. A page token, received from a previous `RetrieveApiViews` call.
|
|
208
|
+
# Provide this to retrieve the subsequent page.
|
|
209
|
+
# @param [String] view
|
|
210
|
+
# Required. The view type to return.
|
|
211
|
+
# @param [String] fields
|
|
212
|
+
# Selector specifying which fields to include in a partial response.
|
|
213
|
+
# @param [String] quota_user
|
|
214
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
215
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
216
|
+
# @param [Google::Apis::RequestOptions] options
|
|
217
|
+
# Request-specific options
|
|
218
|
+
#
|
|
219
|
+
# @yield [result, err] Result & error if block supplied
|
|
220
|
+
# @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1RetrieveApiViewsResponse] parsed result object
|
|
221
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
222
|
+
#
|
|
223
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1RetrieveApiViewsResponse]
|
|
224
|
+
#
|
|
225
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
226
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
227
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
228
|
+
def retrieve_project_location_api_views(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
229
|
+
command = make_simple_command(:get, 'v1/{+parent}:retrieveApiViews', options)
|
|
230
|
+
command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1RetrieveApiViewsResponse::Representation
|
|
231
|
+
command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1RetrieveApiViewsResponse
|
|
232
|
+
command.params['parent'] = parent unless parent.nil?
|
|
233
|
+
command.query['filter'] = filter unless filter.nil?
|
|
234
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
235
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
236
|
+
command.query['view'] = view unless view.nil?
|
|
237
|
+
command.query['fields'] = fields unless fields.nil?
|
|
238
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
239
|
+
execute_or_queue_command(command, &block)
|
|
240
|
+
end
|
|
241
|
+
|
|
198
242
|
# Search across API-Hub resources.
|
|
199
243
|
# @param [String] location
|
|
200
244
|
# Required. The resource name of the location which will be of the type `
|
|
@@ -654,9 +698,13 @@ module Google
|
|
|
654
698
|
# id of the resource name. For example, `id(name) = \"api-1\"` is equivalent to `
|
|
655
699
|
# name = \"projects/test-project-id/locations/test-location-id/apis/api-1\"`
|
|
656
700
|
# provided the parent is `projects/test-project-id/locations/test-location-id`.
|
|
657
|
-
#
|
|
658
|
-
#
|
|
659
|
-
#
|
|
701
|
+
# Another supported filter function is `plugins(source_metadata)`. This function
|
|
702
|
+
# filters for resources that are associated with a specific plugin. For example,
|
|
703
|
+
# `plugins(source_metadata) : "projects/test-project-id/locations/test-location-
|
|
704
|
+
# id/plugins/test-plugin-id"` will return resources sourced from the given
|
|
705
|
+
# plugin. Expressions are combined with either `AND` logic operator or `OR`
|
|
706
|
+
# logical operator but not both of them together i.e. only one of the `AND` or `
|
|
707
|
+
# OR` operator can be used throughout the filter string and both the operators
|
|
660
708
|
# cannot be used together. No other logical operators are supported. At most
|
|
661
709
|
# three filter fields are allowed in the filter string and if provided more than
|
|
662
710
|
# that then `INVALID_ARGUMENT` error is returned by the API. Here are a few
|
|
@@ -1265,14 +1313,15 @@ module Google
|
|
|
1265
1313
|
# ApiOperation resource can be updated: * details.description * details.
|
|
1266
1314
|
# documentation * details.http_operation.path * details.http_operation.method *
|
|
1267
1315
|
# details.deprecated * attributes * details.mcp_tool.title * details.mcp_tool.
|
|
1268
|
-
# description * details.input_schema * details.output_schema *
|
|
1269
|
-
#
|
|
1270
|
-
# mcp_tool.annotations.
|
|
1271
|
-
#
|
|
1272
|
-
# mcp_tool.annotations.
|
|
1273
|
-
#
|
|
1274
|
-
# operation
|
|
1275
|
-
#
|
|
1316
|
+
# description * details.mcp_tool.input_schema * details.mcp_tool.output_schema *
|
|
1317
|
+
# details.input_schema * details.output_schema * details.mcp_tool.annotations.
|
|
1318
|
+
# title * details.mcp_tool.annotations.read_only_hint * details.mcp_tool.
|
|
1319
|
+
# annotations.destructive_hint * details.mcp_tool.annotations.idempotent_hint *
|
|
1320
|
+
# details.mcp_tool.annotations.open_world_hint * details.mcp_tool.annotations.
|
|
1321
|
+
# additional_hints The update_mask should be used to specify the fields being
|
|
1322
|
+
# updated. An operation can be updated only if the operation was created via
|
|
1323
|
+
# CreateApiOperation API. If the operation was created by parsing the spec, then
|
|
1324
|
+
# it can be edited by updating the spec.
|
|
1276
1325
|
# @param [String] name
|
|
1277
1326
|
# Identifier. The name of the operation. Format: `projects/`project`/locations/`
|
|
1278
1327
|
# location`/apis/`api`/versions/`version`/operations/`operation``
|
|
@@ -1397,6 +1446,41 @@ module Google
|
|
|
1397
1446
|
execute_or_queue_command(command, &block)
|
|
1398
1447
|
end
|
|
1399
1448
|
|
|
1449
|
+
# Fetch additional spec content.
|
|
1450
|
+
# @param [String] name
|
|
1451
|
+
# Required. The name of the spec whose contents need to be retrieved. Format: `
|
|
1452
|
+
# projects/`project`/locations/`location`/apis/`api`/versions/`version`/specs/`
|
|
1453
|
+
# spec``
|
|
1454
|
+
# @param [String] spec_content_type
|
|
1455
|
+
# Optional. The type of the spec contents to be retrieved.
|
|
1456
|
+
# @param [String] fields
|
|
1457
|
+
# Selector specifying which fields to include in a partial response.
|
|
1458
|
+
# @param [String] quota_user
|
|
1459
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1460
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1461
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1462
|
+
# Request-specific options
|
|
1463
|
+
#
|
|
1464
|
+
# @yield [result, err] Result & error if block supplied
|
|
1465
|
+
# @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1FetchAdditionalSpecContentResponse] parsed result object
|
|
1466
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1467
|
+
#
|
|
1468
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1FetchAdditionalSpecContentResponse]
|
|
1469
|
+
#
|
|
1470
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1471
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1472
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1473
|
+
def fetch_project_location_api_version_spec_additional_spec_content(name, spec_content_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1474
|
+
command = make_simple_command(:get, 'v1/{+name}:fetchAdditionalSpecContent', options)
|
|
1475
|
+
command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1FetchAdditionalSpecContentResponse::Representation
|
|
1476
|
+
command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1FetchAdditionalSpecContentResponse
|
|
1477
|
+
command.params['name'] = name unless name.nil?
|
|
1478
|
+
command.query['specContentType'] = spec_content_type unless spec_content_type.nil?
|
|
1479
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1481
|
+
execute_or_queue_command(command, &block)
|
|
1482
|
+
end
|
|
1483
|
+
|
|
1400
1484
|
# Get details about the information parsed from a spec. Note that this method
|
|
1401
1485
|
# does not return the raw spec contents. Use GetSpecContents method to retrieve
|
|
1402
1486
|
# the same.
|
|
@@ -3139,11 +3223,12 @@ module Google
|
|
|
3139
3223
|
# The standard list page token.
|
|
3140
3224
|
# @param [Boolean] return_partial_success
|
|
3141
3225
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
3142
|
-
# those that are unreachable are returned in the
|
|
3143
|
-
# unreachable
|
|
3144
|
-
#
|
|
3145
|
-
# by default
|
|
3146
|
-
# explicitly documented otherwise in service or product specific
|
|
3226
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
3227
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
3228
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
3229
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
3230
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
3231
|
+
# documentation.
|
|
3147
3232
|
# @param [String] fields
|
|
3148
3233
|
# Selector specifying which fields to include in a partial response.
|
|
3149
3234
|
# @param [String] quota_user
|
|
@@ -3694,19 +3779,21 @@ module Google
|
|
|
3694
3779
|
# filtering. The value must be a string. The comparison operator must be one of:
|
|
3695
3780
|
# `<`, `>` or `=`. Filters are not case sensitive. The following fields in the `
|
|
3696
3781
|
# PluginInstances` are eligible for filtering: * `state` - The state of the
|
|
3697
|
-
# Plugin Instance. Allowed comparison operators: `=`.
|
|
3698
|
-
#
|
|
3699
|
-
#
|
|
3700
|
-
#
|
|
3701
|
-
#
|
|
3702
|
-
#
|
|
3703
|
-
#
|
|
3704
|
-
#
|
|
3705
|
-
# AND` or `OR` operator
|
|
3706
|
-
#
|
|
3707
|
-
#
|
|
3708
|
-
#
|
|
3709
|
-
#
|
|
3782
|
+
# Plugin Instance. Allowed comparison operators: `=`. * `source_project_id` -
|
|
3783
|
+
# The source project id of the Plugin Instance. Allowed comparison operators: `=`
|
|
3784
|
+
# . A filter function is also supported in the filter string. The filter
|
|
3785
|
+
# function is `id(name)`. The `id(name)` function returns the id of the resource
|
|
3786
|
+
# name. For example, `id(name) = \"plugin-instance-1\"` is equivalent to `name =
|
|
3787
|
+
# \"projects/test-project-id/locations/test-location-id/plugins/plugin-1/
|
|
3788
|
+
# instances/plugin-instance-1\"` provided the parent is `projects/test-project-
|
|
3789
|
+
# id/locations/test-location-id/plugins/plugin-1`. Expressions are combined with
|
|
3790
|
+
# either `AND` logic operator or `OR` logical operator but not both of them
|
|
3791
|
+
# together i.e. only one of the `AND` or `OR` operator can be used throughout
|
|
3792
|
+
# the filter string and both the operators cannot be used together. No other
|
|
3793
|
+
# logical operators are supported. At most three filter fields are allowed in
|
|
3794
|
+
# the filter string and if provided more than that then `INVALID_ARGUMENT` error
|
|
3795
|
+
# is returned by the API. Here are a few examples: * `state = ENABLED` - The
|
|
3796
|
+
# plugin instance is in enabled state.
|
|
3710
3797
|
# @param [Fixnum] page_size
|
|
3711
3798
|
# Optional. The maximum number of hub plugins to return. The service may return
|
|
3712
3799
|
# fewer than this value. If unspecified, at most 50 hub plugins will be returned.
|
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.11.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.11.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:
|