google-cloud-automl-v1 0.1.1 → 0.2.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
  SHA256:
3
- metadata.gz: e0406243769230c9e7b96dabcc4a3d057b25b86ace341552a5577ae20446566d
4
- data.tar.gz: acf6688b0a9c7937c293dbccaa5f9790ea83f8e1e93ddb0526758620e15162c7
3
+ metadata.gz: 8fe67e0b1a2ffe71812ac19240846c62e15fbc862367efdfdcb2ede15e75a026
4
+ data.tar.gz: f172bf69bd4118079eba7551fe3ec0f4896ce211896b8441ca0fce122a252368
5
5
  SHA512:
6
- metadata.gz: 3b4d01119f7760c2007e6a9649d058098d351d4cfe62c0ac5b5e52f3a6f0392a6aed3986b6355314e1a8cef18013303169873f3274bcbc0c2b671d68efabe9ec
7
- data.tar.gz: 91cf508c511ad83782c3b7bf1d571126137e1eaaf88235933c2c80c8387b923f76c225d3412bfe024aa5d4a6bc04f4634dc627d485052bcf174425e6de360188
6
+ metadata.gz: 52052c8a0bbe51747dc1bc0045cc3a976f519ea16fce29a36de5d0582d8b9fe7292749dd11b33d161be4910a9a1108f4fb5091e81d2d10d1ce8d2a4c02e46a85
7
+ data.tar.gz: 1d6b1af222208703871c681b4ca83f07e65eb09a0713ccc69fe8ba3e66d8adb1ba8b43e29137463084555dffe291d96295777390d5cf554e26d40e6dc12560b5
data/README.md CHANGED
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
18
18
 
19
19
  1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
20
20
  1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
21
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/automl.googleapis.com)
21
22
  1. {file:AUTHENTICATION.md Set up authentication.}
22
23
 
23
24
  ## Quick Start
@@ -33,6 +34,9 @@ response = client.predict request
33
34
  View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-automl-v1/latest)
34
35
  for class and method documentation.
35
36
 
