googleapis-common-protos 1.2.0 → 1.3.0
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/endpoint_pb.rb +21 -0
- data/lib/google/api/service_pb.rb +2 -4
- data/lib/google/api/usage_pb.rb +1 -11
- data/lib/google/longrunning/operations_services_pb.rb +66 -0
- metadata +21 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f97030d24226b8b5ccc2bf67469598ce49eb288
|
4
|
+
data.tar.gz: 79fc6bc83ed54a37a536f1b587eba15112576f82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcf5164987c255ec4234a77fb950a277003cdac4847204ca45895fc1074a910fd2ec055fdd610683960c482fe01d5c1ad8c3cc302723c4fb6ddaf322723d69bd
|
7
|
+
data.tar.gz: 41617ddfd16cc7624216e42ce76041894af158e897e6eee6784d5cfe75ce410696dd03850929950270257d0651772a5d802fda49842058672b9e167312a8c377
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/endpoint.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "google.api.Endpoint" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
repeated :aliases, :string, 2
|
11
|
+
repeated :apis, :string, 3
|
12
|
+
repeated :features, :string, 4
|
13
|
+
optional :allow_cors, :bool, 5
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Google
|
18
|
+
module Api
|
19
|
+
Endpoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Endpoint").msgclass
|
20
|
+
end
|
21
|
+
end
|
@@ -6,11 +6,10 @@ 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'
|
10
|
-
require 'google/api/consumer_pb'
|
11
9
|
require 'google/api/context_pb'
|
12
10
|
require 'google/api/control_pb'
|
13
11
|
require 'google/api/documentation_pb'
|
12
|
+
require 'google/api/endpoint_pb'
|
14
13
|
require 'google/api/http_pb'
|
15
14
|
require 'google/api/label_pb'
|
16
15
|
require 'google/api/log_pb'
|
@@ -40,12 +39,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
39
|
optional :authentication, :message, 11, "google.api.Authentication"
|
41
40
|
optional :context, :message, 12, "google.api.Context"
|
42
41
|
optional :usage, :message, 15, "google.api.Usage"
|
43
|
-
|
42
|
+
repeated :endpoints, :message, 18, "google.api.Endpoint"
|
44
43
|
optional :control, :message, 21, "google.api.Control"
|
45
44
|
repeated :logs, :message, 23, "google.api.LogDescriptor"
|
46
45
|
repeated :metrics, :message, 24, "google.api.MetricDescriptor"
|
47
46
|
repeated :monitored_resources, :message, 25, "google.api.MonitoredResourceDescriptor"
|
48
|
-
optional :billing, :message, 26, "google.api.Billing"
|
49
47
|
optional :logging, :message, 27, "google.api.Logging"
|
50
48
|
optional :monitoring, :message, 28, "google.api.Monitoring"
|
51
49
|
optional :system_parameters, :message, 29, "google.api.SystemParameters"
|
data/lib/google/api/usage_pb.rb
CHANGED
@@ -3,21 +3,12 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/annotations_pb'
|
6
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
8
|
add_message "google.api.Usage" do
|
8
|
-
optional :service_access, :enum, 4, "google.api.Usage.ServiceAccess"
|
9
9
|
repeated :requirements, :string, 1
|
10
|
-
repeated :depends_on_services, :string, 2
|
11
|
-
repeated :activation_hooks, :string, 3
|
12
|
-
repeated :deactivation_hooks, :string, 5
|
13
10
|
repeated :rules, :message, 6, "google.api.UsageRule"
|
14
11
|
end
|
15
|
-
add_enum "google.api.Usage.ServiceAccess" do
|
16
|
-
value :RESTRICTED, 0
|
17
|
-
value :PUBLIC, 1
|
18
|
-
value :ORG_RESTRICTED, 2
|
19
|
-
value :ORG_PUBLIC, 3
|
20
|
-
end
|
21
12
|
add_message "google.api.UsageRule" do
|
22
13
|
optional :selector, :string, 1
|
23
14
|
optional :allow_unregistered_calls, :bool, 2
|
@@ -27,7 +18,6 @@ end
|
|
27
18
|
module Google
|
28
19
|
module Api
|
29
20
|
Usage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Usage").msgclass
|
30
|
-
Usage::ServiceAccess = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Usage.ServiceAccess").enummodule
|
31
21
|
UsageRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.UsageRule").msgclass
|
32
22
|
end
|
33
23
|
end
|
@@ -0,0 +1,66 @@
|
|
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 (c) 2015, 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 using `google.watcher.v1.Watcher` interface to watch
|
31
|
+
# the response, or pass the operation resource to another API (such as Google
|
32
|
+
# Cloud Pub/Sub API) to receive the response. Any API service that returns
|
33
|
+
# long-running operations should implement the `Operations` interface so
|
34
|
+
# developers can have a consistent client experience.
|
35
|
+
class Service
|
36
|
+
|
37
|
+
include GRPC::GenericService
|
38
|
+
|
39
|
+
self.marshal_class_method = :encode
|
40
|
+
self.unmarshal_class_method = :decode
|
41
|
+
self.service_name = 'google.longrunning.Operations'
|
42
|
+
|
43
|
+
# Gets the latest state of a long-running operation. Clients may use this
|
44
|
+
# method to poll the operation result at intervals as recommended by the API
|
45
|
+
# service.
|
46
|
+
rpc :GetOperation, GetOperationRequest, Operation
|
47
|
+
# Lists operations that match the specified filter in the request. If the
|
48
|
+
# server doesn't support this method, it returns
|
49
|
+
# `google.rpc.Code.UNIMPLEMENTED`.
|
50
|
+
rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
|
51
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
52
|
+
# makes a best effort to cancel the operation, but success is not
|
53
|
+
# guaranteed. If the server doesn't support this method, it returns
|
54
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients may use
|
55
|
+
# [Operations.GetOperation] or other methods to check whether the
|
56
|
+
# cancellation succeeded or the operation completed despite cancellation.
|
57
|
+
rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
|
58
|
+
# Deletes a long-running operation. It indicates the client is no longer
|
59
|
+
# interested in the operation result. It does not cancel the operation.
|
60
|
+
rpc :DeleteOperation, DeleteOperationRequest, Google::Protobuf::Empty
|
61
|
+
end
|
62
|
+
|
63
|
+
Stub = Service.rpc_stub_class
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: googleapis-common-protos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: grpc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,6 +81,7 @@ files:
|
|
67
81
|
- lib/google/api/control_pb.rb
|
68
82
|
- lib/google/api/distribution_pb.rb
|
69
83
|
- lib/google/api/documentation_pb.rb
|
84
|
+
- lib/google/api/endpoint_pb.rb
|
70
85
|
- lib/google/api/http_pb.rb
|
71
86
|
- lib/google/api/label_pb.rb
|
72
87
|
- lib/google/api/log_pb.rb
|
@@ -80,6 +95,7 @@ files:
|
|
80
95
|
- lib/google/logging/type/http_request_pb.rb
|
81
96
|
- lib/google/logging/type/log_severity_pb.rb
|
82
97
|
- lib/google/longrunning/operations_pb.rb
|
98
|
+
- lib/google/longrunning/operations_services_pb.rb
|
83
99
|
- lib/google/rpc/code_pb.rb
|
84
100
|
- lib/google/rpc/error_details_pb.rb
|
85
101
|
- lib/google/rpc/status_pb.rb
|
@@ -109,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
125
|
version: '0'
|
110
126
|
requirements: []
|
111
127
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.4.8
|
113
129
|
signing_key:
|
114
130
|
specification_version: 4
|
115
131
|
summary: Common protobufs used in Google APIs
|