googleapis-common-protos-types 1.4.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/lib/google/api/auth_pb.rb +1 -0
- data/lib/google/api/backend_pb.rb +1 -0
- data/lib/google/api/client_pb.rb +99 -0
- data/lib/google/api/error_reason_pb.rb +10 -0
- data/lib/google/api/service_pb.rb +2 -0
- data/lib/google/rpc/context/attribute_context_pb.rb +93 -0
- data/lib/google/rpc/context/audit_context_pb.rb +26 -0
- data/lib/google/rpc/error_details_pb.rb +6 -6
- data/lib/google/rpc/http_pb.rb +33 -0
- data/lib/googleapis/common/protos/types/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b7c6f58d42fd60b182a095c4506d0aa08fc25e52769725b4add919ea35e3816
|
4
|
+
data.tar.gz: e3b676072aaa44e4005826ceb3fc547911f897b7d5953bac86941f51c6febb50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df18750054295317ff6730c8419ffa4cbdf906c49086f201b20e48734d56dabf31f27438890b357403e033d4f22e7b409841ddd48317ce1e4a4221faea4bb67f
|
7
|
+
data.tar.gz: 374ad3867df8f6fcbc20e1527bc32d13a0728dcb4e4bc89494c27e907a29eedc9479755046bc2048aacd4a2ce3e53fb5b573da88281a3088fd93d944732f8bba
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.6.0 (2023-04-24)
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* Added Google::Rpc::Context::AttributeContext
|
8
|
+
* Added Google::Rpc::Context::AuditContext
|
9
|
+
* Added dotnet-specific fields to API language settings
|
10
|
+
* Added overrides_by_request_protocol to api.BackendRule
|
11
|
+
* Added proto_reference_documentation_uri to api.Publishing
|
12
|
+
* Added SERVICE_NOT_VISIBLE and GCP_SUSPENDED error reason values
|
13
|
+
|
14
|
+
### 1.5.0 (2023-01-04)
|
15
|
+
|
16
|
+
#### Features
|
17
|
+
|
18
|
+
* Added "cookie" JwtLocation
|
19
|
+
* Added protos related to client library publishing
|
20
|
+
* Added several new error reasons
|
21
|
+
* Added protos describing HTTP requests and responses
|
22
|
+
|
3
23
|
### 1.4.0 (2022-08-17)
|
4
24
|
|
5
25
|
#### Features
|
data/lib/google/api/auth_pb.rb
CHANGED
@@ -16,6 +16,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
16
16
|
optional :operation_deadline, :double, 5
|
17
17
|
optional :path_translation, :enum, 6, "google.api.BackendRule.PathTranslation"
|
18
18
|
optional :protocol, :string, 9
|
19
|
+
map :overrides_by_request_protocol, :string, :message, 10, "google.api.BackendRule"
|
19
20
|
oneof :authentication do
|
20
21
|
optional :jwt_audience, :string, 7
|
21
22
|
optional :disable_auth, :bool, 8
|
data/lib/google/api/client_pb.rb
CHANGED
@@ -3,14 +3,113 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/launch_stage_pb'
|
6
7
|
require 'google/protobuf/descriptor_pb'
|
8
|
+
require 'google/protobuf/duration_pb'
|
7
9
|
|
8
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
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
|
+
optional :proto_reference_documentation_uri, :string, 110
|
40
|
+
end
|
41
|
+
add_message "google.api.JavaSettings" do
|
42
|
+
optional :library_package, :string, 1
|
43
|
+
map :service_class_names, :string, :string, 2
|
44
|
+
optional :common, :message, 3, "google.api.CommonLanguageSettings"
|
45
|
+
end
|
46
|
+
add_message "google.api.CppSettings" do
|
47
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
48
|
+
end
|
49
|
+
add_message "google.api.PhpSettings" do
|
50
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
51
|
+
end
|
52
|
+
add_message "google.api.PythonSettings" do
|
53
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
54
|
+
end
|
55
|
+
add_message "google.api.NodeSettings" do
|
56
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
57
|
+
end
|
58
|
+
add_message "google.api.DotnetSettings" do
|
59
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
60
|
+
map :renamed_services, :string, :string, 2
|
61
|
+
map :renamed_resources, :string, :string, 3
|
62
|
+
repeated :ignored_resources, :string, 4
|
63
|
+
repeated :forced_namespace_aliases, :string, 5
|
64
|
+
repeated :handwritten_signatures, :string, 6
|
65
|
+
end
|
66
|
+
add_message "google.api.RubySettings" do
|
67
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
68
|
+
end
|
69
|
+
add_message "google.api.GoSettings" do
|
70
|
+
optional :common, :message, 1, "google.api.CommonLanguageSettings"
|
71
|
+
end
|
72
|
+
add_message "google.api.MethodSettings" do
|
73
|
+
optional :selector, :string, 1
|
74
|
+
optional :long_running, :message, 2, "google.api.MethodSettings.LongRunning"
|
75
|
+
end
|
76
|
+
add_message "google.api.MethodSettings.LongRunning" do
|
77
|
+
optional :initial_poll_delay, :message, 1, "google.protobuf.Duration"
|
78
|
+
optional :poll_delay_multiplier, :float, 2
|
79
|
+
optional :max_poll_delay, :message, 3, "google.protobuf.Duration"
|
80
|
+
optional :total_poll_timeout, :message, 4, "google.protobuf.Duration"
|
81
|
+
end
|
82
|
+
add_enum "google.api.ClientLibraryOrganization" do
|
83
|
+
value :CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, 0
|
84
|
+
value :CLOUD, 1
|
85
|
+
value :ADS, 2
|
86
|
+
value :PHOTOS, 3
|
87
|
+
value :STREET_VIEW, 4
|
88
|
+
end
|
89
|
+
add_enum "google.api.ClientLibraryDestination" do
|
90
|
+
value :CLIENT_LIBRARY_DESTINATION_UNSPECIFIED, 0
|
91
|
+
value :GITHUB, 10
|
92
|
+
value :PACKAGE_MANAGER, 20
|
93
|
+
end
|
10
94
|
end
|
11
95
|
end
|
12
96
|
|
13
97
|
module Google
|
14
98
|
module Api
|
99
|
+
CommonLanguageSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CommonLanguageSettings").msgclass
|
100
|
+
ClientLibrarySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibrarySettings").msgclass
|
101
|
+
Publishing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Publishing").msgclass
|
102
|
+
JavaSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.JavaSettings").msgclass
|
103
|
+
CppSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CppSettings").msgclass
|
104
|
+
PhpSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.PhpSettings").msgclass
|
105
|
+
PythonSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.PythonSettings").msgclass
|
106
|
+
NodeSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.NodeSettings").msgclass
|
107
|
+
DotnetSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.DotnetSettings").msgclass
|
108
|
+
RubySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.RubySettings").msgclass
|
109
|
+
GoSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.GoSettings").msgclass
|
110
|
+
MethodSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings").msgclass
|
111
|
+
MethodSettings::LongRunning = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings.LongRunning").msgclass
|
112
|
+
ClientLibraryOrganization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryOrganization").enummodule
|
113
|
+
ClientLibraryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryDestination").enummodule
|
15
114
|
end
|
16
115
|
end
|
@@ -26,6 +26,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
26
|
value :ACCESS_TOKEN_SCOPE_INSUFFICIENT, 17
|
27
27
|
value :ACCOUNT_STATE_INVALID, 18
|
28
28
|
value :ACCESS_TOKEN_TYPE_UNSUPPORTED, 19
|
29
|
+
value :CREDENTIALS_MISSING, 20
|
30
|
+
value :RESOURCE_PROJECT_INVALID, 21
|
31
|
+
value :SESSION_COOKIE_INVALID, 23
|
32
|
+
value :USER_BLOCKED_BY_ADMIN, 24
|
33
|
+
value :RESOURCE_USAGE_RESTRICTION_VIOLATED, 25
|
34
|
+
value :SYSTEM_PARAMETER_UNSUPPORTED, 26
|
35
|
+
value :ORG_RESTRICTION_VIOLATION, 27
|
36
|
+
value :ORG_RESTRICTION_HEADER_INVALID, 28
|
37
|
+
value :SERVICE_NOT_VISIBLE, 29
|
38
|
+
value :GCP_SUSPENDED, 30
|
29
39
|
end
|
30
40
|
end
|
31
41
|
end
|
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/api/auth_pb'
|
7
7
|
require 'google/api/backend_pb'
|
8
8
|
require 'google/api/billing_pb'
|
9
|
+
require 'google/api/client_pb'
|
9
10
|
require 'google/api/context_pb'
|
10
11
|
require 'google/api/control_pb'
|
11
12
|
require 'google/api/documentation_pb'
|
@@ -51,6 +52,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
51
52
|
optional :monitoring, :message, 28, "google.api.Monitoring"
|
52
53
|
optional :system_parameters, :message, 29, "google.api.SystemParameters"
|
53
54
|
optional :source_info, :message, 37, "google.api.SourceInfo"
|
55
|
+
optional :publishing, :message, 45, "google.api.Publishing"
|
54
56
|
optional :config_version, :message, 20, "google.protobuf.UInt32Value"
|
55
57
|
end
|
56
58
|
end
|
@@ -0,0 +1,93 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/rpc/context/attribute_context.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/any_pb'
|
7
|
+
require 'google/protobuf/duration_pb'
|
8
|
+
require 'google/protobuf/struct_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("google/rpc/context/attribute_context.proto", :syntax => :proto3) do
|
13
|
+
add_message "google.rpc.context.AttributeContext" do
|
14
|
+
optional :origin, :message, 7, "google.rpc.context.AttributeContext.Peer"
|
15
|
+
optional :source, :message, 1, "google.rpc.context.AttributeContext.Peer"
|
16
|
+
optional :destination, :message, 2, "google.rpc.context.AttributeContext.Peer"
|
17
|
+
optional :request, :message, 3, "google.rpc.context.AttributeContext.Request"
|
18
|
+
optional :response, :message, 4, "google.rpc.context.AttributeContext.Response"
|
19
|
+
optional :resource, :message, 5, "google.rpc.context.AttributeContext.Resource"
|
20
|
+
optional :api, :message, 6, "google.rpc.context.AttributeContext.Api"
|
21
|
+
repeated :extensions, :message, 8, "google.protobuf.Any"
|
22
|
+
end
|
23
|
+
add_message "google.rpc.context.AttributeContext.Peer" do
|
24
|
+
optional :ip, :string, 1
|
25
|
+
optional :port, :int64, 2
|
26
|
+
map :labels, :string, :string, 6
|
27
|
+
optional :principal, :string, 7
|
28
|
+
optional :region_code, :string, 8
|
29
|
+
end
|
30
|
+
add_message "google.rpc.context.AttributeContext.Api" do
|
31
|
+
optional :service, :string, 1
|
32
|
+
optional :operation, :string, 2
|
33
|
+
optional :protocol, :string, 3
|
34
|
+
optional :version, :string, 4
|
35
|
+
end
|
36
|
+
add_message "google.rpc.context.AttributeContext.Auth" do
|
37
|
+
optional :principal, :string, 1
|
38
|
+
repeated :audiences, :string, 2
|
39
|
+
optional :presenter, :string, 3
|
40
|
+
optional :claims, :message, 4, "google.protobuf.Struct"
|
41
|
+
repeated :access_levels, :string, 5
|
42
|
+
end
|
43
|
+
add_message "google.rpc.context.AttributeContext.Request" do
|
44
|
+
optional :id, :string, 1
|
45
|
+
optional :method, :string, 2
|
46
|
+
map :headers, :string, :string, 3
|
47
|
+
optional :path, :string, 4
|
48
|
+
optional :host, :string, 5
|
49
|
+
optional :scheme, :string, 6
|
50
|
+
optional :query, :string, 7
|
51
|
+
optional :time, :message, 9, "google.protobuf.Timestamp"
|
52
|
+
optional :size, :int64, 10
|
53
|
+
optional :protocol, :string, 11
|
54
|
+
optional :reason, :string, 12
|
55
|
+
optional :auth, :message, 13, "google.rpc.context.AttributeContext.Auth"
|
56
|
+
end
|
57
|
+
add_message "google.rpc.context.AttributeContext.Response" do
|
58
|
+
optional :code, :int64, 1
|
59
|
+
optional :size, :int64, 2
|
60
|
+
map :headers, :string, :string, 3
|
61
|
+
optional :time, :message, 4, "google.protobuf.Timestamp"
|
62
|
+
optional :backend_latency, :message, 5, "google.protobuf.Duration"
|
63
|
+
end
|
64
|
+
add_message "google.rpc.context.AttributeContext.Resource" do
|
65
|
+
optional :service, :string, 1
|
66
|
+
optional :name, :string, 2
|
67
|
+
optional :type, :string, 3
|
68
|
+
map :labels, :string, :string, 4
|
69
|
+
optional :uid, :string, 5
|
70
|
+
map :annotations, :string, :string, 6
|
71
|
+
optional :display_name, :string, 7
|
72
|
+
optional :create_time, :message, 8, "google.protobuf.Timestamp"
|
73
|
+
optional :update_time, :message, 9, "google.protobuf.Timestamp"
|
74
|
+
optional :delete_time, :message, 10, "google.protobuf.Timestamp"
|
75
|
+
optional :etag, :string, 11
|
76
|
+
optional :location, :string, 12
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
module Google
|
82
|
+
module Rpc
|
83
|
+
module Context
|
84
|
+
AttributeContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.context.AttributeContext").msgclass
|
85
|
+
AttributeContext::Peer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.context.AttributeContext.Peer").msgclass
|
86
|
+
AttributeContext::Api = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.context.AttributeContext.Api").msgclass
|
87
|
+
AttributeContext::Auth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.context.AttributeContext.Auth").msgclass
|
88
|
+
AttributeContext::Request = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.context.AttributeContext.Request").msgclass
|
89
|
+
AttributeContext::Response = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.context.AttributeContext.Response").msgclass
|
90
|
+
AttributeContext::Resource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.context.AttributeContext.Resource").msgclass
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/rpc/context/audit_context.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/struct_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/rpc/context/audit_context.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.rpc.context.AuditContext" do
|
11
|
+
optional :audit_log, :bytes, 1
|
12
|
+
optional :scrubbed_request, :message, 2, "google.protobuf.Struct"
|
13
|
+
optional :scrubbed_response, :message, 3, "google.protobuf.Struct"
|
14
|
+
optional :scrubbed_response_item_count, :int32, 4
|
15
|
+
optional :target_resource, :string, 5
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Rpc
|
22
|
+
module Context
|
23
|
+
AuditContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.context.AuditContext").msgclass
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -7,6 +7,11 @@ require 'google/protobuf/duration_pb'
|
|
7
7
|
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/rpc/error_details.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.rpc.ErrorInfo" do
|
11
|
+
optional :reason, :string, 1
|
12
|
+
optional :domain, :string, 2
|
13
|
+
map :metadata, :string, :string, 3
|
14
|
+
end
|
10
15
|
add_message "google.rpc.RetryInfo" do
|
11
16
|
optional :retry_delay, :message, 1, "google.protobuf.Duration"
|
12
17
|
end
|
@@ -21,11 +26,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
21
26
|
optional :subject, :string, 1
|
22
27
|
optional :description, :string, 2
|
23
28
|
end
|
24
|
-
add_message "google.rpc.ErrorInfo" do
|
25
|
-
optional :reason, :string, 1
|
26
|
-
optional :domain, :string, 2
|
27
|
-
map :metadata, :string, :string, 3
|
28
|
-
end
|
29
29
|
add_message "google.rpc.PreconditionFailure" do
|
30
30
|
repeated :violations, :message, 1, "google.rpc.PreconditionFailure.Violation"
|
31
31
|
end
|
@@ -67,11 +67,11 @@ end
|
|
67
67
|
|
68
68
|
module Google
|
69
69
|
module Rpc
|
70
|
+
ErrorInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.ErrorInfo").msgclass
|
70
71
|
RetryInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RetryInfo").msgclass
|
71
72
|
DebugInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.DebugInfo").msgclass
|
72
73
|
QuotaFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure").msgclass
|
73
74
|
QuotaFailure::Violation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure.Violation").msgclass
|
74
|
-
ErrorInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.ErrorInfo").msgclass
|
75
75
|
PreconditionFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.PreconditionFailure").msgclass
|
76
76
|
PreconditionFailure::Violation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.PreconditionFailure.Violation").msgclass
|
77
77
|
BadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest").msgclass
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/rpc/http.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/rpc/http.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.rpc.HttpRequest" do
|
9
|
+
optional :method, :string, 1
|
10
|
+
optional :uri, :string, 2
|
11
|
+
repeated :headers, :message, 3, "google.rpc.HttpHeader"
|
12
|
+
optional :body, :bytes, 4
|
13
|
+
end
|
14
|
+
add_message "google.rpc.HttpResponse" do
|
15
|
+
optional :status, :int32, 1
|
16
|
+
optional :reason, :string, 2
|
17
|
+
repeated :headers, :message, 3, "google.rpc.HttpHeader"
|
18
|
+
optional :body, :bytes, 4
|
19
|
+
end
|
20
|
+
add_message "google.rpc.HttpHeader" do
|
21
|
+
optional :key, :string, 1
|
22
|
+
optional :value, :string, 2
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
module Google
|
28
|
+
module Rpc
|
29
|
+
HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.HttpRequest").msgclass
|
30
|
+
HttpResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.HttpResponse").msgclass
|
31
|
+
HttpHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.HttpHeader").msgclass
|
32
|
+
end
|
33
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: googleapis-common-protos-types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -68,7 +68,10 @@ files:
|
|
68
68
|
- lib/google/logging/type/log_severity_pb.rb
|
69
69
|
- lib/google/longrunning/operations_pb.rb
|
70
70
|
- lib/google/rpc/code_pb.rb
|
71
|
+
- lib/google/rpc/context/attribute_context_pb.rb
|
72
|
+
- lib/google/rpc/context/audit_context_pb.rb
|
71
73
|
- lib/google/rpc/error_details_pb.rb
|
74
|
+
- lib/google/rpc/http_pb.rb
|
72
75
|
- lib/google/rpc/status_pb.rb
|
73
76
|
- lib/google/type/calendar_period_pb.rb
|
74
77
|
- lib/google/type/color_pb.rb
|
@@ -107,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
110
|
- !ruby/object:Gem::Version
|
108
111
|
version: '0'
|
109
112
|
requirements: []
|
110
|
-
rubygems_version: 3.
|
113
|
+
rubygems_version: 3.4.2
|
111
114
|
signing_key:
|
112
115
|
specification_version: 4
|
113
116
|
summary: Common protocol buffer types used in Google APIs
|