googleapis-common-protos-types 1.0.2 → 1.5.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 +5 -5
- data/CHANGELOG.md +78 -0
- data/README.md +19 -0
- data/lib/google/api/annotations_pb.rb +4 -0
- data/lib/google/api/auth_pb.rb +40 -29
- data/lib/google/api/backend_pb.rb +25 -10
- data/lib/google/api/billing_pb.rb +10 -10
- data/lib/google/api/client_pb.rb +109 -0
- data/lib/google/api/config_change_pb.rb +20 -18
- data/lib/google/api/consumer_pb.rb +19 -17
- data/lib/google/api/context_pb.rb +13 -9
- data/lib/google/api/control_pb.rb +5 -3
- data/lib/google/api/distribution_pb.rb +46 -37
- data/lib/google/api/documentation_pb.rb +22 -19
- data/lib/google/api/endpoint_pb.rb +8 -8
- data/lib/google/api/error_reason_pb.rb +45 -0
- data/lib/google/api/field_behavior_pb.rb +27 -0
- data/lib/google/api/http_pb.rb +25 -22
- data/lib/google/api/httpbody_pb.rb +8 -5
- data/lib/google/api/label_pb.rb +13 -11
- data/lib/google/api/launch_stage_pb.rb +25 -0
- data/lib/google/api/log_pb.rb +9 -6
- data/lib/google/api/logging_pb.rb +11 -10
- data/lib/google/api/metric_pb.rb +46 -32
- data/lib/google/api/monitored_resource_pb.rb +22 -17
- data/lib/google/api/monitoring_pb.rb +11 -10
- data/lib/google/api/quota_pb.rb +24 -23
- data/lib/google/api/resource_pb.rb +42 -0
- data/lib/google/api/routing_pb.rb +25 -0
- data/lib/google/api/service_pb.rb +32 -32
- data/lib/google/api/source_info_pb.rb +6 -3
- data/lib/google/api/system_parameter_pb.rb +16 -14
- data/lib/google/api/usage_pb.rb +13 -12
- data/lib/google/api/visibility_pb.rb +25 -0
- data/lib/google/logging/type/http_request_pb.rb +30 -18
- data/lib/google/logging/type/log_severity_pb.rb +23 -12
- data/lib/google/longrunning/operations_pb.rb +48 -32
- data/lib/google/rpc/code_pb.rb +21 -19
- data/lib/google/rpc/error_details_pb.rb +71 -62
- data/lib/google/rpc/http_pb.rb +33 -0
- data/lib/google/rpc/status_pb.rb +8 -5
- data/lib/google/type/calendar_period_pb.rb +25 -0
- data/lib/google/type/color_pb.rb +9 -6
- data/lib/google/type/date_pb.rb +7 -5
- data/lib/google/type/datetime_pb.rb +35 -0
- data/lib/google/type/dayofweek_pb.rb +12 -10
- data/lib/google/type/decimal_pb.rb +18 -0
- data/lib/google/type/expr_pb.rb +21 -0
- data/lib/google/type/fraction_pb.rb +19 -0
- data/lib/google/type/interval_pb.rb +21 -0
- data/lib/google/type/latlng_pb.rb +6 -4
- data/lib/google/type/localized_text_pb.rb +19 -0
- data/lib/google/type/money_pb.rb +7 -5
- data/lib/google/type/month_pb.rb +30 -0
- data/lib/google/type/phone_number_pb.rb +27 -0
- data/lib/google/type/postal_address_pb.rb +15 -13
- data/lib/google/type/quaternion_pb.rb +21 -0
- data/lib/google/type/timeofday_pb.rb +8 -6
- data/lib/googleapis/common/protos/types/version.rb +23 -0
- metadata +32 -39
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 943d1bf8f7a6d909eb693e788192ba4a3fcb537f4c852e9812b1b65ad7b89f5a
|
|
4
|
+
data.tar.gz: c1e5136a989b793dfd107238dc5db53a0a6bb89631c0300dfa59781221b99a28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6fadf7159dde3a7bfb06a323fff7e4dfebb921c866cb43d027d2d61b3bbd73575ae46e3ca25924e54bcb85ae1d837182e9a8b1b70a0e077cb49d3ac05f22563
|
|
7
|
+
data.tar.gz: a4e02dbbd62459b3d520dc4f2805902b2bfea28ecb7d528aec0f6c751e3fd03a525cc2a4a93713386029bbb177effe6f57047a8b531da68a8fd3c8e728de0e4e
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
### 1.5.0 (2023-01-04)
|
|
4
|
+
|
|
5
|
+
#### Features
|
|
6
|
+
|
|
7
|
+
* Added "cookie" JwtLocation
|
|
8
|
+
* Added protos related to client library publishing
|
|
9
|
+
* Added several new error reasons
|
|
10
|
+
* Added protos describing HTTP requests and responses
|
|
11
|
+
|
|
12
|
+
### 1.4.0 (2022-08-17)
|
|
13
|
+
|
|
14
|
+
#### Features
|
|
15
|
+
|
|
16
|
+
* Update minimum Ruby version to 2.6 ([#75](https://github.com/googleapis/common-protos-ruby/issues/75))
|
|
17
|
+
|
|
18
|
+
### 1.3.2 (2022-06-23)
|
|
19
|
+
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* Remove some unnecessary requires
|
|
23
|
+
|
|
24
|
+
### 1.3.1 (2022-04-05)
|
|
25
|
+
|
|
26
|
+
* Sync updates to imports in the source protos
|
|
27
|
+
|
|
28
|
+
### 1.3.0 (2021-10-19)
|
|
29
|
+
|
|
30
|
+
* Add google/api/routing to common-protos-types
|
|
31
|
+
* Remove cloud-specific extended_operations proto. It's being moved to google-cloud-common.
|
|
32
|
+
|
|
33
|
+
### 1.2.0 (2021-09-03)
|
|
34
|
+
|
|
35
|
+
* Add Google::Cloud::OperationResponseMapping and the extended_operations_pb file
|
|
36
|
+
* Removed unnecessary files from the gem package
|
|
37
|
+
|
|
38
|
+
### 1.1.0 / 2021-07-07
|
|
39
|
+
|
|
40
|
+
* Add Google::Api::ErrorReason
|
|
41
|
+
* Add Google::Api::Visibility and Google::Api::VisibilityRule
|
|
42
|
+
* Add Google::Type::Decimal
|
|
43
|
+
* Add NON_EMPTY_DEFAULT value to Google::Api::FieldBehavior.
|
|
44
|
+
|
|
45
|
+
### 1.0.6 / 2021-02-01
|
|
46
|
+
|
|
47
|
+
* Add Google::Type::Interval type.
|
|
48
|
+
* Add Google::Type::LocalizedText type.
|
|
49
|
+
* Add Google::Type::PhoneNumber and Google::Type::PhoneNumber::ShortCode types.
|
|
50
|
+
* Add "service_root_url" field to Google::Api::Documentation.
|
|
51
|
+
* Add UNORDERED_LIST value to Google::Api::FieldBehavior.
|
|
52
|
+
* Add UNIMPLEMENTED and PRELAUNCH values to Google::Api::LaunchStage.
|
|
53
|
+
* Add "monitored_resource_types" field to Google::Api::MetricDescriptor.
|
|
54
|
+
* Add Google::Api::ResourceDescriptor::Style type and add "style" field to Google::Api::ResourceDescriptor.
|
|
55
|
+
* Moved HttpRequest and LogSeverity types from Google::Logging::Type to Google::Cloud::Logging::Type, and created aliases for backward compatibility.
|
|
56
|
+
* Remove internal "features" field from Google::Api::Endpoint.
|
|
57
|
+
* Require protobuf 3.14.
|
|
58
|
+
|
|
59
|
+
### 1.0.5 / 2020-04-08
|
|
60
|
+
|
|
61
|
+
* Add JWT location support in Google::Api::AuthProvider.
|
|
62
|
+
* Add "protocol" field and a "disable_auth" option to Google::Api::BackendRule.
|
|
63
|
+
* Add "launch_stage" field to Google::Api::MetricDescriptor and Google::Api::MonitoredResourceDescriptor.
|
|
64
|
+
* Add Google::Api::ResourceDescriptor and Google::Api::ResourceReference types and remove obsolete Google::Api::Resource type.
|
|
65
|
+
* Remove obsolete "experimental" field from Google::Api::Service type.
|
|
66
|
+
* Add Google::Rpc::ErrorInfo type.
|
|
67
|
+
* Add Google::Type::DateTime, Google::Type::Month, and Google::Type::TimeZone types.
|
|
68
|
+
* Require protobuf 3.11.
|
|
69
|
+
|
|
70
|
+
### 1.0.4 / 2019-04-03
|
|
71
|
+
|
|
72
|
+
* Add WaitOperation RPC to operations_pb.rb and update documentation.
|
|
73
|
+
* Add new common types for:
|
|
74
|
+
+ google/api/resource.proto
|
|
75
|
+
+ google/type/calendar_period.proto
|
|
76
|
+
+ google/type/expr.proto
|
|
77
|
+
+ google/type/fraction.proto
|
|
78
|
+
+ google/type/quaternion.proto
|
data/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Common Types
|
|
2
|
+
|
|
3
|
+
This gem contains common message types for Google APIs.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'googleapis-common-protos-types'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
And then execute:
|
|
14
|
+
|
|
15
|
+
$ bundle
|
|
16
|
+
|
|
17
|
+
Or install it yourself as:
|
|
18
|
+
|
|
19
|
+
$ gem install googleapis-common-protos-types
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
6
|
require 'google/api/http_pb'
|
|
7
|
+
require 'google/protobuf/descriptor_pb'
|
|
8
|
+
|
|
7
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
|
+
add_file("google/api/annotations.proto", :syntax => :proto3) do
|
|
11
|
+
end
|
|
8
12
|
end
|
|
9
13
|
|
|
10
14
|
module Google
|
data/lib/google/api/auth_pb.rb
CHANGED
|
@@ -3,40 +3,51 @@
|
|
|
3
3
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
|
-
require 'google/api/annotations_pb'
|
|
7
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
7
|
+
add_file("google/api/auth.proto", :syntax => :proto3) do
|
|
8
|
+
add_message "google.api.Authentication" do
|
|
9
|
+
repeated :rules, :message, 3, "google.api.AuthenticationRule"
|
|
10
|
+
repeated :providers, :message, 4, "google.api.AuthProvider"
|
|
11
|
+
end
|
|
12
|
+
add_message "google.api.AuthenticationRule" do
|
|
13
|
+
optional :selector, :string, 1
|
|
14
|
+
optional :oauth, :message, 2, "google.api.OAuthRequirements"
|
|
15
|
+
optional :allow_without_credential, :bool, 5
|
|
16
|
+
repeated :requirements, :message, 7, "google.api.AuthRequirement"
|
|
17
|
+
end
|
|
18
|
+
add_message "google.api.JwtLocation" do
|
|
19
|
+
optional :value_prefix, :string, 3
|
|
20
|
+
oneof :in do
|
|
21
|
+
optional :header, :string, 1
|
|
22
|
+
optional :query, :string, 2
|
|
23
|
+
optional :cookie, :string, 4
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
add_message "google.api.AuthProvider" do
|
|
27
|
+
optional :id, :string, 1
|
|
28
|
+
optional :issuer, :string, 2
|
|
29
|
+
optional :jwks_uri, :string, 3
|
|
30
|
+
optional :audiences, :string, 4
|
|
31
|
+
optional :authorization_url, :string, 5
|
|
32
|
+
repeated :jwt_locations, :message, 6, "google.api.JwtLocation"
|
|
33
|
+
end
|
|
34
|
+
add_message "google.api.OAuthRequirements" do
|
|
35
|
+
optional :canonical_scopes, :string, 1
|
|
36
|
+
end
|
|
37
|
+
add_message "google.api.AuthRequirement" do
|
|
38
|
+
optional :provider_id, :string, 1
|
|
39
|
+
optional :audiences, :string, 2
|
|
40
|
+
end
|
|
31
41
|
end
|
|
32
42
|
end
|
|
33
43
|
|
|
34
44
|
module Google
|
|
35
45
|
module Api
|
|
36
|
-
Authentication = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Authentication").msgclass
|
|
37
|
-
AuthenticationRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.AuthenticationRule").msgclass
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
46
|
+
Authentication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Authentication").msgclass
|
|
47
|
+
AuthenticationRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.AuthenticationRule").msgclass
|
|
48
|
+
JwtLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.JwtLocation").msgclass
|
|
49
|
+
AuthProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.AuthProvider").msgclass
|
|
50
|
+
OAuthRequirements = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.OAuthRequirements").msgclass
|
|
51
|
+
AuthRequirement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.AuthRequirement").msgclass
|
|
41
52
|
end
|
|
42
53
|
end
|
|
@@ -4,20 +4,35 @@
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
add_file("google/api/backend.proto", :syntax => :proto3) do
|
|
8
|
+
add_message "google.api.Backend" do
|
|
9
|
+
repeated :rules, :message, 1, "google.api.BackendRule"
|
|
10
|
+
end
|
|
11
|
+
add_message "google.api.BackendRule" do
|
|
12
|
+
optional :selector, :string, 1
|
|
13
|
+
optional :address, :string, 2
|
|
14
|
+
optional :deadline, :double, 3
|
|
15
|
+
optional :min_deadline, :double, 4
|
|
16
|
+
optional :operation_deadline, :double, 5
|
|
17
|
+
optional :path_translation, :enum, 6, "google.api.BackendRule.PathTranslation"
|
|
18
|
+
optional :protocol, :string, 9
|
|
19
|
+
oneof :authentication do
|
|
20
|
+
optional :jwt_audience, :string, 7
|
|
21
|
+
optional :disable_auth, :bool, 8
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
add_enum "google.api.BackendRule.PathTranslation" do
|
|
25
|
+
value :PATH_TRANSLATION_UNSPECIFIED, 0
|
|
26
|
+
value :CONSTANT_ADDRESS, 1
|
|
27
|
+
value :APPEND_PATH_TO_ADDRESS, 2
|
|
28
|
+
end
|
|
15
29
|
end
|
|
16
30
|
end
|
|
17
31
|
|
|
18
32
|
module Google
|
|
19
33
|
module Api
|
|
20
|
-
Backend = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Backend").msgclass
|
|
21
|
-
BackendRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BackendRule").msgclass
|
|
34
|
+
Backend = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Backend").msgclass
|
|
35
|
+
BackendRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BackendRule").msgclass
|
|
36
|
+
BackendRule::PathTranslation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BackendRule.PathTranslation").enummodule
|
|
22
37
|
end
|
|
23
38
|
end
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
|
-
require 'google/api/annotations_pb'
|
|
7
|
-
require 'google/api/metric_pb'
|
|
8
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
add_file("google/api/billing.proto", :syntax => :proto3) do
|
|
8
|
+
add_message "google.api.Billing" do
|
|
9
|
+
repeated :consumer_destinations, :message, 8, "google.api.Billing.BillingDestination"
|
|
10
|
+
end
|
|
11
|
+
add_message "google.api.Billing.BillingDestination" do
|
|
12
|
+
optional :monitored_resource, :string, 1
|
|
13
|
+
repeated :metrics, :string, 2
|
|
14
|
+
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
module Google
|
|
19
19
|
module Api
|
|
20
|
-
Billing = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Billing").msgclass
|
|
21
|
-
Billing::BillingDestination = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Billing.BillingDestination").msgclass
|
|
20
|
+
Billing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Billing").msgclass
|
|
21
|
+
Billing::BillingDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Billing.BillingDestination").msgclass
|
|
22
22
|
end
|
|
23
23
|
end
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# source: google/api/client.proto
|
|
3
|
+
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
6
|
+
require 'google/api/launch_stage_pb'
|
|
7
|
+
require 'google/protobuf/descriptor_pb'
|
|
8
|
+
require 'google/protobuf/duration_pb'
|
|
9
|
+
|
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
|
+
add_file("google/api/client.proto", :syntax => :proto3) do
|
|
12
|
+
add_message "google.api.CommonLanguageSettings" do
|
|
13
|
+
optional :reference_docs_uri, :string, 1
|
|
14
|
+
repeated :destinations, :enum, 2, "google.api.ClientLibraryDestination"
|
|
15
|
+
end
|
|
16
|
+
add_message "google.api.ClientLibrarySettings" do
|
|
17
|
+
optional :version, :string, 1
|
|
18
|
+
optional :launch_stage, :enum, 2, "google.api.LaunchStage"
|
|
19
|
+
optional :rest_numeric_enums, :bool, 3
|
|
20
|
+
optional :java_settings, :message, 21, "google.api.JavaSettings"
|
|
21
|
+
optional :cpp_settings, :message, 22, "google.api.CppSettings"
|
|
22
|
+
optional :php_settings, :message, 23, "google.api.PhpSettings"
|
|
23
|
+
optional :python_settings, :message, 24, "google.api.PythonSettings"
|
|
24
|
+
optional :node_settings, :message, 25, "google.api.NodeSettings"
|
|
25
|
+
optional :dotnet_settings, :message, 26, "google.api.DotnetSettings"
|
|
26
|
+
optional :ruby_settings, :message, 27, "google.api.RubySettings"
|
|
27
|
+
optional :go_settings, :message, 28, "google.api.GoSettings"
|
|
28
|
+
end
|
|
29
|
+
add_message "google.api.Publishing" do
|
|
30
|
+
repeated :method_settings, :message, 2, "google.api.MethodSettings"
|
|
31
|
+
optional :new_issue_uri, :string, 101
|
|
32
|
+
optional :documentation_uri, :string, 102
|
|
33
|
+
optional :api_short_name, :string, 103
|
|
34
|
+
optional :github_label, :string, 104
|
|
35
|
+
repeated :codeowner_github_teams, :string, 105
|
|
36
|
+
optional :doc_tag_prefix, :string, 106
|
|
37
|
+
optional :organization, :enum, 107, "google.api.ClientLibraryOrganization"
|
|
38
|
+
repeated :library_settings, :message, 109, "google.api.ClientLibrarySettings"
|
|
39
|
+
end
|
|
40
|
+
add_message "google.api.JavaSettings" do
|
|
41
|
+
optional :library_package, :string, 1
|
|
42
|
+
map :service_class_names, :string, :string, 2
|
|
43
|
+
optional :common, :message, 3, "google.api.CommonLanguageSettings"
|
|
44
|
+
end
|
|
45
|
+
add_message "google.api.CppSettings" do
|
|
46
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
|
47
|
+
end
|
|
48
|
+
add_message "google.api.PhpSettings" do
|
|
49
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
|
50
|
+
end
|
|
51
|
+
add_message "google.api.PythonSettings" do
|
|
52
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
|
53
|
+
end
|
|
54
|
+
add_message "google.api.NodeSettings" do
|
|
55
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
|
56
|
+
end
|
|
57
|
+
add_message "google.api.DotnetSettings" do
|
|
58
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
|
59
|
+
end
|
|
60
|
+
add_message "google.api.RubySettings" do
|
|
61
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
|
62
|
+
end
|
|
63
|
+
add_message "google.api.GoSettings" do
|
|
64
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
|
65
|
+
end
|
|
66
|
+
add_message "google.api.MethodSettings" do
|
|
67
|
+
optional :selector, :string, 1
|
|
68
|
+
optional :long_running, :message, 2, "google.api.MethodSettings.LongRunning"
|
|
69
|
+
end
|
|
70
|
+
add_message "google.api.MethodSettings.LongRunning" do
|
|
71
|
+
optional :initial_poll_delay, :message, 1, "google.protobuf.Duration"
|
|
72
|
+
optional :poll_delay_multiplier, :float, 2
|
|
73
|
+
optional :max_poll_delay, :message, 3, "google.protobuf.Duration"
|
|
74
|
+
optional :total_poll_timeout, :message, 4, "google.protobuf.Duration"
|
|
75
|
+
end
|
|
76
|
+
add_enum "google.api.ClientLibraryOrganization" do
|
|
77
|
+
value :CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, 0
|
|
78
|
+
value :CLOUD, 1
|
|
79
|
+
value :ADS, 2
|
|
80
|
+
value :PHOTOS, 3
|
|
81
|
+
value :STREET_VIEW, 4
|
|
82
|
+
end
|
|
83
|
+
add_enum "google.api.ClientLibraryDestination" do
|
|
84
|
+
value :CLIENT_LIBRARY_DESTINATION_UNSPECIFIED, 0
|
|
85
|
+
value :GITHUB, 10
|
|
86
|
+
value :PACKAGE_MANAGER, 20
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
module Google
|
|
92
|
+
module Api
|
|
93
|
+
CommonLanguageSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CommonLanguageSettings").msgclass
|
|
94
|
+
ClientLibrarySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibrarySettings").msgclass
|
|
95
|
+
Publishing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Publishing").msgclass
|
|
96
|
+
JavaSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.JavaSettings").msgclass
|
|
97
|
+
CppSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CppSettings").msgclass
|
|
98
|
+
PhpSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.PhpSettings").msgclass
|
|
99
|
+
PythonSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.PythonSettings").msgclass
|
|
100
|
+
NodeSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.NodeSettings").msgclass
|
|
101
|
+
DotnetSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.DotnetSettings").msgclass
|
|
102
|
+
RubySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.RubySettings").msgclass
|
|
103
|
+
GoSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.GoSettings").msgclass
|
|
104
|
+
MethodSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings").msgclass
|
|
105
|
+
MethodSettings::LongRunning = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings.LongRunning").msgclass
|
|
106
|
+
ClientLibraryOrganization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryOrganization").enummodule
|
|
107
|
+
ClientLibraryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryDestination").enummodule
|
|
108
|
+
end
|
|
109
|
+
end
|
|
@@ -4,28 +4,30 @@
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
add_file("google/api/config_change.proto", :syntax => :proto3) do
|
|
8
|
+
add_message "google.api.ConfigChange" do
|
|
9
|
+
optional :element, :string, 1
|
|
10
|
+
optional :old_value, :string, 2
|
|
11
|
+
optional :new_value, :string, 3
|
|
12
|
+
optional :change_type, :enum, 4, "google.api.ChangeType"
|
|
13
|
+
repeated :advices, :message, 5, "google.api.Advice"
|
|
14
|
+
end
|
|
15
|
+
add_message "google.api.Advice" do
|
|
16
|
+
optional :description, :string, 2
|
|
17
|
+
end
|
|
18
|
+
add_enum "google.api.ChangeType" do
|
|
19
|
+
value :CHANGE_TYPE_UNSPECIFIED, 0
|
|
20
|
+
value :ADDED, 1
|
|
21
|
+
value :REMOVED, 2
|
|
22
|
+
value :MODIFIED, 3
|
|
23
|
+
end
|
|
22
24
|
end
|
|
23
25
|
end
|
|
24
26
|
|
|
25
27
|
module Google
|
|
26
28
|
module Api
|
|
27
|
-
ConfigChange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ConfigChange").msgclass
|
|
28
|
-
Advice = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Advice").msgclass
|
|
29
|
-
ChangeType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ChangeType").enummodule
|
|
29
|
+
ConfigChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ConfigChange").msgclass
|
|
30
|
+
Advice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Advice").msgclass
|
|
31
|
+
ChangeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ChangeType").enummodule
|
|
30
32
|
end
|
|
31
33
|
end
|
|
@@ -4,27 +4,29 @@
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
add_file("google/api/consumer.proto", :syntax => :proto3) do
|
|
8
|
+
add_message "google.api.ProjectProperties" do
|
|
9
|
+
repeated :properties, :message, 1, "google.api.Property"
|
|
10
|
+
end
|
|
11
|
+
add_message "google.api.Property" do
|
|
12
|
+
optional :name, :string, 1
|
|
13
|
+
optional :type, :enum, 2, "google.api.Property.PropertyType"
|
|
14
|
+
optional :description, :string, 3
|
|
15
|
+
end
|
|
16
|
+
add_enum "google.api.Property.PropertyType" do
|
|
17
|
+
value :UNSPECIFIED, 0
|
|
18
|
+
value :INT64, 1
|
|
19
|
+
value :BOOL, 2
|
|
20
|
+
value :STRING, 3
|
|
21
|
+
value :DOUBLE, 4
|
|
22
|
+
end
|
|
21
23
|
end
|
|
22
24
|
end
|
|
23
25
|
|
|
24
26
|
module Google
|
|
25
27
|
module Api
|
|
26
|
-
ProjectProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ProjectProperties").msgclass
|
|
27
|
-
Property = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Property").msgclass
|
|
28
|
-
Property::PropertyType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Property.PropertyType").enummodule
|
|
28
|
+
ProjectProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ProjectProperties").msgclass
|
|
29
|
+
Property = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Property").msgclass
|
|
30
|
+
Property::PropertyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Property.PropertyType").enummodule
|
|
29
31
|
end
|
|
30
32
|
end
|
|
@@ -4,19 +4,23 @@
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
add_file("google/api/context.proto", :syntax => :proto3) do
|
|
8
|
+
add_message "google.api.Context" do
|
|
9
|
+
repeated :rules, :message, 1, "google.api.ContextRule"
|
|
10
|
+
end
|
|
11
|
+
add_message "google.api.ContextRule" do
|
|
12
|
+
optional :selector, :string, 1
|
|
13
|
+
repeated :requested, :string, 2
|
|
14
|
+
repeated :provided, :string, 3
|
|
15
|
+
repeated :allowed_request_extensions, :string, 4
|
|
16
|
+
repeated :allowed_response_extensions, :string, 5
|
|
17
|
+
end
|
|
14
18
|
end
|
|
15
19
|
end
|
|
16
20
|
|
|
17
21
|
module Google
|
|
18
22
|
module Api
|
|
19
|
-
Context = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Context").msgclass
|
|
20
|
-
ContextRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ContextRule").msgclass
|
|
23
|
+
Context = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Context").msgclass
|
|
24
|
+
ContextRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ContextRule").msgclass
|
|
21
25
|
end
|
|
22
26
|
end
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
add_file("google/api/control.proto", :syntax => :proto3) do
|
|
8
|
+
add_message "google.api.Control" do
|
|
9
|
+
optional :environment, :string, 1
|
|
10
|
+
end
|
|
9
11
|
end
|
|
10
12
|
end
|
|
11
13
|
|
|
12
14
|
module Google
|
|
13
15
|
module Api
|
|
14
|
-
Control = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Control").msgclass
|
|
16
|
+
Control = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Control").msgclass
|
|
15
17
|
end
|
|
16
18
|
end
|
|
@@ -3,51 +3,60 @@
|
|
|
3
3
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
|
-
require 'google/api/annotations_pb'
|
|
7
6
|
require 'google/protobuf/any_pb'
|
|
8
7
|
require 'google/protobuf/timestamp_pb'
|
|
8
|
+
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
add_file("google/api/distribution.proto", :syntax => :proto3) do
|
|
11
|
+
add_message "google.api.Distribution" do
|
|
12
|
+
optional :count, :int64, 1
|
|
13
|
+
optional :mean, :double, 2
|
|
14
|
+
optional :sum_of_squared_deviation, :double, 3
|
|
15
|
+
optional :range, :message, 4, "google.api.Distribution.Range"
|
|
16
|
+
optional :bucket_options, :message, 6, "google.api.Distribution.BucketOptions"
|
|
17
|
+
repeated :bucket_counts, :int64, 7
|
|
18
|
+
repeated :exemplars, :message, 10, "google.api.Distribution.Exemplar"
|
|
19
|
+
end
|
|
20
|
+
add_message "google.api.Distribution.Range" do
|
|
21
|
+
optional :min, :double, 1
|
|
22
|
+
optional :max, :double, 2
|
|
23
|
+
end
|
|
24
|
+
add_message "google.api.Distribution.BucketOptions" do
|
|
25
|
+
oneof :options do
|
|
26
|
+
optional :linear_buckets, :message, 1, "google.api.Distribution.BucketOptions.Linear"
|
|
27
|
+
optional :exponential_buckets, :message, 2, "google.api.Distribution.BucketOptions.Exponential"
|
|
28
|
+
optional :explicit_buckets, :message, 3, "google.api.Distribution.BucketOptions.Explicit"
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
add_message "google.api.Distribution.BucketOptions.Linear" do
|
|
32
|
+
optional :num_finite_buckets, :int32, 1
|
|
33
|
+
optional :width, :double, 2
|
|
34
|
+
optional :offset, :double, 3
|
|
35
|
+
end
|
|
36
|
+
add_message "google.api.Distribution.BucketOptions.Exponential" do
|
|
37
|
+
optional :num_finite_buckets, :int32, 1
|
|
38
|
+
optional :growth_factor, :double, 2
|
|
39
|
+
optional :scale, :double, 3
|
|
40
|
+
end
|
|
41
|
+
add_message "google.api.Distribution.BucketOptions.Explicit" do
|
|
42
|
+
repeated :bounds, :double, 1
|
|
43
|
+
end
|
|
44
|
+
add_message "google.api.Distribution.Exemplar" do
|
|
45
|
+
optional :value, :double, 1
|
|
46
|
+
optional :timestamp, :message, 2, "google.protobuf.Timestamp"
|
|
47
|
+
repeated :attachments, :message, 3, "google.protobuf.Any"
|
|
27
48
|
end
|
|
28
|
-
end
|
|
29
|
-
add_message "google.api.Distribution.BucketOptions.Linear" do
|
|
30
|
-
optional :num_finite_buckets, :int32, 1
|
|
31
|
-
optional :width, :double, 2
|
|
32
|
-
optional :offset, :double, 3
|
|
33
|
-
end
|
|
34
|
-
add_message "google.api.Distribution.BucketOptions.Exponential" do
|
|
35
|
-
optional :num_finite_buckets, :int32, 1
|
|
36
|
-
optional :growth_factor, :double, 2
|
|
37
|
-
optional :scale, :double, 3
|
|
38
|
-
end
|
|
39
|
-
add_message "google.api.Distribution.BucketOptions.Explicit" do
|
|
40
|
-
repeated :bounds, :double, 1
|
|
41
49
|
end
|
|
42
50
|
end
|
|
43
51
|
|
|
44
52
|
module Google
|
|
45
53
|
module Api
|
|
46
|
-
Distribution = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution").msgclass
|
|
47
|
-
Distribution::Range = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.Range").msgclass
|
|
48
|
-
Distribution::BucketOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions").msgclass
|
|
49
|
-
Distribution::BucketOptions::Linear = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Linear").msgclass
|
|
50
|
-
Distribution::BucketOptions::Exponential = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Exponential").msgclass
|
|
51
|
-
Distribution::BucketOptions::Explicit = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Explicit").msgclass
|
|
54
|
+
Distribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution").msgclass
|
|
55
|
+
Distribution::Range = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.Range").msgclass
|
|
56
|
+
Distribution::BucketOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions").msgclass
|
|
57
|
+
Distribution::BucketOptions::Linear = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Linear").msgclass
|
|
58
|
+
Distribution::BucketOptions::Exponential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Exponential").msgclass
|
|
59
|
+
Distribution::BucketOptions::Explicit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Explicit").msgclass
|
|
60
|
+
Distribution::Exemplar = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.Exemplar").msgclass
|
|
52
61
|
end
|
|
53
62
|
end
|