gcloud 0.6.3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/AUTHENTICATION.md +13 -9
- data/CHANGELOG.md +8 -3
- data/OVERVIEW.md +46 -8
- data/lib/gcloud.rb +123 -117
- data/lib/gcloud/backoff.rb +43 -15
- data/lib/gcloud/bigquery.rb +211 -195
- data/lib/gcloud/bigquery/connection.rb +9 -9
- data/lib/gcloud/bigquery/copy_job.rb +15 -16
- data/lib/gcloud/bigquery/credentials.rb +3 -3
- data/lib/gcloud/bigquery/data.rb +12 -11
- data/lib/gcloud/bigquery/dataset.rb +162 -216
- data/lib/gcloud/bigquery/dataset/access.rb +59 -43
- data/lib/gcloud/bigquery/dataset/list.rb +3 -3
- data/lib/gcloud/bigquery/errors.rb +9 -5
- data/lib/gcloud/bigquery/extract_job.rb +18 -18
- data/lib/gcloud/bigquery/insert_response.rb +7 -4
- data/lib/gcloud/bigquery/job.rb +48 -44
- data/lib/gcloud/bigquery/job/list.rb +3 -3
- data/lib/gcloud/bigquery/load_job.rb +24 -25
- data/lib/gcloud/bigquery/project.rb +145 -204
- data/lib/gcloud/bigquery/query_data.rb +10 -9
- data/lib/gcloud/bigquery/query_job.rb +23 -32
- data/lib/gcloud/bigquery/table.rb +238 -280
- data/lib/gcloud/bigquery/table/list.rb +3 -3
- data/lib/gcloud/bigquery/table/schema.rb +79 -87
- data/lib/gcloud/bigquery/view.rb +69 -82
- data/lib/gcloud/credentials.rb +3 -9
- data/lib/gcloud/datastore.rb +194 -170
- data/lib/gcloud/datastore/connection.rb +12 -8
- data/lib/gcloud/datastore/credentials.rb +6 -4
- data/lib/gcloud/datastore/dataset.rb +74 -141
- data/lib/gcloud/datastore/dataset/lookup_results.rb +6 -4
- data/lib/gcloud/datastore/dataset/query_results.rb +6 -4
- data/lib/gcloud/datastore/entity.rb +81 -76
- data/lib/gcloud/datastore/errors.rb +10 -8
- data/lib/gcloud/datastore/key.rb +41 -77
- data/lib/gcloud/datastore/properties.rb +3 -3
- data/lib/gcloud/datastore/proto.rb +7 -4
- data/lib/gcloud/datastore/query.rb +26 -3
- data/lib/gcloud/datastore/transaction.rb +12 -8
- data/lib/gcloud/dns.rb +180 -152
- data/lib/gcloud/dns/change.rb +16 -16
- data/lib/gcloud/dns/change/list.rb +3 -3
- data/lib/gcloud/dns/connection.rb +9 -10
- data/lib/gcloud/dns/credentials.rb +3 -3
- data/lib/gcloud/dns/errors.rb +9 -5
- data/lib/gcloud/dns/importer.rb +17 -23
- data/lib/gcloud/dns/project.rb +42 -64
- data/lib/gcloud/dns/record.rb +58 -46
- data/lib/gcloud/dns/record/list.rb +6 -7
- data/lib/gcloud/dns/zone.rb +198 -289
- data/lib/gcloud/dns/zone/list.rb +3 -3
- data/lib/gcloud/dns/zone/transaction.rb +56 -72
- data/lib/gcloud/errors.rb +174 -3
- data/lib/gcloud/gce.rb +3 -4
- data/lib/gcloud/grpc_utils.rb +76 -0
- data/lib/gcloud/logging.rb +308 -0
- data/lib/gcloud/logging/credentials.rb +29 -0
- data/lib/gcloud/logging/entry.rb +303 -0
- data/lib/gcloud/logging/entry/http_request.rb +141 -0
- data/lib/gcloud/logging/entry/list.rb +111 -0
- data/lib/gcloud/logging/entry/operation.rb +90 -0
- data/lib/gcloud/logging/logger.rb +307 -0
- data/lib/gcloud/logging/metric.rb +175 -0
- data/lib/gcloud/logging/metric/list.rb +98 -0
- data/lib/gcloud/logging/project.rb +650 -0
- data/lib/gcloud/logging/resource.rb +95 -0
- data/lib/gcloud/logging/resource_descriptor.rb +140 -0
- data/lib/gcloud/logging/resource_descriptor/list.rb +78 -0
- data/lib/gcloud/logging/service.rb +258 -0
- data/lib/gcloud/logging/sink.rb +233 -0
- data/lib/gcloud/logging/sink/list.rb +97 -0
- data/lib/gcloud/pubsub.rb +241 -199
- data/lib/gcloud/pubsub/credentials.rb +3 -3
- data/lib/gcloud/pubsub/message.rb +26 -20
- data/lib/gcloud/pubsub/project.rb +166 -233
- data/lib/gcloud/pubsub/received_message.rb +28 -38
- data/lib/gcloud/pubsub/service.rb +323 -0
- data/lib/gcloud/pubsub/subscription.rb +172 -242
- data/lib/gcloud/pubsub/subscription/list.rb +11 -9
- data/lib/gcloud/pubsub/topic.rb +152 -271
- data/lib/gcloud/pubsub/topic/batch.rb +66 -0
- data/lib/gcloud/pubsub/topic/list.rb +9 -7
- data/lib/gcloud/resource_manager.rb +158 -138
- data/lib/gcloud/resource_manager/connection.rb +6 -5
- data/lib/gcloud/resource_manager/credentials.rb +3 -3
- data/lib/gcloud/resource_manager/errors.rb +9 -5
- data/lib/gcloud/resource_manager/manager.rb +54 -86
- data/lib/gcloud/resource_manager/project.rb +69 -88
- data/lib/gcloud/resource_manager/project/list.rb +4 -5
- data/lib/gcloud/resource_manager/project/updater.rb +12 -14
- data/lib/gcloud/search.rb +158 -135
- data/lib/gcloud/search/api_client.rb +7 -7
- data/lib/gcloud/search/connection.rb +8 -8
- data/lib/gcloud/search/credentials.rb +3 -3
- data/lib/gcloud/search/document.rb +64 -87
- data/lib/gcloud/search/document/list.rb +5 -5
- data/lib/gcloud/search/errors.rb +9 -5
- data/lib/gcloud/search/field_value.rb +32 -38
- data/lib/gcloud/search/field_values.rb +50 -80
- data/lib/gcloud/search/fields.rb +44 -65
- data/lib/gcloud/search/index.rb +163 -204
- data/lib/gcloud/search/index/list.rb +5 -5
- data/lib/gcloud/search/project.rb +31 -47
- data/lib/gcloud/search/result.rb +27 -31
- data/lib/gcloud/search/result/list.rb +6 -6
- data/lib/gcloud/storage.rb +224 -190
- data/lib/gcloud/storage/bucket.rb +202 -227
- data/lib/gcloud/storage/bucket/acl.rb +83 -170
- data/lib/gcloud/storage/bucket/cors.rb +31 -34
- data/lib/gcloud/storage/bucket/list.rb +3 -3
- data/lib/gcloud/storage/connection.rb +11 -7
- data/lib/gcloud/storage/credentials.rb +3 -3
- data/lib/gcloud/storage/errors.rb +11 -8
- data/lib/gcloud/storage/file.rb +129 -171
- data/lib/gcloud/storage/file/acl.rb +51 -99
- data/lib/gcloud/storage/file/list.rb +3 -3
- data/lib/gcloud/storage/file/verifier.rb +3 -2
- data/lib/gcloud/storage/project.rb +111 -132
- data/lib/gcloud/upload.rb +4 -7
- data/lib/gcloud/version.rb +2 -4
- data/lib/google/api/annotations.rb +14 -0
- data/lib/google/api/http.rb +30 -0
- data/lib/google/api/label.rb +24 -0
- data/lib/google/api/monitored_resource.rb +25 -0
- data/lib/google/datastore/v1beta3/datastore.rb +115 -0
- data/lib/google/datastore/v1beta3/datastore_services.rb +33 -0
- data/lib/google/datastore/v1beta3/entity.rb +63 -0
- data/lib/google/datastore/v1beta3/query.rb +128 -0
- data/lib/google/devtools/cloudtrace/v1/trace.rb +78 -0
- data/lib/google/devtools/cloudtrace/v1/trace_services.rb +32 -0
- data/lib/google/example/library/v1/library.rb +91 -0
- data/lib/google/example/library/v1/library_services.rb +40 -0
- data/lib/google/iam/v1/iam_policy.rb +33 -0
- data/lib/google/iam/v1/iam_policy_services.rb +30 -0
- data/lib/google/iam/v1/policy.rb +25 -0
- data/lib/google/logging/type/http_request.rb +28 -0
- data/lib/google/logging/type/log_severity.rb +27 -0
- data/lib/google/logging/v2/log_entry.rb +44 -0
- data/lib/google/logging/v2/logging.rb +56 -0
- data/lib/google/logging/v2/logging_config.rb +59 -0
- data/lib/google/logging/v2/logging_config_services.rb +32 -0
- data/lib/google/logging/v2/logging_metrics.rb +51 -0
- data/lib/google/logging/v2/logging_metrics_services.rb +32 -0
- data/lib/google/logging/v2/logging_services.rb +31 -0
- data/lib/google/longrunning/operations.rb +50 -0
- data/lib/google/longrunning/operations_services.rb +29 -0
- data/lib/google/protobuf/any.rb +17 -0
- data/lib/google/protobuf/api.rb +31 -0
- data/lib/google/protobuf/descriptor.rb +0 -0
- data/lib/google/protobuf/duration.rb +17 -0
- data/lib/google/protobuf/empty.rb +15 -0
- data/lib/google/protobuf/field_mask.rb +16 -0
- data/lib/google/protobuf/source_context.rb +16 -0
- data/lib/google/protobuf/struct.rb +35 -0
- data/lib/google/protobuf/timestamp.rb +17 -0
- data/lib/google/protobuf/type.rb +79 -0
- data/lib/google/protobuf/wrappers.rb +48 -0
- data/lib/google/pubsub/v1/pubsub.rb +129 -0
- data/lib/google/pubsub/v1/pubsub_services.rb +56 -0
- data/lib/google/pubsub/v1beta2/pubsub.rb +126 -0
- data/lib/google/pubsub/v1beta2/pubsub_services.rb +56 -0
- data/lib/google/rpc/code.rb +32 -0
- data/lib/google/rpc/error_details.rb +61 -0
- data/lib/google/rpc/status.rb +19 -0
- data/lib/google/type/color.rb +20 -0
- data/lib/google/type/date.rb +18 -0
- data/lib/google/type/dayofweek.rb +23 -0
- data/lib/google/type/latlng.rb +17 -0
- data/lib/google/type/money.rb +18 -0
- data/lib/google/type/timeofday.rb +19 -0
- metadata +101 -4
- data/lib/gcloud/pubsub/connection.rb +0 -295
- data/lib/gcloud/pubsub/errors.rb +0 -93
@@ -0,0 +1,56 @@
|
|
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
|
@@ -0,0 +1,32 @@
|
|
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
|
@@ -0,0 +1,61 @@
|
|
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
|
@@ -0,0 +1,19 @@
|
|
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
|
@@ -0,0 +1,20 @@
|
|
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
|
@@ -0,0 +1,18 @@
|
|
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
|
@@ -0,0 +1,23 @@
|
|
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
|
@@ -0,0 +1,17 @@
|
|
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
|
@@ -0,0 +1,18 @@
|
|
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
|
@@ -0,0 +1,19 @@
|
|
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
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Silvano Luciani
|
@@ -10,8 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-03-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: grpc
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.13.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 0.13.1
|
15
29
|
- !ruby/object:Gem::Dependency
|
16
30
|
name: beefcake
|
17
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -222,6 +236,20 @@ dependencies:
|
|
222
236
|
- - ~>
|
223
237
|
- !ruby/object:Gem::Version
|
224
238
|
version: '0.7'
|
239
|
+
- !ruby/object:Gem::Dependency
|
240
|
+
name: yard
|
241
|
+
requirement: !ruby/object:Gem::Requirement
|
242
|
+
requirements:
|
243
|
+
- - ~>
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0.8'
|
246
|
+
type: :development
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
requirements:
|
250
|
+
- - ~>
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: '0.8'
|
225
253
|
description: Gcloud is the official library for interacting with Google Cloud.
|
226
254
|
email:
|
227
255
|
- silvano@google.com
|
@@ -289,17 +317,34 @@ files:
|
|
289
317
|
- lib/gcloud/dns/zone/transaction.rb
|
290
318
|
- lib/gcloud/errors.rb
|
291
319
|
- lib/gcloud/gce.rb
|
320
|
+
- lib/gcloud/grpc_utils.rb
|
321
|
+
- lib/gcloud/logging.rb
|
322
|
+
- lib/gcloud/logging/credentials.rb
|
323
|
+
- lib/gcloud/logging/entry.rb
|
324
|
+
- lib/gcloud/logging/entry/http_request.rb
|
325
|
+
- lib/gcloud/logging/entry/list.rb
|
326
|
+
- lib/gcloud/logging/entry/operation.rb
|
327
|
+
- lib/gcloud/logging/logger.rb
|
328
|
+
- lib/gcloud/logging/metric.rb
|
329
|
+
- lib/gcloud/logging/metric/list.rb
|
330
|
+
- lib/gcloud/logging/project.rb
|
331
|
+
- lib/gcloud/logging/resource.rb
|
332
|
+
- lib/gcloud/logging/resource_descriptor.rb
|
333
|
+
- lib/gcloud/logging/resource_descriptor/list.rb
|
334
|
+
- lib/gcloud/logging/service.rb
|
335
|
+
- lib/gcloud/logging/sink.rb
|
336
|
+
- lib/gcloud/logging/sink/list.rb
|
292
337
|
- lib/gcloud/proto/datastore_v1.pb.rb
|
293
338
|
- lib/gcloud/pubsub.rb
|
294
|
-
- lib/gcloud/pubsub/connection.rb
|
295
339
|
- lib/gcloud/pubsub/credentials.rb
|
296
|
-
- lib/gcloud/pubsub/errors.rb
|
297
340
|
- lib/gcloud/pubsub/message.rb
|
298
341
|
- lib/gcloud/pubsub/project.rb
|
299
342
|
- lib/gcloud/pubsub/received_message.rb
|
343
|
+
- lib/gcloud/pubsub/service.rb
|
300
344
|
- lib/gcloud/pubsub/subscription.rb
|
301
345
|
- lib/gcloud/pubsub/subscription/list.rb
|
302
346
|
- lib/gcloud/pubsub/topic.rb
|
347
|
+
- lib/gcloud/pubsub/topic/batch.rb
|
303
348
|
- lib/gcloud/pubsub/topic/list.rb
|
304
349
|
- lib/gcloud/resource_manager.rb
|
305
350
|
- lib/gcloud/resource_manager/connection.rb
|
@@ -339,6 +384,56 @@ files:
|
|
339
384
|
- lib/gcloud/storage/project.rb
|
340
385
|
- lib/gcloud/upload.rb
|
341
386
|
- lib/gcloud/version.rb
|
387
|
+
- lib/google/api/annotations.rb
|
388
|
+
- lib/google/api/http.rb
|
389
|
+
- lib/google/api/label.rb
|
390
|
+
- lib/google/api/monitored_resource.rb
|
391
|
+
- lib/google/datastore/v1beta3/datastore.rb
|
392
|
+
- lib/google/datastore/v1beta3/datastore_services.rb
|
393
|
+
- lib/google/datastore/v1beta3/entity.rb
|
394
|
+
- lib/google/datastore/v1beta3/query.rb
|
395
|
+
- lib/google/devtools/cloudtrace/v1/trace.rb
|
396
|
+
- lib/google/devtools/cloudtrace/v1/trace_services.rb
|
397
|
+
- lib/google/example/library/v1/library.rb
|
398
|
+
- lib/google/example/library/v1/library_services.rb
|
399
|
+
- lib/google/iam/v1/iam_policy.rb
|
400
|
+
- lib/google/iam/v1/iam_policy_services.rb
|
401
|
+
- lib/google/iam/v1/policy.rb
|
402
|
+
- lib/google/logging/type/http_request.rb
|
403
|
+
- lib/google/logging/type/log_severity.rb
|
404
|
+
- lib/google/logging/v2/log_entry.rb
|
405
|
+
- lib/google/logging/v2/logging.rb
|
406
|
+
- lib/google/logging/v2/logging_config.rb
|
407
|
+
- lib/google/logging/v2/logging_config_services.rb
|
408
|
+
- lib/google/logging/v2/logging_metrics.rb
|
409
|
+
- lib/google/logging/v2/logging_metrics_services.rb
|
410
|
+
- lib/google/logging/v2/logging_services.rb
|
411
|
+
- lib/google/longrunning/operations.rb
|
412
|
+
- lib/google/longrunning/operations_services.rb
|
413
|
+
- lib/google/protobuf/any.rb
|
414
|
+
- lib/google/protobuf/api.rb
|
415
|
+
- lib/google/protobuf/descriptor.rb
|
416
|
+
- lib/google/protobuf/duration.rb
|
417
|
+
- lib/google/protobuf/empty.rb
|
418
|
+
- lib/google/protobuf/field_mask.rb
|
419
|
+
- lib/google/protobuf/source_context.rb
|
420
|
+
- lib/google/protobuf/struct.rb
|
421
|
+
- lib/google/protobuf/timestamp.rb
|
422
|
+
- lib/google/protobuf/type.rb
|
423
|
+
- lib/google/protobuf/wrappers.rb
|
424
|
+
- lib/google/pubsub/v1/pubsub.rb
|
425
|
+
- lib/google/pubsub/v1/pubsub_services.rb
|
426
|
+
- lib/google/pubsub/v1beta2/pubsub.rb
|
427
|
+
- lib/google/pubsub/v1beta2/pubsub_services.rb
|
428
|
+
- lib/google/rpc/code.rb
|
429
|
+
- lib/google/rpc/error_details.rb
|
430
|
+
- lib/google/rpc/status.rb
|
431
|
+
- lib/google/type/color.rb
|
432
|
+
- lib/google/type/date.rb
|
433
|
+
- lib/google/type/dayofweek.rb
|
434
|
+
- lib/google/type/latlng.rb
|
435
|
+
- lib/google/type/money.rb
|
436
|
+
- lib/google/type/timeofday.rb
|
342
437
|
homepage: http://googlecloudplatform.github.io/gcloud-ruby/
|
343
438
|
licenses:
|
344
439
|
- Apache-2.0
|
@@ -349,6 +444,8 @@ rdoc_options:
|
|
349
444
|
- OVERVIEW.md
|
350
445
|
- --exclude
|
351
446
|
- lib/gcloud/proto/
|
447
|
+
- --exclude
|
448
|
+
- lib/google/
|
352
449
|
require_paths:
|
353
450
|
- lib
|
354
451
|
required_ruby_version: !ruby/object:Gem::Requirement
|