google-cloud-bigtable 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +9 -1
  3. data/README.md +3 -3
  4. data/lib/google-cloud-bigtable.rb +2 -2
  5. data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +3 -0
  6. data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +3 -1
  7. data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +2 -0
  8. data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +3 -1
  9. data/lib/google/bigtable/admin/v2/common_pb.rb +1 -0
  10. data/lib/google/bigtable/admin/v2/instance_pb.rb +1 -0
  11. data/lib/google/bigtable/admin/v2/table_pb.rb +1 -0
  12. data/lib/google/bigtable/v2/bigtable_pb.rb +1 -0
  13. data/lib/google/bigtable/v2/bigtable_services_pb.rb +1 -0
  14. data/lib/google/bigtable/v2/data_pb.rb +1 -0
  15. data/lib/google/cloud/bigtable.rb +1 -56
  16. data/lib/google/cloud/bigtable/admin.rb +6 -0
  17. data/lib/google/cloud/bigtable/admin/credentials.rb +1 -0
  18. data/lib/google/cloud/bigtable/admin/v2.rb +6 -0
  19. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +19 -9
  20. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +9 -1
  21. data/lib/google/cloud/bigtable/admin/v2/credentials.rb +1 -0
  22. data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +20 -9
  23. data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +7 -1
  24. data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +3 -2
  25. data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +1 -0
  26. data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/iam_policy.rb +4 -3
  27. data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/policy.rb +5 -4
  28. data/lib/google/cloud/bigtable/admin/v2/doc/google/longrunning/operations.rb +1 -0
  29. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/any.rb +14 -8
  30. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/duration.rb +1 -0
  31. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/empty.rb +1 -0
  32. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/field_mask.rb +7 -0
  33. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/timestamp.rb +9 -6
  34. data/lib/google/cloud/bigtable/admin/v2/doc/google/rpc/status.rb +1 -0
  35. data/lib/google/cloud/bigtable/credentials.rb +1 -0
  36. data/lib/google/cloud/bigtable/v2.rb +6 -0
  37. data/lib/google/cloud/bigtable/v2/bigtable_client.rb +2 -0
  38. data/lib/google/cloud/bigtable/v2/credentials.rb +1 -0
  39. data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/bigtable.rb +1 -0
  40. data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb +1 -0
  41. data/lib/google/cloud/bigtable/v2/doc/google/protobuf/any.rb +14 -8
  42. data/lib/google/cloud/bigtable/v2/doc/google/protobuf/wrappers.rb +1 -0
  43. data/lib/google/cloud/bigtable/v2/doc/google/rpc/status.rb +1 -0
  44. data/lib/google/cloud/bigtable/version.rb +1 -1
  45. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c1907245ebb2c825232806b169a633d96c3e059a6917adc690d16756a6d10a7
4
- data.tar.gz: a82a4c017301ced370cc210c846deed72237391245a638ca13712a131cc83da7
3
+ metadata.gz: 58ccf1e3dd40e9705ecc98587b4376d274e7d33c0fe1110cb79454dcb1e6e912
4
+ data.tar.gz: 9a0871ae7023662c923ab083c541598003e065a782777d92ec6aac5b2163b0dd
5
5
  SHA512:
6
- metadata.gz: 1591cee6df26c7700433b1eb465643b84cc6e85a60173daf7cec2fe08869fecb1f14bf000e23ca82fdd381f67e1d1a9ace8f22ccb6ef116345dfed94face520c
7
- data.tar.gz: 33a640d69ddc76879786d86b0e62016a68591979ec1103562907843a2c7df1a63e53851a5e282587f2b42f6ee35bd28d82f9d9e16e70d872aef3c32c388c2fe2
6
+ metadata.gz: ca8c3c73d297e382a41ab87ab6d6d9a6a9e10dead38dee3e51f8d5be356182ab454b7621270f1280619eeb152dab935f7074eb0a477c7ed274569ae7dc410f6d
7
+ data.tar.gz: 5b090d35f248c8e446743921809318e2f2c0e37dd6dcec6f2de3fd30b36ca9259e16e02d49de6438e4eb6f4edc7bbcd549f8a6e656cedd02c57461c787b03d67
data/.yardopts CHANGED
@@ -4,7 +4,15 @@
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
6
6
  --embed-mixins
7
+ --main OVERVIEW.md
7
8
 
8
9
  ./lib/**/*.rb
9
10
  -
10
- README.md
11
+ OVERVIEW.md
12
+ AUTHENTICATION.md
13
+ LOGGING.md
14
+ CONTRIBUTING.md
15
+ TROUBLESHOOTING.md
16
+ CHANGELOG.md
17
+ CODE_OF_CONDUCT.md
18
+ LICENSE
data/README.md CHANGED
@@ -13,7 +13,7 @@ steps:
13
13
  1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
14
14
  2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
15
15
  3. [Enable the Cloud Bigtable API.](https://console.cloud.google.com/apis/api/bigtable)
16
- 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
16
+ 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud-bigtable/latest/file.AUTHENTICATION)
17
17
 
