google-iam-v3beta 0.a → 0.1.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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/iam/v3beta/operation_metadata_pb.rb +44 -0
  6. data/lib/google/iam/v3beta/policy_binding_resources_pb.rb +50 -0
  7. data/lib/google/iam/v3beta/policy_bindings/client.rb +1130 -0
  8. data/lib/google/iam/v3beta/policy_bindings/credentials.rb +45 -0
  9. data/lib/google/iam/v3beta/policy_bindings/operations.rb +811 -0
  10. data/lib/google/iam/v3beta/policy_bindings/paths.rb +140 -0
  11. data/lib/google/iam/v3beta/policy_bindings/rest/client.rb +1062 -0
  12. data/lib/google/iam/v3beta/policy_bindings/rest/operations.rb +926 -0
  13. data/lib/google/iam/v3beta/policy_bindings/rest/service_stub.rb +535 -0
  14. data/lib/google/iam/v3beta/policy_bindings/rest.rb +52 -0
  15. data/lib/google/iam/v3beta/policy_bindings.rb +55 -0
  16. data/lib/google/iam/v3beta/policy_bindings_service_pb.rb +59 -0
  17. data/lib/google/iam/v3beta/policy_bindings_service_services_pb.rb +63 -0
  18. data/lib/google/iam/v3beta/principal_access_boundary_policies/client.rb +1083 -0
  19. data/lib/google/iam/v3beta/principal_access_boundary_policies/credentials.rb +45 -0
  20. data/lib/google/iam/v3beta/principal_access_boundary_policies/operations.rb +811 -0
  21. data/lib/google/iam/v3beta/principal_access_boundary_policies/paths.rb +67 -0
  22. data/lib/google/iam/v3beta/principal_access_boundary_policies/rest/client.rb +1015 -0
  23. data/lib/google/iam/v3beta/principal_access_boundary_policies/rest/operations.rb +926 -0
  24. data/lib/google/iam/v3beta/principal_access_boundary_policies/rest/service_stub.rb +447 -0
  25. data/lib/google/iam/v3beta/principal_access_boundary_policies/rest.rb +52 -0
  26. data/lib/google/iam/v3beta/principal_access_boundary_policies.rb +55 -0
  27. data/lib/google/iam/v3beta/principal_access_boundary_policies_service_pb.rb +61 -0
  28. data/lib/google/iam/v3beta/principal_access_boundary_policies_service_services_pb.rb +56 -0
  29. data/lib/google/iam/v3beta/principal_access_boundary_policy_resources_pb.rb +49 -0
  30. data/lib/google/iam/v3beta/rest.rb +36 -0
  31. data/lib/google/iam/v3beta/version.rb +7 -2
  32. data/lib/google/iam/v3beta.rb +44 -0
  33. data/lib/google-iam-v3beta.rb +21 -0
  34. data/proto_docs/README.md +4 -0
  35. data/proto_docs/google/api/client.rb +473 -0
  36. data/proto_docs/google/api/field_behavior.rb +85 -0
  37. data/proto_docs/google/api/field_info.rb +88 -0
  38. data/proto_docs/google/api/launch_stage.rb +71 -0
  39. data/proto_docs/google/api/resource.rb +227 -0
  40. data/proto_docs/google/iam/v3beta/operation_metadata.rb +55 -0
  41. data/proto_docs/google/iam/v3beta/policy_binding_resources.rb +171 -0
  42. data/proto_docs/google/iam/v3beta/policy_bindings_service.rb +232 -0
  43. data/proto_docs/google/iam/v3beta/principal_access_boundary_policies_service.rb +191 -0
  44. data/proto_docs/google/iam/v3beta/principal_access_boundary_policy_resources.rb +127 -0
  45. data/proto_docs/google/longrunning/operations.rb +173 -0
  46. data/proto_docs/google/protobuf/any.rb +145 -0
  47. data/proto_docs/google/protobuf/duration.rb +98 -0
  48. data/proto_docs/google/protobuf/empty.rb +34 -0
  49. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  50. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  51. data/proto_docs/google/rpc/status.rb +48 -0
  52. data/proto_docs/google/type/expr.rb +75 -0
  53. metadata +106 -9
