google-cloud-binary_authorization-v1 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/README.md +2 -2
  4. data/lib/google/cloud/binary_authorization/v1/binauthz_management_service/client.rb +4 -6
  5. data/lib/google/cloud/binary_authorization/v1/binauthz_management_service/rest/client.rb +835 -0
  6. data/lib/google/cloud/binary_authorization/v1/binauthz_management_service/rest/service_stub.rb +464 -0
  7. data/lib/google/cloud/binary_authorization/v1/binauthz_management_service/rest.rb +58 -0
  8. data/lib/google/cloud/binary_authorization/v1/binauthz_management_service.rb +7 -1
  9. data/lib/google/cloud/binary_authorization/v1/rest.rb +39 -0
  10. data/lib/google/cloud/binary_authorization/v1/system_policy/rest/client.rb +345 -0
  11. data/lib/google/cloud/binary_authorization/v1/system_policy/rest/service_stub.rb +107 -0
  12. data/lib/google/cloud/binary_authorization/v1/system_policy/rest.rb +52 -0
  13. data/lib/google/cloud/binary_authorization/v1/system_policy.rb +7 -1
  14. data/lib/google/cloud/binary_authorization/v1/validation_helper/rest/client.rb +356 -0
  15. data/lib/google/cloud/binary_authorization/v1/validation_helper/rest/service_stub.rb +108 -0
  16. data/lib/google/cloud/binary_authorization/v1/validation_helper/rest.rb +51 -0
  17. data/lib/google/cloud/binary_authorization/v1/validation_helper.rb +7 -1
  18. data/lib/google/cloud/binary_authorization/v1/version.rb +1 -1
  19. data/lib/google/cloud/binary_authorization/v1.rb +7 -2
  20. data/lib/google/cloud/binaryauthorization/v1/resources_pb.rb +0 -1
  21. data/proto_docs/google/api/client.rb +318 -0
  22. data/proto_docs/google/api/launch_stage.rb +71 -0
  23. data/proto_docs/google/cloud/binaryauthorization/v1/service.rb +2 -2
  24. data/proto_docs/google/protobuf/duration.rb +98 -0
  25. data/proto_docs/google/protobuf/empty.rb +0 -2
  26. metadata +23 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 987cac862d928d450a37aad781c0fd2fd4377c4b6680a3dc363e36f1790a4f1f
4
- data.tar.gz: 34964903dd9d790a7c425b26a8d2082ca763f4330832adf293f45cdf21f8abfd
3
+ metadata.gz: b009185452e37da8cb70cdae9b56d6cc0ea7812cab47ea3f222b9bc4138e3bea
4
+ data.tar.gz: d2ba09ecf0b1083f588b07c1cfe029ee830f862cb08bd45e017df1404bc85c72
5
5
  SHA512:
6
- metadata.gz: a4ea7f7a0d442ab3087a042130e4e871fc4c6ed7900c02baf16db21b056ffeb0dc95fc1f8e7e7950248d4085d9aed55fa7c79f15184bfe5b6e46d2dc7ccfcc36
7
- data.tar.gz: 7739a6a891d340198cea4da199ff45a7be7ba850b2a9a65cc1cc4f1e551f154d5addfb51759e975989991887ddb3155d44a29a285e78f9e14923f12ee61ca2df
6
+ metadata.gz: 024f869edb1513191596a1873bd3dd96e14c56aca5238d3940765072b6569a49f1a154ac15d485dda56fd87d3f8d3ad16fb836ff5a4c71ed40aaafe74686cfcc
7
+ data.tar.gz: cc9b868a0caaa639bf4c3df254799564374d55844a9b68d8a2347a2f20f496c076929eb75423794c84aac1dc71c2b51d0e182c8070d16875cc6aebcec1bf49b8
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 V1 API
2
2
 
3
- API Client library for the Binary Authorization V1 API
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/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.
@@ -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
- # # iterate over all elements by calling #each, and the enumerable
689
- # # will lazily make API calls to fetch subsequent pages. Other
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::V1::Attestor.
693
- # p response
691
+ # p item
694
692
  # end
695
693
  #
696
694
  def list_attestors request, options = nil