googleapis-common-protos-types 1.4.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0131c78831aa3a79e1b39c6296a876465fb2ba3acf69ec4cb4600d82fe78d2f8
4
- data.tar.gz: e782bbf4babb4f86275bc597c57660816288e10947e1bbec3c11e25b8976e268
3
+ metadata.gz: 943d1bf8f7a6d909eb693e788192ba4a3fcb537f4c852e9812b1b65ad7b89f5a
4
+ data.tar.gz: c1e5136a989b793dfd107238dc5db53a0a6bb89631c0300dfa59781221b99a28
5
5
  SHA512:
6
- metadata.gz: 8bdd66a4a95153f2574cf01510d809ad5cd0d52feda1277039335a5f58b1f3b37ee9e1f8c2bd10fe915a0c0d7839bc4b886907a71766cc3d212bf6215a4220cf
7
- data.tar.gz: afea09fd2a80a69301c2887b7e4024a6a92663b879145476e2a983880d07b13952f2444002a8f5fc51fb09af3f81803c5301a7e474274016bb847e06f5373eec
6
+ metadata.gz: a6fadf7159dde3a7bfb06a323fff7e4dfebb921c866cb43d027d2d61b3bbd73575ae46e3ca25924e54bcb85ae1d837182e9a8b1b70a0e077cb49d3ac05f22563
7
+ data.tar.gz: a4e02dbbd62459b3d520dc4f2805902b2bfea28ecb7d528aec0f6c751e3fd03a525cc2a4a93713386029bbb177effe6f57047a8b531da68a8fd3c8e728de0e4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release History
2
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
+
3
12
  ### 1.4.0 (2022-08-17)
4
13
 
5
14
  #### Features
@@ -20,6 +20,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
20
20
  oneof :in do
21
21
  optional :header, :string, 1
22
22
  optional :query, :string, 2
23
+ optional :cookie, :string, 4
23
24
  end
24
25
  end
25
26
  add_message "google.api.AuthProvider" do
@@ -3,14 +3,107 @@
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
+ 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
10
88
  end
11
89
  end
12
90
 
13
91
  module Google
14
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
15
108
  end
16
109
  end
@@ -26,6 +26,14 @@ 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
29
37
  end
30
38
  end
31
39
  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
@@ -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
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module CommonProtos
19
19
  module Types
20
- VERSION = "1.4.0".freeze
20
+ VERSION = "1.5.0".freeze
21
21
  end
22
22
  end
23
23
  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.0
4
+ version: 1.5.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: 2022-08-18 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -69,6 +69,7 @@ files:
69
69
  - lib/google/longrunning/operations_pb.rb
70
70
  - lib/google/rpc/code_pb.rb
71
71
  - lib/google/rpc/error_details_pb.rb
72
+ - lib/google/rpc/http_pb.rb
72
73
  - lib/google/rpc/status_pb.rb
73
74
  - lib/google/type/calendar_period_pb.rb
74
75
  - lib/google/type/color_pb.rb