google-iam-v3beta 0.4.1 → 0.7.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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +5 -5
  4. data/lib/google/iam/v3beta/access_policies/client.rb +1113 -0
  5. data/lib/google/iam/v3beta/access_policies/credentials.rb +45 -0
  6. data/lib/google/iam/v3beta/access_policies/operations.rb +841 -0
  7. data/lib/google/iam/v3beta/access_policies/paths.rb +140 -0
  8. data/lib/google/iam/v3beta/access_policies/rest/client.rb +1028 -0
  9. data/lib/google/iam/v3beta/access_policies/rest/operations.rb +939 -0
  10. data/lib/google/iam/v3beta/access_policies/rest/service_stub.rb +535 -0
  11. data/lib/google/iam/v3beta/access_policies/rest.rb +51 -0
  12. data/lib/google/iam/v3beta/access_policies.rb +54 -0
  13. data/lib/google/iam/v3beta/access_policies_service_pb.rb +36 -0
  14. data/lib/google/iam/v3beta/access_policies_service_services_pb.rb +54 -0
  15. data/lib/google/iam/v3beta/access_policy_resources_pb.rb +29 -0
  16. data/lib/google/iam/v3beta/policy_binding_resources_pb.rb +1 -1
  17. data/lib/google/iam/v3beta/policy_bindings/client.rb +21 -11
  18. data/lib/google/iam/v3beta/policy_bindings/operations.rb +2 -0
  19. data/lib/google/iam/v3beta/policy_bindings/rest/client.rb +21 -11
  20. data/lib/google/iam/v3beta/policy_bindings/rest/operations.rb +2 -0
  21. data/lib/google/iam/v3beta/policy_bindings_service_pb.rb +1 -1
  22. data/lib/google/iam/v3beta/policy_bindings_service_services_pb.rb +3 -5
  23. data/lib/google/iam/v3beta/principal_access_boundary_policies/client.rb +2 -0
  24. data/lib/google/iam/v3beta/principal_access_boundary_policies/operations.rb +2 -0
  25. data/lib/google/iam/v3beta/principal_access_boundary_policies/rest/client.rb +2 -0
  26. data/lib/google/iam/v3beta/principal_access_boundary_policies/rest/operations.rb +2 -0
  27. data/lib/google/iam/v3beta/rest.rb +2 -1
  28. data/lib/google/iam/v3beta/version.rb +1 -1
  29. data/lib/google/iam/v3beta.rb +3 -2
  30. data/lib/google-iam-v3beta.rb +1 -1
  31. data/proto_docs/google/iam/v3beta/access_policies_service.rb +203 -0
  32. data/proto_docs/google/iam/v3beta/access_policy_resources.rb +223 -0
  33. data/proto_docs/google/iam/v3beta/policy_binding_resources.rb +50 -28
  34. data/proto_docs/google/iam/v3beta/policy_bindings_service.rb +16 -5
  35. metadata +17 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e315a09f28c04ec256a63bdaa8af1c92bb0602e7b83ba1a7cc4b594e8374e54
4
- data.tar.gz: 076a866958dcf13bce66748fcfb99879a592ffb4d9aba1f355fff260bb2ac77b
3
+ metadata.gz: 724c187a544e2e24cc76387ca35a47585237da78c3a1071b0bc308187b72d61d
4
+ data.tar.gz: b05da3df180c0d56109a371dcb509ce1ed0525dca4b5978db96cfff03666133b
5
5
  SHA512:
6
- metadata.gz: 85033c58257beb2f0f81efd84352df1a0a04a3ac403fdf2f5f85aef0e627b94a5c30f0df1c9aef22ed60710d021365a8c70f954d7bddb468503b57379c6dfb2b
7
- data.tar.gz: 4cc345b4d7ec2addbdc11cb06a35b6d0fd9332f3b96c76dfcd51d78e479c9b8576b14032477ff048c0f6ae70acb7e8eb6315684b26d6aed42de8419fd29a669d
6
+ metadata.gz: dc9a65dbc45e9577e2779b8592b4472daee1bb9d49f0a46416a948f75a74ce53b26989cbecad08d01995e03b6d061752cc854dbcb8f2dd1c11fdd21d3c974369
7
+ data.tar.gz: 71dbce47f03455bddaa05ec2a6c1e06720635766144027fcfe16cf42b9713cca947d164a845fd082a79ec784653cf0447e31d0aab6c63f9a53913afce773c381
data/AUTHENTICATION.md CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
56
56
  ```ruby
57
57
  require "google/iam/v3beta"
58
58
 
59
- client = ::Google::Iam::V3beta::PolicyBindings::Client.new do |config|
59
+ client = ::Google::Iam::V3beta::AccessPolicies::Client.new do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
66
66
  ```ruby
67
67
  require "google/iam/v3beta"
68
68
 
69
- ::Google::Iam::V3beta::PolicyBindings::Client.configure do |config|
69
+ ::Google::Iam::V3beta::AccessPolicies::Client.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = ::Google::Iam::V3beta::PolicyBindings::Client.new
73
+ client = ::Google::Iam::V3beta::AccessPolicies::Client.new
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -100,7 +100,7 @@ require "google/iam/v3beta"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = ::Google::Iam::V3beta::PolicyBindings::Client.new
103
+ client = ::Google::Iam::V3beta::AccessPolicies::Client.new
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -32,9 +32,9 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/iam/v3beta"
34
34
 
35
- client = ::Google::Iam::V3beta::PolicyBindings::Client.new
36
- request = ::Google::Iam::V3beta::CreatePolicyBindingRequest.new # (request fields as keyword arguments...)
37
- response = client.create_policy_binding request
35
+ client = ::Google::Iam::V3beta::AccessPolicies::Client.new
36
+ request = ::Google::Iam::V3beta::CreateAccessPolicyRequest.new # (request fields as keyword arguments...)
37
+ response = client.create_access_policy request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest)
@@ -75,7 +75,7 @@ constructing a client object. For example:
75
75
  require "google/iam/v3beta"
76
76
  require "logger"
77
77
 
78
- client = ::Google::Iam::V3beta::PolicyBindings::Client.new do |config|
78
+ client = ::Google::Iam::V3beta::AccessPolicies::Client.new do |config|
79
79
  config.logger = Logger.new "my-app.log"
80
80
  end
81
81
  ```
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 3.0+.
89
+ This library is supported on Ruby 3.2+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or