google-cloud-binary_authorization-v1beta1 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +7 -7
- data/lib/google/cloud/binary_authorization/v1beta1/binauthz_management_service/client.rb +4 -6
- data/lib/google/cloud/binary_authorization/v1beta1/binauthz_management_service/rest/client.rb +835 -0
- data/lib/google/cloud/binary_authorization/v1beta1/binauthz_management_service/rest/service_stub.rb +464 -0
- data/lib/google/cloud/binary_authorization/v1beta1/binauthz_management_service/rest.rb +58 -0
- data/lib/google/cloud/binary_authorization/v1beta1/binauthz_management_service.rb +7 -1
- data/lib/google/cloud/binary_authorization/v1beta1/rest.rb +38 -0
- data/lib/google/cloud/binary_authorization/v1beta1/system_policy/rest/client.rb +345 -0
- data/lib/google/cloud/binary_authorization/v1beta1/system_policy/rest/service_stub.rb +107 -0
- data/lib/google/cloud/binary_authorization/v1beta1/system_policy/rest.rb +52 -0
- data/lib/google/cloud/binary_authorization/v1beta1/system_policy.rb +7 -1
- data/lib/google/cloud/binary_authorization/v1beta1/version.rb +1 -1
- data/lib/google/cloud/binary_authorization/v1beta1.rb +7 -2
- data/lib/google/cloud/binaryauthorization/v1beta1/resources_pb.rb +0 -1
- 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
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +25 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4e40d7035a5134176c3508b6568ecc69b2d3653894af20b9f6e737706d145d
|
4
|
+
data.tar.gz: '01884253433eb7a55a26a964e01ebb6e154fd4e0aad0269c867486a821e8d5dc'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d10433683f8a1694d20581ebf83d7bdcbf8ef8658079b185ea448dde433f09658de48ffb15c77c733595f097d54a1387a592aa25ed3b4aac629d668747c1301e
|
7
|
+
data.tar.gz: ca1c1d84103df0b49cdabd94b0da98ab0207ce8c72da7d437893df80af9f32147dc8dbf78c94aff866063a1b456a7c1dcba458515f9d4fa0d7736ab62ffe6331
|
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 Binary Authorization V1beta1 API
|
2
2
|
|
3
|
-
|
3
|
+
The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters, Anthos clusters on VMware, and Cloud Run.
|
4
4
|
|
5
5
|
Binary Authorization is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and GKE on-prem.
|
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.
|
@@ -76,14 +76,14 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
83
|
-
in security maintenance, and not end of life.
|
84
|
-
|
85
|
-
|
86
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
87
87
|
|
88
88
|
## Which client should I use?
|
89
89
|
|
@@ -684,13 +684,11 @@ module Google
|
|
684
684
|
# # Call the list_attestors method.
|
685
685
|
# result = client.list_attestors request
|
686
686
|
#
|
687
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
688
|
-
# #
|
689
|
-
#
|
690
|
-
# # methods are also available for managing paging directly.
|
691
|
-
# result.each do |response|
|
687
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
688
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
689
|
+
# result.each do |item|
|
692
690
|
# # Each element is of type ::Google::Cloud::BinaryAuthorization::V1beta1::Attestor.
|
693
|
-
# p
|
691
|
+
# p item
|
694
692
|
# end
|
695
693
|
#
|
696
694
|
def list_attestors request, options = nil
|