googleapis-common-protos 1.3.1 → 1.3.4
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5216b5cee7f2be4d8124c6d0ac6eb215e1a94cd
|
4
|
+
data.tar.gz: c6e4f34d485e40b3fbba135bd85030ad2564019c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8873ce6d952f4bb5d949b70157e322428501a21207c6de32e69db576280072d478a342b90e81eaf969c2f6a8f90c888beb868783c7af0d18b4ca3e94b5bb423
|
7
|
+
data.tar.gz: 9a6dbe8f65076f078464dac143ad9462209a848a6ed91720f25438085b248b8fad4b0560b4ce5062c3f1c5ae1f08df4c3e6f45432d15e433eac9b0d4d643e575
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/httpbody.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.api.HttpBody" do
|
8
|
+
optional :content_type, :string, 1
|
9
|
+
optional :data, :bytes, 2
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Google
|
14
|
+
module Api
|
15
|
+
HttpBody = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.HttpBody").msgclass
|
16
|
+
end
|
17
|
+
end
|
@@ -4,6 +4,7 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/api/annotations_pb'
|
7
|
+
require 'google/protobuf/duration_pb'
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_message "google.logging.type.HttpRequest" do
|
9
10
|
optional :request_method, :string, 1
|
@@ -15,6 +16,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
16
|
optional :remote_ip, :string, 7
|
16
17
|
optional :server_ip, :string, 13
|
17
18
|
optional :referer, :string, 8
|
19
|
+
optional :latency, :message, 14, "google.protobuf.Duration"
|
18
20
|
optional :cache_lookup, :bool, 11
|
19
21
|
optional :cache_hit, :bool, 9
|
20
22
|
optional :cache_validated_with_origin_server, :bool, 10
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/longrunning/operations.proto for package 'google.longrunning'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2016 Google Inc.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -27,11 +27,10 @@ module Google
|
|
27
27
|
# When an API method normally takes long time to complete, it can be designed
|
28
28
|
# to return [Operation][google.longrunning.Operation] to the client, and the client can use this
|
29
29
|
# interface to receive the real response asynchronously by polling the
|
30
|
-
# operation resource, or
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
# developers can have a consistent client experience.
|
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.
|
35
34
|
class Service
|
36
35
|
|
37
36
|
include GRPC::GenericService
|
@@ -40,23 +39,28 @@ module Google
|
|
40
39
|
self.unmarshal_class_method = :decode
|
41
40
|
self.service_name = 'google.longrunning.Operations'
|
42
41
|
|
43
|
-
# Gets the latest state of a long-running operation. Clients
|
42
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
44
43
|
# method to poll the operation result at intervals as recommended by the API
|
45
44
|
# service.
|
46
45
|
rpc :GetOperation, GetOperationRequest, Operation
|
47
46
|
# Lists operations that match the specified filter in the request. If the
|
48
|
-
# server doesn't support this method, it returns
|
49
|
-
#
|
47
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
48
|
+
#
|
49
|
+
# NOTE: the `name` binding below allows API services to override the binding
|
50
|
+
# to use different resource name schemes, such as `users/*/operations`.
|
50
51
|
rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
|
51
52
|
# Starts asynchronous cancellation on a long-running operation. The server
|
52
53
|
# makes a best effort to cancel the operation, but success is not
|
53
54
|
# guaranteed. If the server doesn't support this method, it returns
|
54
|
-
# `google.rpc.Code.UNIMPLEMENTED`. Clients
|
55
|
-
# [Operations.GetOperation] or
|
56
|
-
#
|
55
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
56
|
+
# [Operations.GetOperation][google.longrunning.Operations.GetOperation] or
|
57
|
+
# other methods to check whether the cancellation succeeded or whether the
|
58
|
+
# operation completed despite cancellation.
|
57
59
|
rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
|
58
|
-
# Deletes a long-running operation.
|
59
|
-
# interested in the operation result. It does not cancel the
|
60
|
+
# Deletes a long-running operation. This method indicates that the client is
|
61
|
+
# no longer interested in the operation result. It does not cancel the
|
62
|
+
# operation. If the server doesn't support this method, it returns
|
63
|
+
# `google.rpc.Code.UNIMPLEMENTED`.
|
60
64
|
rpc :DeleteOperation, DeleteOperationRequest, Google::Protobuf::Empty
|
61
65
|
end
|
62
66
|
|
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.3.
|
4
|
+
version: 1.3.4
|
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-09-
|
11
|
+
date: 2016-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- lib/google/api/documentation_pb.rb
|
85
85
|
- lib/google/api/endpoint_pb.rb
|
86
86
|
- lib/google/api/http_pb.rb
|
87
|
+
- lib/google/api/httpbody_pb.rb
|
87
88
|
- lib/google/api/label_pb.rb
|
88
89
|
- lib/google/api/log_pb.rb
|
89
90
|
- lib/google/api/logging_pb.rb
|
@@ -126,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
127
|
version: '0'
|
127
128
|
requirements: []
|
128
129
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
130
|
+
rubygems_version: 2.5.1
|
130
131
|
signing_key:
|
131
132
|
specification_version: 4
|
132
133
|
summary: Common protobufs used in Google APIs
|