google-cloud-essential_contacts-v1 0.2.0 → 0.3.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: 16375aa5538eeb3fe26b20e4a705295caf4c78539f61b6d87706fdd5808d5c13
4
- data.tar.gz: 6b6207395ac85a7008f4224817bcfce455e2ed31b5c3f2b8284435ebc08e365a
3
+ metadata.gz: fdc476c3673e6bf6f67e3711270657d3b7ffe4d0f7087e5c79f98c5e5b035a0b
4
+ data.tar.gz: a31be9b56a3364265ad09fb3bdb4b9fde0efc2f0e30d7c313b355c0d2906ad95
5
5
  SHA512:
6
- metadata.gz: 52df46cea6b0fb02c11581984b42b8350a2341711e19fe76dac9926d624898ab2de90b7ee1a4097ccb291802363fd84103159d5366342d5cf68a380e8f2f58bd
7
- data.tar.gz: b832cc7fe700e46f43e901e06103cf0096d1844eda023990832ece03cf0965a92b4ee0dc11c1012d08ef23aa94b02c93e553df770099386621f2e37680a6a62f
6
+ metadata.gz: 3b05cc27e3e9275e88ca5fcdc03dd960a47cede5146e2518e84a7450785f5805f1a357b90bfc1fea07dcc096a1852cf3f33fe3d5d5c71712f4aefd42dc417e52
7
+ data.tar.gz: e5d0040e273893c5168b05d79a14fc603ccb069647cdfbb70e2fbef486ce26c50f14c0e03bab93c4e92518935991db48956318bebd04450a4d26e2265f6a875e
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
@@ -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.
@@ -398,13 +398,11 @@ module Google
398
398
  # # Call the list_contacts method.
399
399
  # result = client.list_contacts request
400
400
  #
401
- # # The returned object is of type Gapic::PagedEnumerable. You can
402
- # # iterate over all elements by calling #each, and the enumerable
403
- # # will lazily make API calls to fetch subsequent pages. Other
404
- # # methods are also available for managing paging directly.
405
- # result.each do |response|
401
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
402
+ # # over elements, and API calls will be issued to fetch pages as needed.
403
+ # result.each do |item|
406
404
  # # Each element is of type ::Google::Cloud::EssentialContacts::V1::Contact.
407
- # p response
405
+ # p item
408
406
  # end
409
407
  #
410
408
  def list_contacts request, options = nil
@@ -684,13 +682,11 @@ module Google
684
682
  # # Call the compute_contacts method.
685
683
  # result = client.compute_contacts request
686
684
  #
687
- # # The returned object is of type Gapic::PagedEnumerable. You can
688
- # # iterate over all elements by calling #each, and the enumerable
689
- # # will lazily make API calls to fetch subsequent pages. Other
690
- # # methods are also available for managing paging directly.
691
- # result.each do |response|
685
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
686
+ # # over elements, and API calls will be issued to fetch pages as needed.
687
+ # result.each do |item|
692
688
  # # Each element is of type ::Google::Cloud::EssentialContacts::V1::Contact.
693
- # p response
689
+ # p item
694
690
  # end
695
691
  #
696
692
  def compute_contacts request, options = nil