google-apis-apihub_v1 0.7.0 → 0.8.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: 45244899890b07eaae23bf1daff080a973a805c850e30edc44b71a9eb1632d94
|
4
|
+
data.tar.gz: 51b165f5d05718508da4032c9a176cb9a6f6d5a9046457c1245a3ea5e50d1046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 503b16d8f4613accfe4173646f8861451aec8bae3147adaef3fc38d99a8d6e7988a0d27af353e1c2a16c55baaf0fdb0605fd37b8e2fb4c4f34bcce42b3381ae3
|
7
|
+
data.tar.gz: a3ebae249a37ee35c5d92417047ec192602dfd7c247ba242680be96fea1a5a1fc5ce01a1711edc2c53d6f97a58fa637542c26637ba3a5386fa9007ab9d7b4b6f
|
data/CHANGELOG.md
CHANGED
@@ -2811,6 +2811,57 @@ module Google
|
|
2811
2811
|
end
|
2812
2812
|
end
|
2813
2813
|
|
2814
|
+
# The ManagePluginInstanceSourceData method's request.
|
2815
|
+
class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
|
2816
|
+
include Google::Apis::Core::Hashable
|
2817
|
+
|
2818
|
+
# Required. Action to be performed.
|
2819
|
+
# Corresponds to the JSON property `action`
|
2820
|
+
# @return [String]
|
2821
|
+
attr_accessor :action
|
2822
|
+
|
2823
|
+
# Required. Data to be managed.
|
2824
|
+
# Corresponds to the JSON property `data`
|
2825
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2826
|
+
# @return [String]
|
2827
|
+
attr_accessor :data
|
2828
|
+
|
2829
|
+
# Required. Type of data to be managed.
|
2830
|
+
# Corresponds to the JSON property `dataType`
|
2831
|
+
# @return [String]
|
2832
|
+
attr_accessor :data_type
|
2833
|
+
|
2834
|
+
# Required. Relative path of data being managed for a given plugin instance.
|
2835
|
+
# Corresponds to the JSON property `relativePath`
|
2836
|
+
# @return [String]
|
2837
|
+
attr_accessor :relative_path
|
2838
|
+
|
2839
|
+
def initialize(**args)
|
2840
|
+
update!(**args)
|
2841
|
+
end
|
2842
|
+
|
2843
|
+
# Update properties of this object
|
2844
|
+
def update!(**args)
|
2845
|
+
@action = args[:action] if args.key?(:action)
|
2846
|
+
@data = args[:data] if args.key?(:data)
|
2847
|
+
@data_type = args[:data_type] if args.key?(:data_type)
|
2848
|
+
@relative_path = args[:relative_path] if args.key?(:relative_path)
|
2849
|
+
end
|
2850
|
+
end
|
2851
|
+
|
2852
|
+
# The ManagePluginInstanceSourceData method's response.
|
2853
|
+
class GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse
|
2854
|
+
include Google::Apis::Core::Hashable
|
2855
|
+
|
2856
|
+
def initialize(**args)
|
2857
|
+
update!(**args)
|
2858
|
+
end
|
2859
|
+
|
2860
|
+
# Update properties of this object
|
2861
|
+
def update!(**args)
|
2862
|
+
end
|
2863
|
+
end
|
2864
|
+
|
2814
2865
|
# MatchResult represents the result of matching a discovered API operation with
|
2815
2866
|
# a catalog API operation.
|
2816
2867
|
class GoogleCloudApihubV1MatchResult
|
@@ -3129,7 +3180,9 @@ module Google
|
|
3129
3180
|
class GoogleCloudApihubV1Plugin
|
3130
3181
|
include Google::Apis::Core::Hashable
|
3131
3182
|
|
3132
|
-
#
|
3183
|
+
# Optional. The configuration of actions supported by the plugin. **REQUIRED**:
|
3184
|
+
# This field must be provided when creating or updating a Plugin. The server
|
3185
|
+
# will reject requests if this field is missing.
|
3133
3186
|
# Corresponds to the JSON property `actionsConfig`
|
3134
3187
|
# @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1PluginActionConfig>]
|
3135
3188
|
attr_accessor :actions_config
|
@@ -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.8.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 = "20250912"
|
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
|
@@ -119,8 +119,8 @@ module Google
|
|
119
119
|
# @param [String] name
|
120
120
|
# The resource that owns the locations collection, if applicable.
|
121
121
|
# @param [Array<String>, String] extra_location_types
|
122
|
-
# Optional.
|
123
|
-
#
|
122
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
123
|
+
# field which is primarily intended for internal usage.
|
124
124
|
# @param [String] filter
|
125
125
|
# A filter to narrow down results to a preferred subset. The filtering language
|
126
126
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -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``.
|
@@ -3614,6 +3616,41 @@ module Google
|
|
3614
3616
|
execute_or_queue_command(command, &block)
|
3615
3617
|
end
|
3616
3618
|
|
3619
|
+
# Manages data for a given plugin instance.
|
3620
|
+
# @param [String] name
|
3621
|
+
# Required. The name of the plugin instance for which data needs to be managed.
|
3622
|
+
# Format: `projects/`project`/locations/`location`/plugins/`plugin`/instances/`
|
3623
|
+
# instance``
|
3624
|
+
# @param [Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest] google_cloud_apihub_v1_manage_plugin_instance_source_data_request_object
|
3625
|
+
# @param [String] fields
|
3626
|
+
# Selector specifying which fields to include in a partial response.
|
3627
|
+
# @param [String] quota_user
|
3628
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3629
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3630
|
+
# @param [Google::Apis::RequestOptions] options
|
3631
|
+
# Request-specific options
|
3632
|
+
#
|
3633
|
+
# @yield [result, err] Result & error if block supplied
|
3634
|
+
# @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse] parsed result object
|
3635
|
+
# @yieldparam err [StandardError] error object if request failed
|
3636
|
+
#
|
3637
|
+
# @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse]
|
3638
|
+
#
|
3639
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3640
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3641
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3642
|
+
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)
|
3643
|
+
command = make_simple_command(:post, 'v1/{+name}:manageSourceData', options)
|
3644
|
+
command.request_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest::Representation
|
3645
|
+
command.request_object = google_cloud_apihub_v1_manage_plugin_instance_source_data_request_object
|
3646
|
+
command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse::Representation
|
3647
|
+
command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse
|
3648
|
+
command.params['name'] = name unless name.nil?
|
3649
|
+
command.query['fields'] = fields unless fields.nil?
|
3650
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3651
|
+
execute_or_queue_command(command, &block)
|
3652
|
+
end
|
3653
|
+
|
3617
3654
|
# Updates a plugin instance in the API hub. The following fields in the
|
3618
3655
|
# plugin_instance can be updated currently: * display_name *
|
3619
3656
|
# 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.8.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.8.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:
|