google-identity-access_context_manager-v1 0.2.0 → 0.4.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/identity/access_context_manager/v1/access_context_manager/client.rb +513 -198
- data/lib/google/identity/access_context_manager/v1/access_context_manager/operations.rb +12 -14
- data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/client.rb +2467 -0
- data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/operations.rb +793 -0
- data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/service_stub.rb +1608 -0
- data/lib/google/identity/access_context_manager/v1/access_context_manager/rest.rb +63 -0
- data/lib/google/identity/access_context_manager/v1/access_context_manager.rb +15 -9
- data/lib/google/identity/access_context_manager/v1/rest.rb +37 -0
- data/lib/google/identity/access_context_manager/v1/version.rb +1 -1
- data/lib/google/identity/access_context_manager/v1.rb +7 -2
- data/lib/google/identity/accesscontextmanager/v1/access_context_manager_pb.rb +2 -0
- data/lib/google/identity/accesscontextmanager/v1/access_context_manager_services_pb.rb +128 -112
- data/lib/google/identity/accesscontextmanager/v1/access_policy_pb.rb +1 -0
- data/lib/google/identity/accesscontextmanager/v1/service_perimeter_pb.rb +11 -10
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +87 -0
- data/proto_docs/google/iam/v1/options.rb +50 -0
- data/proto_docs/google/iam/v1/policy.rb +418 -0
- data/proto_docs/google/identity/accesscontextmanager/v1/access_context_manager.rb +1 -1
- data/proto_docs/google/identity/accesscontextmanager/v1/access_policy.rb +16 -0
- data/proto_docs/google/identity/accesscontextmanager/v1/service_perimeter.rb +72 -64
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +32 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b4375b6ac8b79380b9bc8b7ee7ff9fdd0a2c5050dde43613a636fe5443c54ef
|
4
|
+
data.tar.gz: 1e28d91d9656fe1690b9d4e48b07b6bb222ea337a15e8c4b9c187c74bf06a666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e9338a69481679217d8454a5c6f964705fc3a2081aa7d3d7a15667c1cfdec0c10f28ee25fab9d71ff182f9c9fdbb280e24fd222a88ed8e34123dad8b878ca49
|
7
|
+
data.tar.gz: 8d527b22638d53be3a37a9e6c1500f179c8ce1c38cf1a849cc30857c0b68824cb7b9cdd65b4d72e20000f0b7f883da080c03026d5d20713ba83b07c048f99ea3
|
data/AUTHENTICATION.md
CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
|
|
112
112
|
To configure your system for this, simply:
|
113
113
|
|
114
114
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
115
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
115
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
116
116
|
3. Write code as if already authenticated.
|
117
117
|
|
118
118
|
**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 Context Manager V1 API
|
2
2
|
|
3
|
-
API
|
3
|
+
An API for setting attribute based access control to requests to GCP services.
|
4
4
|
|
5
5
|
Access Context Manager allows enterprises to configure access levels which map to a policy defined on request attributes.
|
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.
|