gcloud 0.12.2 → 0.20.0

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 (169) hide show
  1. checksums.yaml +5 -13
  2. data/lib/gcloud.rb +27 -456
  3. data/lib/gcloud/bigquery.rb +2 -382
  4. data/lib/gcloud/datastore.rb +2 -576
  5. data/lib/gcloud/dns.rb +2 -321
  6. data/lib/gcloud/logging.rb +1 -322
  7. data/lib/gcloud/pubsub.rb +2 -476
  8. data/lib/gcloud/resource_manager.rb +2 -273
  9. data/lib/gcloud/storage.rb +2 -440
  10. data/lib/gcloud/translate.rb +1 -250
  11. data/lib/gcloud/version.rb +2 -2
  12. data/lib/gcloud/vision.rb +1 -501
  13. metadata +36 -332
  14. data/AUTHENTICATION.md +0 -75
  15. data/CHANGELOG.md +0 -382
  16. data/OVERVIEW.md +0 -259
  17. data/lib/gcloud/backoff.rb +0 -150
  18. data/lib/gcloud/bigquery/copy_job.rb +0 -97
  19. data/lib/gcloud/bigquery/credentials.rb +0 -29
  20. data/lib/gcloud/bigquery/data.rb +0 -239
  21. data/lib/gcloud/bigquery/dataset.rb +0 -753
  22. data/lib/gcloud/bigquery/dataset/access.rb +0 -507
  23. data/lib/gcloud/bigquery/dataset/list.rb +0 -169
  24. data/lib/gcloud/bigquery/extract_job.rb +0 -117
  25. data/lib/gcloud/bigquery/insert_response.rb +0 -81
  26. data/lib/gcloud/bigquery/job.rb +0 -299
  27. data/lib/gcloud/bigquery/job/list.rb +0 -172
  28. data/lib/gcloud/bigquery/load_job.rb +0 -202
  29. data/lib/gcloud/bigquery/project.rb +0 -475
  30. data/lib/gcloud/bigquery/query_data.rb +0 -234
  31. data/lib/gcloud/bigquery/query_job.rb +0 -137
  32. data/lib/gcloud/bigquery/schema.rb +0 -359
  33. data/lib/gcloud/bigquery/service.rb +0 -506
  34. data/lib/gcloud/bigquery/table.rb +0 -1141
  35. data/lib/gcloud/bigquery/table/list.rb +0 -180
  36. data/lib/gcloud/bigquery/view.rb +0 -475
  37. data/lib/gcloud/credentials.rb +0 -129
  38. data/lib/gcloud/datastore/commit.rb +0 -148
  39. data/lib/gcloud/datastore/credentials.rb +0 -35
  40. data/lib/gcloud/datastore/cursor.rb +0 -76
  41. data/lib/gcloud/datastore/dataset.rb +0 -660
  42. data/lib/gcloud/datastore/dataset/lookup_results.rb +0 -219
  43. data/lib/gcloud/datastore/dataset/query_results.rb +0 -386
  44. data/lib/gcloud/datastore/entity.rb +0 -449
  45. data/lib/gcloud/datastore/errors.rb +0 -41
  46. data/lib/gcloud/datastore/gql_query.rb +0 -211
  47. data/lib/gcloud/datastore/grpc_utils.rb +0 -132
  48. data/lib/gcloud/datastore/key.rb +0 -281
  49. data/lib/gcloud/datastore/properties.rb +0 -128
  50. data/lib/gcloud/datastore/query.rb +0 -348
  51. data/lib/gcloud/datastore/service.rb +0 -167
  52. data/lib/gcloud/datastore/transaction.rb +0 -362
  53. data/lib/gcloud/dns/change.rb +0 -158
  54. data/lib/gcloud/dns/change/list.rb +0 -173
  55. data/lib/gcloud/dns/credentials.rb +0 -29
  56. data/lib/gcloud/dns/importer.rb +0 -183
  57. data/lib/gcloud/dns/project.rb +0 -247
  58. data/lib/gcloud/dns/record.rb +0 -170
  59. data/lib/gcloud/dns/record/list.rb +0 -174
  60. data/lib/gcloud/dns/service.rb +0 -167
  61. data/lib/gcloud/dns/zone.rb +0 -759
  62. data/lib/gcloud/dns/zone/list.rb +0 -168
  63. data/lib/gcloud/dns/zone/transaction.rb +0 -176
  64. data/lib/gcloud/errors.rb +0 -206
  65. data/lib/gcloud/gce.rb +0 -56
  66. data/lib/gcloud/grpc_utils.rb +0 -87
  67. data/lib/gcloud/logging/credentials.rb +0 -29
  68. data/lib/gcloud/logging/entry.rb +0 -465
  69. data/lib/gcloud/logging/entry/http_request.rb +0 -141
  70. data/lib/gcloud/logging/entry/list.rb +0 -177
  71. data/lib/gcloud/logging/entry/operation.rb +0 -90
  72. data/lib/gcloud/logging/logger.rb +0 -307
  73. data/lib/gcloud/logging/metric.rb +0 -169
  74. data/lib/gcloud/logging/metric/list.rb +0 -172
  75. data/lib/gcloud/logging/project.rb +0 -642
  76. data/lib/gcloud/logging/resource.rb +0 -84
  77. data/lib/gcloud/logging/resource_descriptor.rb +0 -137
  78. data/lib/gcloud/logging/resource_descriptor/list.rb +0 -174
  79. data/lib/gcloud/logging/service.rb +0 -267
  80. data/lib/gcloud/logging/sink.rb +0 -227
  81. data/lib/gcloud/logging/sink/list.rb +0 -171
  82. data/lib/gcloud/pubsub/credentials.rb +0 -29
  83. data/lib/gcloud/pubsub/message.rb +0 -94
  84. data/lib/gcloud/pubsub/policy.rb +0 -204
  85. data/lib/gcloud/pubsub/project.rb +0 -482
  86. data/lib/gcloud/pubsub/received_message.rb +0 -160
  87. data/lib/gcloud/pubsub/service.rb +0 -334
  88. data/lib/gcloud/pubsub/subscription.rb +0 -565
  89. data/lib/gcloud/pubsub/subscription/list.rb +0 -208
  90. data/lib/gcloud/pubsub/topic.rb +0 -511
  91. data/lib/gcloud/pubsub/topic/list.rb +0 -174
  92. data/lib/gcloud/pubsub/topic/publisher.rb +0 -85
  93. data/lib/gcloud/resource_manager/credentials.rb +0 -30
  94. data/lib/gcloud/resource_manager/manager.rb +0 -266
  95. data/lib/gcloud/resource_manager/policy.rb +0 -211
  96. data/lib/gcloud/resource_manager/project.rb +0 -484
  97. data/lib/gcloud/resource_manager/project/list.rb +0 -167
  98. data/lib/gcloud/resource_manager/project/updater.rb +0 -130
  99. data/lib/gcloud/resource_manager/service.rb +0 -127
  100. data/lib/gcloud/storage/bucket.rb +0 -775
  101. data/lib/gcloud/storage/bucket/acl.rb +0 -810
  102. data/lib/gcloud/storage/bucket/cors.rb +0 -153
  103. data/lib/gcloud/storage/bucket/list.rb +0 -172
  104. data/lib/gcloud/storage/credentials.rb +0 -29
  105. data/lib/gcloud/storage/errors.rb +0 -65
  106. data/lib/gcloud/storage/file.rb +0 -842
  107. data/lib/gcloud/storage/file/acl.rb +0 -425
  108. data/lib/gcloud/storage/file/list.rb +0 -191
  109. data/lib/gcloud/storage/file/verifier.rb +0 -67
  110. data/lib/gcloud/storage/project.rb +0 -316
  111. data/lib/gcloud/storage/service.rb +0 -347
  112. data/lib/gcloud/translate/api.rb +0 -241
  113. data/lib/gcloud/translate/detection.rb +0 -137
  114. data/lib/gcloud/translate/language.rb +0 -69
  115. data/lib/gcloud/translate/service.rb +0 -80
  116. data/lib/gcloud/translate/translation.rb +0 -112
  117. data/lib/gcloud/vision/annotate.rb +0 -224
  118. data/lib/gcloud/vision/annotation.rb +0 -455
  119. data/lib/gcloud/vision/annotation/entity.rb +0 -234
  120. data/lib/gcloud/vision/annotation/face.rb +0 -1750
  121. data/lib/gcloud/vision/annotation/properties.rb +0 -245
  122. data/lib/gcloud/vision/annotation/safe_search.rb +0 -161
  123. data/lib/gcloud/vision/annotation/text.rb +0 -236
  124. data/lib/gcloud/vision/annotation/vertex.rb +0 -108
  125. data/lib/gcloud/vision/credentials.rb +0 -29
  126. data/lib/gcloud/vision/image.rb +0 -590
  127. data/lib/gcloud/vision/location.rb +0 -115
  128. data/lib/gcloud/vision/project.rb +0 -278
  129. data/lib/gcloud/vision/service.rb +0 -66
  130. data/lib/google/api/annotations.rb +0 -14
  131. data/lib/google/api/http.rb +0 -30
  132. data/lib/google/api/label.rb +0 -24
  133. data/lib/google/api/monitored_resource.rb +0 -25
  134. data/lib/google/datastore/v1beta3/datastore.rb +0 -115
  135. data/lib/google/datastore/v1beta3/datastore_services.rb +0 -33
  136. data/lib/google/datastore/v1beta3/entity.rb +0 -63
  137. data/lib/google/datastore/v1beta3/query.rb +0 -128
  138. data/lib/google/devtools/cloudtrace/v1/trace.rb +0 -78
  139. data/lib/google/devtools/cloudtrace/v1/trace_services.rb +0 -32
  140. data/lib/google/example/library/v1/library.rb +0 -91
  141. data/lib/google/example/library/v1/library_services.rb +0 -40
  142. data/lib/google/iam/v1/iam_policy.rb +0 -33
  143. data/lib/google/iam/v1/iam_policy_services.rb +0 -30
  144. data/lib/google/iam/v1/policy.rb +0 -25
  145. data/lib/google/logging/type/http_request.rb +0 -28
  146. data/lib/google/logging/type/log_severity.rb +0 -27
  147. data/lib/google/logging/v2/log_entry.rb +0 -44
  148. data/lib/google/logging/v2/logging.rb +0 -56
  149. data/lib/google/logging/v2/logging_config.rb +0 -59
  150. data/lib/google/logging/v2/logging_config_services.rb +0 -32
  151. data/lib/google/logging/v2/logging_metrics.rb +0 -51
  152. data/lib/google/logging/v2/logging_metrics_services.rb +0 -32
  153. data/lib/google/logging/v2/logging_services.rb +0 -31
  154. data/lib/google/longrunning/operations.rb +0 -50
  155. data/lib/google/longrunning/operations_services.rb +0 -29
  156. data/lib/google/protobuf/descriptor.rb +0 -0
  157. data/lib/google/pubsub/v1/pubsub.rb +0 -129
  158. data/lib/google/pubsub/v1/pubsub_services.rb +0 -56
  159. data/lib/google/pubsub/v1beta2/pubsub.rb +0 -126
  160. data/lib/google/pubsub/v1beta2/pubsub_services.rb +0 -56
  161. data/lib/google/rpc/code.rb +0 -32
  162. data/lib/google/rpc/error_details.rb +0 -61
  163. data/lib/google/rpc/status.rb +0 -19
  164. data/lib/google/type/color.rb +0 -20
  165. data/lib/google/type/date.rb +0 -18
  166. data/lib/google/type/dayofweek.rb +0 -23
  167. data/lib/google/type/latlng.rb +0 -17
  168. data/lib/google/type/money.rb +0 -18
  169. data/lib/google/type/timeofday.rb +0 -19
