google-cloud-access_approval-v1 0.7.1 → 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: 2c98c5f42f5e02714a19fb3867b21e0b2978a1ac81ba8d1f65967bbb7d8cdf52
4
- data.tar.gz: 1c474c7dcff8e026b9823ab3eb2a66195ab419f77e8b084c1bd4f8c3be7b07f4
3
+ metadata.gz: cfc60a2cae73bc5648ea24db546426af743621c83a559b5d33dc7328aeaede56
4
+ data.tar.gz: cf32483f36e2c49eda8c40ab886d970577e5eda40880cff0bb6921857c8907d3
5
5
  SHA512:
6
- metadata.gz: 5ce07823dd31fcfec545863c19792ba4eb43c164461f7005484ad059ad2bd86e956becf2c04e1e0b823ed544ecd1d66bac6f38c642fb84fc4467c63c3e19e406
7
- data.tar.gz: c837440514fea5998f35ae4238ac34916592878a0d1e8532a352b1a4e245c886742943ab8f10043994465ae44981972f8a39c1afa12f296bdb7c22adc51b2d82
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