18
18
  ### Installation
19
19
  ```
@@ -30,7 +30,7 @@ $ gem install google-cloud-bigtable
30
30
 
31
31
  ## Enabling Logging
32
32
 
33
- To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library. The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below, or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger) that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb) and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
33
+ To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library. The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below, or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud-logging/latest/Google/Cloud/Logging/Logger) that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb) and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
34
34
 
35
35
  Configuring a Ruby stdlib logger:
36
36
 
@@ -61,5 +61,5 @@ and later. Older versions of Ruby _may_ still work, but are unsupported and not
61
61
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
62
62
  about the Ruby support schedule.
63
63
 
64
- [Client Library Documentation]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-bigtable/latest/google/bigtable/v2
64
+ [Client Library Documentation]: https://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud-bigtable/latest
65
65
  [Product Documentation]: https://cloud.google.com/bigtable
@@ -28,8 +28,8 @@ module Google
28
28
  module Cloud
29
29
  # Creates a new object for connecting to the Bigtable service.
30
30
  #
31
- # For more information on connecting to Google Cloud see the [Authentication
32
- # Guide](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/guides/authentication).
31
+ # For more information on connecting to Google Cloud see the
32
+ # {file:AUTHENTICATION.md Authentication Guide}.
33
33
  #
34
34
  # @param scope [Array<String>]
35
35
  # The OAuth 2.0 scopes controlling the set of resources and operations
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/bigtable/admin/v2/bigtable_instance_admin.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -88,11 +89,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
88
89
  end
89
90
  add_message "google.bigtable.admin.v2.ListAppProfilesRequest" do
90
91
  optional :parent, :string, 1
92
+ optional :page_size, :int32, 3
91
93
  optional :page_token, :string, 2
92
94
  end
93
95
  add_message "google.bigtable.admin.v2.ListAppProfilesResponse" do
94
96
  repeated :app_profiles, :message, 1, "google.bigtable.admin.v2.AppProfile"
95
97
  optional :next_page_token, :string, 2
98
+ repeated :failed_locations, :string, 3
96
99
  end
97
100
  add_message "google.bigtable.admin.v2.UpdateAppProfileRequest" do
98
101
  optional :app_profile, :message, 1, "google.bigtable.admin.v2.AppProfile"
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/bigtable/admin/v2/bigtable_instance_admin.proto for package 'google.bigtable.admin.v2'
3
3
  # Original file comments:
4
- # Copyright 2018 Google Inc.
4
+ # Copyright 2018 Google LLC.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -15,6 +15,8 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
+ #
19
+
18
20
 
19
21
  require 'grpc'
20
22
  require 'google/bigtable/admin/v2/bigtable_instance_admin_pb'
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/bigtable/admin/v2/bigtable_table_admin.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -34,6 +35,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
34
35
  add_message "google.bigtable.admin.v2.ListTablesRequest" do
35
36
  optional :parent, :string, 1
36
37
  optional :view, :enum, 2, "google.bigtable.admin.v2.Table.View"
38
+ optional :page_size, :int32, 4
37
39
  optional :page_token, :string, 3
38
40
  end
39
41
  add_message "google.bigtable.admin.v2.ListTablesResponse" do
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/bigtable/admin/v2/bigtable_table_admin.proto for package 'google.bigtable.admin.v2'
3
3
  # Original file comments:
4
- # Copyright 2018 Google Inc.
4
+ # Copyright 2018 Google LLC.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -15,6 +15,8 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
+ #
19
+
18
20
 
19
21
  require 'grpc'
20
22
  require 'google/bigtable/admin/v2/bigtable_table_admin_pb'
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/bigtable/admin/v2/common.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/bigtable/admin/v2/instance.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/bigtable/admin/v2/table.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/bigtable/v2/bigtable.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/api/annotations_pb'
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+
19
20
  require 'grpc'
20
21
  require 'google/bigtable/v2/bigtable_pb'
21
22
 
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/bigtable/v2/data.proto
3
3
 
4
+
4
5
  require 'google/protobuf'
5
6
 
6
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -23,62 +23,7 @@ module Google
23
23
  module Cloud
24
24
  # Cloud Bigtable
25
25
  #
26
- # Ruby Client for Cloud Bigtable API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
27
- #
28
- # [Cloud Bigtable API][Product Documentation]:
29
- # API for reading and writing the contents of Bigtables associated with a
30
- # cloud project.
31
- # - [Product Documentation][]
32
- #
33
- # ## Quick Start
34
- # In order to use this library, you first need to go through the following
35
- # steps:
36
- #
37
- # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
38
- # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
39
- # 3. [Enable the Cloud Bigtable API.](https://console.cloud.google.com/apis/api/bigtable)
40
- # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
41
- #
42
- # ### Next Steps
43
- # - Read the [Cloud Bigtable API Product documentation][Product Documentation]
44
- # to learn more about the product and see How-to Guides.
45
- # - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
46
- # to see the full list of Cloud APIs that we cover.
47
- #
48
- # ## Enabling Logging
49
- #
50
- # To enable logging for this library, set the logger for the underlying
51
- # [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library. The
52
- # logger that you set may be a Ruby stdlib
53
- # [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html)
54
- # as shown below, or a
55
- # [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
56
- # that will write logs to [Stackdriver
57
- # Logging](https://cloud.google.com/logging/). See
58
- # [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
59
- # and the gRPC
60
- # [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb)
61
- # for additional information.
62
- #
63
- # Configuring a Ruby stdlib logger:
64
- #
65
- # ```ruby
66
- # require "logger"
67
- #
68
- # module MyLogger
69
- # LOGGER = Logger.new $stderr, level: Logger::WARN
70
- # def logger
71
- # LOGGER
72
- # end
73
- # end
74
- #
75
- # # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
76
- # module GRPC
77
- # extend MyLogger
78
- # end
79
- # ```
80
- #
81
- # [Product Documentation]: https://cloud.google.com/bigtable
26
+ # See {file:OVERVIEW.md Bigtable Overview}.
82
27
  #
