googleapis-common-protos-types 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/api/backend_pb.rb +1 -0
- data/lib/google/api/billing_pb.rb +5 -6
- data/lib/google/api/endpoint_pb.rb +0 -1
- data/lib/google/api/http_pb.rb +1 -0
- data/lib/google/api/httpbody_pb.rb +2 -0
- data/lib/google/api/monitored_resource_pb.rb +6 -0
- data/lib/google/api/service_pb.rb +2 -0
- metadata +3 -4
- data/lib/google/longrunning/operations_services_pb.rb +0 -73
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76d1e517b835b93503a23cfd44d7779dc7c1dab5
|
4
|
+
data.tar.gz: 2c1906c26f3d30843f5c8cce70c5fca798f095f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b091e2979d25c5e14e403a08661faa676c5289d581a2f9b469d7ce2d449577f198c38ce10eb0d71d9d2a7fcb711f59cbba5e502619e1aedaea3a35aeb06a7959
|
7
|
+
data.tar.gz: 94daf8a7cff7edf105a0b3b28b23db0b0c2c3197c0aa3f34535c7d4ae83d3d046ce9ff9ac2c351f76241458bcad7351fa79d38afca737df7c89af388a94daef9
|
@@ -7,18 +7,17 @@ require 'google/api/annotations_pb'
|
|
7
7
|
require 'google/api/metric_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_message "google.api.Billing" do
|
10
|
-
repeated :
|
11
|
-
repeated :rules, :message, 5, "google.api.BillingStatusRule"
|
10
|
+
repeated :consumer_destinations, :message, 8, "google.api.Billing.BillingDestination"
|
12
11
|
end
|
13
|
-
add_message "google.api.
|
14
|
-
optional :
|
15
|
-
repeated :
|
12
|
+
add_message "google.api.Billing.BillingDestination" do
|
13
|
+
optional :monitored_resource, :string, 1
|
14
|
+
repeated :metrics, :string, 2
|
16
15
|
end
|
17
16
|
end
|
18
17
|
|
19
18
|
module Google
|
20
19
|
module Api
|
21
20
|
Billing = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Billing").msgclass
|
22
|
-
|
21
|
+
Billing::BillingDestination = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Billing.BillingDestination").msgclass
|
23
22
|
end
|
24
23
|
end
|
@@ -8,7 +8,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
8
|
add_message "google.api.Endpoint" do
|
9
9
|
optional :name, :string, 1
|
10
10
|
repeated :aliases, :string, 2
|
11
|
-
repeated :apis, :string, 3
|
12
11
|
repeated :features, :string, 4
|
13
12
|
optional :target, :string, 101
|
14
13
|
optional :allow_cors, :bool, 5
|
data/lib/google/api/http_pb.rb
CHANGED
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
7
|
add_message "google.api.Http" do
|
8
8
|
repeated :rules, :message, 1, "google.api.HttpRule"
|
9
|
+
optional :fully_decode_reserved_expansion, :bool, 2
|
9
10
|
end
|
10
11
|
add_message "google.api.HttpRule" do
|
11
12
|
optional :selector, :string, 1
|
@@ -3,10 +3,12 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/protobuf/any_pb'
|
6
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
8
|
add_message "google.api.HttpBody" do
|
8
9
|
optional :content_type, :string, 1
|
9
10
|
optional :data, :bytes, 2
|
11
|
+
repeated :extensions, :message, 3, "google.protobuf.Any"
|
10
12
|
end
|
11
13
|
end
|
12
14
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/api/label_pb'
|
7
|
+
require 'google/protobuf/struct_pb'
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_message "google.api.MonitoredResourceDescriptor" do
|
9
10
|
optional :name, :string, 5
|
@@ -16,11 +17,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
16
17
|
optional :type, :string, 1
|
17
18
|
map :labels, :string, :string, 2
|
18
19
|
end
|
20
|
+
add_message "google.api.MonitoredResourceMetadata" do
|
21
|
+
optional :system_labels, :message, 1, "google.protobuf.Struct"
|
22
|
+
map :user_labels, :string, :string, 2
|
23
|
+
end
|
19
24
|
end
|
20
25
|
|
21
26
|
module Google
|
22
27
|
module Api
|
23
28
|
MonitoredResourceDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResourceDescriptor").msgclass
|
24
29
|
MonitoredResource = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResource").msgclass
|
30
|
+
MonitoredResourceMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResourceMetadata").msgclass
|
25
31
|
end
|
26
32
|
end
|
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/api/annotations_pb'
|
7
7
|
require 'google/api/auth_pb'
|
8
8
|
require 'google/api/backend_pb'
|
9
|
+
require 'google/api/billing_pb'
|
9
10
|
require 'google/api/context_pb'
|
10
11
|
require 'google/api/control_pb'
|
11
12
|
require 'google/api/documentation_pb'
|
@@ -48,6 +49,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
48
49
|
repeated :logs, :message, 23, "google.api.LogDescriptor"
|
49
50
|
repeated :metrics, :message, 24, "google.api.MetricDescriptor"
|
50
51
|
repeated :monitored_resources, :message, 25, "google.api.MonitoredResourceDescriptor"
|
52
|
+
optional :billing, :message, 26, "google.api.Billing"
|
51
53
|
optional :logging, :message, 27, "google.api.Logging"
|
52
54
|
optional :monitoring, :message, 28, "google.api.Monitoring"
|
53
55
|
optional :system_parameters, :message, 29, "google.api.SystemParameters"
|
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.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -85,7 +85,6 @@ files:
|
|
85
85
|
- lib/google/logging/type/http_request_pb.rb
|
86
86
|
- lib/google/logging/type/log_severity_pb.rb
|
87
87
|
- lib/google/longrunning/operations_pb.rb
|
88
|
-
- lib/google/longrunning/operations_services_pb.rb
|
89
88
|
- lib/google/rpc/code_pb.rb
|
90
89
|
- lib/google/rpc/error_details_pb.rb
|
91
90
|
- lib/google/rpc/status_pb.rb
|
@@ -116,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
115
|
version: '0'
|
117
116
|
requirements: []
|
118
117
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.
|
118
|
+
rubygems_version: 2.6.14
|
120
119
|
signing_key:
|
121
120
|
specification_version: 4
|
122
121
|
summary: Common protobuf types used in Google APIs
|
@@ -1,73 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/longrunning/operations.proto for package 'google.longrunning'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2016 Google Inc.
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
require 'grpc'
|
20
|
-
require 'google/longrunning/operations_pb'
|
21
|
-
|
22
|
-
module Google
|
23
|
-
module Longrunning
|
24
|
-
module Operations
|
25
|
-
# Manages long-running operations with an API service.
|
26
|
-
#
|
27
|
-
# When an API method normally takes long time to complete, it can be designed
|
28
|
-
# to return [Operation][google.longrunning.Operation] to the client, and the client can use this
|
29
|
-
# interface to receive the real response asynchronously by polling the
|
30
|
-
# operation resource, or pass the operation resource to another API (such as
|
31
|
-
# Google Cloud Pub/Sub API) to receive the response. Any API service that
|
32
|
-
# returns long-running operations should implement the `Operations` interface
|
33
|
-
# so developers can have a consistent client experience.
|
34
|
-
class Service
|
35
|
-
|
36
|
-
include GRPC::GenericService
|
37
|
-
|
38
|
-
self.marshal_class_method = :encode
|
39
|
-
self.unmarshal_class_method = :decode
|
40
|
-
self.service_name = 'google.longrunning.Operations'
|
41
|
-
|
42
|
-
# Lists operations that match the specified filter in the request. If the
|
43
|
-
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
44
|
-
#
|
45
|
-
# NOTE: the `name` binding below allows API services to override the binding
|
46
|
-
# to use different resource name schemes, such as `users/*/operations`.
|
47
|
-
rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
|
48
|
-
# Gets the latest state of a long-running operation. Clients can use this
|
49
|
-
# method to poll the operation result at intervals as recommended by the API
|
50
|
-
# service.
|
51
|
-
rpc :GetOperation, GetOperationRequest, Operation
|
52
|
-
# Deletes a long-running operation. This method indicates that the client is
|
53
|
-
# no longer interested in the operation result. It does not cancel the
|
54
|
-
# operation. If the server doesn't support this method, it returns
|
55
|
-
# `google.rpc.Code.UNIMPLEMENTED`.
|
56
|
-
rpc :DeleteOperation, DeleteOperationRequest, Google::Protobuf::Empty
|
57
|
-
# Starts asynchronous cancellation on a long-running operation. The server
|
58
|
-
# makes a best effort to cancel the operation, but success is not
|
59
|
-
# guaranteed. If the server doesn't support this method, it returns
|
60
|
-
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
61
|
-
# [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
|
62
|
-
# other methods to check whether the cancellation succeeded or whether the
|
63
|
-
# operation completed despite cancellation. On successful cancellation,
|
64
|
-
# the operation is not deleted; instead, it becomes an operation with
|
65
|
-
# an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
|
66
|
-
# corresponding to `Code.CANCELLED`.
|
67
|
-
rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
|
68
|
-
end
|
69
|
-
|
70
|
-
Stub = Service.rpc_stub_class
|
71
|
-
end
|
72
|
-
end
|
73
|
-
end
|