google-cloud-access_approval-v1 0.7.0 → 0.8.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: cce608cd453aa28b100036a521f197c64ac02e934b5b6062753a64b3f847b3a5
4
- data.tar.gz: e2a99f06c9adfc9a18592fe27af7e7bf806bd554caf8b053ce86a0817a2d16dc
3
+ metadata.gz: cfc60a2cae73bc5648ea24db546426af743621c83a559b5d33dc7328aeaede56
4
+ data.tar.gz: cf32483f36e2c49eda8c40ab886d970577e5eda40880cff0bb6921857c8907d3
5
5
  SHA512:
6
- metadata.gz: 30bb0f0408d08921526272cadd4cbe56970a96afbcb219a8afce06423bf081e0c9be24a07f1e9702b7ba8c13b8d0fc3906abd127df67b89493fda9e5ce2f5b9b
7
- data.tar.gz: b477acdbf6932f9148f06f4275ae865ab331a8ce447825361fa7d89aa710b092f7c718b15361e1543531fdcffc2b99f529266d419bbe880f9cdbb09fdbbb31b0
6
+ metadata.gz: b82db1e77a399cce4c0edde791aee6ca53f2ba75ec2f7a5626945e1c1152e118986182402e382612b6752499058e6f9462343a1d2fc8a76b4b04f45c0a780dc8
7
+ data.tar.gz: a1a5affe5e8b34c0f5e37652a8424671660cce7bf2d759cc7b9d68703fc6a092630690c9a6dce5e4e9b6592894c8b86946633b77c725cdfe1ae9cb21170b783b
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 Access Approval V1 API
2
2
 
3
- API Client library for the Access Approval V1 API
3
+ An API for controlling access to data by Google personnel.
4
4
 
5
5
  An API for controlling access to data by Google personnel.
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.
@@ -262,13 +262,11 @@ module Google
262
262
  # # Call the list_approval_requests method.
263
263
  # result = client.list_approval_requests request
264
264
  #
265
- # # The returned object is of type Gapic::PagedEnumerable. You can
266
- # # iterate over all elements by calling #each, and the enumerable
267
- # # will lazily make API calls to fetch subsequent pages. Other
268
- # # methods are also available for managing paging directly.
269
- # result.each do |response|
265
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
266
+ # # over elements, and API calls will be issued to fetch pages as needed.
267
+ # result.each do |item|
270
268
  # # Each element is of type ::Google::Cloud::AccessApproval::V1::ApprovalRequest.
271
- # p response
269
+ # p item
272
270
  # end
273
271
  #
274
272
  def list_approval_requests request, options = nil