83
28
  module Bigtable
84
29
  # Service for managing Bigtable instance, tables and reading from and
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/gax"
16
17
  require "pathname"
17
18
 
@@ -36,6 +37,11 @@ module Google
36
37
  # 3. [Enable the Cloud Bigtable Admin API.](https://console.cloud.google.com/apis/library/bigtableadmin.googleapis.com)
37
38
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
38
39
  #
40
+ # ### Installation
41
+ # ```
42
+ # $ gem install google-cloud-bigtable
43
+ # ```
44
+ #
39
45
  # ### Next Steps
40
46
  # - Read the [Cloud Bigtable Admin API Product documentation][Product Documentation]
41
47
  # to learn more about the product and see How-to Guides.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/cloud/bigtable/admin/v2/credentials"
16
17
 
17
18
  module Google
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/cloud/bigtable/admin/v2/bigtable_instance_admin_client"
16
17
  require "google/cloud/bigtable/admin/v2/bigtable_table_admin_client"
17
18
  require "google/bigtable/admin/v2/bigtable_instance_admin_pb"
@@ -39,6 +40,11 @@ module Google
39
40
  # 3. [Enable the Cloud Bigtable Admin API.](https://console.cloud.google.com/apis/library/bigtableadmin.googleapis.com)
40
41
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
41
42
  #
43
+ # ### Installation
44
+ # ```
45
+ # $ gem install google-cloud-bigtable
46
+ # ```
47
+ #
42
48
  # ### Next Steps
43
49
  # - Read the [Cloud Bigtable Admin API Product documentation][Product Documentation]
44
50
  # to learn more about the product and see How-to Guides.
@@ -19,6 +19,7 @@
19
19
  # For the short term, the refresh process will only be runnable by Google
20
20
  # engineers.
21
21
 
22
+
22
23
  require "json"
23
24
  require "pathname"
24
25
 
@@ -41,6 +42,7 @@ module Google
41
42
  # @!attribute [r] bigtable_instance_admin_stub
42
43
  # @return [Google::Bigtable::Admin::V2::BigtableInstanceAdmin::Stub]
43
44
  class BigtableInstanceAdminClient
45
+ # @private
44
46
  attr_reader :bigtable_instance_admin_stub
45
47
 
46
48
  # The default address of the service.
@@ -77,6 +79,7 @@ module Google
77
79
  "https://www.googleapis.com/auth/cloud-platform.read-only"
78
80
  ].freeze
79
81
 
82
+ # @private
80
83
  class OperationsClient < Google::Longrunning::OperationsClient
81
84
  self::SERVICE_ADDRESS = BigtableInstanceAdminClient::SERVICE_ADDRESS
82
85
  self::GRPC_INTERCEPTORS = BigtableInstanceAdminClient::GRPC_INTERCEPTORS
@@ -456,7 +459,7 @@ module Google
456
459
  # cluster ID, e.g., just +mycluster+ rather than
457
460
  # +projects/myproject/instances/myinstance/clusters/mycluster+.
458
461
  # Fields marked +OutputOnly+ must be left blank.
459
- # Currently exactly one cluster must be specified.
462
+ # Currently, at most two clusters can be specified.
460
463
  # A hash of the same form as `Google::Bigtable::Admin::V2::Cluster`
461
464
  # can also be provided.
462
465
  # @param options [Google::Gax::CallOptions]
@@ -567,7 +570,7 @@ module Google
567
570
  # The unique name of the project for which a list of instances is requested.
568
571
  # Values are of the form +projects/<project>+.
569
572
  # @param page_token [String]
570
- # The value of +next_page_token+ returned by a previous call.
573
+ # DEPRECATED: This field is unused and ignored.
571
574
  # @param options [Google::Gax::CallOptions]