37
+ See also the [Product Documentation](https://cloud.google.com/automl)
38
+ for general usage information.
39
+
36
40
  ## Enabling Logging
37
41
 
38
42
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
@@ -233,7 +233,8 @@ module Google
233
233
  if credentials.is_a?(String) || credentials.is_a?(Hash)
234
234
  credentials = Credentials.new credentials, scope: @config.scope
235
235
  end
236
- @quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
236
+ @quota_project_id = @config.quota_project
237
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
237
238
 
238
239
  @operations_client = Operations.new do |config|
239
240
  config.credentials = credentials
@@ -1653,24 +1654,28 @@ module Google
1653
1654
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1654
1655
  # trigger a retry.
1655
1656
  # @return [::Hash]
1657
+ # @!attribute [rw] quota_project
1658
+ # A separate project against which to charge quota.
1659
+ # @return [::String]
1656
1660
  #
1657
1661
  class Configuration
1658
1662
  extend ::Gapic::Config
1659
1663
 
1660
- config_attr :endpoint, "automl.googleapis.com", String
1661
- config_attr :credentials, nil do |value|
1664
+ config_attr :endpoint, "automl.googleapis.com", ::String
1665
+ config_attr :credentials, nil do |value|
1662
1666
  allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1663
1667
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1664
1668
  allowed.any? { |klass| klass === value }
1665
1669
  end
1666
- config_attr :scope, nil, ::String, ::Array, nil
1667
- config_attr :lib_name, nil, ::String, nil
1668
- config_attr :lib_version, nil, ::String, nil
1669
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
1670
- config_attr :interceptors, nil, ::Array, nil
1671
- config_attr :timeout, nil, ::Numeric, nil
1672
- config_attr :metadata, nil, ::Hash, nil
1673
- config_attr :retry_policy, nil, ::Hash, Proc, nil
1670
+ config_attr :scope, nil, ::String, ::Array, nil
1671
+ config_attr :lib_name, nil, ::String, nil
1672
+ config_attr :lib_version, nil, ::String, nil
1673
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
1674
+ config_attr :interceptors, nil, ::Array, nil
1675
+ config_attr :timeout, nil, ::Numeric, nil
1676
+ config_attr :metadata, nil, ::Hash, nil
1677
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
1678
+ config_attr :quota_project, nil, ::String, nil
1674
1679
 
1675
1680
  # @private
1676
1681
  def initialize parent_config = nil
@@ -1686,7 +1691,7 @@ module Google
1686
1691
  def rpcs
1687
1692
  @rpcs ||= begin
1688
1693
  parent_rpcs = nil
1689
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
1694
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
1690
1695
  Rpcs.new parent_rpcs
1691
1696
  end
1692
1697
  end
@@ -85,6 +85,8 @@ module Google
85
85
  if credentials.is_a?(String) || credentials.is_a?(Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
+ @quota_project_id = @config.quota_project
89
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
88
90
 
89
91
  @operations_stub = ::Gapic::ServiceStub.new(
90
92
  ::Google::Longrunning::Operations::Stub,
@@ -464,24 +466,28 @@ module Google
464
466
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
465
467
  # trigger a retry.
466
468
  # @return [::Hash]
469
+ # @!attribute [rw] quota_project
470
+ # A separate project against which to charge quota.
471
+ # @return [::String]
467
472
  #
468
473
  class Configuration
469
474
  extend ::Gapic::Config
470
475
 
471
- config_attr :endpoint, "automl.googleapis.com", String
472
- config_attr :credentials, nil do |value|
476
+ config_attr :endpoint, "automl.googleapis.com", ::String
477
+ config_attr :credentials, nil do |value|
473
478
  allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
474
479
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
475
480
  allowed.any? { |klass| klass === value }
476
481
  end
477
- config_attr :scope, nil, ::String, ::Array, nil
478
- config_attr :lib_name, nil, ::String, nil
479
- config_attr :lib_version, nil, ::String, nil
480
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
481
- config_attr :interceptors, nil, ::Array, nil
482
- config_attr :timeout, nil, ::Numeric, nil
483
- config_attr :metadata, nil, ::Hash, nil
484
- config_attr :retry_policy, nil, ::Hash, Proc, nil
482
+ config_attr :scope, nil, ::String, ::Array, nil
483
+ config_attr :lib_name, nil, ::String, nil
484
+ config_attr :lib_version, nil, ::String, nil
485
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
486
+ config_attr :interceptors, nil, ::Array, nil
487
+ config_attr :timeout, nil, ::Numeric, nil
488
+ config_attr :metadata, nil, ::Hash, nil
489
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
490
+ config_attr :quota_project, nil, ::String, nil
485
491
 
486
492
  # @private
487
493
  def initialize parent_config = nil
@@ -497,7 +503,7 @@ module Google
497
503
  def rpcs
498
504
  @rpcs ||= begin
499
505
  parent_rpcs = nil
500
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
506
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
501
507
  Rpcs.new parent_rpcs
502
508
  end
503
509
  end
@@ -137,7 +137,8 @@ module Google
137
137
  if credentials.is_a?(String) || credentials.is_a?(Hash)
138
138
  credentials = Credentials.new credentials, scope: @config.scope
139
139
  end
140
- @quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
140
+ @quota_project_id = @config.quota_project
141
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
141
142
 
142
143
  @operations_client = Operations.new do |config|
143
144
  config.credentials = credentials
@@ -544,24 +545,28 @@ module Google
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
548
+ # @!attribute [rw] quota_project
549
+ # A separate project against which to charge quota.
550
+ # @return [::String]
547
551
  #
548
552
  class Configuration
549
553
  extend ::Gapic::Config
550
554
 
551
- config_attr :endpoint, "automl.googleapis.com", String
552
- config_attr :credentials, nil do |value|
555
+ config_attr :endpoint, "automl.googleapis.com", ::String
556
+ config_attr :credentials, nil do |value|
553
557
  allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
554
558
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
555
559
  allowed.any? { |klass| klass === value }
556
560
  end
557
- config_attr :scope, nil, ::String, ::Array, nil
558
- config_attr :lib_name, nil, ::String, nil
559
- config_attr :lib_version, nil, ::String, nil
560
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
561
- config_attr :interceptors, nil, ::Array, nil
562
- config_attr :timeout, nil, ::Numeric, nil
563
- config_attr :metadata, nil, ::Hash, nil
564
- config_attr :retry_policy, nil, ::Hash, Proc, nil
561
+ config_attr :scope, nil, ::String, ::Array, nil
562
+ config_attr :lib_name, nil, ::String, nil
563
+ config_attr :lib_version, nil, ::String, nil
564
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
565
+ config_attr :interceptors, nil, ::Array, nil
566
+ config_attr :timeout, nil, ::Numeric, nil
567
+ config_attr :metadata, nil, ::Hash, nil
568
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
569
+ config_attr :quota_project, nil, ::String, nil
565
570
 
566
571
  # @private
567
572
  def initialize parent_config = nil
@@ -577,7 +582,7 @@ module Google
577
582
  def rpcs
578
583
  @rpcs ||= begin
579
584
  parent_rpcs = nil
580
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
585
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
581
586
  Rpcs.new parent_rpcs
582
587
  end
583
588
  end
@@ -85,6 +85,8 @@ module Google
85
85
  if credentials.is_a?(String) || credentials.is_a?(Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
+ @quota_project_id = @config.quota_project
89
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
88
90
 
89
91
  @operations_stub = ::Gapic::ServiceStub.new(
90
92
  ::Google::Longrunning::Operations::Stub,
@@ -464,24 +466,28 @@ module Google
464
466
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
465
467
  # trigger a retry.
466
468
  # @return [::Hash]
469
+ # @!attribute [rw] quota_project
470
+ # A separate project against which to charge quota.
471
+ # @return [::String]
467
472
  #
468
473
  class Configuration
469
474
  extend ::Gapic::Config
470
475
 
471
- config_attr :endpoint, "automl.googleapis.com", String
472
- config_attr :credentials, nil do |value|
476
+ config_attr :endpoint, "automl.googleapis.com", ::String
477
+ config_attr :credentials, nil do |value|
473
478
  allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
474
479
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
475
480
  allowed.any? { |klass| klass === value }
476
481
  end
477
- config_attr :scope, nil, ::String, ::Array, nil
478
- config_attr :lib_name, nil, ::String, nil
479
- config_attr :lib_version, nil, ::String, nil
480
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
481
- config_attr :interceptors, nil, ::Array, nil
482
- config_attr :timeout, nil, ::Numeric, nil
483
- config_attr :metadata, nil, ::Hash, nil
484
- config_attr :retry_policy, nil, ::Hash, Proc, nil
482
+ config_attr :scope, nil, ::String, ::Array, nil
483
+ config_attr :lib_name, nil, ::String, nil
484
+ config_attr :lib_version, nil, ::String, nil
485
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
486
+ config_attr :interceptors, nil, ::Array, nil
487
+ config_attr :timeout, nil, ::Numeric, nil
488
+ config_attr :metadata, nil, ::Hash, nil
489
+ config_attr :retry_policy, nil, ::Hash, ::Proc, nil
490
+ config_attr :quota_project, nil, ::String, nil
485
491
 
486
492
  # @private
487
493
  def initialize parent_config = nil
@@ -497,7 +503,7 @@ module Google
497
503
  def rpcs
498
504
  @rpcs ||= begin
499
505
  parent_rpcs = nil
500
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
506
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
501
507
  Rpcs.new parent_rpcs
502
508
  end
503
509
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Automl
23
23
  module V1
24
- VERSION = "0.1.1"
24
+ VERSION = "0.2.4"
25
25
  end
26
26
  end
27
27
  end
@@ -884,7 +884,7 @@ module Google
884
884
  # The column names must contain the model's
885
885
  #
886
886
  # [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs]
887
- # [display_name-s][google.cloud.automl.v1.ColumnSpec.display_name]
887
+ # display_name-s
888
888
  # (order doesn't matter). The columns corresponding to the model's
889
889
  # input feature column specs must contain values compatible with the
890
890
  # column spec's data types. Prediction on all the rows, i.e. the CSV
@@ -907,7 +907,7 @@ module Google
907
907
  # The column names must contain the model's
908
908
  #
909
909
  # [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs]
910
- # [display_name-s][google.cloud.automl.v1.ColumnSpec.display_name]
910
+ # display_name-s
911
911
  # (order doesn't matter). The columns corresponding to the model's
912
912
  # input feature column specs must contain values compatible with the
913
913
  # column spec's data types. Prediction on all the rows of the table
@@ -1041,8 +1041,7 @@ module Google
1041
1041
  # that wraps the same "ID" : "<id_value>" but here followed by
1042
1042
  # exactly one
1043
1043
  #
1044
- # [`google.rpc.Status`](https:
1045
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1044
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1046
1045
  # containing only `code` and `message`fields.
1047
1046
  #
1048
1047
  # * For Image Object Detection:
@@ -1063,8 +1062,7 @@ module Google
1063
1062
  # that wraps the same "ID" : "<id_value>" but here followed by
1064
1063
  # exactly one
1065
1064
  #
1066
- # [`google.rpc.Status`](https:
1067
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1065
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1068
1066
  # containing only `code` and `message`fields.
1069
1067
  # * For Video Classification:
1070
1068
  # In the created directory a video_classification.csv file, and a .JSON
@@ -1138,8 +1136,7 @@ module Google
1138
1136
  # failed predictions). These files will have a JSON representation of a
1139
1137
  # proto that wraps input file followed by exactly one
1140
1138
  #
1141
- # [`google.rpc.Status`](https:
1142
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1139
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1143
1140
  # containing only `code` and `message`.
1144
1141
  #
1145
1142
  # * For Text Sentiment:
@@ -1162,8 +1159,7 @@ module Google
1162
1159
  # failed predictions). These files will have a JSON representation of a
1163
1160
  # proto that wraps input file followed by exactly one
1164
1161
  #
1165
- # [`google.rpc.Status`](https:
1166
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1162
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1167
1163
  # containing only `code` and `message`.
1168
1164
  #
1169
1165
  # * For Text Extraction:
@@ -1198,8 +1194,7 @@ module Google
1198
1194
  # or the document proto (in case of document) but here followed by
1199
1195
  # exactly one
1200
1196
  #
1201
- # [`google.rpc.Status`](https:
1202
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1197
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1203
1198
  # containing only `code` and `message`.
1204
1199
  #
1205
1200
  # * For Tables:
@@ -1251,8 +1246,7 @@ module Google
1251
1246
  # will have analogous format as `tables_*.csv`, but always with a
1252
1247
  # single target column having
1253
1248
  #
1254
- # [`google.rpc.Status`](https:
1255
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1249
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1256
1250
  # represented as a JSON string, and containing only `code` and
1257
1251
  # `message`.
1258
1252
  # BigQuery case:
@@ -1290,8 +1284,7 @@ module Google
1290
1284
  # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>",
1291
1285
  # and as a value has
1292
1286
  #
1293
- # [`google.rpc.Status`](https:
1294
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1287
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1295
1288
  # represented as a STRUCT, and containing only `code` and `message`.
1296
1289
  # @!attribute [rw] gcs_destination
1297
1290
  # @return [::Google::Cloud::AutoML::V1::GcsDestination]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-automl-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-05 00:00:00.000000000 Z
11
+ date: 2020-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -58,14 +58,42 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '5.10'
61
+ version: '5.14'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '5.10'
68
+ version: '5.14'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-focus
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-rg
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.2'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '5.2'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: rake
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -170,7 +198,6 @@ files:
170
198
  - lib/google/cloud/automl/v1/text_sentiment_pb.rb
171
199
  - lib/google/cloud/automl/v1/translation_pb.rb
172
200
  - lib/google/cloud/automl/v1/version.rb
173
- - lib/google/cloud/common_resources_pb.rb
174
201
  - proto_docs/README.md
175
202
  - proto_docs/google/api/field_behavior.rb
176
203
  - proto_docs/google/api/resource.rb
@@ -220,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
247
  - !ruby/object:Gem::Version
221
248
  version: '0'
222
249
  requirements: []
223
- rubygems_version: 3.0.6
250
+ rubygems_version: 3.1.3
224
251
  signing_key:
225
252
  specification_version: 4
226
253
  summary: API Client library for the Cloud AutoML V1 API
@@ -1,15 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/common_resources.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/resource_pb'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
9
- end
10
- end
11
-
12
- module Google
13
- module Cloud
14
- end
15
- end