google-cloud-api_hub-v1 0.8.0 → 0.10.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/README.md +1 -1
- data/lib/google/cloud/api_hub/v1/api_hub/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/api_hub_collect/rest/operations.rb +2 -0
- data/lib/google/cloud/api_hub/v1/api_hub_curate/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/api_hub_dependencies/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/api_hub_discovery/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/api_hub_plugin/rest/operations.rb +2 -0
- data/lib/google/cloud/api_hub/v1/host_project_registration_service/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/linting_service/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/provisioning/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/provisioning/rest/operations.rb +2 -0
- data/lib/google/cloud/api_hub/v1/runtime_project_attachment_service/rest/client.rb +2 -0
- data/lib/google/cloud/api_hub/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +149 -29
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9252df9bb89013553c66dc41b4adc62ca981131c30548656a7f618feaadb4e8a
|
|
4
|
+
data.tar.gz: 3d9c2acd1a4aec964b0463889caf899418e761de080e1c5701b06f0c0c9e94b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91a29fb9e93e9c51727211455ff8cebe24876d54690686d346d88ea7079737a1fd1752863a91cfcde071ea2cf9fa867f08e6514b30f6496c53ba56dbaa2d9700
|
|
7
|
+
data.tar.gz: f16366c1907043d2ebac9e40561a31f29e281155c22a414c9936a5bbe6542d52b47b652687a9c7dc2e871fef3bbc8b50af39e566ce6851ba19097e7ecb03c841
|
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 3.
|
|
89
|
+
This library is supported on Ruby 3.2+.
|
|
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
|
|
@@ -4380,6 +4380,7 @@ module Google
|
|
|
4380
4380
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
4381
4381
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
4382
4382
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
4383
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
4383
4384
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
4384
4385
|
# trigger a retry.
|
|
4385
4386
|
# @return [::Hash]
|
|
@@ -4459,6 +4460,7 @@ module Google
|
|
|
4459
4460
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
4460
4461
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
4461
4462
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
4463
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
4462
4464
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
4463
4465
|
# trigger a retry.
|
|
4464
4466
|
#
|
|
@@ -380,6 +380,7 @@ module Google
|
|
|
380
380
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
381
381
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
382
382
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
383
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
383
384
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
384
385
|
# trigger a retry.
|
|
385
386
|
# @return [::Hash]
|
|
@@ -459,6 +460,7 @@ module Google
|
|
|
459
460
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
460
461
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
461
462
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
463
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
462
464
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
463
465
|
# trigger a retry.
|
|
464
466
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -734,6 +734,7 @@ module Google
|
|
|
734
734
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
735
735
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
736
736
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
737
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
737
738
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
738
739
|
# trigger a retry.
|
|
739
740
|
# @return [::Hash]
|
|
@@ -813,6 +814,7 @@ module Google
|
|
|
813
814
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
814
815
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
815
816
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
817
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
816
818
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
817
819
|
# trigger a retry.
|
|
818
820
|
#
|
|
@@ -748,6 +748,7 @@ module Google
|
|
|
748
748
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
749
749
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
750
750
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
751
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
751
752
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
752
753
|
# trigger a retry.
|
|
753
754
|
# @return [::Hash]
|
|
@@ -827,6 +828,7 @@ module Google
|
|
|
827
828
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
828
829
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
829
830
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
831
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
830
832
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
831
833
|
# trigger a retry.
|
|
832
834
|
#
|
|
@@ -622,6 +622,7 @@ module Google
|
|
|
622
622
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
623
623
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
624
624
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
625
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
625
626
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
626
627
|
# trigger a retry.
|
|
627
628
|
# @return [::Hash]
|
|
@@ -701,6 +702,7 @@ module Google
|
|
|
701
702
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
702
703
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
703
704
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
705
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
704
706
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
705
707
|
# trigger a retry.
|
|
706
708
|
#
|
|
@@ -1601,6 +1601,7 @@ module Google
|
|
|
1601
1601
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1602
1602
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1603
1603
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1604
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1604
1605
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1605
1606
|
# trigger a retry.
|
|
1606
1607
|
# @return [::Hash]
|
|
@@ -1680,6 +1681,7 @@ module Google
|
|
|
1680
1681
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1681
1682
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1682
1683
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1684
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1683
1685
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1684
1686
|
# trigger a retry.
|
|
1685
1687
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -561,6 +561,7 @@ module Google
|
|
|
561
561
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
562
562
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
563
563
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
564
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
564
565
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
565
566
|
# trigger a retry.
|
|
566
567
|
# @return [::Hash]
|
|
@@ -640,6 +641,7 @@ module Google
|
|
|
640
641
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
641
642
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
642
643
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
644
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
643
645
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
644
646
|
# trigger a retry.
|
|
645
647
|
#
|
|
@@ -600,6 +600,7 @@ module Google
|
|
|
600
600
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
601
601
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
602
602
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
603
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
603
604
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
604
605
|
# trigger a retry.
|
|
605
606
|
# @return [::Hash]
|
|
@@ -679,6 +680,7 @@ module Google
|
|
|
679
680
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
680
681
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
681
682
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
683
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
682
684
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
683
685
|
# trigger a retry.
|
|
684
686
|
#
|
|
@@ -637,6 +637,7 @@ module Google
|
|
|
637
637
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
638
638
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
639
639
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
640
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
640
641
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
641
642
|
# trigger a retry.
|
|
642
643
|
# @return [::Hash]
|
|
@@ -716,6 +717,7 @@ module Google
|
|
|
716
717
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
717
718
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
718
719
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
720
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
719
721
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
720
722
|
# trigger a retry.
|
|
721
723
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -727,6 +727,7 @@ module Google
|
|
|
727
727
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
728
728
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
729
729
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
730
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
730
731
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
731
732
|
# trigger a retry.
|
|
732
733
|
# @return [::Hash]
|
|
@@ -806,6 +807,7 @@ module Google
|
|
|
806
807
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
807
808
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
808
809
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
810
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
809
811
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
810
812
|
# trigger a retry.
|
|
811
813
|
#
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
# @!attribute [rw] selective_gapic_generation
|
|
32
32
|
# @return [::Google::Api::SelectiveGapicGeneration]
|
|
33
33
|
# Configuration for which RPCs should be generated in the GAPIC client.
|
|
34
|
+
#
|
|
35
|
+
# Note: This field should not be used in most cases.
|
|
34
36
|
class CommonLanguageSettings
|
|
35
37
|
include ::Google::Protobuf::MessageExts
|
|
36
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -141,9 +143,10 @@ module Google
|
|
|
141
143
|
#
|
|
142
144
|
# Example of a YAML configuration::
|
|
143
145
|
#
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
146
|
+
# publishing:
|
|
147
|
+
# library_settings:
|
|
148
|
+
# java_settings:
|
|
149
|
+
# library_package: com.google.cloud.pubsub.v1
|
|
147
150
|
# @!attribute [rw] service_class_names
|
|
148
151
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
149
152
|
# Configure the Java class name to use instead of the service's for its
|
|
@@ -155,11 +158,11 @@ module Google
|
|
|
155
158
|
#
|
|
156
159
|
# Example of a YAML configuration::
|
|
157
160
|
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
161
|
+
# publishing:
|
|
162
|
+
# java_settings:
|
|
163
|
+
# service_class_names:
|
|
164
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
|
165
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
163
166
|
# @!attribute [rw] common
|
|
164
167
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
165
168
|
# Some settings.
|
|
@@ -190,6 +193,20 @@ module Google
|
|
|
190
193
|
# @!attribute [rw] common
|
|
191
194
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
192
195
|
# Some settings.
|
|
196
|
+
# @!attribute [rw] library_package
|
|
197
|
+
# @return [::String]
|
|
198
|
+
# The package name to use in Php. Clobbers the php_namespace option
|
|
199
|
+
# set in the protobuf. This should be used **only** by APIs
|
|
200
|
+
# who have already set the language_settings.php.package_name" field
|
|
201
|
+
# in gapic.yaml. API teams should use the protobuf php_namespace option
|
|
202
|
+
# where possible.
|
|
203
|
+
#
|
|
204
|
+
# Example of a YAML configuration::
|
|
205
|
+
#
|
|
206
|
+
# publishing:
|
|
207
|
+
# library_settings:
|
|
208
|
+
# php_settings:
|
|
209
|
+
# library_package: Google\Cloud\PubSub\V1
|
|
193
210
|
class PhpSettings
|
|
194
211
|
include ::Google::Protobuf::MessageExts
|
|
195
212
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -318,10 +335,12 @@ module Google
|
|
|
318
335
|
# service names and values are the name to be used for the service client
|
|
319
336
|
# and call options.
|
|
320
337
|
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
338
|
+
# Example:
|
|
339
|
+
#
|
|
340
|
+
# publishing:
|
|
341
|
+
# go_settings:
|
|
342
|
+
# renamed_services:
|
|
343
|
+
# Publisher: TopicAdmin
|
|
325
344
|
class GoSettings
|
|
326
345
|
include ::Google::Protobuf::MessageExts
|
|
327
346
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -344,10 +363,10 @@ module Google
|
|
|
344
363
|
#
|
|
345
364
|
# Example:
|
|
346
365
|
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
366
|
+
# publishing:
|
|
367
|
+
# method_settings:
|
|
368
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
369
|
+
# # method settings for CreateFolder...
|
|
351
370
|
# @!attribute [rw] long_running
|
|
352
371
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
353
372
|
# Describes settings to use for long-running operations when generating
|
|
@@ -356,14 +375,14 @@ module Google
|
|
|
356
375
|
#
|
|
357
376
|
# Example of a YAML configuration::
|
|
358
377
|
#
|
|
359
|
-
#
|
|
360
|
-
#
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
378
|
+
# publishing:
|
|
379
|
+
# method_settings:
|
|
380
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
381
|
+
# long_running:
|
|
382
|
+
# initial_poll_delay: 60s # 1 minute
|
|
383
|
+
# poll_delay_multiplier: 1.5
|
|
384
|
+
# max_poll_delay: 360s # 6 minutes
|
|
385
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
367
386
|
# @!attribute [rw] auto_populated_fields
|
|
368
387
|
# @return [::Array<::String>]
|
|
369
388
|
# List of top-level fields of the request message, that should be
|
|
@@ -372,11 +391,24 @@ module Google
|
|
|
372
391
|
#
|
|
373
392
|
# Example of a YAML configuration:
|
|
374
393
|
#
|
|
375
|
-
#
|
|
376
|
-
#
|
|
377
|
-
#
|
|
378
|
-
#
|
|
379
|
-
#
|
|
394
|
+
# publishing:
|
|
395
|
+
# method_settings:
|
|
396
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
|
397
|
+
# auto_populated_fields:
|
|
398
|
+
# - request_id
|
|
399
|
+
# @!attribute [rw] batching
|
|
400
|
+
# @return [::Google::Api::BatchingConfigProto]
|
|
401
|
+
# Batching configuration for an API method in client libraries.
|
|
402
|
+
#
|
|
403
|
+
# Example of a YAML configuration:
|
|
404
|
+
#
|
|
405
|
+
# publishing:
|
|
406
|
+
# method_settings:
|
|
407
|
+
# - selector: google.example.v1.ExampleService.BatchCreateExample
|
|
408
|
+
# batching:
|
|
409
|
+
# element_count_threshold: 1000
|
|
410
|
+
# request_byte_threshold: 100000000
|
|
411
|
+
# delay_threshold_millis: 10
|
|
380
412
|
class MethodSettings
|
|
381
413
|
include ::Google::Protobuf::MessageExts
|
|
382
414
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -411,6 +443,8 @@ module Google
|
|
|
411
443
|
|
|
412
444
|
# This message is used to configure the generation of a subset of the RPCs in
|
|
413
445
|
# a service for client libraries.
|
|
446
|
+
#
|
|
447
|
+
# Note: This feature should not be used in most cases.
|
|
414
448
|
# @!attribute [rw] methods
|
|
415
449
|
# @return [::Array<::String>]
|
|
416
450
|
# An allowlist of the fully qualified names of RPCs that should be included
|
|
@@ -428,6 +462,77 @@ module Google
|
|
|
428
462
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
429
463
|
end
|
|
430
464
|
|
|
465
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
|
466
|
+
# @!attribute [rw] thresholds
|
|
467
|
+
# @return [::Google::Api::BatchingSettingsProto]
|
|
468
|
+
# The thresholds which trigger a batched request to be sent.
|
|
469
|
+
# @!attribute [rw] batch_descriptor
|
|
470
|
+
# @return [::Google::Api::BatchingDescriptorProto]
|
|
471
|
+
# The request and response fields used in batching.
|
|
472
|
+
class BatchingConfigProto
|
|
473
|
+
include ::Google::Protobuf::MessageExts
|
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of
|
|
478
|
+
# which acts as a trigger to send a batch of messages as a request. At least
|
|
479
|
+
# one threshold must be positive nonzero.
|
|
480
|
+
# @!attribute [rw] element_count_threshold
|
|
481
|
+
# @return [::Integer]
|
|
482
|
+
# The number of elements of a field collected into a batch which, if
|
|
483
|
+
# exceeded, causes the batch to be sent.
|
|
484
|
+
# @!attribute [rw] request_byte_threshold
|
|
485
|
+
# @return [::Integer]
|
|
486
|
+
# The aggregated size of the batched field which, if exceeded, causes the
|
|
487
|
+
# batch to be sent. This size is computed by aggregating the sizes of the
|
|
488
|
+
# request field to be batched, not of the entire request message.
|
|
489
|
+
# @!attribute [rw] delay_threshold
|
|
490
|
+
# @return [::Google::Protobuf::Duration]
|
|
491
|
+
# The duration after which a batch should be sent, starting from the addition
|
|
492
|
+
# of the first message to that batch.
|
|
493
|
+
# @!attribute [rw] element_count_limit
|
|
494
|
+
# @return [::Integer]
|
|
495
|
+
# The maximum number of elements collected in a batch that could be accepted
|
|
496
|
+
# by server.
|
|
497
|
+
# @!attribute [rw] request_byte_limit
|
|
498
|
+
# @return [::Integer]
|
|
499
|
+
# The maximum size of the request that could be accepted by server.
|
|
500
|
+
# @!attribute [rw] flow_control_element_limit
|
|
501
|
+
# @return [::Integer]
|
|
502
|
+
# The maximum number of elements allowed by flow control.
|
|
503
|
+
# @!attribute [rw] flow_control_byte_limit
|
|
504
|
+
# @return [::Integer]
|
|
505
|
+
# The maximum size of data allowed by flow control.
|
|
506
|
+
# @!attribute [rw] flow_control_limit_exceeded_behavior
|
|
507
|
+
# @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
|
|
508
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
509
|
+
class BatchingSettingsProto
|
|
510
|
+
include ::Google::Protobuf::MessageExts
|
|
511
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
|
515
|
+
# used for batching, and, optionally, the fields of the response message to be
|
|
516
|
+
# used for demultiplexing.
|
|
517
|
+
# @!attribute [rw] batched_field
|
|
518
|
+
# @return [::String]
|
|
519
|
+
# The repeated field in the request message to be aggregated by batching.
|
|
520
|
+
# @!attribute [rw] discriminator_fields
|
|
521
|
+
# @return [::Array<::String>]
|
|
522
|
+
# A list of the fields in the request message. Two requests will be batched
|
|
523
|
+
# together only if the values of every field specified in
|
|
524
|
+
# `request_discriminator_fields` is equal between the two requests.
|
|
525
|
+
# @!attribute [rw] subresponse_field
|
|
526
|
+
# @return [::String]
|
|
527
|
+
# Optional. When present, indicates the field in the response message to be
|
|
528
|
+
# used to demultiplex the response into multiple response messages, in
|
|
529
|
+
# correspondence with the multiple request messages originally batched
|
|
530
|
+
# together.
|
|
531
|
+
class BatchingDescriptorProto
|
|
532
|
+
include ::Google::Protobuf::MessageExts
|
|
533
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
534
|
+
end
|
|
535
|
+
|
|
431
536
|
# The organization for which the client libraries are being published.
|
|
432
537
|
# Affects the url where generated docs are published, etc.
|
|
433
538
|
module ClientLibraryOrganization
|
|
@@ -469,5 +574,20 @@ module Google
|
|
|
469
574
|
# Publish the library to package managers like nuget.org and npmjs.com.
|
|
470
575
|
PACKAGE_MANAGER = 20
|
|
471
576
|
end
|
|
577
|
+
|
|
578
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
579
|
+
module FlowControlLimitExceededBehaviorProto
|
|
580
|
+
# Default behavior, system-defined.
|
|
581
|
+
UNSET_BEHAVIOR = 0
|
|
582
|
+
|
|
583
|
+
# Stop operation, raise error.
|
|
584
|
+
THROW_EXCEPTION = 1
|
|
585
|
+
|
|
586
|
+
# Pause operation until limit clears.
|
|
587
|
+
BLOCK = 2
|
|
588
|
+
|
|
589
|
+
# Continue operation, disregard limit.
|
|
590
|
+
IGNORE = 3
|
|
591
|
+
end
|
|
472
592
|
end
|
|
473
593
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.3'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.3'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|