572
575
  # Overrides the default settings for this call, e.g, timeout,
573
576
  # retries, etc.
@@ -615,9 +618,9 @@ module Google
615
618
  # metrics.
616
619
  #
617
620
  # * Label keys must be between 1 and 63 characters long and must conform to
618
- # the regular expression: +[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}+.
621
+ # the regular expression: +[\p\\{Ll}\p\\{Lo}][\p\\{Ll}\p\\{Lo}\p\\{N}_-]\\{0,62}+.
619
622
  # * Label values must be between 0 and 63 characters long and must conform to
620
- # the regular expression: +[\p{Ll}\p{Lo}\p{N}_-]{0,63}+.
623
+ # the regular expression: +[\p\\{Ll}\p\\{Lo}\p\\{N}_-]\\{0,63}+.
621
624
  # * No more than 64 labels can be associated with a given resource.
622
625
  # * Keys and values must both be under 128 bytes.
623
626
  # @param state [Google::Bigtable::Admin::V2::Instance::State]
@@ -891,7 +894,7 @@ module Google
891
894
  # Use +<instance> = '-'+ to list Clusters for all Instances in a project,
892
895
  # e.g., +projects/myproject/instances/-+.
893
896
  # @param page_token [String]
894
- # The value of +next_page_token+ returned by a previous call.
897
+ # DEPRECATED: This field is unused and ignored.
895
898
  # @param options [Google::Gax::CallOptions]
896
899
  # Overrides the default settings for this call, e.g, timeout,
897
900
  # retries, etc.
@@ -1132,6 +1135,11 @@ module Google
1132
1135
  # The unique name of the instance for which a list of app profiles is
1133
1136
  # requested. Values are of the form
1134
1137
  # +projects/<project>/instances/<instance>+.
1138
+ # Use +<instance> = '-'+ to list AppProfiles for all Instances in a project,
1139
+ # e.g., +projects/myproject/instances/-+.
1140
+ # @param page_size [Integer]
1141
+ # Maximum number of results per page.
1142
+ # CURRENTLY UNIMPLEMENTED AND IGNORED.
1135
1143
  # @param options [Google::Gax::CallOptions]
1136
1144
  # Overrides the default settings for this call, e.g, timeout,
1137
1145
  # retries, etc.
@@ -1165,10 +1173,12 @@ module Google
1165
1173
 
1166
1174
  def list_app_profiles \
1167
1175
  parent,
1176
+ page_size: nil,
1168
1177
  options: nil,
1169
1178
  &block
1170
1179
  req = {
1171
- parent: parent
1180
+ parent: parent,
1181
+ page_size: page_size
1172
1182
  }.delete_if { |_, v| v.nil? }
1173
1183
  req = Google::Gax::to_proto(req, Google::Bigtable::Admin::V2::ListAppProfilesRequest)
1174
1184
  @list_app_profiles.call(req, options, &block)
@@ -1296,7 +1306,7 @@ module Google
1296
1306
  # @param resource [String]
1297
1307
  # REQUIRED: The resource for which the policy is being requested.
1298
1308
  # +resource+ is usually specified as a path. For example, a Project
1299
- # resource is specified as +projects/{project}+.
1309
+ # resource is specified as +projects/\\{project}+.
1300
1310
  # @param options [Google::Gax::CallOptions]
1301
1311
  # Overrides the default settings for this call, e.g, timeout,
1302
1312
  # retries, etc.
@@ -1329,7 +1339,7 @@ module Google
1329
1339
  # @param resource [String]
1330
1340
  # REQUIRED: The resource for which the policy is being specified.
1331
1341
  # +resource+ is usually specified as a path. For example, a Project
1332
- # resource is specified as +projects/{project}+.
1342
+ # resource is specified as +projects/\\{project}+.
1333
1343
  # @param policy [Google::Iam::V1::Policy | Hash]
1334
1344
  # REQUIRED: The complete policy to be applied to the +resource+. The size of
1335
1345
  # the policy is limited to a few 10s of KB. An empty policy is a
@@ -1373,7 +1383,7 @@ module Google
1373
1383
  # @param resource [String]
1374
1384
  # REQUIRED: The resource for which the policy detail is being requested.
1375
1385
  # +resource+ is usually specified as a path. For example, a Project
1376
- # resource is specified as +projects/{project}+.
1386
+ # resource is specified as +projects/\\{project}+.
1377
1387
  # @param permissions [Array<String>]
1378
1388
  # The set of permissions to check for the +resource+. Permissions with
1379
1389
  # wildcards (such as '*' or 'storage.*') are not allowed. For more
@@ -19,6 +19,7 @@
19
19
  # For the short term, the refresh process will only be runnable by Google
20
20
  # engineers.
21
21
 
22
+
22
23
  require "json"
23
24
  require "pathname"
24
25
 
@@ -43,6 +44,7 @@ module Google
43
44
  # @!attribute [r] bigtable_table_admin_stub
