google-cloud-iot-v1 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34f03668eb50c6a244365cdbe6ece654c3441e28a96fd18e32002ee53eadef13
4
- data.tar.gz: 170cba542612a332244827303bfbd384a7a3a9bb1ca9cfbfa5041fb0c966811c
3
+ metadata.gz: 8e1b7f0330b95fec4616b59e8925c0f038588fa522f1b87726f2091e940a5b69
4
+ data.tar.gz: 52861294930fe8c357cb8b12223766f98c213f8e3e30346a948839b5e710ca42
5
5
  SHA512:
6
- metadata.gz: f9ed560cdfd18de8067c9c0d241f9a3ef94043b1e6106fe70738b5eabdda53f9d0a80f32ed28ceb66804ed87d8f678125b41233232e93a5e88aa26682d8ac4f0
7
- data.tar.gz: d0d89b8a6445ca35162c8c25080857f64f6da8d8b4264a1884b6ed5f3b58541c8d44e71e332e2a5feaad129b2cf25e426d6803088637d9644f30988710fb4185
6
+ metadata.gz: e80ce13e0870333d4f51d8cf621fd1f27b75566dd3802e9fec04d1fbcbbe76f4172418c78609a5685b5be052d5440431bedf6e60166bc8a4d1f0e7b79945a99b
7
+ data.tar.gz: f6cd9e14fb8d440cf4bca4970201bcb99170886e36df6df25576edc973d697d617ba7352607aa97b46b76a900cd95749e8fe395776f75c293bd2e51ce9aef85b
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud IoT V1 API
2
2
 
3
- API Client library for the Cloud IoT V1 API
3
+ Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.
4
4
 
5
5
  Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.
6
6
 
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -618,13 +618,11 @@ module Google
618
618
  # # Call the list_device_registries method.
619
619
  # result = client.list_device_registries request
620
620
  #
621
- # # The returned object is of type Gapic::PagedEnumerable. You can
622
- # # iterate over all elements by calling #each, and the enumerable
623
- # # will lazily make API calls to fetch subsequent pages. Other
624
- # # methods are also available for managing paging directly.
625
- # result.each do |response|
621
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
622
+ # # over elements, and API calls will be issued to fetch pages as needed.
623
+ # result.each do |item|
626
624
  # # Each element is of type ::Google::Cloud::Iot::V1::DeviceRegistry.
627
- # p response
625
+ # p item
628
626
  # end
629
627
  #
630
628
  def list_device_registries request, options = nil
@@ -1095,13 +1093,11 @@ module Google
1095
1093
  # # Call the list_devices method.
1096
1094
  # result = client.list_devices request
1097
1095
  #
1098
- # # The returned object is of type Gapic::PagedEnumerable. You can
1099
- # # iterate over all elements by calling #each, and the enumerable
1100
- # # will lazily make API calls to fetch subsequent pages. Other
1101
- # # methods are also available for managing paging directly.
1102
- # result.each do |response|
1096
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1097
+ # # over elements, and API calls will be issued to fetch pages as needed.
1098
+ # result.each do |item|
1103
1099
  # # Each element is of type ::Google::Cloud::Iot::V1::Device.
1104
- # p response
1100
+ # p item
1105
1101
  # end
1106
1102
  #
1107
1103
  def list_devices request, options = nil