@@ -1,32 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/devtools/cloudtrace/v1/trace.proto for package 'google.devtools.cloudtrace.v1'
3
-
4
- require 'grpc'
5
- require 'google/devtools/cloudtrace/v1/trace'
6
-
7
- module Google
8
- module Devtools
9
- module Cloudtrace
10
- module V1
11
- module TraceService
12
-
13
- # TODO: add proto service documentation here
14
- class Service
15
-
16
- include GRPC::GenericService
17
-
18
- self.marshal_class_method = :encode
19
- self.unmarshal_class_method = :decode
20
- self.service_name = 'google.devtools.cloudtrace.v1.TraceService'
21
-
22
- rpc :ListTraces, ListTracesRequest, ListTracesResponse
23
- rpc :GetTrace, GetTraceRequest, Trace
24
- rpc :PatchTraces, PatchTracesRequest, Empty
25
- end
26
-
27
- Stub = Service.rpc_stub_class
28
- end
29
- end
30
- end
31
- end
32
- end
@@ -1,91 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/example/library/v1/library.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/annotations'
7
- require 'google/protobuf/empty'
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_message "google.example.library.v1.Book" do
10
- optional :name, :string, 1
11
- optional :author, :string, 2
12
- optional :title, :string, 3
13
- optional :read, :bool, 4
14
- end
15
- add_message "google.example.library.v1.Shelf" do
16
- optional :name, :string, 1
17
- optional :theme, :string, 2
18
- end
19
- add_message "google.example.library.v1.CreateShelfRequest" do
20
- optional :shelf, :message, 1, "google.example.library.v1.Shelf"
21
- end
22
- add_message "google.example.library.v1.GetShelfRequest" do
23
- optional :name, :string, 1
24
- end
25
- add_message "google.example.library.v1.ListShelvesRequest" do
26
- optional :page_size, :int32, 1
27
- optional :page_token, :string, 2
28
- end
29
- add_message "google.example.library.v1.ListShelvesResponse" do
30
- repeated :shelves, :message, 1, "google.example.library.v1.Shelf"
31
- optional :next_page_token, :string, 2
32
- end
33
- add_message "google.example.library.v1.DeleteShelfRequest" do
34
- optional :name, :string, 1
35
- end
36
- add_message "google.example.library.v1.MergeShelvesRequest" do
37
- optional :name, :string, 1
38
- optional :other_shelf_name, :string, 2
39
- end
40
- add_message "google.example.library.v1.CreateBookRequest" do
41
- optional :name, :string, 1
42
- optional :book, :message, 2, "google.example.library.v1.Book"
43
- end
44
- add_message "google.example.library.v1.GetBookRequest" do
45
- optional :name, :string, 1
46
- end
47
- add_message "google.example.library.v1.ListBooksRequest" do
48
- optional :name, :string, 1
49
- optional :page_size, :int32, 2
50
- optional :page_token, :string, 3
51
- end
52
- add_message "google.example.library.v1.ListBooksResponse" do
53
- repeated :books, :message, 1, "google.example.library.v1.Book"
54
- optional :next_page_token, :string, 2
55
- end
56
- add_message "google.example.library.v1.UpdateBookRequest" do
57
- optional :name, :string, 1
58
- optional :book, :message, 2, "google.example.library.v1.Book"
59
- end
60
- add_message "google.example.library.v1.DeleteBookRequest" do
61
- optional :name, :string, 1
62
- end
63
- add_message "google.example.library.v1.MoveBookRequest" do
64
- optional :name, :string, 1
65
- optional :other_shelf_name, :string, 2
66
- end
67
- end
68
-
69
- module Google
70
- module Example
71
- module Library
72
- module V1
73
- Book = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.Book").msgclass
74
- Shelf = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.Shelf").msgclass
75
- CreateShelfRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.CreateShelfRequest").msgclass
76
- GetShelfRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.GetShelfRequest").msgclass
77
- ListShelvesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.ListShelvesRequest").msgclass
78
- ListShelvesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.ListShelvesResponse").msgclass
79
- DeleteShelfRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.DeleteShelfRequest").msgclass
80
- MergeShelvesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.MergeShelvesRequest").msgclass
81
- CreateBookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.CreateBookRequest").msgclass
82
- GetBookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.GetBookRequest").msgclass
83
- ListBooksRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.ListBooksRequest").msgclass
84
- ListBooksResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.ListBooksResponse").msgclass
85
- UpdateBookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.UpdateBookRequest").msgclass
86
- DeleteBookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.DeleteBookRequest").msgclass
87
- MoveBookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.example.library.v1.MoveBookRequest").msgclass
88
- end
89
- end
90
- end
91
- end
@@ -1,40 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/example/library/v1/library.proto for package 'google.example.library.v1'
3
-
4
- require 'grpc'
5
- require 'google/example/library/v1/library'
6
-
7
- module Google
8
- module Example
9
- module Library
10
- module V1
11
- module LibraryService
12
-
13
- # TODO: add proto service documentation here
14
- class Service
15
-
16
- include GRPC::GenericService
17
-
18
- self.marshal_class_method = :encode
19
- self.unmarshal_class_method = :decode
20
- self.service_name = 'google.example.library.v1.LibraryService'
21
-
22
- rpc :CreateShelf, CreateShelfRequest, Shelf
23
- rpc :GetShelf, GetShelfRequest, Shelf
24
- rpc :ListShelves, ListShelvesRequest, ListShelvesResponse
25
- rpc :DeleteShelf, DeleteShelfRequest, Empty
26
- rpc :MergeShelves, MergeShelvesRequest, Shelf
27
- rpc :CreateBook, CreateBookRequest, Book
28
- rpc :GetBook, GetBookRequest, Book
29
- rpc :ListBooks, ListBooksRequest, ListBooksResponse
30
- rpc :DeleteBook, DeleteBookRequest, Empty
31
- rpc :UpdateBook, UpdateBookRequest, Book
32
- rpc :MoveBook, MoveBookRequest, Book
33
- end
34
-
35
- Stub = Service.rpc_stub_class
36
- end
37
- end
38
- end
39
- end
40
- end
@@ -1,33 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/iam/v1/iam_policy.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/iam/v1/policy'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.iam.v1.SetIamPolicyRequest" do
9
- optional :resource, :string, 1
10
- optional :policy, :message, 2, "google.iam.v1.Policy"
11
- end
12
- add_message "google.iam.v1.GetIamPolicyRequest" do
13
- optional :resource, :string, 1
14
- end
15
- add_message "google.iam.v1.TestIamPermissionsRequest" do
16
- optional :resource, :string, 1
17
- repeated :permissions, :string, 2
18
- end
19
- add_message "google.iam.v1.TestIamPermissionsResponse" do
20
- repeated :permissions, :string, 1
21
- end
22
- end
23
-
24
- module Google
25
- module Iam
26
- module V1
27
- SetIamPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.SetIamPolicyRequest").msgclass
28
- GetIamPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.GetIamPolicyRequest").msgclass
29
- TestIamPermissionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.TestIamPermissionsRequest").msgclass
30
- TestIamPermissionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.TestIamPermissionsResponse").msgclass
31
- end
32
- end
33
- end
@@ -1,30 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/iam/v1/iam_policy.proto for package 'google.iam.v1'
3
-
4
- require 'grpc'
5
- require 'google/iam/v1/iam_policy'
6
-
7
- module Google
8
- module Iam
9
- module V1
10
- module IAMPolicy
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.iam.v1.IAMPolicy'
20
-
21
- rpc :SetIamPolicy, SetIamPolicyRequest, Policy
22
- rpc :GetIamPolicy, GetIamPolicyRequest, Policy
23
- rpc :TestIamPermissions, TestIamPermissionsRequest, TestIamPermissionsResponse
24
- end
25
-
26
- Stub = Service.rpc_stub_class
27
- end
28
- end
29
- end
30
- end
@@ -1,25 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/iam/v1/policy.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.iam.v1.Policy" do
8
- optional :version, :int32, 1
9
- repeated :bindings, :message, 4, "google.iam.v1.Binding"
10
- optional :etag, :bytes, 3
11
- end
12
- add_message "google.iam.v1.Binding" do
13
- optional :role, :string, 1
14
- repeated :members, :string, 2
15
- end
16
- end
17
-
18
- module Google
19
- module Iam
20
- module V1
21
- Policy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Policy").msgclass
22
- Binding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Binding").msgclass
23
- end
24
- end
25
- end
@@ -1,28 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/logging/type/http_request.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/annotations'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.logging.type.HttpRequest" do
9
- optional :request_method, :string, 1
10
- optional :request_url, :string, 2
11
- optional :request_size, :int64, 3
12
- optional :status, :int32, 4
13
- optional :response_size, :int64, 5
14
- optional :user_agent, :string, 6
15
- optional :remote_ip, :string, 7
16
- optional :referer, :string, 8
17
- optional :cache_hit, :bool, 9
18
- optional :validated_with_origin_server, :bool, 10
19
- end
20
- end
21
-
22
- module Google
23
- module Logging
24
- module Type
25
- HttpRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.HttpRequest").msgclass
26
- end
27
- end
28
- end
@@ -1,27 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/logging/type/log_severity.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/annotations'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_enum "google.logging.type.LogSeverity" do
9
- value :DEFAULT, 0
10
- value :DEBUG, 100
11
- value :INFO, 200
12
- value :NOTICE, 300
13
- value :WARNING, 400
14
- value :ERROR, 500
15
- value :CRITICAL, 600
16
- value :ALERT, 700
17
- value :EMERGENCY, 800
18
- end
19
- end
20
-
21
- module Google
22
- module Logging
23
- module Type
24
- LogSeverity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.LogSeverity").enummodule
25
- end
26
- end
27
- end
@@ -1,44 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/logging/v2/log_entry.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/annotations'
7
- require 'google/api/monitored_resource'
8
- require 'google/logging/type/http_request'
9
- require 'google/logging/type/log_severity'
10
- require 'google/protobuf/any'
11
- require 'google/protobuf/struct'
12
- require 'google/protobuf/timestamp'
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_message "google.logging.v2.LogEntry" do
15
- optional :log_name, :string, 12
16
- optional :resource, :message, 8, "google.api.MonitoredResource"
17
- optional :timestamp, :message, 9, "google.protobuf.Timestamp"
18
- optional :severity, :enum, 10, "google.logging.type.LogSeverity"
19
- optional :insert_id, :string, 4
20
- optional :http_request, :message, 7, "google.logging.type.HttpRequest"
21
- map :labels, :string, :string, 11
22
- optional :operation, :message, 15, "google.logging.v2.LogEntryOperation"
23
- oneof :payload do
24
- optional :proto_payload, :message, 2, "google.protobuf.Any"
25
- optional :text_payload, :string, 3
26
- optional :json_payload, :message, 6, "google.protobuf.Struct"
27
- end
28
- end
29
- add_message "google.logging.v2.LogEntryOperation" do
30
- optional :id, :string, 1
31
- optional :producer, :string, 2
32
- optional :first, :bool, 3
33
- optional :last, :bool, 4
34
- end
35
- end
36
-
37
- module Google
38
- module Logging
39
- module V2
40
- LogEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogEntry").msgclass
41
- LogEntryOperation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogEntryOperation").msgclass
42
- end
43
- end
44
- end
@@ -1,56 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/logging/v2/logging.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/annotations'
7
- require 'google/api/monitored_resource'
8
- require 'google/logging/v2/log_entry'
9
- require 'google/protobuf/empty'
10
- require 'google/rpc/status'
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_message "google.logging.v2.DeleteLogRequest" do
13
- optional :log_name, :string, 1
14
- end
15
- add_message "google.logging.v2.WriteLogEntriesRequest" do
16
- optional :log_name, :string, 1
17
- optional :resource, :message, 2, "google.api.MonitoredResource"
18
- map :labels, :string, :string, 3
19
- repeated :entries, :message, 4, "google.logging.v2.LogEntry"
20
- end
21
- add_message "google.logging.v2.WriteLogEntriesResponse" do
22
- end
23
- add_message "google.logging.v2.ListLogEntriesRequest" do
24
- repeated :project_ids, :string, 1
25
- optional :filter, :string, 2
26
- optional :order_by, :string, 3
27
- optional :page_size, :int32, 4
28
- optional :page_token, :string, 5
29
- end
30
- add_message "google.logging.v2.ListLogEntriesResponse" do
31
- repeated :entries, :message, 1, "google.logging.v2.LogEntry"
32
- optional :next_page_token, :string, 2
33
- end
34
- add_message "google.logging.v2.ListMonitoredResourceDescriptorsRequest" do
35
- optional :page_size, :int32, 1
36
- optional :page_token, :string, 2
37
- end
38
- add_message "google.logging.v2.ListMonitoredResourceDescriptorsResponse" do
39
- repeated :resource_descriptors, :message, 1, "google.api.MonitoredResourceDescriptor"
40
- optional :next_page_token, :string, 2
41
- end
42
- end
43
-
44
- module Google
45
- module Logging
46
- module V2
47
- DeleteLogRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteLogRequest").msgclass
48
- WriteLogEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesRequest").msgclass
49
- WriteLogEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesResponse").msgclass
50
- ListLogEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesRequest").msgclass
51
- ListLogEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesResponse").msgclass
52
- ListMonitoredResourceDescriptorsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsRequest").msgclass
53
- ListMonitoredResourceDescriptorsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsResponse").msgclass
54
- end
55
- end
56
- end
@@ -1,59 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/logging/v2/logging_config.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/annotations'
7
- require 'google/protobuf/empty'
8
- require 'google/protobuf/timestamp'
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_message "google.logging.v2.LogSink" do
11
- optional :name, :string, 1
12
- optional :destination, :string, 3
13
- optional :filter, :string, 5
14
- optional :output_version_format, :enum, 6, "google.logging.v2.LogSink.VersionFormat"
15
- end
16
- add_enum "google.logging.v2.LogSink.VersionFormat" do
17
- value :VERSION_FORMAT_UNSPECIFIED, 0
18
- value :V2, 1
19
- value :V1, 2
20
- end
21
- add_message "google.logging.v2.ListSinksRequest" do
22
- optional :project_name, :string, 1
23
- optional :page_token, :string, 2
24
- optional :page_size, :int32, 3
25
- end
26
- add_message "google.logging.v2.ListSinksResponse" do
27
- repeated :sinks, :message, 1, "google.logging.v2.LogSink"
28
- optional :next_page_token, :string, 2
29
- end
30
- add_message "google.logging.v2.GetSinkRequest" do
31
- optional :sink_name, :string, 1
32
- end
33
- add_message "google.logging.v2.CreateSinkRequest" do
34
- optional :project_name, :string, 1
35
- optional :sink, :message, 2, "google.logging.v2.LogSink"
36
- end
37
- add_message "google.logging.v2.UpdateSinkRequest" do
38
- optional :sink_name, :string, 1
39
- optional :sink, :message, 2, "google.logging.v2.LogSink"
40
- end
41
- add_message "google.logging.v2.DeleteSinkRequest" do
42
- optional :sink_name, :string, 1
43
- end
44
- end
45
-
46
- module Google
47
- module Logging
48
- module V2
49
- LogSink = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink").msgclass
50
- LogSink::VersionFormat = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink.VersionFormat").enummodule
51
- ListSinksRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksRequest").msgclass
52
- ListSinksResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksResponse").msgclass
53
- GetSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetSinkRequest").msgclass
54
- CreateSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateSinkRequest").msgclass
55
- UpdateSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateSinkRequest").msgclass
56
- DeleteSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteSinkRequest").msgclass
57
- end
58
- end
59
- end