44
45
  # @return [Google::Bigtable::Admin::V2::BigtableTableAdmin::Stub]
45
46
  class BigtableTableAdminClient
47
+ # @private
46
48
  attr_reader :bigtable_table_admin_stub
47
49
 
48
50
  # The default address of the service.
@@ -83,6 +85,7 @@ module Google
83
85
  "https://www.googleapis.com/auth/cloud-platform.read-only"
84
86
  ].freeze
85
87
 
88
+ # @private
86
89
  class OperationsClient < Google::Longrunning::OperationsClient
87
90
  self::SERVICE_ADDRESS = BigtableTableAdminClient::SERVICE_ADDRESS
88
91
  self::GRPC_INTERCEPTORS = BigtableTableAdminClient::GRPC_INTERCEPTORS
@@ -549,6 +552,9 @@ module Google
549
552
  # @param view [Google::Bigtable::Admin::V2::Table::View]
550
553
  # The view to be applied to the returned tables' fields.
551
554
  # Defaults to +NAME_ONLY+ if unspecified; no others are currently supported.
555
+ # @param page_size [Integer]
556
+ # Maximum number of results per page.
557
+ # CURRENTLY UNIMPLEMENTED AND IGNORED.
552
558
  # @param options [Google::Gax::CallOptions]
553
559
  # Overrides the default settings for this call, e.g, timeout,
554
560
  # retries, etc.
@@ -583,11 +589,13 @@ module Google
583
589
  def list_tables \
584
590
  parent,
585
591
  view: nil,
592
+ page_size: nil,
586
593
  options: nil,
587
594
  &block
588
595
  req = {
589
596
  parent: parent,
590
- view: view
597
+ view: view,
598
+ page_size: page_size
591
599
  }.delete_if { |_, v| v.nil? }
592
600
  req = Google::Gax::to_proto(req, Google::Bigtable::Admin::V2::ListTablesRequest)
593
601
  @list_tables.call(req, options, &block)
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "googleauth"
16
17
 
17
18
  module Google
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Bigtable
17
18
  module Admin
@@ -36,7 +37,7 @@ module Google
36
37
  # cluster ID, e.g., just +mycluster+ rather than
37
38
  # +projects/myproject/instances/myinstance/clusters/mycluster+.
38
39
  # Fields marked +OutputOnly+ must be left blank.
39
- # Currently exactly one cluster must be specified.
40
+ # Currently, at most two clusters can be specified.
40
41
  class CreateInstanceRequest; end
41
42
 
42
43
  # Request message for BigtableInstanceAdmin.GetInstance.
@@ -53,7 +54,7 @@ module Google
53
54
  # Values are of the form +projects/<project>+.
54
55
  # @!attribute [rw] page_token
55
56
  # @return [String]
56
- # The value of +next_page_token+ returned by a previous call.
57
+ # DEPRECATED: This field is unused and ignored.
57
58
  class ListInstancesRequest; end
58
59
 
59
60
  # Response message for BigtableInstanceAdmin.ListInstances.
@@ -67,11 +68,10 @@ module Google
67
68
  # Instances whose Clusters are all in one of the failed locations
68
69
  # may be missing from +instances+, and Instances with at least one
69
70
  # Cluster in a failed location may only have partial information returned.
71
+ # Values are of the form +projects/<project>/locations/<zone_id>+
70
72
  # @!attribute [rw] next_page_token
71
73
  # @return [String]
72
- # Set if not all instances could be returned in a single response.
73
- # Pass this value to +page_token+ in another request to get the next
74
- # page of results.
74
+ # DEPRECATED: This field is unused and ignored.
75
75
  class ListInstancesResponse; end
76
76
 
77
77
  # Request message for BigtableInstanceAdmin.PartialUpdateInstance.
@@ -124,7 +124,7 @@ module Google
124
124
  # e.g., +projects/myproject/instances/-+.
125
125
  # @!attribute [rw] page_token
126
126
  # @return [String]
127
- # The value of +next_page_token+ returned by a previous call.
127
+ # DEPRECATED: This field is unused and ignored.
128
128
  class ListClustersRequest; end
129
129
 
130
130
  # Response message for BigtableInstanceAdmin.ListClusters.
@@ -137,11 +137,10 @@ module Google
137
137
  # due to an outage or some other transient condition.
138
138
  # Clusters from these locations may be missing from +clusters+,
139
139
  # or may only have partial information returned.
140
+ # Values are of the form +projects/<project>/locations/<zone_id>+
140
141
  # @!attribute [rw] next_page_token
141
142
  # @return [String]
142
- # Set if not all clusters could be returned in a single response.
143
- # Pass this value to +page_token+ in another request to get the next
144
- # page of results.
143
+ # DEPRECATED: This field is unused and ignored.
145
144
  class ListClustersResponse; end
146
145
 
147
146
  # Request message for BigtableInstanceAdmin.DeleteCluster.
@@ -232,6 +231,12 @@ module Google
232
231
  # The unique name of the instance for which a list of app profiles is
