google-cloud-api_hub-v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub/rest/client.rb +7 -0
- data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest/client.rb +7 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb +7 -0
- data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest/client.rb +7 -0
- data/lib/google/cloud/api_hub/v1/linting_service/rest/client.rb +7 -0
- data/lib/google/cloud/api_hub/v1/provisioning/rest/client.rb +7 -0
- data/lib/google/cloud/api_hub/v1/provisioning/rest/operations.rb +7 -0
- data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/client.rb +7 -0
- data/lib/google/cloud/api_hub/v1/version.rb +1 -1
- data/proto_docs/google/cloud/apihub/v1/apihub_service.rb +12 -0
- data/proto_docs/google/cloud/apihub/v1/common_fields.rb +10 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e31907440d92e990247862f6cc33be4a2c440c060c80b06368454c244ae9e421
|
4
|
+
data.tar.gz: 329b7b7c339c547c2c2af6c0e582e676bd78a5f4532f33600f40b43f7902e151
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d518b6aa5a018c802778a5c61b95b7ce208f4860116c041eb18dc4a0a3be4d9a9bb4f5eb18247765fabe62d26ff92b45279d6b1c4070944fbaef7edb26b25cac
|
7
|
+
data.tar.gz: 153876d143bca6a7e5f59a381c1ad1ae3244301bafd1843eaa748c61ac5b3b38e9c523469abd9d2f5365a34f7cdfee88f4e3378e3d302141e0ea085015f33d67
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -3885,6 +3885,13 @@ module Google
|
|
3885
3885
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
3886
3886
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
3887
3887
|
# * (`nil`) indicating no credentials
|
3888
|
+
#
|
3889
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
3890
|
+
# external source for authentication to Google Cloud, you must validate it before
|
3891
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
3892
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
3893
|
+
# For more information, refer to [Validate credential configurations from external
|
3894
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
3888
3895
|
# @return [::Object]
|
3889
3896
|
# @!attribute [rw] scope
|
3890
3897
|
# The OAuth scopes
|
@@ -720,6 +720,13 @@ module Google
|
|
720
720
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
721
721
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
722
722
|
# * (`nil`) indicating no credentials
|
723
|
+
#
|
724
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
725
|
+
# external source for authentication to Google Cloud, you must validate it before
|
726
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
727
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
728
|
+
# For more information, refer to [Validate credential configurations from external
|
729
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
723
730
|
# @return [::Object]
|
724
731
|
# @!attribute [rw] scope
|
725
732
|
# The OAuth scopes
|
@@ -483,6 +483,13 @@ module Google
|
|
483
483
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
484
484
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
485
485
|
# * (`nil`) indicating no credentials
|
486
|
+
#
|
487
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
488
|
+
# external source for authentication to Google Cloud, you must validate it before
|
489
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
490
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
491
|
+
# For more information, refer to [Validate credential configurations from external
|
492
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
486
493
|
# @return [::Object]
|
487
494
|
# @!attribute [rw] scope
|
488
495
|
# The OAuth scopes
|
@@ -533,6 +533,13 @@ module Google
|
|
533
533
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
534
534
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
535
535
|
# * (`nil`) indicating no credentials
|
536
|
+
#
|
537
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
538
|
+
# external source for authentication to Google Cloud, you must validate it before
|
539
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
540
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
541
|
+
# For more information, refer to [Validate credential configurations from external
|
542
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
536
543
|
# @return [::Object]
|
537
544
|
# @!attribute [rw] scope
|
538
545
|
# The OAuth scopes
|
@@ -572,6 +572,13 @@ module Google
|
|
572
572
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
573
573
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
574
574
|
# * (`nil`) indicating no credentials
|
575
|
+
#
|
576
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
577
|
+
# external source for authentication to Google Cloud, you must validate it before
|
578
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
579
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
580
|
+
# For more information, refer to [Validate credential configurations from external
|
581
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
575
582
|
# @return [::Object]
|
576
583
|
# @!attribute [rw] scope
|
577
584
|
# The OAuth scopes
|
@@ -520,6 +520,13 @@ module Google
|
|
520
520
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
521
521
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
522
522
|
# * (`nil`) indicating no credentials
|
523
|
+
#
|
524
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
525
|
+
# external source for authentication to Google Cloud, you must validate it before
|
526
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
527
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
528
|
+
# For more information, refer to [Validate credential configurations from external
|
529
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
523
530
|
# @return [::Object]
|
524
531
|
# @!attribute [rw] scope
|
525
532
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -699,6 +699,13 @@ module Google
|
|
699
699
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
700
700
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
701
701
|
# * (`nil`) indicating no credentials
|
702
|
+
#
|
703
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
704
|
+
# external source for authentication to Google Cloud, you must validate it before
|
705
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
706
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
707
|
+
# For more information, refer to [Validate credential configurations from external
|
708
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
702
709
|
# @return [::Object]
|
703
710
|
# @!attribute [rw] scope
|
704
711
|
# The OAuth scopes
|
@@ -1010,26 +1010,38 @@ module Google
|
|
1010
1010
|
# @return [::Google::Cloud::ApiHub::V1::Api]
|
1011
1011
|
# This represents Api resource in search results. Only name, display_name,
|
1012
1012
|
# description and owner fields are populated in search results.
|
1013
|
+
#
|
1014
|
+
# Note: The following fields are mutually exclusive: `api`, `operation`, `deployment`, `spec`, `definition`, `version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1013
1015
|
# @!attribute [rw] operation
|
1014
1016
|
# @return [::Google::Cloud::ApiHub::V1::ApiOperation]
|
1015
1017
|
# This represents ApiOperation resource in search results. Only name,
|
1016
1018
|
# and description fields are populated in search results.
|
1019
|
+
#
|
1020
|
+
# Note: The following fields are mutually exclusive: `operation`, `api`, `deployment`, `spec`, `definition`, `version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1017
1021
|
# @!attribute [rw] deployment
|
1018
1022
|
# @return [::Google::Cloud::ApiHub::V1::Deployment]
|
1019
1023
|
# This represents Deployment resource in search results. Only name,
|
1020
1024
|
# display_name and description fields are populated in search results.
|
1025
|
+
#
|
1026
|
+
# Note: The following fields are mutually exclusive: `deployment`, `api`, `operation`, `spec`, `definition`, `version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1021
1027
|
# @!attribute [rw] spec
|
1022
1028
|
# @return [::Google::Cloud::ApiHub::V1::Spec]
|
1023
1029
|
# This represents Spec resource in search results. Only name,
|
1024
1030
|
# display_name and description fields are populated in search results.
|
1031
|
+
#
|
1032
|
+
# Note: The following fields are mutually exclusive: `spec`, `api`, `operation`, `deployment`, `definition`, `version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1025
1033
|
# @!attribute [rw] definition
|
1026
1034
|
# @return [::Google::Cloud::ApiHub::V1::Definition]
|
1027
1035
|
# This represents Definition resource in search results.
|
1028
1036
|
# Only name field is populated in search results.
|
1037
|
+
#
|
1038
|
+
# Note: The following fields are mutually exclusive: `definition`, `api`, `operation`, `deployment`, `spec`, `version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1029
1039
|
# @!attribute [rw] version
|
1030
1040
|
# @return [::Google::Cloud::ApiHub::V1::Version]
|
1031
1041
|
# This represents Version resource in search results. Only name,
|
1032
1042
|
# display_name and description fields are populated in search results.
|
1043
|
+
#
|
1044
|
+
# Note: The following fields are mutually exclusive: `version`, `api`, `operation`, `deployment`, `spec`, `definition`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1033
1045
|
class ApiHubResource
|
1034
1046
|
include ::Google::Protobuf::MessageExts
|
1035
1047
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -848,14 +848,20 @@ module Google
|
|
848
848
|
# @return [::Google::Cloud::ApiHub::V1::AttributeValues::EnumAttributeValues]
|
849
849
|
# The attribute values associated with a resource in case attribute data
|
850
850
|
# type is enum.
|
851
|
+
#
|
852
|
+
# Note: The following fields are mutually exclusive: `enum_values`, `string_values`, `json_values`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
851
853
|
# @!attribute [rw] string_values
|
852
854
|
# @return [::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues]
|
853
855
|
# The attribute values associated with a resource in case attribute data
|
854
856
|
# type is string.
|
857
|
+
#
|
858
|
+
# Note: The following fields are mutually exclusive: `string_values`, `enum_values`, `json_values`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
855
859
|
# @!attribute [rw] json_values
|
856
860
|
# @return [::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues]
|
857
861
|
# The attribute values associated with a resource in case attribute data
|
858
862
|
# type is JSON.
|
863
|
+
#
|
864
|
+
# Note: The following fields are mutually exclusive: `json_values`, `enum_values`, `string_values`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
859
865
|
# @!attribute [r] attribute
|
860
866
|
# @return [::String]
|
861
867
|
# Output only. The name of the attribute.
|
@@ -969,12 +975,16 @@ module Google
|
|
969
975
|
#
|
970
976
|
# Format:
|
971
977
|
# `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
|
978
|
+
#
|
979
|
+
# Note: The following fields are mutually exclusive: `operation_resource_name`, `external_api_resource_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
972
980
|
# @!attribute [rw] external_api_resource_name
|
973
981
|
# @return [::String]
|
974
982
|
# The resource name of an external API in the API Hub.
|
975
983
|
#
|
976
984
|
# Format:
|
977
985
|
# `projects/{project}/locations/{location}/externalApis/{external_api}`
|
986
|
+
#
|
987
|
+
# Note: The following fields are mutually exclusive: `external_api_resource_name`, `operation_resource_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
978
988
|
# @!attribute [r] display_name
|
979
989
|
# @return [::String]
|
980
990
|
# Output only. Display name of the entity.
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-api_hub-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -164,7 +163,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
164
163
|
licenses:
|
165
164
|
- Apache-2.0
|
166
165
|
metadata: {}
|
167
|
-
post_install_message:
|
168
166
|
rdoc_options: []
|
169
167
|
require_paths:
|
170
168
|
- lib
|
@@ -172,15 +170,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
170
|
requirements:
|
173
171
|
- - ">="
|
174
172
|
- !ruby/object:Gem::Version
|
175
|
-
version: '
|
173
|
+
version: '3.0'
|
176
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
175
|
requirements:
|
178
176
|
- - ">="
|
179
177
|
- !ruby/object:Gem::Version
|
180
178
|
version: '0'
|
181
179
|
requirements: []
|
182
|
-
rubygems_version: 3.
|
183
|
-
signing_key:
|
180
|
+
rubygems_version: 3.6.2
|
184
181
|
specification_version: 4
|
185
182
|
summary: API Client library for the API hub V1 API
|
186
183
|
test_files: []
|