google-apis-apihub_v1 0.7.0 → 0.9.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: 267789b76644e09e81894d97a07c8e7f9ff0fe7cea57bac606af6ba1859160d2
|
|
4
|
+
data.tar.gz: b1ec3e6baa811ee605269fd8a159d22189a784af9579857f82de6494afad38b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a86fbffda5e052a6ae3cbfde6ed9fe7071371e0b1958156ef8eaf37e5c816df2e53d318cd82d8f73089e36ba38ffb5ae5bfb82223270cd6ba958d35be6e0af7c
|
|
7
|
+
data.tar.gz: d19244384a0a477ada6e483213d4c8ce544214cb0826500196516509f2c65a0ae3da6ad3761e2101ebb3726e0c2a1f3bc14896d149182f6f8798fd93f821a24f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-apihub_v1
|
|
2
2
|
|
|
3
|
+
### v0.9.0 (2025-11-02)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251025
|
|
6
|
+
|
|
7
|
+
### v0.8.0 (2025-09-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250912
|
|
10
|
+
|
|
3
11
|
### v0.7.0 (2025-09-07)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250829
|
|
@@ -203,7 +203,9 @@ module Google
|
|
|
203
203
|
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Documentation]
|
|
204
204
|
attr_accessor :documentation
|
|
205
205
|
|
|
206
|
-
# Optional. Fingerprint of the API resource.
|
|
206
|
+
# Optional. Fingerprint of the API resource. This must be unique for each API
|
|
207
|
+
# resource. It can neither be unset nor be updated to an existing fingerprint of
|
|
208
|
+
# another API resource.
|
|
207
209
|
# Corresponds to the JSON property `fingerprint`
|
|
208
210
|
# @return [String]
|
|
209
211
|
attr_accessor :fingerprint
|
|
@@ -2811,6 +2813,57 @@ module Google
|
|
|
2811
2813
|
end
|
|
2812
2814
|
end
|
|
2813
2815
|
|
|
2816
|
+
# The ManagePluginInstanceSourceData method's request.
|
|
2817
|
+
class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
|
|
2818
|
+
include Google::Apis::Core::Hashable
|
|
2819
|
+
|
|
2820
|
+
# Required. Action to be performed.
|
|
2821
|
+
# Corresponds to the JSON property `action`
|
|
2822
|
+
# @return [String]
|
|
2823
|
+
attr_accessor :action
|
|
2824
|
+
|
|
2825
|
+
# Required. Data to be managed.
|
|
2826
|
+
# Corresponds to the JSON property `data`
|
|
2827
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
2828
|
+
# @return [String]
|
|
2829
|
+
attr_accessor :data
|
|
2830
|
+
|
|
2831
|
+
# Required. Type of data to be managed.
|
|
2832
|
+
# Corresponds to the JSON property `dataType`
|
|
2833
|
+
# @return [String]
|
|
2834
|
+
attr_accessor :data_type
|
|
2835
|
+
|
|
2836
|
+
# Required. Relative path of data being managed for a given plugin instance.
|
|
2837
|
+
# Corresponds to the JSON property `relativePath`
|
|
2838
|
+
# @return [String]
|
|
2839
|
+
attr_accessor :relative_path
|
|
2840
|
+
|
|
2841
|
+
def initialize(**args)
|
|
2842
|
+
update!(**args)
|
|
2843
|
+
end
|
|
2844
|
+
|
|
2845
|
+
# Update properties of this object
|
|
2846
|
+
def update!(**args)
|
|
2847
|
+
@action = args[:action] if args.key?(:action)
|
|
2848
|
+
@data = args[:data] if args.key?(:data)
|
|
2849
|
+
@data_type = args[:data_type] if args.key?(:data_type)
|
|
2850
|
+
@relative_path = args[:relative_path] if args.key?(:relative_path)
|
|
2851
|
+
end
|
|
2852
|
+
end
|
|
2853
|
+
|
|
2854
|
+
# The ManagePluginInstanceSourceData method's response.
|
|
2855
|
+
class GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse
|
|
2856
|
+
include Google::Apis::Core::Hashable
|
|
2857
|
+
|
|
2858
|
+
def initialize(**args)
|
|
2859
|
+
update!(**args)
|
|
2860
|
+
end
|
|
2861
|
+
|
|
2862
|
+
# Update properties of this object
|
|
2863
|
+
def update!(**args)
|
|
2864
|
+
end
|
|
2865
|
+
end
|
|
2866
|
+
|
|
2814
2867
|
# MatchResult represents the result of matching a discovered API operation with
|
|
2815
2868
|
# a catalog API operation.
|
|
2816
2869
|
class GoogleCloudApihubV1MatchResult
|
|
@@ -3129,7 +3182,9 @@ module Google
|
|
|
3129
3182
|
class GoogleCloudApihubV1Plugin
|
|
3130
3183
|
include Google::Apis::Core::Hashable
|
|
3131
3184
|
|
|
3132
|
-
#
|
|
3185
|
+
# Optional. The configuration of actions supported by the plugin. **REQUIRED**:
|
|
3186
|
+
# This field must be provided when creating or updating a Plugin. The server
|
|
3187
|
+
# will reject requests if this field is missing.
|
|
3133
3188
|
# Corresponds to the JSON property `actionsConfig`
|
|
3134
3189
|
# @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1PluginActionConfig>]
|
|
3135
3190
|
attr_accessor :actions_config
|
|
@@ -4481,6 +4536,13 @@ module Google
|
|
|
4481
4536
|
# @return [Array<Google::Apis::ApihubV1::GoogleLongrunningOperation>]
|
|
4482
4537
|
attr_accessor :operations
|
|
4483
4538
|
|
|
4539
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
4540
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
4541
|
+
# when attempting to list all resources across all supported locations.
|
|
4542
|
+
# Corresponds to the JSON property `unreachable`
|
|
4543
|
+
# @return [Array<String>]
|
|
4544
|
+
attr_accessor :unreachable
|
|
4545
|
+
|
|
4484
4546
|
def initialize(**args)
|
|
4485
4547
|
update!(**args)
|
|
4486
4548
|
end
|
|
@@ -4489,6 +4551,7 @@ module Google
|
|
|
4489
4551
|
def update!(**args)
|
|
4490
4552
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4491
4553
|
@operations = args[:operations] if args.key?(:operations)
|
|
4554
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
4492
4555
|
end
|
|
4493
4556
|
end
|
|
4494
4557
|
|
|
@@ -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.9.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 = "20251025"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -454,6 +454,18 @@ module Google
|
|
|
454
454
|
include Google::Apis::Core::JsonObjectSupport
|
|
455
455
|
end
|
|
456
456
|
|
|
457
|
+
class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
|
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
|
+
|
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
class GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
|
+
|
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
467
|
+
end
|
|
468
|
+
|
|
457
469
|
class GoogleCloudApihubV1MatchResult
|
|
458
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
471
|
|
|
@@ -1538,6 +1550,22 @@ module Google
|
|
|
1538
1550
|
end
|
|
1539
1551
|
end
|
|
1540
1552
|
|
|
1553
|
+
class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
|
|
1554
|
+
# @private
|
|
1555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1556
|
+
property :action, as: 'action'
|
|
1557
|
+
property :data, :base64 => true, as: 'data'
|
|
1558
|
+
property :data_type, as: 'dataType'
|
|
1559
|
+
property :relative_path, as: 'relativePath'
|
|
1560
|
+
end
|
|
1561
|
+
end
|
|
1562
|
+
|
|
1563
|
+
class GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse
|
|
1564
|
+
# @private
|
|
1565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1566
|
+
end
|
|
1567
|
+
end
|
|
1568
|
+
|
|
1541
1569
|
class GoogleCloudApihubV1MatchResult
|
|
1542
1570
|
# @private
|
|
1543
1571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2004,6 +2032,7 @@ module Google
|
|
|
2004
2032
|
property :next_page_token, as: 'nextPageToken'
|
|
2005
2033
|
collection :operations, as: 'operations', class: Google::Apis::ApihubV1::GoogleLongrunningOperation, decorator: Google::Apis::ApihubV1::GoogleLongrunningOperation::Representation
|
|
2006
2034
|
|
|
2035
|
+
collection :unreachable, as: 'unreachable'
|
|
2007
2036
|
end
|
|
2008
2037
|
end
|
|
2009
2038
|
|
|
@@ -270,7 +270,9 @@ module Google
|
|
|
270
270
|
execute_or_queue_command(command, &block)
|
|
271
271
|
end
|
|
272
272
|
|
|
273
|
-
# Deletes the API hub instance.
|
|
273
|
+
# Deletes the API hub instance. Deleting the API hub instance will also result
|
|
274
|
+
# in the removal of all associated runtime project attachments and the host
|
|
275
|
+
# project registration.
|
|
274
276
|
# @param [String] name
|
|
275
277
|
# Required. The name of the Api Hub instance to delete. Format: `projects/`
|
|
276
278
|
# project`/locations/`location`/apiHubInstances/`apiHubInstance``.
|
|
@@ -603,9 +605,10 @@ module Google
|
|
|
603
605
|
|
|
604
606
|
# Update an API resource in the API hub. The following fields in the API can be
|
|
605
607
|
# updated: * display_name * description * owner * documentation * target_user *
|
|
606
|
-
# team * business_unit * maturity_level * api_style * attributes
|
|
607
|
-
# should be used to specify the fields being updated. Updating
|
|
608
|
-
# requires complete owner message and updates both owner and
|
|
608
|
+
# team * business_unit * maturity_level * api_style * attributes * fingerprint
|
|
609
|
+
# The update_mask should be used to specify the fields being updated. Updating
|
|
610
|
+
# the owner field requires complete owner message and updates both owner and
|
|
611
|
+
# email fields.
|
|
609
612
|
# @param [String] name
|
|
610
613
|
# Identifier. The name of the API resource in the API Hub. Format: `projects/`
|
|
611
614
|
# project`/locations/`location`/apis/`api``
|
|
@@ -1145,10 +1148,15 @@ module Google
|
|
|
1145
1148
|
# Update an operation in an API version. The following fields in the
|
|
1146
1149
|
# ApiOperation resource can be updated: * details.description * details.
|
|
1147
1150
|
# documentation * details.http_operation.path * details.http_operation.method *
|
|
1148
|
-
# details.deprecated * attributes
|
|
1149
|
-
#
|
|
1150
|
-
#
|
|
1151
|
-
#
|
|
1151
|
+
# details.deprecated * attributes * details.mcp_tool.title * details.mcp_tool.
|
|
1152
|
+
# description * details.input_schema * details.output_schema * details.mcp_tool.
|
|
1153
|
+
# annotations.title * details.mcp_tool.annotations.read_only_hint * details.
|
|
1154
|
+
# mcp_tool.annotations.destructive_hint * details.mcp_tool.annotations.
|
|
1155
|
+
# idempotent_hint * details.mcp_tool.annotations.open_world_hint * details.
|
|
1156
|
+
# mcp_tool.annotations.additional_hints The update_mask should be used to
|
|
1157
|
+
# specify the fields being updated. An operation can be updated only if the
|
|
1158
|
+
# operation was created via CreateApiOperation API. If the operation was created
|
|
1159
|
+
# by parsing the spec, then it can be edited by updating the spec.
|
|
1152
1160
|
# @param [String] name
|
|
1153
1161
|
# Identifier. The name of the operation. Format: `projects/`project`/locations/`
|
|
1154
1162
|
# location`/apis/`api`/versions/`version`/operations/`operation``
|
|
@@ -3013,6 +3021,13 @@ module Google
|
|
|
3013
3021
|
# The standard list page size.
|
|
3014
3022
|
# @param [String] page_token
|
|
3015
3023
|
# The standard list page token.
|
|
3024
|
+
# @param [Boolean] return_partial_success
|
|
3025
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
3026
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
3027
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
3028
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
3029
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
3030
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
3016
3031
|
# @param [String] fields
|
|
3017
3032
|
# Selector specifying which fields to include in a partial response.
|
|
3018
3033
|
# @param [String] quota_user
|
|
@@ -3030,7 +3045,7 @@ module Google
|
|
|
3030
3045
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3031
3046
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3032
3047
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3033
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3048
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3034
3049
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
3035
3050
|
command.response_representation = Google::Apis::ApihubV1::GoogleLongrunningListOperationsResponse::Representation
|
|
3036
3051
|
command.response_class = Google::Apis::ApihubV1::GoogleLongrunningListOperationsResponse
|
|
@@ -3038,6 +3053,7 @@ module Google
|
|
|
3038
3053
|
command.query['filter'] = filter unless filter.nil?
|
|
3039
3054
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3040
3055
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3056
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
3041
3057
|
command.query['fields'] = fields unless fields.nil?
|
|
3042
3058
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3043
3059
|
execute_or_queue_command(command, &block)
|
|
@@ -3614,6 +3630,41 @@ module Google
|
|
|
3614
3630
|
execute_or_queue_command(command, &block)
|
|
3615
3631
|
end
|
|
3616
3632
|
|
|
3633
|
+
# Manages data for a given plugin instance.
|
|
3634
|
+
# @param [String] name
|
|
3635
|
+
# Required. The name of the plugin instance for which data needs to be managed.
|
|
3636
|
+
# Format: `projects/`project`/locations/`location`/plugins/`plugin`/instances/`
|
|
3637
|
+
# instance``
|
|
3638
|
+
# @param [Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest] google_cloud_apihub_v1_manage_plugin_instance_source_data_request_object
|
|
3639
|
+
# @param [String] fields
|
|
3640
|
+
# Selector specifying which fields to include in a partial response.
|
|
3641
|
+
# @param [String] quota_user
|
|
3642
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3643
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3644
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3645
|
+
# Request-specific options
|
|
3646
|
+
#
|
|
3647
|
+
# @yield [result, err] Result & error if block supplied
|
|
3648
|
+
# @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse] parsed result object
|
|
3649
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3650
|
+
#
|
|
3651
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse]
|
|
3652
|
+
#
|
|
3653
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3654
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3655
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3656
|
+
def manage_project_location_plugin_instance_source_data(name, google_cloud_apihub_v1_manage_plugin_instance_source_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3657
|
+
command = make_simple_command(:post, 'v1/{+name}:manageSourceData', options)
|
|
3658
|
+
command.request_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest::Representation
|
|
3659
|
+
command.request_object = google_cloud_apihub_v1_manage_plugin_instance_source_data_request_object
|
|
3660
|
+
command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse::Representation
|
|
3661
|
+
command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse
|
|
3662
|
+
command.params['name'] = name unless name.nil?
|
|
3663
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3664
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3665
|
+
execute_or_queue_command(command, &block)
|
|
3666
|
+
end
|
|
3667
|
+
|
|
3617
3668
|
# Updates a plugin instance in the API hub. The following fields in the
|
|
3618
3669
|
# plugin_instance can be updated currently: * display_name *
|
|
3619
3670
|
# schedule_cron_expression The update_mask should be used to specify the fields
|
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.9.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.9.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:
|