233
232
  # requested. Values are of the form
234
233
  # +projects/<project>/instances/<instance>+.
234
+ # Use +<instance> = '-'+ to list AppProfiles for all Instances in a project,
235
+ # e.g., +projects/myproject/instances/-+.
236
+ # @!attribute [rw] page_size
237
+ # @return [Integer]
238
+ # Maximum number of results per page.
239
+ # CURRENTLY UNIMPLEMENTED AND IGNORED.
235
240
  # @!attribute [rw] page_token
236
241
  # @return [String]
237
242
  # The value of +next_page_token+ returned by a previous call.
@@ -246,6 +251,12 @@ module Google
246
251
  # Set if not all app profiles could be returned in a single response.
247
252
  # Pass this value to +page_token+ in another request to get the next
248
253
  # page of results.
254
+ # @!attribute [rw] failed_locations
255
+ # @return [Array<String>]
256
+ # Locations from which AppProfile information could not be retrieved,
257
+ # due to an outage or some other transient condition.
258
+ # AppProfiles from these locations may be missing from +app_profiles+.
259
+ # Values are of the form +projects/<project>/locations/<zone_id>+
249
260
  class ListAppProfilesResponse; end
250
261
 
251
262
  # Request message for BigtableInstanceAdmin.UpdateAppProfile.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Bigtable
17
18
  module Admin
@@ -104,6 +105,10 @@ module Google
104
105
  # @return [Google::Bigtable::Admin::V2::Table::View]
105
106
  # The view to be applied to the returned tables' fields.
106
107
  # Defaults to +NAME_ONLY+ if unspecified; no others are currently supported.
108
+ # @!attribute [rw] page_size
109
+ # @return [Integer]
110
+ # Maximum number of results per page.
111
+ # CURRENTLY UNIMPLEMENTED AND IGNORED.
107
112
  # @!attribute [rw] page_token
108
113
  # @return [String]
109
114
  # The value of +next_page_token+ returned by a previous call.
@@ -276,7 +281,8 @@ module Google
276
281
  # e.g., +projects/<project>/instances/<instance>/clusters/-+.
277
282
  # @!attribute [rw] page_size
278
283
  # @return [Integer]
279
- # The maximum number of snapshots to return.
284
+ # The maximum number of snapshots to return per page.
285
+ # CURRENTLY UNIMPLEMENTED AND IGNORED.
280
286
  # @!attribute [rw] page_token
281
287
  # @return [String]
282
288
  # The value of +next_page_token+ returned by a previous call.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Bigtable
17
18
  module Admin
@@ -45,9 +46,9 @@ module Google
45
46
  # metrics.
46
47
  #
47
48
  # * Label keys must be between 1 and 63 characters long and must conform to
48
- # the regular expression: +[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}+.
49
+ # the regular expression: +[\p\\{Ll}\p\\{Lo}][\p\\{Ll}\p\\{Lo}\p\\{N}_-]\\{0,62}+.
49
50
  # * Label values must be between 0 and 63 characters long and must conform to
50
- # the regular expression: +[\p{Ll}\p{Lo}\p{N}_-]{0,63}+.
51
+ # the regular expression: +[\p\\{Ll}\p\\{Lo}\p\\{N}_-]\\{0,63}+.
51
52
  # * No more than 64 labels can be associated with a given resource.
52
53
  # * Keys and values must both be under 128 bytes.
53
54
  class Instance
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Bigtable
17
18
  module Admin
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Iam
17
18
  module V1
@@ -20,7 +21,7 @@ module Google
20
21
  # @return [String]
21
22
  # REQUIRED: The resource for which the policy is being specified.
22
23
  # +resource+ is usually specified as a path. For example, a Project
23
- # resource is specified as +projects/{project}+.
24
+ # resource is specified as +projects/\\{project}+.
24
25
  # @!attribute [rw] policy
25
26
  # @return [Google::Iam::V1::Policy]
26
27
  # REQUIRED: The complete policy to be applied to the +resource+. The size of
@@ -34,7 +35,7 @@ module Google
34
35
  # @return [String]
35
36
  # REQUIRED: The resource for which the policy is being requested.
36
37
  # +resource+ is usually specified as a path. For example, a Project
37
- # resource is specified as +projects/{project}+.
38
+ # resource is specified as +projects/\\{project}+.
38
39
  class GetIamPolicyRequest; end
39
40
 
40
41
  # Request message for +TestIamPermissions+ method.
@@ -42,7 +43,7 @@ module Google
42
43
  # @return [String]
43
44
  # REQUIRED: The resource for which the policy detail is being requested.
44
45
  # +resource+ is usually specified as a path. For example, a Project
45
- # resource is specified as +projects/{project}+.
46
+ # resource is specified as +projects/\\{project}+.
46
47
  # @!attribute [rw] permissions
47
48
  # @return [Array<String>]
48
49
  # The set of permissions to check for the +resource+. Permissions with
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Iam
17
18
  module V1