@@ -0,0 +1,56 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/iam/v3beta/principal_access_boundary_policies_service.proto for package 'google.iam.v3beta'
3
+ # Original file comments:
4
+ # Copyright 2025 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/iam/v3beta/principal_access_boundary_policies_service_pb'
21
+
22
+ module Google
23
+ module Iam
24
+ module V3beta
25
+ module PrincipalAccessBoundaryPolicies
26
+ # Manages Identity and Access Management (IAM) principal access boundary
27
+ # policies.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.iam.v3beta.PrincipalAccessBoundaryPolicies'
35
+
36
+ # Creates a principal access boundary policy, and returns a long running
37
+ # operation.
38
+ rpc :CreatePrincipalAccessBoundaryPolicy, ::Google::Iam::V3beta::CreatePrincipalAccessBoundaryPolicyRequest, ::Google::Longrunning::Operation
39
+ # Gets a principal access boundary policy.
40
+ rpc :GetPrincipalAccessBoundaryPolicy, ::Google::Iam::V3beta::GetPrincipalAccessBoundaryPolicyRequest, ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicy
41
+ # Updates a principal access boundary policy.
42
+ rpc :UpdatePrincipalAccessBoundaryPolicy, ::Google::Iam::V3beta::UpdatePrincipalAccessBoundaryPolicyRequest, ::Google::Longrunning::Operation
43
+ # Deletes a principal access boundary policy.
44
+ rpc :DeletePrincipalAccessBoundaryPolicy, ::Google::Iam::V3beta::DeletePrincipalAccessBoundaryPolicyRequest, ::Google::Longrunning::Operation
45
+ # Lists principal access boundary policies.
46
+ rpc :ListPrincipalAccessBoundaryPolicies, ::Google::Iam::V3beta::ListPrincipalAccessBoundaryPoliciesRequest, ::Google::Iam::V3beta::ListPrincipalAccessBoundaryPoliciesResponse
47
+ # Returns all policy bindings that bind a specific policy if a user has
48
+ # searchPolicyBindings permission on that policy.
49
+ rpc :SearchPrincipalAccessBoundaryPolicyBindings, ::Google::Iam::V3beta::SearchPrincipalAccessBoundaryPolicyBindingsRequest, ::Google::Iam::V3beta::SearchPrincipalAccessBoundaryPolicyBindingsResponse
50
+ end
51
+
52
+ Stub = Service.rpc_stub_class
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/iam/v3beta/principal_access_boundary_policy_resources.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/field_info_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+
12
+
13
+ descriptor_data = "\nBgoogle/iam/v3beta/principal_access_boundary_policy_resources.proto\x12\x11google.iam.v3beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb5\x05\n\x1dPrincipalAccessBoundaryPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x03uid\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12[\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x41.google.iam.v3beta.PrincipalAccessBoundaryPolicy.AnnotationsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x07\x64\x65tails\x18\x08 \x01(\x0b\x32\x37.google.iam.v3beta.PrincipalAccessBoundaryPolicyDetailsB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xec\x01\xea\x41\xe8\x01\n0iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12torganizations/{organization}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy}*\x1fprincipalAccessBoundaryPolicies2\x1dprincipalAccessBoundaryPolicy\"\x92\x01\n$PrincipalAccessBoundaryPolicyDetails\x12H\n\x05rules\x18\x01 \x03(\x0b\x32\x34.google.iam.v3beta.PrincipalAccessBoundaryPolicyRuleB\x03\xe0\x41\x02\x12 \n\x13\x65nforcement_version\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xd4\x01\n!PrincipalAccessBoundaryPolicyRule\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tresources\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12P\n\x06\x65\x66\x66\x65\x63t\x18\x03 \x01(\x0e\x32;.google.iam.v3beta.PrincipalAccessBoundaryPolicyRule.EffectB\x03\xe0\x41\x02\"+\n\x06\x45\x66\x66\x65\x63t\x12\x16\n\x12\x45\x46\x46\x45\x43T_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x42\xa9\x01\n\x15\x63om.google.iam.v3betaB+PrincipalAccessBoundaryPolicyResourcesProtoP\x01Z-cloud.google.com/go/iam/apiv3beta/iampb;iampb\xaa\x02\x17Google.Cloud.Iam.V3Beta\xca\x02\x17Google\\Cloud\\Iam\\V3betab\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
+ end
35
+ end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
38
+ end
39
+
40
+ module Google
41
+ module Iam
42
+ module V3beta
43
+ PrincipalAccessBoundaryPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v3beta.PrincipalAccessBoundaryPolicy").msgclass
44
+ PrincipalAccessBoundaryPolicyDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v3beta.PrincipalAccessBoundaryPolicyDetails").msgclass
45
+ PrincipalAccessBoundaryPolicyRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v3beta.PrincipalAccessBoundaryPolicyRule").msgclass
46
+ PrincipalAccessBoundaryPolicyRule::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v3beta.PrincipalAccessBoundaryPolicyRule.Effect").enummodule
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/iam/v3beta/policy_bindings/rest"
20
+ require "google/iam/v3beta/principal_access_boundary_policies/rest"
21
+ require "google/iam/v3beta/version"
22
+
23
+ module Google
24
+ module Iam
25
+ ##
26
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/iam/v3beta/rest"
31
+ # client = ::Google::Iam::V3beta::PolicyBindings::Rest::Client.new
32
+ #
33
+ module V3beta
34
+ end
35
+ end
36
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2025 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,10 +14,13 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Iam
17
22
  module V3beta
18
- VERSION = "0.a"
23
+ VERSION = "0.1.0"
19
24
  end
20
25
  end
21
26
  end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/iam/v3beta/policy_bindings"
20
+ require "google/iam/v3beta/principal_access_boundary_policies"
21
+ require "google/iam/v3beta/version"
22
+
23
+ module Google
24
+ module Iam
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
+ #
30
+ # require "google/iam/v3beta"
31
+ # client = ::Google::Iam::V3beta::PolicyBindings::Client.new
32
+ #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/iam/v3beta"
36
+ # client = ::Google::Iam::V3beta::PolicyBindings::Rest::Client.new
37
+ #
38
+ module V3beta
39
+ end
40
+ end
41
+ end
42
+
43
+ helper_path = ::File.join __dir__, "v3beta", "_helpers.rb"
44
+ require "google/iam/v3beta/_helpers" if ::File.file? helper_path
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/iam/v3beta"
@@ -0,0 +1,4 @@
1
+ # Identity and Access Management (IAM) V3BETA Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.