google-cloud-api_hub-v1 1.0.1 → 1.0.3
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/lib/google/cloud/api_hub/v1/api_hub/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_collect/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_collect/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/operations.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_collect.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_curate/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_curate/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_curate.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_dependencies/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_dependencies/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_dependencies.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_discovery.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/operations.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub_plugin.rb +1 -1
- data/lib/google/cloud/api_hub/v1/bindings_override.rb +1 -1
- data/lib/google/cloud/api_hub/v1/host_project_registration_service/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/host_project_registration_service/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/host_project_registration_service.rb +1 -1
- data/lib/google/cloud/api_hub/v1/linting_service/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/linting_service/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/linting_service/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/linting_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/linting_service/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/linting_service.rb +1 -1
- data/lib/google/cloud/api_hub/v1/provisioning/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/provisioning/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/provisioning/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/provisioning/rest/operations.rb +1 -1
- data/lib/google/cloud/api_hub/v1/provisioning/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/provisioning/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/provisioning.rb +1 -1
- data/lib/google/cloud/api_hub/v1/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/credentials.rb +1 -1
- data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/paths.rb +1 -1
- data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/client.rb +1 -1
- data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest.rb +1 -1
- data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service.rb +1 -1
- data/lib/google/cloud/api_hub/v1/version.rb +1 -1
- data/lib/google/cloud/api_hub/v1.rb +1 -1
- data/lib/google-cloud-api_hub-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/apihub_service.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/collect_service.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/common_fields.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/curate_service.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/discovery_service.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/host_project_registration_service.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/linting_service.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/plugin_service.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/provisioning_service.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/runtime_project_attachment_service.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/status.rb +1 -1
- metadata +1 -10
- data/lib/google/cloud/apihub/v1/apihub_service_services_pb.rb +0 -321
- data/lib/google/cloud/apihub/v1/collect_service_services_pb.rb +0 -47
- data/lib/google/cloud/apihub/v1/curate_service_services_pb.rb +0 -64
- data/lib/google/cloud/apihub/v1/discovery_service_services_pb.rb +0 -55
- data/lib/google/cloud/apihub/v1/host_project_registration_service_services_pb.rb +0 -53
- data/lib/google/cloud/apihub/v1/linting_service_services_pb.rb +0 -53
- data/lib/google/cloud/apihub/v1/plugin_service_services_pb.rb +0 -93
- data/lib/google/cloud/apihub/v1/provisioning_service_services_pb.rb +0 -52
- data/lib/google/cloud/apihub/v1/runtime_project_attachment_service_services_pb.rb +0 -55
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/apihub/v1/curate_service.proto for package 'Google.Cloud.ApiHub.V1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2025 Google LLC
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'grpc'
|
|
20
|
-
require 'google/cloud/apihub/v1/curate_service_pb'
|
|
21
|
-
|
|
22
|
-
module Google
|
|
23
|
-
module Cloud
|
|
24
|
-
module ApiHub
|
|
25
|
-
module V1
|
|
26
|
-
module ApiHubCurate
|
|
27
|
-
# This service is used for managing curations for processing API data consumed
|
|
28
|
-
# from collect layer.
|
|
29
|
-
class Service
|
|
30
|
-
|
|
31
|
-
include ::GRPC::GenericService
|
|
32
|
-
|
|
33
|
-
self.marshal_class_method = :encode
|
|
34
|
-
self.unmarshal_class_method = :decode
|
|
35
|
-
self.service_name = 'google.cloud.apihub.v1.ApiHubCurate'
|
|
36
|
-
|
|
37
|
-
# Create a curation resource in the API hub.
|
|
38
|
-
# Once a curation resource is created, plugin instances can start using it.
|
|
39
|
-
rpc :CreateCuration, ::Google::Cloud::ApiHub::V1::CreateCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
|
|
40
|
-
# Get curation resource details.
|
|
41
|
-
rpc :GetCuration, ::Google::Cloud::ApiHub::V1::GetCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
|
|
42
|
-
# List curation resources in the API hub.
|
|
43
|
-
rpc :ListCurations, ::Google::Cloud::ApiHub::V1::ListCurationsRequest, ::Google::Cloud::ApiHub::V1::ListCurationsResponse
|
|
44
|
-
# Update a curation resource in the API hub. The following fields in the
|
|
45
|
-
# [curation][google.cloud.apihub.v1.Curation] can be updated:
|
|
46
|
-
#
|
|
47
|
-
# * [display_name][google.cloud.apihub.v1.Curation.display_name]
|
|
48
|
-
# * [description][google.cloud.apihub.v1.Curation.description]
|
|
49
|
-
#
|
|
50
|
-
# The
|
|
51
|
-
# [update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]
|
|
52
|
-
# should be used to specify the fields being updated.
|
|
53
|
-
rpc :UpdateCuration, ::Google::Cloud::ApiHub::V1::UpdateCurationRequest, ::Google::Cloud::ApiHub::V1::Curation
|
|
54
|
-
# Delete a curation resource in the API hub. A curation can only be deleted
|
|
55
|
-
# if it's not being used by any plugin instance.
|
|
56
|
-
rpc :DeleteCuration, ::Google::Cloud::ApiHub::V1::DeleteCurationRequest, ::Google::Protobuf::Empty
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
Stub = Service.rpc_stub_class
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
end
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/apihub/v1/discovery_service.proto for package 'Google.Cloud.ApiHub.V1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2025 Google LLC
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'grpc'
|
|
20
|
-
require 'google/cloud/apihub/v1/discovery_service_pb'
|
|
21
|
-
|
|
22
|
-
module Google
|
|
23
|
-
module Cloud
|
|
24
|
-
module ApiHub
|
|
25
|
-
module V1
|
|
26
|
-
module ApiHubDiscovery
|
|
27
|
-
# This service exposes methods used to manage DiscoveredApiObservations
|
|
28
|
-
# and DiscoveredApiOperations.
|
|
29
|
-
class Service
|
|
30
|
-
|
|
31
|
-
include ::GRPC::GenericService
|
|
32
|
-
|
|
33
|
-
self.marshal_class_method = :encode
|
|
34
|
-
self.unmarshal_class_method = :decode
|
|
35
|
-
self.service_name = 'google.cloud.apihub.v1.ApiHubDiscovery'
|
|
36
|
-
|
|
37
|
-
# Lists all the DiscoveredAPIObservations in a given project and location.
|
|
38
|
-
rpc :ListDiscoveredApiObservations, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsRequest, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsResponse
|
|
39
|
-
# Gets a DiscoveredAPIObservation in a given project, location and
|
|
40
|
-
# ApiObservation.
|
|
41
|
-
rpc :GetDiscoveredApiObservation, ::Google::Cloud::ApiHub::V1::GetDiscoveredApiObservationRequest, ::Google::Cloud::ApiHub::V1::DiscoveredApiObservation
|
|
42
|
-
# Lists all the DiscoveredAPIOperations in a given project, location and
|
|
43
|
-
# ApiObservation.
|
|
44
|
-
rpc :ListDiscoveredApiOperations, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsRequest, ::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsResponse
|
|
45
|
-
# Gets a DiscoveredAPIOperation in a given project, location,
|
|
46
|
-
# ApiObservation and ApiOperation.
|
|
47
|
-
rpc :GetDiscoveredApiOperation, ::Google::Cloud::ApiHub::V1::GetDiscoveredApiOperationRequest, ::Google::Cloud::ApiHub::V1::DiscoveredApiOperation
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
Stub = Service.rpc_stub_class
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/apihub/v1/host_project_registration_service.proto for package 'Google.Cloud.ApiHub.V1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2024 Google LLC
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'grpc'
|
|
20
|
-
require 'google/cloud/apihub/v1/host_project_registration_service_pb'
|
|
21
|
-
|
|
22
|
-
module Google
|
|
23
|
-
module Cloud
|
|
24
|
-
module ApiHub
|
|
25
|
-
module V1
|
|
26
|
-
module HostProjectRegistrationService
|
|
27
|
-
# This service is used for managing the host project registrations.
|
|
28
|
-
class Service
|
|
29
|
-
|
|
30
|
-
include ::GRPC::GenericService
|
|
31
|
-
|
|
32
|
-
self.marshal_class_method = :encode
|
|
33
|
-
self.unmarshal_class_method = :decode
|
|
34
|
-
self.service_name = 'google.cloud.apihub.v1.HostProjectRegistrationService'
|
|
35
|
-
|
|
36
|
-
# Create a host project registration.
|
|
37
|
-
# A Google cloud project can be registered as a host project if it is not
|
|
38
|
-
# attached as a runtime project to another host project.
|
|
39
|
-
# A project can be registered as a host project only once. Subsequent
|
|
40
|
-
# register calls for the same project will fail.
|
|
41
|
-
rpc :CreateHostProjectRegistration, ::Google::Cloud::ApiHub::V1::CreateHostProjectRegistrationRequest, ::Google::Cloud::ApiHub::V1::HostProjectRegistration
|
|
42
|
-
# Get a host project registration.
|
|
43
|
-
rpc :GetHostProjectRegistration, ::Google::Cloud::ApiHub::V1::GetHostProjectRegistrationRequest, ::Google::Cloud::ApiHub::V1::HostProjectRegistration
|
|
44
|
-
# Lists host project registrations.
|
|
45
|
-
rpc :ListHostProjectRegistrations, ::Google::Cloud::ApiHub::V1::ListHostProjectRegistrationsRequest, ::Google::Cloud::ApiHub::V1::ListHostProjectRegistrationsResponse
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
Stub = Service.rpc_stub_class
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/apihub/v1/linting_service.proto for package 'Google.Cloud.ApiHub.V1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2024 Google LLC
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'grpc'
|
|
20
|
-
require 'google/cloud/apihub/v1/linting_service_pb'
|
|
21
|
-
|
|
22
|
-
module Google
|
|
23
|
-
module Cloud
|
|
24
|
-
module ApiHub
|
|
25
|
-
module V1
|
|
26
|
-
module LintingService
|
|
27
|
-
# This service provides all methods related to the 1p Linter.
|
|
28
|
-
class Service
|
|
29
|
-
|
|
30
|
-
include ::GRPC::GenericService
|
|
31
|
-
|
|
32
|
-
self.marshal_class_method = :encode
|
|
33
|
-
self.unmarshal_class_method = :decode
|
|
34
|
-
self.service_name = 'google.cloud.apihub.v1.LintingService'
|
|
35
|
-
|
|
36
|
-
# Get the style guide being used for linting.
|
|
37
|
-
rpc :GetStyleGuide, ::Google::Cloud::ApiHub::V1::GetStyleGuideRequest, ::Google::Cloud::ApiHub::V1::StyleGuide
|
|
38
|
-
# Update the styleGuide to be used for liniting in by API hub.
|
|
39
|
-
rpc :UpdateStyleGuide, ::Google::Cloud::ApiHub::V1::UpdateStyleGuideRequest, ::Google::Cloud::ApiHub::V1::StyleGuide
|
|
40
|
-
# Get the contents of the style guide.
|
|
41
|
-
rpc :GetStyleGuideContents, ::Google::Cloud::ApiHub::V1::GetStyleGuideContentsRequest, ::Google::Cloud::ApiHub::V1::StyleGuideContents
|
|
42
|
-
# Lints the requested spec and updates the corresponding API Spec with the
|
|
43
|
-
# lint response. This lint response will be available in all subsequent
|
|
44
|
-
# Get and List Spec calls to Core service.
|
|
45
|
-
rpc :LintSpec, ::Google::Cloud::ApiHub::V1::LintSpecRequest, ::Google::Protobuf::Empty
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
Stub = Service.rpc_stub_class
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/apihub/v1/plugin_service.proto for package 'Google.Cloud.ApiHub.V1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2024 Google LLC
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'grpc'
|
|
20
|
-
require 'google/cloud/apihub/v1/plugin_service_pb'
|
|
21
|
-
|
|
22
|
-
module Google
|
|
23
|
-
module Cloud
|
|
24
|
-
module ApiHub
|
|
25
|
-
module V1
|
|
26
|
-
module ApiHubPlugin
|
|
27
|
-
# This service is used for managing plugins inside the API Hub.
|
|
28
|
-
class Service
|
|
29
|
-
|
|
30
|
-
include ::GRPC::GenericService
|
|
31
|
-
|
|
32
|
-
self.marshal_class_method = :encode
|
|
33
|
-
self.unmarshal_class_method = :decode
|
|
34
|
-
self.service_name = 'google.cloud.apihub.v1.ApiHubPlugin'
|
|
35
|
-
|
|
36
|
-
# Get an API Hub plugin.
|
|
37
|
-
rpc :GetPlugin, ::Google::Cloud::ApiHub::V1::GetPluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
|
|
38
|
-
# Enables a plugin.
|
|
39
|
-
# The `state` of the plugin after enabling is `ENABLED`
|
|
40
|
-
rpc :EnablePlugin, ::Google::Cloud::ApiHub::V1::EnablePluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
|
|
41
|
-
# Disables a plugin.
|
|
42
|
-
# The `state` of the plugin after disabling is `DISABLED`
|
|
43
|
-
rpc :DisablePlugin, ::Google::Cloud::ApiHub::V1::DisablePluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
|
|
44
|
-
# Create an API Hub plugin resource in the API hub.
|
|
45
|
-
# Once a plugin is created, it can be used to create plugin instances.
|
|
46
|
-
rpc :CreatePlugin, ::Google::Cloud::ApiHub::V1::CreatePluginRequest, ::Google::Cloud::ApiHub::V1::Plugin
|
|
47
|
-
# List all the plugins in a given project and location.
|
|
48
|
-
rpc :ListPlugins, ::Google::Cloud::ApiHub::V1::ListPluginsRequest, ::Google::Cloud::ApiHub::V1::ListPluginsResponse
|
|
49
|
-
# Delete a Plugin in API hub.
|
|
50
|
-
# Note, only user owned plugins can be deleted via this method.
|
|
51
|
-
rpc :DeletePlugin, ::Google::Cloud::ApiHub::V1::DeletePluginRequest, ::Google::Longrunning::Operation
|
|
52
|
-
# Creates a Plugin instance in the API hub.
|
|
53
|
-
rpc :CreatePluginInstance, ::Google::Cloud::ApiHub::V1::CreatePluginInstanceRequest, ::Google::Longrunning::Operation
|
|
54
|
-
# Executes a plugin instance in the API hub.
|
|
55
|
-
rpc :ExecutePluginInstanceAction, ::Google::Cloud::ApiHub::V1::ExecutePluginInstanceActionRequest, ::Google::Longrunning::Operation
|
|
56
|
-
# Get an API Hub plugin instance.
|
|
57
|
-
rpc :GetPluginInstance, ::Google::Cloud::ApiHub::V1::GetPluginInstanceRequest, ::Google::Cloud::ApiHub::V1::PluginInstance
|
|
58
|
-
# List all the plugins in a given project and location.
|
|
59
|
-
# `-` can be used as wildcard value for {plugin_id}
|
|
60
|
-
rpc :ListPluginInstances, ::Google::Cloud::ApiHub::V1::ListPluginInstancesRequest, ::Google::Cloud::ApiHub::V1::ListPluginInstancesResponse
|
|
61
|
-
# Enables a plugin instance in the API hub.
|
|
62
|
-
rpc :EnablePluginInstanceAction, ::Google::Cloud::ApiHub::V1::EnablePluginInstanceActionRequest, ::Google::Longrunning::Operation
|
|
63
|
-
# Disables a plugin instance in the API hub.
|
|
64
|
-
rpc :DisablePluginInstanceAction, ::Google::Cloud::ApiHub::V1::DisablePluginInstanceActionRequest, ::Google::Longrunning::Operation
|
|
65
|
-
# Updates a plugin instance in the API hub.
|
|
66
|
-
# The following fields in the
|
|
67
|
-
# [plugin_instance][google.cloud.apihub.v1.PluginInstance] can be updated
|
|
68
|
-
# currently:
|
|
69
|
-
#
|
|
70
|
-
# * [display_name][google.cloud.apihub.v1.PluginInstance.display_name]
|
|
71
|
-
# * [schedule_cron_expression][PluginInstance.actions.schedule_cron_expression]
|
|
72
|
-
#
|
|
73
|
-
# The
|
|
74
|
-
# [update_mask][google.cloud.apihub.v1.UpdatePluginInstanceRequest.update_mask]
|
|
75
|
-
# should be used to specify the fields being updated.
|
|
76
|
-
#
|
|
77
|
-
# To update the
|
|
78
|
-
# [auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] and
|
|
79
|
-
# [additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]
|
|
80
|
-
# of the plugin instance, use the
|
|
81
|
-
# [ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]
|
|
82
|
-
# method.
|
|
83
|
-
rpc :UpdatePluginInstance, ::Google::Cloud::ApiHub::V1::UpdatePluginInstanceRequest, ::Google::Cloud::ApiHub::V1::PluginInstance
|
|
84
|
-
# Deletes a plugin instance in the API hub.
|
|
85
|
-
rpc :DeletePluginInstance, ::Google::Cloud::ApiHub::V1::DeletePluginInstanceRequest, ::Google::Longrunning::Operation
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
Stub = Service.rpc_stub_class
|
|
89
|
-
end
|
|
90
|
-
end
|
|
91
|
-
end
|
|
92
|
-
end
|
|
93
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/apihub/v1/provisioning_service.proto for package 'Google.Cloud.ApiHub.V1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2024 Google LLC
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'grpc'
|
|
20
|
-
require 'google/cloud/apihub/v1/provisioning_service_pb'
|
|
21
|
-
|
|
22
|
-
module Google
|
|
23
|
-
module Cloud
|
|
24
|
-
module ApiHub
|
|
25
|
-
module V1
|
|
26
|
-
module Provisioning
|
|
27
|
-
# This service is used for managing the data plane provisioning of the API hub.
|
|
28
|
-
class Service
|
|
29
|
-
|
|
30
|
-
include ::GRPC::GenericService
|
|
31
|
-
|
|
32
|
-
self.marshal_class_method = :encode
|
|
33
|
-
self.unmarshal_class_method = :decode
|
|
34
|
-
self.service_name = 'google.cloud.apihub.v1.Provisioning'
|
|
35
|
-
|
|
36
|
-
# Provisions instance resources for the API Hub.
|
|
37
|
-
rpc :CreateApiHubInstance, ::Google::Cloud::ApiHub::V1::CreateApiHubInstanceRequest, ::Google::Longrunning::Operation
|
|
38
|
-
# Deletes the API hub instance.
|
|
39
|
-
rpc :DeleteApiHubInstance, ::Google::Cloud::ApiHub::V1::DeleteApiHubInstanceRequest, ::Google::Longrunning::Operation
|
|
40
|
-
# Gets details of a single API Hub instance.
|
|
41
|
-
rpc :GetApiHubInstance, ::Google::Cloud::ApiHub::V1::GetApiHubInstanceRequest, ::Google::Cloud::ApiHub::V1::ApiHubInstance
|
|
42
|
-
# Looks up an Api Hub instance in a given GCP project. There will always be
|
|
43
|
-
# only one Api Hub instance for a GCP project across all locations.
|
|
44
|
-
rpc :LookupApiHubInstance, ::Google::Cloud::ApiHub::V1::LookupApiHubInstanceRequest, ::Google::Cloud::ApiHub::V1::LookupApiHubInstanceResponse
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
Stub = Service.rpc_stub_class
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/apihub/v1/runtime_project_attachment_service.proto for package 'Google.Cloud.ApiHub.V1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2024 Google LLC
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'grpc'
|
|
20
|
-
require 'google/cloud/apihub/v1/runtime_project_attachment_service_pb'
|
|
21
|
-
|
|
22
|
-
module Google
|
|
23
|
-
module Cloud
|
|
24
|
-
module ApiHub
|
|
25
|
-
module V1
|
|
26
|
-
module RuntimeProjectAttachmentService
|
|
27
|
-
# This service is used for managing the runtime project attachments.
|
|
28
|
-
class Service
|
|
29
|
-
|
|
30
|
-
include ::GRPC::GenericService
|
|
31
|
-
|
|
32
|
-
self.marshal_class_method = :encode
|
|
33
|
-
self.unmarshal_class_method = :decode
|
|
34
|
-
self.service_name = 'google.cloud.apihub.v1.RuntimeProjectAttachmentService'
|
|
35
|
-
|
|
36
|
-
# Attaches a runtime project to the host project.
|
|
37
|
-
rpc :CreateRuntimeProjectAttachment, ::Google::Cloud::ApiHub::V1::CreateRuntimeProjectAttachmentRequest, ::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment
|
|
38
|
-
# Gets a runtime project attachment.
|
|
39
|
-
rpc :GetRuntimeProjectAttachment, ::Google::Cloud::ApiHub::V1::GetRuntimeProjectAttachmentRequest, ::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment
|
|
40
|
-
# List runtime projects attached to the host project.
|
|
41
|
-
rpc :ListRuntimeProjectAttachments, ::Google::Cloud::ApiHub::V1::ListRuntimeProjectAttachmentsRequest, ::Google::Cloud::ApiHub::V1::ListRuntimeProjectAttachmentsResponse
|
|
42
|
-
# Delete a runtime project attachment in the API Hub. This call will detach
|
|
43
|
-
# the runtime project from the host project.
|
|
44
|
-
rpc :DeleteRuntimeProjectAttachment, ::Google::Cloud::ApiHub::V1::DeleteRuntimeProjectAttachmentRequest, ::Google::Protobuf::Empty
|
|
45
|
-
# Look up a runtime project attachment. This API can be called in the context
|
|
46
|
-
# of any project.
|
|
47
|
-
rpc :LookupRuntimeProjectAttachment, ::Google::Cloud::ApiHub::V1::LookupRuntimeProjectAttachmentRequest, ::Google::Cloud::ApiHub::V1::LookupRuntimeProjectAttachmentResponse
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
Stub = Service.rpc_stub_class
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|