@@ -85,17 +86,17 @@ module Google
85
86
  # * +allAuthenticatedUsers+: A special identifier that represents anyone
86
87
  # who is authenticated with a Google account or a service account.
87
88
  #
88
- # * +user:{emailid}+: An email address that represents a specific Google
89
+ # * +user:\\{emailid}+: An email address that represents a specific Google
89
90
  # account. For example, +alice@gmail.com+ or +joe@example.com+.
90
91
  #
91
92
  #
92
- # * +serviceAccount:{emailid}+: An email address that represents a service
93
+ # * +serviceAccount:\\{emailid}+: An email address that represents a service
93
94
  # account. For example, +my-other-app@appspot.gserviceaccount.com+.
94
95
  #
95
- # * +group:{emailid}+: An email address that represents a Google group.
96
+ # * +group:\\{emailid}+: An email address that represents a Google group.
96
97
  # For example, +admins@example.com+.
97
98
  #
98
- # * +domain:{domain}+: A Google Apps domain name that represents all the
99
+ # * +domain:\\{domain}+: A Google Apps domain name that represents all the
99
100
  # users of that domain. For example, +google.com+ or +example.com+.
100
101
  class Binding; end
101
102
 
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Longrunning
17
18
  # This resource represents a long-running operation that is the result of a
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +Any+ contains an arbitrary serialized protocol buffer message along with a
@@ -95,17 +96,18 @@ module Google
95
96
  # }
96
97
  # @!attribute [rw] type_url
97
98
  # @return [String]
98
- # A URL/resource name whose content describes the type of the
99
- # serialized protocol buffer message.
99
+ # A URL/resource name that uniquely identifies the type of the serialized
100
+ # protocol buffer message. The last segment of the URL's path must represent
101
+ # the fully qualified name of the type (as in
102
+ # +path/google.protobuf.Duration+). The name should be in a canonical form
103
+ # (e.g., leading "." is not accepted).
100
104
  #
101
- # For URLs which use the scheme +http+, +https+, or no scheme, the
102
- # following restrictions and interpretations apply:
105
+ # In practice, teams usually precompile into the binary all types that they
106
+ # expect it to use in the context of Any. However, for URLs which use the
107
+ # scheme +http+, +https+, or no scheme, one can optionally set up a type
108
+ # server that maps type URLs to message definitions as follows:
103
109
  #
104
110
  # * If no scheme is provided, +https+ is assumed.
105
- # * The last segment of the URL's path must represent the fully
106
- # qualified name of the type (as in +path/google.protobuf.Duration+).
107
- # The name should be in a canonical form (e.g., leading "." is
108
- # not accepted).
109
111
  # * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
110
112
  # value in binary format, or produce an error.
111
113
  # * Applications are allowed to cache lookup results based on the
@@ -114,6 +116,10 @@ module Google
114
116
  # on changes to types. (Use versioned type names to manage
115
117
  # breaking changes.)
116
118
  #
119
+ # Note: this functionality is not currently available in the official
120
+ # protobuf release, and it is not used for type URLs beginning with
121
+ # type.googleapis.com.
122
+ #
117
123
  # Schemes other than +http+, +https+ (or the empty scheme) might be
118
124
  # used with implementation specific semantics.
119
125
  # @!attribute [rw] value
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A Duration represents a signed, fixed-length span of time represented
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A generic empty message that you can re-use to avoid defining duplicated
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +FieldMask+ represents a set of symbolic field paths, for example:
@@ -215,6 +216,12 @@ module Google
215
216
  #
216
217
  # Note that oneof type names ("test_oneof" in this case) cannot be used in
217
218
  # paths.
219
+ #
220
+ # == Field Mask Verification
221
+ #
222
+ # The implementation of any API method which has a FieldMask type field in the
223
+ # request should verify the included field paths, and return an
224
+ # +INVALID_ARGUMENT+ error if any path is duplicated or unmappable.
218
225
  # @!attribute [rw] paths
219
226
  # @return [Array<String>]
220
227
  # The set of field mask paths.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # A Timestamp represents a point in time independent of any time zone
@@ -72,12 +73,14 @@ module Google
72
73
  #
73
74
  # In JSON format, the Timestamp type is encoded as a string in the
74
75
  # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
75
- # format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
76
- # where {year} is always expressed using four digits while {month}, {day},
77
- # {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
76
+ # format is "\\{year}-\\{month}-\\{day}T\\{hour}:\\{min}:\\{sec}[.\\{frac_sec}]Z"
77
+ # where \\{year} is always expressed using four digits while \\{month}, \\{day},
78
+ # \\{hour}, \\{min}, and \\{sec} are zero-padded to two digits each. The fractional
78
79
  # seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
79
80
  # are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
80
- # is required, though only UTC (as indicated by "Z") is presently supported.
81
+ # is required. A proto3 JSON serializer should always use UTC (as indicated by
82
+ # "Z") when printing the Timestamp type and a proto3 JSON parser should be
83
+ # able to accept both UTC and other timezones (as indicated by an offset).
81
84
  #
