googleapis-common-protos-types 1.0.1 → 1.0.6

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.
Files changed (59) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +10 -0
  3. data/CHANGELOG.md +37 -0
  4. data/Gemfile +5 -0
  5. data/README.md +19 -0
  6. data/Rakefile +80 -0
  7. data/googleapis-common-protos-types.gemspec +43 -0
  8. data/lib/google/api/annotations_pb.rb +2 -0
  9. data/lib/google/api/auth_pb.rb +39 -29
  10. data/lib/google/api/backend_pb.rb +25 -9
  11. data/lib/google/api/billing_pb.rb +10 -10
  12. data/lib/google/api/client_pb.rb +14 -0
  13. data/lib/google/api/config_change_pb.rb +20 -18
  14. data/lib/google/api/consumer_pb.rb +19 -17
  15. data/lib/google/api/context_pb.rb +13 -9
  16. data/lib/google/api/control_pb.rb +5 -3
  17. data/lib/google/api/distribution_pb.rb +45 -37
  18. data/lib/google/api/documentation_pb.rb +22 -19
  19. data/lib/google/api/endpoint_pb.rb +8 -9
  20. data/lib/google/api/field_behavior_pb.rb +24 -0
  21. data/lib/google/api/http_pb.rb +25 -21
  22. data/lib/google/api/httpbody_pb.rb +8 -4
  23. data/lib/google/api/label_pb.rb +13 -11
  24. data/lib/google/api/launch_stage_pb.rb +25 -0
  25. data/lib/google/api/log_pb.rb +8 -6
  26. data/lib/google/api/logging_pb.rb +11 -10
  27. data/lib/google/api/metric_pb.rb +45 -32
  28. data/lib/google/api/monitored_resource_pb.rb +22 -12
  29. data/lib/google/api/monitoring_pb.rb +11 -10
  30. data/lib/google/api/quota_pb.rb +24 -23
  31. data/lib/google/api/resource_pb.rb +40 -0
  32. data/lib/google/api/service_pb.rb +31 -29
  33. data/lib/google/api/source_info_pb.rb +5 -3
  34. data/lib/google/api/system_parameter_pb.rb +16 -14
  35. data/lib/google/api/usage_pb.rb +13 -12
  36. data/lib/google/logging/type/http_request_pb.rb +30 -18
  37. data/lib/google/logging/type/log_severity_pb.rb +23 -11
  38. data/lib/google/longrunning/operations_pb.rb +46 -32
  39. data/lib/google/rpc/code_pb.rb +21 -19
  40. data/lib/google/rpc/error_details_pb.rb +70 -62
  41. data/lib/google/rpc/status_pb.rb +7 -5
  42. data/lib/google/type/calendar_period_pb.rb +25 -0
  43. data/lib/google/type/color_pb.rb +8 -6
  44. data/lib/google/type/date_pb.rb +7 -5
  45. data/lib/google/type/datetime_pb.rb +34 -0
  46. data/lib/google/type/dayofweek_pb.rb +12 -10
  47. data/lib/google/type/expr_pb.rb +21 -0
  48. data/lib/google/type/fraction_pb.rb +19 -0
  49. data/lib/google/type/interval_pb.rb +20 -0
  50. data/lib/google/type/latlng_pb.rb +6 -4
  51. data/lib/google/type/localized_text_pb.rb +19 -0
  52. data/lib/google/type/money_pb.rb +7 -5
  53. data/lib/google/type/month_pb.rb +30 -0
  54. data/lib/google/type/phone_number_pb.rb +27 -0
  55. data/lib/google/type/postal_address_pb.rb +15 -13
  56. data/lib/google/type/quaternion_pb.rb +21 -0
  57. data/lib/google/type/timeofday_pb.rb +8 -6
  58. metadata +46 -14
  59. data/lib/google/longrunning/operations_services_pb.rb +0 -73
@@ -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