google-cloud-access_approval-v1 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/access_approval/v1/access_approval/client.rb +4 -6
- data/lib/google/cloud/access_approval/v1/access_approval/rest/client.rb +1016 -0
- data/lib/google/cloud/access_approval/v1/access_approval/rest/service_stub.rb +717 -0
- data/lib/google/cloud/access_approval/v1/access_approval/rest.rb +84 -0
- data/lib/google/cloud/access_approval/v1/access_approval.rb +7 -1
- data/lib/google/cloud/access_approval/v1/rest.rb +37 -0
- data/lib/google/cloud/access_approval/v1/version.rb +1 -1
- data/lib/google/cloud/access_approval/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- metadata +15 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfc60a2cae73bc5648ea24db546426af743621c83a559b5d33dc7328aeaede56
|
4
|
+
data.tar.gz: cf32483f36e2c49eda8c40ab886d970577e5eda40880cff0bb6921857c8907d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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/
|
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
|
-
# #
|
267
|
-
#
|
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
|
269
|
+
# p item
|
272
270
|
# end
|
273
271
|
#
|
274
272
|
def list_approval_requests request, options = nil
|