82
85
  # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
83
86
  # 01:30 UTC on January 15, 2017.
@@ -88,8 +91,8 @@ module Google
88
91
  # to this format using [+strftime+](https://docs.python.org/2/library/time.html#time.strftime)
89
92
  # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
90
93
  # can use the Joda Time's [+ISODateTimeFormat.dateTime()+](
91
- # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
92
- # to obtain a formatter capable of generating timestamps in this format.
94
+ # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
95
+ # ) to obtain a formatter capable of generating timestamps in this format.
93
96
  # @!attribute [rw] seconds
94
97
  # @return [Integer]
95
98
  # Represents seconds of UTC time since Unix epoch
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Rpc
17
18
  # The +Status+ type defines a logical error model that is suitable for different
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/cloud/bigtable/v2/credentials"
16
17
 
17
18
  module Google
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "google/cloud/bigtable/v2/bigtable_client"
16
17
 
17
18
  module Google
@@ -36,6 +37,11 @@ module Google
36
37
  # 3. [Enable the Cloud Bigtable API.](https://console.cloud.google.com/apis/library/bigtable.googleapis.com)
37
38
  # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
38
39
  #
40
+ # ### Installation
41
+ # ```
42
+ # $ gem install google-cloud-bigtable
43
+ # ```
44
+ #
39
45
  # ### Next Steps
40
46
  # - Read the [Cloud Bigtable API Product documentation][Product Documentation]
41
47
  # to learn more about the product and see How-to Guides.
@@ -19,6 +19,7 @@
19
19
  # For the short term, the refresh process will only be runnable by Google
20
20
  # engineers.
21
21
 
22
+
22
23
  require "json"
23
24
  require "pathname"
24
25
 
@@ -36,6 +37,7 @@ module Google
36
37
  # @!attribute [r] bigtable_stub
37
38
  # @return [Google::Bigtable::V2::Bigtable::Stub]
38
39
  class BigtableClient
40
+ # @private
39
41
  attr_reader :bigtable_stub
40
42
 
41
43
  # The default address of the service.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  require "googleauth"
16
17
 
17
18
  module Google
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Bigtable
17
18
  module V2
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Bigtable
17
18
  module V2
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # +Any+ contains an arbitrary serialized protocol buffer message along with a
@@ -95,17 +96,18 @@ module Google
95
96
  # }
96
97
  # @!attribute [rw] type_url
97
98
  # @return [String]
98
- # A URL/resource name whose content describes the type of the
99
- # serialized protocol buffer message.
99
+ # A URL/resource name that uniquely identifies the type of the serialized
100
+ # protocol buffer message. The last segment of the URL's path must represent
101
+ # the fully qualified name of the type (as in
102
+ # +path/google.protobuf.Duration+). The name should be in a canonical form
103
+ # (e.g., leading "." is not accepted).
100
104
  #
101
- # For URLs which use the scheme +http+, +https+, or no scheme, the
102
- # following restrictions and interpretations apply:
105
+ # In practice, teams usually precompile into the binary all types that they
106
+ # expect it to use in the context of Any. However, for URLs which use the
107
+ # scheme +http+, +https+, or no scheme, one can optionally set up a type
108
+ # server that maps type URLs to message definitions as follows:
103
109
  #
104
110
  # * If no scheme is provided, +https+ is assumed.
105
- # * The last segment of the URL's path must represent the fully
106
- # qualified name of the type (as in +path/google.protobuf.Duration+).
107
- # The name should be in a canonical form (e.g., leading "." is
108
- # not accepted).
109
111
  # * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
110
112
  # value in binary format, or produce an error.
111
113
  # * Applications are allowed to cache lookup results based on the
@@ -114,6 +116,10 @@ module Google
114
116
  # on changes to types. (Use versioned type names to manage
115
117
  # breaking changes.)
116
118
  #
119
+ # Note: this functionality is not currently available in the official
120
+ # protobuf release, and it is not used for type URLs beginning with
121
+ # type.googleapis.com.
122
+ #
117
123
  # Schemes other than +http+, +https+ (or the empty scheme) might be
118
124
  # used with implementation specific semantics.
119
125
  # @!attribute [rw] value
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Protobuf
17
18
  # Wrapper message for +double+.
@@ -12,6 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+
15
16
  module Google
16
17
  module Rpc
17
18
  # The +Status+ type defines a logical error model that is suitable for different
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Bigtable
19
- VERSION = "0.1.0".freeze
19
+ VERSION = "0.1.1".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-16 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -154,16 +154,16 @@ dependencies:
154
154
  name: yard-doctest
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "<="
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.1.8
159
+ version: 0.1.13
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "<="
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.1.8
166
+ version: 0.1.13
167
167
  description: google-cloud-bigtable is the official library for Cloud Bigtable API.
168
168
  email: googleapis-packages@google.com
169
169
  executables: []