gcloud 0.12.2 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/gcloud.rb +27 -456
- data/lib/gcloud/bigquery.rb +2 -382
- data/lib/gcloud/datastore.rb +2 -576
- data/lib/gcloud/dns.rb +2 -321
- data/lib/gcloud/logging.rb +1 -322
- data/lib/gcloud/pubsub.rb +2 -476
- data/lib/gcloud/resource_manager.rb +2 -273
- data/lib/gcloud/storage.rb +2 -440
- data/lib/gcloud/translate.rb +1 -250
- data/lib/gcloud/version.rb +2 -2
- data/lib/gcloud/vision.rb +1 -501
- metadata +36 -332
- data/AUTHENTICATION.md +0 -75
- data/CHANGELOG.md +0 -382
- data/OVERVIEW.md +0 -259
- data/lib/gcloud/backoff.rb +0 -150
- data/lib/gcloud/bigquery/copy_job.rb +0 -97
- data/lib/gcloud/bigquery/credentials.rb +0 -29
- data/lib/gcloud/bigquery/data.rb +0 -239
- data/lib/gcloud/bigquery/dataset.rb +0 -753
- data/lib/gcloud/bigquery/dataset/access.rb +0 -507
- data/lib/gcloud/bigquery/dataset/list.rb +0 -169
- data/lib/gcloud/bigquery/extract_job.rb +0 -117
- data/lib/gcloud/bigquery/insert_response.rb +0 -81
- data/lib/gcloud/bigquery/job.rb +0 -299
- data/lib/gcloud/bigquery/job/list.rb +0 -172
- data/lib/gcloud/bigquery/load_job.rb +0 -202
- data/lib/gcloud/bigquery/project.rb +0 -475
- data/lib/gcloud/bigquery/query_data.rb +0 -234
- data/lib/gcloud/bigquery/query_job.rb +0 -137
- data/lib/gcloud/bigquery/schema.rb +0 -359
- data/lib/gcloud/bigquery/service.rb +0 -506
- data/lib/gcloud/bigquery/table.rb +0 -1141
- data/lib/gcloud/bigquery/table/list.rb +0 -180
- data/lib/gcloud/bigquery/view.rb +0 -475
- data/lib/gcloud/credentials.rb +0 -129
- data/lib/gcloud/datastore/commit.rb +0 -148
- data/lib/gcloud/datastore/credentials.rb +0 -35
- data/lib/gcloud/datastore/cursor.rb +0 -76
- data/lib/gcloud/datastore/dataset.rb +0 -660
- data/lib/gcloud/datastore/dataset/lookup_results.rb +0 -219
- data/lib/gcloud/datastore/dataset/query_results.rb +0 -386
- data/lib/gcloud/datastore/entity.rb +0 -449
- data/lib/gcloud/datastore/errors.rb +0 -41
- data/lib/gcloud/datastore/gql_query.rb +0 -211
- data/lib/gcloud/datastore/grpc_utils.rb +0 -132
- data/lib/gcloud/datastore/key.rb +0 -281
- data/lib/gcloud/datastore/properties.rb +0 -128
- data/lib/gcloud/datastore/query.rb +0 -348
- data/lib/gcloud/datastore/service.rb +0 -167
- data/lib/gcloud/datastore/transaction.rb +0 -362
- data/lib/gcloud/dns/change.rb +0 -158
- data/lib/gcloud/dns/change/list.rb +0 -173
- data/lib/gcloud/dns/credentials.rb +0 -29
- data/lib/gcloud/dns/importer.rb +0 -183
- data/lib/gcloud/dns/project.rb +0 -247
- data/lib/gcloud/dns/record.rb +0 -170
- data/lib/gcloud/dns/record/list.rb +0 -174
- data/lib/gcloud/dns/service.rb +0 -167
- data/lib/gcloud/dns/zone.rb +0 -759
- data/lib/gcloud/dns/zone/list.rb +0 -168
- data/lib/gcloud/dns/zone/transaction.rb +0 -176
- data/lib/gcloud/errors.rb +0 -206
- data/lib/gcloud/gce.rb +0 -56
- data/lib/gcloud/grpc_utils.rb +0 -87
- data/lib/gcloud/logging/credentials.rb +0 -29
- data/lib/gcloud/logging/entry.rb +0 -465
- data/lib/gcloud/logging/entry/http_request.rb +0 -141
- data/lib/gcloud/logging/entry/list.rb +0 -177
- data/lib/gcloud/logging/entry/operation.rb +0 -90
- data/lib/gcloud/logging/logger.rb +0 -307
- data/lib/gcloud/logging/metric.rb +0 -169
- data/lib/gcloud/logging/metric/list.rb +0 -172
- data/lib/gcloud/logging/project.rb +0 -642
- data/lib/gcloud/logging/resource.rb +0 -84
- data/lib/gcloud/logging/resource_descriptor.rb +0 -137
- data/lib/gcloud/logging/resource_descriptor/list.rb +0 -174
- data/lib/gcloud/logging/service.rb +0 -267
- data/lib/gcloud/logging/sink.rb +0 -227
- data/lib/gcloud/logging/sink/list.rb +0 -171
- data/lib/gcloud/pubsub/credentials.rb +0 -29
- data/lib/gcloud/pubsub/message.rb +0 -94
- data/lib/gcloud/pubsub/policy.rb +0 -204
- data/lib/gcloud/pubsub/project.rb +0 -482
- data/lib/gcloud/pubsub/received_message.rb +0 -160
- data/lib/gcloud/pubsub/service.rb +0 -334
- data/lib/gcloud/pubsub/subscription.rb +0 -565
- data/lib/gcloud/pubsub/subscription/list.rb +0 -208
- data/lib/gcloud/pubsub/topic.rb +0 -511
- data/lib/gcloud/pubsub/topic/list.rb +0 -174
- data/lib/gcloud/pubsub/topic/publisher.rb +0 -85
- data/lib/gcloud/resource_manager/credentials.rb +0 -30
- data/lib/gcloud/resource_manager/manager.rb +0 -266
- data/lib/gcloud/resource_manager/policy.rb +0 -211
- data/lib/gcloud/resource_manager/project.rb +0 -484
- data/lib/gcloud/resource_manager/project/list.rb +0 -167
- data/lib/gcloud/resource_manager/project/updater.rb +0 -130
- data/lib/gcloud/resource_manager/service.rb +0 -127
- data/lib/gcloud/storage/bucket.rb +0 -775
- data/lib/gcloud/storage/bucket/acl.rb +0 -810
- data/lib/gcloud/storage/bucket/cors.rb +0 -153
- data/lib/gcloud/storage/bucket/list.rb +0 -172
- data/lib/gcloud/storage/credentials.rb +0 -29
- data/lib/gcloud/storage/errors.rb +0 -65
- data/lib/gcloud/storage/file.rb +0 -842
- data/lib/gcloud/storage/file/acl.rb +0 -425
- data/lib/gcloud/storage/file/list.rb +0 -191
- data/lib/gcloud/storage/file/verifier.rb +0 -67
- data/lib/gcloud/storage/project.rb +0 -316
- data/lib/gcloud/storage/service.rb +0 -347
- data/lib/gcloud/translate/api.rb +0 -241
- data/lib/gcloud/translate/detection.rb +0 -137
- data/lib/gcloud/translate/language.rb +0 -69
- data/lib/gcloud/translate/service.rb +0 -80
- data/lib/gcloud/translate/translation.rb +0 -112
- data/lib/gcloud/vision/annotate.rb +0 -224
- data/lib/gcloud/vision/annotation.rb +0 -455
- data/lib/gcloud/vision/annotation/entity.rb +0 -234
- data/lib/gcloud/vision/annotation/face.rb +0 -1750
- data/lib/gcloud/vision/annotation/properties.rb +0 -245
- data/lib/gcloud/vision/annotation/safe_search.rb +0 -161
- data/lib/gcloud/vision/annotation/text.rb +0 -236
- data/lib/gcloud/vision/annotation/vertex.rb +0 -108
- data/lib/gcloud/vision/credentials.rb +0 -29
- data/lib/gcloud/vision/image.rb +0 -590
- data/lib/gcloud/vision/location.rb +0 -115
- data/lib/gcloud/vision/project.rb +0 -278
- data/lib/gcloud/vision/service.rb +0 -66
- data/lib/google/api/annotations.rb +0 -14
- data/lib/google/api/http.rb +0 -30
- data/lib/google/api/label.rb +0 -24
- data/lib/google/api/monitored_resource.rb +0 -25
- data/lib/google/datastore/v1beta3/datastore.rb +0 -115
- data/lib/google/datastore/v1beta3/datastore_services.rb +0 -33
- data/lib/google/datastore/v1beta3/entity.rb +0 -63
- data/lib/google/datastore/v1beta3/query.rb +0 -128
- data/lib/google/devtools/cloudtrace/v1/trace.rb +0 -78
- data/lib/google/devtools/cloudtrace/v1/trace_services.rb +0 -32
- data/lib/google/example/library/v1/library.rb +0 -91
- data/lib/google/example/library/v1/library_services.rb +0 -40
- data/lib/google/iam/v1/iam_policy.rb +0 -33
- data/lib/google/iam/v1/iam_policy_services.rb +0 -30
- data/lib/google/iam/v1/policy.rb +0 -25
- data/lib/google/logging/type/http_request.rb +0 -28
- data/lib/google/logging/type/log_severity.rb +0 -27
- data/lib/google/logging/v2/log_entry.rb +0 -44
- data/lib/google/logging/v2/logging.rb +0 -56
- data/lib/google/logging/v2/logging_config.rb +0 -59
- data/lib/google/logging/v2/logging_config_services.rb +0 -32
- data/lib/google/logging/v2/logging_metrics.rb +0 -51
- data/lib/google/logging/v2/logging_metrics_services.rb +0 -32
- data/lib/google/logging/v2/logging_services.rb +0 -31
- data/lib/google/longrunning/operations.rb +0 -50
- data/lib/google/longrunning/operations_services.rb +0 -29
- data/lib/google/protobuf/descriptor.rb +0 -0
- data/lib/google/pubsub/v1/pubsub.rb +0 -129
- data/lib/google/pubsub/v1/pubsub_services.rb +0 -56
- data/lib/google/pubsub/v1beta2/pubsub.rb +0 -126
- data/lib/google/pubsub/v1beta2/pubsub_services.rb +0 -56
- data/lib/google/rpc/code.rb +0 -32
- data/lib/google/rpc/error_details.rb +0 -61
- data/lib/google/rpc/status.rb +0 -19
- data/lib/google/type/color.rb +0 -20
- data/lib/google/type/date.rb +0 -18
- data/lib/google/type/dayofweek.rb +0 -23
- data/lib/google/type/latlng.rb +0 -17
- data/lib/google/type/money.rb +0 -18
- data/lib/google/type/timeofday.rb +0 -19
@@ -1,56 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/pubsub/v1beta2/pubsub.proto for package 'google.pubsub.v1beta2'
|
3
|
-
|
4
|
-
require 'grpc'
|
5
|
-
require 'google/pubsub/v1beta2/pubsub'
|
6
|
-
|
7
|
-
module Google
|
8
|
-
module Pubsub
|
9
|
-
module V1beta2
|
10
|
-
module Subscriber
|
11
|
-
|
12
|
-
# TODO: add proto service documentation here
|
13
|
-
class Service
|
14
|
-
|
15
|
-
include GRPC::GenericService
|
16
|
-
|
17
|
-
self.marshal_class_method = :encode
|
18
|
-
self.unmarshal_class_method = :decode
|
19
|
-
self.service_name = 'google.pubsub.v1beta2.Subscriber'
|
20
|
-
|
21
|
-
rpc :CreateSubscription, Subscription, Subscription
|
22
|
-
rpc :GetSubscription, GetSubscriptionRequest, Subscription
|
23
|
-
rpc :ListSubscriptions, ListSubscriptionsRequest, ListSubscriptionsResponse
|
24
|
-
rpc :DeleteSubscription, DeleteSubscriptionRequest, Empty
|
25
|
-
rpc :ModifyAckDeadline, ModifyAckDeadlineRequest, Empty
|
26
|
-
rpc :Acknowledge, AcknowledgeRequest, Empty
|
27
|
-
rpc :Pull, PullRequest, PullResponse
|
28
|
-
rpc :ModifyPushConfig, ModifyPushConfigRequest, Empty
|
29
|
-
end
|
30
|
-
|
31
|
-
Stub = Service.rpc_stub_class
|
32
|
-
end
|
33
|
-
module Publisher
|
34
|
-
|
35
|
-
# TODO: add proto service documentation here
|
36
|
-
class Service
|
37
|
-
|
38
|
-
include GRPC::GenericService
|
39
|
-
|
40
|
-
self.marshal_class_method = :encode
|
41
|
-
self.unmarshal_class_method = :decode
|
42
|
-
self.service_name = 'google.pubsub.v1beta2.Publisher'
|
43
|
-
|
44
|
-
rpc :CreateTopic, Topic, Topic
|
45
|
-
rpc :Publish, PublishRequest, PublishResponse
|
46
|
-
rpc :GetTopic, GetTopicRequest, Topic
|
47
|
-
rpc :ListTopics, ListTopicsRequest, ListTopicsResponse
|
48
|
-
rpc :ListTopicSubscriptions, ListTopicSubscriptionsRequest, ListTopicSubscriptionsResponse
|
49
|
-
rpc :DeleteTopic, DeleteTopicRequest, Empty
|
50
|
-
end
|
51
|
-
|
52
|
-
Stub = Service.rpc_stub_class
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
data/lib/google/rpc/code.rb
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/rpc/code.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_enum "google.rpc.Code" do
|
8
|
-
value :OK, 0
|
9
|
-
value :CANCELLED, 1
|
10
|
-
value :UNKNOWN, 2
|
11
|
-
value :INVALID_ARGUMENT, 3
|
12
|
-
value :DEADLINE_EXCEEDED, 4
|
13
|
-
value :NOT_FOUND, 5
|
14
|
-
value :ALREADY_EXISTS, 6
|
15
|
-
value :PERMISSION_DENIED, 7
|
16
|
-
value :UNAUTHENTICATED, 16
|
17
|
-
value :RESOURCE_EXHAUSTED, 8
|
18
|
-
value :FAILED_PRECONDITION, 9
|
19
|
-
value :ABORTED, 10
|
20
|
-
value :OUT_OF_RANGE, 11
|
21
|
-
value :UNIMPLEMENTED, 12
|
22
|
-
value :INTERNAL, 13
|
23
|
-
value :UNAVAILABLE, 14
|
24
|
-
value :DATA_LOSS, 15
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
module Google
|
29
|
-
module Rpc
|
30
|
-
Code = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Code").enummodule
|
31
|
-
end
|
32
|
-
end
|
@@ -1,61 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/rpc/error_details.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/protobuf/duration'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_message "google.rpc.RetryInfo" do
|
9
|
-
optional :retry_delay, :message, 1, "google.protobuf.Duration"
|
10
|
-
end
|
11
|
-
add_message "google.rpc.DebugInfo" do
|
12
|
-
repeated :stack_entries, :string, 1
|
13
|
-
optional :detail, :string, 2
|
14
|
-
end
|
15
|
-
add_message "google.rpc.QuotaFailure" do
|
16
|
-
repeated :violations, :message, 1, "google.rpc.QuotaFailure.Violation"
|
17
|
-
end
|
18
|
-
add_message "google.rpc.QuotaFailure.Violation" do
|
19
|
-
optional :subject, :string, 1
|
20
|
-
optional :description, :string, 2
|
21
|
-
end
|
22
|
-
add_message "google.rpc.BadRequest" do
|
23
|
-
repeated :field_violations, :message, 1, "google.rpc.BadRequest.FieldViolation"
|
24
|
-
end
|
25
|
-
add_message "google.rpc.BadRequest.FieldViolation" do
|
26
|
-
optional :field, :string, 1
|
27
|
-
optional :description, :string, 2
|
28
|
-
end
|
29
|
-
add_message "google.rpc.RequestInfo" do
|
30
|
-
optional :request_id, :string, 1
|
31
|
-
optional :serving_data, :string, 2
|
32
|
-
end
|
33
|
-
add_message "google.rpc.ResourceInfo" do
|
34
|
-
optional :resource_type, :string, 1
|
35
|
-
optional :resource_name, :string, 2
|
36
|
-
optional :owner, :string, 3
|
37
|
-
optional :description, :string, 4
|
38
|
-
end
|
39
|
-
add_message "google.rpc.Help" do
|
40
|
-
repeated :links, :message, 1, "google.rpc.Help.Link"
|
41
|
-
end
|
42
|
-
add_message "google.rpc.Help.Link" do
|
43
|
-
optional :description, :string, 1
|
44
|
-
optional :url, :string, 2
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
module Google
|
49
|
-
module Rpc
|
50
|
-
RetryInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RetryInfo").msgclass
|
51
|
-
DebugInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.DebugInfo").msgclass
|
52
|
-
QuotaFailure = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure").msgclass
|
53
|
-
QuotaFailure::Violation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure.Violation").msgclass
|
54
|
-
BadRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest").msgclass
|
55
|
-
BadRequest::FieldViolation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest.FieldViolation").msgclass
|
56
|
-
RequestInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RequestInfo").msgclass
|
57
|
-
ResourceInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.ResourceInfo").msgclass
|
58
|
-
Help = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Help").msgclass
|
59
|
-
Help::Link = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Help.Link").msgclass
|
60
|
-
end
|
61
|
-
end
|
data/lib/google/rpc/status.rb
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/rpc/status.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/protobuf/any'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_message "google.rpc.Status" do
|
9
|
-
optional :code, :int32, 1
|
10
|
-
optional :message, :string, 2
|
11
|
-
repeated :details, :message, 3, "google.protobuf.Any"
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
module Google
|
16
|
-
module Rpc
|
17
|
-
Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Status").msgclass
|
18
|
-
end
|
19
|
-
end
|
data/lib/google/type/color.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/type/color.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/protobuf/wrappers'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_message "google.type.Color" do
|
9
|
-
optional :red, :float, 1
|
10
|
-
optional :green, :float, 2
|
11
|
-
optional :blue, :float, 3
|
12
|
-
optional :alpha, :message, 4, "google.protobuf.FloatValue"
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
module Google
|
17
|
-
module Type
|
18
|
-
Color = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Color").msgclass
|
19
|
-
end
|
20
|
-
end
|
data/lib/google/type/date.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/type/date.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_message "google.type.Date" do
|
8
|
-
optional :year, :int32, 1
|
9
|
-
optional :month, :int32, 2
|
10
|
-
optional :day, :int32, 3
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
module Google
|
15
|
-
module Type
|
16
|
-
Date = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Date").msgclass
|
17
|
-
end
|
18
|
-
end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/type/dayofweek.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_enum "google.type.DayOfWeek" do
|
8
|
-
value :DAY_OF_WEEK_UNSPECIFIED, 0
|
9
|
-
value :MONDAY, 1
|
10
|
-
value :TUESDAY, 2
|
11
|
-
value :WEDNESDAY, 3
|
12
|
-
value :THURSDAY, 4
|
13
|
-
value :FRIDAY, 5
|
14
|
-
value :SATURDAY, 6
|
15
|
-
value :SUNDAY, 7
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Type
|
21
|
-
DayOfWeek = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.DayOfWeek").enummodule
|
22
|
-
end
|
23
|
-
end
|
data/lib/google/type/latlng.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/type/latlng.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_message "google.type.LatLng" do
|
8
|
-
optional :latitude, :double, 1
|
9
|
-
optional :longitude, :double, 2
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
module Google
|
14
|
-
module Type
|
15
|
-
LatLng = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.LatLng").msgclass
|
16
|
-
end
|
17
|
-
end
|
data/lib/google/type/money.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/type/money.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_message "google.type.Money" do
|
8
|
-
optional :currency_code, :string, 1
|
9
|
-
optional :units, :int64, 2
|
10
|
-
optional :nanos, :int32, 3
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
module Google
|
15
|
-
module Type
|
16
|
-
Money = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Money").msgclass
|
17
|
-
end
|
18
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/type/timeofday.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_message "google.type.TimeOfDay" do
|
8
|
-
optional :hours, :int32, 1
|
9
|
-
optional :minutes, :int32, 2
|
10
|
-
optional :seconds, :int32, 3
|
11
|
-
optional :nanos, :int32, 4
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
module Google
|
16
|
-
module Type
|
17
|
-
TimeOfDay = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeOfDay").msgclass
|
18
|
-
end
|
19
|
-
end
|