google-iam-v3 0.5.0 → 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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -5
  4. data/lib/google/iam/v3/access_policies/client.rb +1113 -0
  5. data/lib/google/iam/v3/access_policies/credentials.rb +45 -0
  6. data/lib/google/iam/v3/access_policies/operations.rb +841 -0
  7. data/lib/google/iam/v3/access_policies/paths.rb +140 -0
  8. data/lib/google/iam/v3/access_policies/rest/client.rb +1028 -0
  9. data/lib/google/iam/v3/access_policies/rest/operations.rb +939 -0
  10. data/lib/google/iam/v3/access_policies/rest/service_stub.rb +535 -0
  11. data/lib/google/iam/v3/access_policies/rest.rb +51 -0
  12. data/lib/google/iam/v3/access_policies.rb +54 -0
  13. data/lib/google/iam/v3/access_policies_service_pb.rb +36 -0
  14. data/lib/google/iam/v3/access_policies_service_services_pb.rb +54 -0
  15. data/lib/google/iam/v3/access_policy_resources_pb.rb +29 -0
  16. data/lib/google/iam/v3/operation_metadata_pb.rb +1 -1
  17. data/lib/google/iam/v3/policy_binding_resources_pb.rb +1 -1
  18. data/lib/google/iam/v3/policy_bindings/client.rb +20 -12
  19. data/lib/google/iam/v3/policy_bindings/credentials.rb +1 -1
  20. data/lib/google/iam/v3/policy_bindings/operations.rb +1 -1
  21. data/lib/google/iam/v3/policy_bindings/paths.rb +1 -1
  22. data/lib/google/iam/v3/policy_bindings/rest/client.rb +20 -12
  23. data/lib/google/iam/v3/policy_bindings/rest/operations.rb +3 -3
  24. data/lib/google/iam/v3/policy_bindings/rest/service_stub.rb +1 -1
  25. data/lib/google/iam/v3/policy_bindings/rest.rb +1 -1
  26. data/lib/google/iam/v3/policy_bindings.rb +1 -1
  27. data/lib/google/iam/v3/policy_bindings_service_pb.rb +1 -1
  28. data/lib/google/iam/v3/policy_bindings_service_services_pb.rb +4 -6
  29. data/lib/google/iam/v3/principal_access_boundary_policies/client.rb +1 -1
  30. data/lib/google/iam/v3/principal_access_boundary_policies/credentials.rb +1 -1
  31. data/lib/google/iam/v3/principal_access_boundary_policies/operations.rb +1 -1
  32. data/lib/google/iam/v3/principal_access_boundary_policies/paths.rb +1 -1
  33. data/lib/google/iam/v3/principal_access_boundary_policies/rest/client.rb +1 -1
  34. data/lib/google/iam/v3/principal_access_boundary_policies/rest/operations.rb +3 -3
  35. data/lib/google/iam/v3/principal_access_boundary_policies/rest/service_stub.rb +1 -1
  36. data/lib/google/iam/v3/principal_access_boundary_policies/rest.rb +1 -1
  37. data/lib/google/iam/v3/principal_access_boundary_policies.rb +1 -1
  38. data/lib/google/iam/v3/principal_access_boundary_policies_service_pb.rb +1 -1
  39. data/lib/google/iam/v3/principal_access_boundary_policies_service_services_pb.rb +1 -1
  40. data/lib/google/iam/v3/principal_access_boundary_policy_resources_pb.rb +1 -1
  41. data/lib/google/iam/v3/rest.rb +3 -2
  42. data/lib/google/iam/v3/version.rb +1 -1
  43. data/lib/google/iam/v3.rb +4 -3
  44. data/lib/google-iam-v3.rb +1 -1
  45. data/proto_docs/google/api/client.rb +1 -1
  46. data/proto_docs/google/api/field_behavior.rb +1 -1
  47. data/proto_docs/google/api/field_info.rb +1 -1
  48. data/proto_docs/google/api/launch_stage.rb +1 -1
  49. data/proto_docs/google/api/resource.rb +1 -1
  50. data/proto_docs/google/iam/v3/access_policies_service.rb +203 -0
  51. data/proto_docs/google/iam/v3/access_policy_resources.rb +223 -0
  52. data/proto_docs/google/iam/v3/operation_metadata.rb +1 -1
  53. data/proto_docs/google/iam/v3/policy_binding_resources.rb +51 -29
  54. data/proto_docs/google/iam/v3/policy_bindings_service.rb +17 -6
  55. data/proto_docs/google/iam/v3/principal_access_boundary_policies_service.rb +1 -1
  56. data/proto_docs/google/iam/v3/principal_access_boundary_policy_resources.rb +1 -1
  57. data/proto_docs/google/longrunning/operations.rb +1 -1
  58. data/proto_docs/google/protobuf/any.rb +1 -1
  59. data/proto_docs/google/protobuf/duration.rb +1 -1
  60. data/proto_docs/google/protobuf/empty.rb +1 -1
  61. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  62. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  63. data/proto_docs/google/rpc/status.rb +1 -1
  64. data/proto_docs/google/type/expr.rb +1 -1
  65. metadata +17 -3
@@ -16,7 +16,7 @@ require 'google/protobuf/empty_pb'
16
16
  require 'google/protobuf/field_mask_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n>google/iam/v3/principal_access_boundary_policies_service.proto\x12\rgoogle.iam.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/iam/v3/operation_metadata.proto\x1a,google/iam/v3/policy_binding_resources.proto\x1a>google/iam/v3/principal_access_boundary_policy_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa1\x02\n*CreatePrincipalAccessBoundaryPolicyRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12\x30\n#principal_access_boundary_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12[\n principal_access_boundary_policy\x18\x03 \x01(\x0b\x32,.google.iam.v3.PrincipalAccessBoundaryPolicyB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"q\n\'GetPrincipalAccessBoundaryPolicyRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0iam.googleapis.com/PrincipalAccessBoundaryPolicy\"\xdb\x01\n*UpdatePrincipalAccessBoundaryPolicyRequest\x12[\n principal_access_boundary_policy\x18\x01 \x01(\x0b\x32,.google.iam.v3.PrincipalAccessBoundaryPolicyB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xb7\x01\n*DeletePrincipalAccessBoundaryPolicyRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xa7\x01\n*ListPrincipalAccessBoundaryPoliciesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa5\x01\n+ListPrincipalAccessBoundaryPoliciesResponse\x12X\n\"principal_access_boundary_policies\x18\x01 \x03(\x0b\x32,.google.iam.v3.PrincipalAccessBoundaryPolicy\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xad\x01\n2SearchPrincipalAccessBoundaryPolicyBindingsRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x8a\x01\n3SearchPrincipalAccessBoundaryPolicyBindingsResponse\x12\x35\n\x0fpolicy_bindings\x18\x01 \x03(\x0b\x32\x1c.google.iam.v3.PolicyBinding\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\xec\x0e\n\x1fPrincipalAccessBoundaryPolicies\x12\xf7\x02\n#CreatePrincipalAccessBoundaryPolicy\x12\x39.google.iam.v3.CreatePrincipalAccessBoundaryPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x01\xca\x41\x32\n\x1dPrincipalAccessBoundaryPolicy\x12\x11OperationMetadata\xda\x41Kparent,principal_access_boundary_policy,principal_access_boundary_policy_id\x82\xd3\xe4\x93\x02l\"H/v3/{parent=organizations/*/locations/*}/principalAccessBoundaryPolicies: principal_access_boundary_policy\x12\xe1\x01\n GetPrincipalAccessBoundaryPolicy\x12\x36.google.iam.v3.GetPrincipalAccessBoundaryPolicyRequest\x1a,.google.iam.v3.PrincipalAccessBoundaryPolicy\"W\xda\x41\x04name\x82\xd3\xe4\x93\x02J\x12H/v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}\x12\xfa\x02\n#UpdatePrincipalAccessBoundaryPolicy\x12\x39.google.iam.v3.UpdatePrincipalAccessBoundaryPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xf8\x01\xca\x41\x32\n\x1dPrincipalAccessBoundaryPolicy\x12\x11OperationMetadata\xda\x41,principal_access_boundary_policy,update_mask\x82\xd3\xe4\x93\x02\x8d\x01\x32i/v3/{principal_access_boundary_policy.name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}: principal_access_boundary_policy\x12\x86\x02\n#DeletePrincipalAccessBoundaryPolicy\x12\x39.google.iam.v3.DeletePrincipalAccessBoundaryPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02J*H/v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}\x12\xf7\x01\n#ListPrincipalAccessBoundaryPolicies\x12\x39.google.iam.v3.ListPrincipalAccessBoundaryPoliciesRequest\x1a:.google.iam.v3.ListPrincipalAccessBoundaryPoliciesResponse\"Y\xda\x41\x06parent\x82\xd3\xe4\x93\x02J\x12H/v3/{parent=organizations/*/locations/*}/principalAccessBoundaryPolicies\x12\xa2\x02\n+SearchPrincipalAccessBoundaryPolicyBindings\x12\x41.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsRequest\x1a\x42.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsResponse\"l\xda\x41\x04name\x82\xd3\xe4\x93\x02_\x12]/v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}:searchPolicyBindings\x1a\x46\xca\x41\x12iam.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x99\x01\n\x11\x63om.google.iam.v3B+PrincipalAccessBoundaryPoliciesServiceProtoP\x01Z)cloud.google.com/go/iam/apiv3/iampb;iampb\xaa\x02\x13Google.Cloud.Iam.V3\xca\x02\x13Google\\Cloud\\Iam\\V3b\x06proto3"
19
+ descriptor_data = "\n>google/iam/v3/principal_access_boundary_policies_service.proto\x12\rgoogle.iam.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/iam/v3/operation_metadata.proto\x1a,google/iam/v3/policy_binding_resources.proto\x1a>google/iam/v3/principal_access_boundary_policy_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa5\x02\n*CreatePrincipalAccessBoundaryPolicyRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\x12\x30iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12\x31\n#principal_access_boundary_policy_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\\\n principal_access_boundary_policy\x18\x03 \x01(\x0b\x32,.google.iam.v3.PrincipalAccessBoundaryPolicyB\x04\xe2\x41\x01\x02\x12\x1b\n\rvalidate_only\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"r\n\'GetPrincipalAccessBoundaryPolicyRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0iam.googleapis.com/PrincipalAccessBoundaryPolicy\"\xde\x01\n*UpdatePrincipalAccessBoundaryPolicyRequest\x12\\\n principal_access_boundary_policy\x18\x01 \x01(\x0b\x32,.google.iam.v3.PrincipalAccessBoundaryPolicyB\x04\xe2\x41\x01\x02\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x35\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\"\xbb\x01\n*DeletePrincipalAccessBoundaryPolicyRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12\x12\n\x04\x65tag\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rvalidate_only\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x13\n\x05\x66orce\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xaa\x01\n*ListPrincipalAccessBoundaryPoliciesRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\x12\x30iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xa6\x01\n+ListPrincipalAccessBoundaryPoliciesResponse\x12X\n\"principal_access_boundary_policies\x18\x01 \x03(\x0b\x32,.google.iam.v3.PrincipalAccessBoundaryPolicy\x12\x1d\n\x0fnext_page_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xb0\x01\n2SearchPrincipalAccessBoundaryPolicyBindingsRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0iam.googleapis.com/PrincipalAccessBoundaryPolicy\x12\x17\n\tpage_size\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\x8b\x01\n3SearchPrincipalAccessBoundaryPolicyBindingsResponse\x12\x35\n\x0fpolicy_bindings\x18\x01 \x03(\x0b\x32\x1c.google.iam.v3.PolicyBinding\x12\x1d\n\x0fnext_page_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x32\xec\x0e\n\x1fPrincipalAccessBoundaryPolicies\x12\xf7\x02\n#CreatePrincipalAccessBoundaryPolicy\x12\x39.google.iam.v3.CreatePrincipalAccessBoundaryPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x01\xca\x41\x32\n\x1dPrincipalAccessBoundaryPolicy\x12\x11OperationMetadata\xda\x41Kparent,principal_access_boundary_policy,principal_access_boundary_policy_id\x82\xd3\xe4\x93\x02l\"H/v3/{parent=organizations/*/locations/*}/principalAccessBoundaryPolicies: principal_access_boundary_policy\x12\xe1\x01\n GetPrincipalAccessBoundaryPolicy\x12\x36.google.iam.v3.GetPrincipalAccessBoundaryPolicyRequest\x1a,.google.iam.v3.PrincipalAccessBoundaryPolicy\"W\xda\x41\x04name\x82\xd3\xe4\x93\x02J\x12H/v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}\x12\xfa\x02\n#UpdatePrincipalAccessBoundaryPolicy\x12\x39.google.iam.v3.UpdatePrincipalAccessBoundaryPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xf8\x01\xca\x41\x32\n\x1dPrincipalAccessBoundaryPolicy\x12\x11OperationMetadata\xda\x41,principal_access_boundary_policy,update_mask\x82\xd3\xe4\x93\x02\x8d\x01\x32i/v3/{principal_access_boundary_policy.name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}: principal_access_boundary_policy\x12\x86\x02\n#DeletePrincipalAccessBoundaryPolicy\x12\x39.google.iam.v3.DeletePrincipalAccessBoundaryPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02J*H/v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}\x12\xf7\x01\n#ListPrincipalAccessBoundaryPolicies\x12\x39.google.iam.v3.ListPrincipalAccessBoundaryPoliciesRequest\x1a:.google.iam.v3.ListPrincipalAccessBoundaryPoliciesResponse\"Y\xda\x41\x06parent\x82\xd3\xe4\x93\x02J\x12H/v3/{parent=organizations/*/locations/*}/principalAccessBoundaryPolicies\x12\xa2\x02\n+SearchPrincipalAccessBoundaryPolicyBindings\x12\x41.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsRequest\x1a\x42.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsResponse\"l\xda\x41\x04name\x82\xd3\xe4\x93\x02_\x12]/v3/{name=organizations/*/locations/*/principalAccessBoundaryPolicies/*}:searchPolicyBindings\x1a\x46\xca\x41\x12iam.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x99\x01\n\x11\x63om.google.iam.v3B+PrincipalAccessBoundaryPoliciesServiceProtoP\x01Z)cloud.google.com/go/iam/apiv3/iampb;iampb\xaa\x02\x13Google.Cloud.Iam.V3\xca\x02\x13Google\\Cloud\\Iam\\V3b\x06proto3"
20
20
 
21
21
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
22
22
  pool.add_serialized_file(descriptor_data)
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/iam/v3/principal_access_boundary_policies_service.proto for package 'google.iam.v3'
3
3
  # Original file comments:
4
- # Copyright 2025 Google LLC
4
+ # Copyright 2026 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -10,7 +10,7 @@ require 'google/api/resource_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n>google/iam/v3/principal_access_boundary_policy_resources.proto\x12\rgoogle.iam.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xad\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\x12W\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32=.google.iam.v3.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\x12I\n\x07\x64\x65tails\x18\x08 \x01(\x0b\x32\x33.google.iam.v3.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\"\x8e\x01\n$PrincipalAccessBoundaryPolicyDetails\x12\x44\n\x05rules\x18\x01 \x03(\x0b\x32\x30.google.iam.v3.PrincipalAccessBoundaryPolicyRuleB\x03\xe0\x41\x02\x12 \n\x13\x65nforcement_version\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xd0\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\x12L\n\x06\x65\x66\x66\x65\x63t\x18\x03 \x01(\x0e\x32\x37.google.iam.v3.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\x99\x01\n\x11\x63om.google.iam.v3B+PrincipalAccessBoundaryPolicyResourcesProtoP\x01Z)cloud.google.com/go/iam/apiv3/iampb;iampb\xaa\x02\x13Google.Cloud.Iam.V3\xca\x02\x13Google\\Cloud\\Iam\\V3b\x06proto3"
13
+ descriptor_data = "\n>google/iam/v3/principal_access_boundary_policy_resources.proto\x12\rgoogle.iam.v3\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\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x19\n\x03uid\x18\x02 \x01(\tB\x0c\xe2\x41\x01\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12X\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32=.google.iam.v3.PrincipalAccessBoundaryPolicy.AnnotationsEntryB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12J\n\x07\x64\x65tails\x18\x08 \x01(\x0b\x32\x33.google.iam.v3.PrincipalAccessBoundaryPolicyDetailsB\x04\xe2\x41\x01\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\"\x90\x01\n$PrincipalAccessBoundaryPolicyDetails\x12\x45\n\x05rules\x18\x01 \x03(\x0b\x32\x30.google.iam.v3.PrincipalAccessBoundaryPolicyRuleB\x04\xe2\x41\x01\x02\x12!\n\x13\x65nforcement_version\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\xd3\x01\n!PrincipalAccessBoundaryPolicyRule\x12\x19\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tresources\x18\x02 \x03(\tB\x04\xe2\x41\x01\x02\x12M\n\x06\x65\x66\x66\x65\x63t\x18\x03 \x01(\x0e\x32\x37.google.iam.v3.PrincipalAccessBoundaryPolicyRule.EffectB\x04\xe2\x41\x01\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\x99\x01\n\x11\x63om.google.iam.v3B+PrincipalAccessBoundaryPolicyResourcesProtoP\x01Z)cloud.google.com/go/iam/apiv3/iampb;iampb\xaa\x02\x13Google.Cloud.Iam.V3\xca\x02\x13Google\\Cloud\\Iam\\V3b\x06proto3"
14
14
 
15
15
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
16
  pool.add_serialized_file(descriptor_data)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
+ require "google/iam/v3/access_policies/rest"
19
20
  require "google/iam/v3/policy_bindings/rest"
20
21
  require "google/iam/v3/principal_access_boundary_policies/rest"
21
22
  require "google/iam/v3/version"
@@ -28,7 +29,7 @@ module Google
28
29
  # @example
29
30
  #
30
31
  # require "google/iam/v3/rest"
31
- # client = ::Google::Iam::V3::PolicyBindings::Rest::Client.new
32
+ # client = ::Google::Iam::V3::AccessPolicies::Rest::Client.new
32
33
  #
33
34
  module V3
34
35
  end
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V3
23
- VERSION = "0.5.0"
23
+ VERSION = "0.7.0"
24
24
  end
25
25
  end
26
26
  end
data/lib/google/iam/v3.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
+ require "google/iam/v3/access_policies"
19
20
  require "google/iam/v3/policy_bindings"
20
21
  require "google/iam/v3/principal_access_boundary_policies"
21
22
  require "google/iam/v3/version"
@@ -28,12 +29,12 @@ module Google
28
29
  # @example Load this package, including all its services, and instantiate a gRPC client
29
30
  #
30
31
  # require "google/iam/v3"
31
- # client = ::Google::Iam::V3::PolicyBindings::Client.new
32
+ # client = ::Google::Iam::V3::AccessPolicies::Client.new
32
33
  #
33
34
  # @example Load this package, including all its services, and instantiate a REST client
34
35
  #
35
36
  # require "google/iam/v3"
36
- # client = ::Google::Iam::V3::PolicyBindings::Rest::Client.new
37
+ # client = ::Google::Iam::V3::AccessPolicies::Rest::Client.new
37
38
  #
38
39
  module V3
39
40
  end
data/lib/google-iam-v3.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -0,0 +1,203 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 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
+
20
+ module Google
21
+ module Iam
22
+ module V3
23
+ # Request message for CreateAccessPolicy method.
24
+ # @!attribute [rw] parent
25
+ # @return [::String]
26
+ # Required. The parent resource where this access policy will be created.
27
+ #
28
+ # Format:
29
+ # `projects/{project_id}/locations/{location}`
30
+ # `projects/{project_number}/locations/{location}`
31
+ # `folders/{folder_id}/locations/{location}`
32
+ # `organizations/{organization_id}/locations/{location}`
33
+ # @!attribute [rw] access_policy_id
34
+ # @return [::String]
35
+ # Required. The ID to use for the access policy, which
36
+ # will become the final component of the access policy's
37
+ # resource name.
38
+ #
39
+ # This value must start with a lowercase letter followed by up to 62
40
+ # lowercase letters, numbers, hyphens, or dots. Pattern,
41
+ # /[a-z][a-z0-9-\.]\\{2,62}/.
42
+ #
43
+ # This value must be unique among all access policies with the same parent.
44
+ # @!attribute [rw] access_policy
45
+ # @return [::Google::Iam::V3::AccessPolicy]
46
+ # Required. The access policy to create.
47
+ # @!attribute [rw] validate_only
48
+ # @return [::Boolean]
49
+ # Optional. If set, validate the request and preview the creation, but do not
50
+ # actually post it.
51
+ class CreateAccessPolicyRequest
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+
56
+ # Request message for GetAccessPolicy method.
57
+ # @!attribute [rw] name
58
+ # @return [::String]
59
+ # Required. The name of the access policy to retrieve.
60
+ #
61
+ # Format:
62
+ # `projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}`
63
+ # `projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}`
64
+ # `folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}`
65
+ # `organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}`
66
+ class GetAccessPolicyRequest
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+
71
+ # Request message for UpdateAccessPolicy method.
72
+ # @!attribute [rw] access_policy
73
+ # @return [::Google::Iam::V3::AccessPolicy]
74
+ # Required. The access policy to update.
75
+ #
76
+ # The access policy's `name` field is used to identify the
77
+ # policy to update.
78
+ # @!attribute [rw] validate_only
79
+ # @return [::Boolean]
80
+ # Optional. If set, validate the request and preview the update, but do not
81
+ # actually post it.
82
+ class UpdateAccessPolicyRequest
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # Request message for DeleteAccessPolicy method.
88
+ # @!attribute [rw] name
89
+ # @return [::String]
90
+ # Required. The name of the access policy to delete.
91
+ #
92
+ # Format:
93
+ # `projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}`
94
+ # `projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}`
95
+ # `folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}`
96
+ # `organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}`
97
+ # @!attribute [rw] etag
98
+ # @return [::String]
99
+ # Optional. The etag of the access policy. If this is provided, it must match
100
+ # the server's etag.
101
+ # @!attribute [rw] validate_only
102
+ # @return [::Boolean]
103
+ # Optional. If set, validate the request and preview the deletion, but do not
104
+ # actually post it.
105
+ # @!attribute [rw] force
106
+ # @return [::Boolean]
107
+ # Optional. If set to true, the request will force the deletion of the Policy
108
+ # even if the Policy references PolicyBindings.
109
+ class DeleteAccessPolicyRequest
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
114
+ # Request message for ListAccessPolicies method.
115
+ # @!attribute [rw] parent
116
+ # @return [::String]
117
+ # Required. The parent resource, which owns the collection of access policy
118
+ # resources.
119
+ #
120
+ # Format:
121
+ # `projects/{project_id}/locations/{location}`
122
+ # `projects/{project_number}/locations/{location}`
123
+ # `folders/{folder_id}/locations/{location}`
124
+ # `organizations/{organization_id}/locations/{location}`
125
+ # @!attribute [rw] page_size
126
+ # @return [::Integer]
127
+ # Optional. The maximum number of access policies to return. The
128
+ # service may return fewer than this value.
129
+ #
130
+ # If unspecified, at most 50 access policies will be returned. Valid value
131
+ # ranges from 1 to 1000; values above 1000 will be coerced to 1000.
132
+ # @!attribute [rw] page_token
133
+ # @return [::String]
134
+ # Optional. A page token, received from a previous
135
+ # `ListAccessPolicies` call. Provide this to retrieve the
136
+ # subsequent page.
137
+ #
138
+ # When paginating, all other parameters provided to
139
+ # `ListAccessPolicies` must match the call that provided the
140
+ # page token.
141
+ class ListAccessPoliciesRequest
142
+ include ::Google::Protobuf::MessageExts
143
+ extend ::Google::Protobuf::MessageExts::ClassMethods
144
+ end
145
+
146
+ # Response message for ListAccessPolicies method.
147
+ # @!attribute [rw] access_policies
148
+ # @return [::Array<::Google::Iam::V3::AccessPolicy>]
149
+ # The access policies from the specified parent.
150
+ # @!attribute [rw] next_page_token
151
+ # @return [::String]
152
+ # Optional. A token, which can be sent as `page_token` to retrieve the next
153
+ # page. If this field is omitted, there are no subsequent pages.
154
+ class ListAccessPoliciesResponse
155
+ include ::Google::Protobuf::MessageExts
156
+ extend ::Google::Protobuf::MessageExts::ClassMethods
157
+ end
158
+
159
+ # Request message for SearchAccessPolicyBindings rpc.
160
+ # @!attribute [rw] name
161
+ # @return [::String]
162
+ # Required. The name of the access policy.
163
+ # Format:
164
+ # `organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}`
165
+ # `folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}`
166
+ # `projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}`
167
+ # `projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}`
168
+ # @!attribute [rw] page_size
169
+ # @return [::Integer]
170
+ # Optional. The maximum number of policy bindings to return. The service may
171
+ # return fewer than this value.
172
+ #
173
+ # If unspecified, at most 50 policy bindings will be returned.
174
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
175
+ # @!attribute [rw] page_token
176
+ # @return [::String]
177
+ # Optional. A page token, received from a previous
178
+ # `SearchAccessPolicyBindingsRequest` call. Provide this to
179
+ # retrieve the subsequent page.
180
+ #
181
+ # When paginating, all other parameters provided to
182
+ # `SearchAccessPolicyBindingsRequest` must match the call
183
+ # that provided the page token.
184
+ class SearchAccessPolicyBindingsRequest
185
+ include ::Google::Protobuf::MessageExts
186
+ extend ::Google::Protobuf::MessageExts::ClassMethods
187
+ end
188
+
189
+ # Response message for SearchAccessPolicyBindings rpc.
190
+ # @!attribute [rw] policy_bindings
191
+ # @return [::Array<::Google::Iam::V3::PolicyBinding>]
192
+ # The policy bindings that reference the specified policy.
193
+ # @!attribute [rw] next_page_token
194
+ # @return [::String]
195
+ # Optional. A token, which can be sent as `page_token` to retrieve the next
196
+ # page. If this field is omitted, there are no subsequent pages.
197
+ class SearchAccessPolicyBindingsResponse
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+ end
202
+ end
203
+ end
@@ -0,0 +1,223 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 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
+
20
+ module Google
21
+ module Iam
22
+ module V3
23
+ # An IAM access policy resource.
24
+ # @!attribute [rw] name
25
+ # @return [::String]
26
+ # Identifier. The resource name of the access policy.
27
+ #
28
+ # The following formats are supported:
29
+ #
30
+ # * `projects/{project_id}/locations/{location}/accessPolicies/{policy_id}`
31
+ # * `projects/{project_number}/locations/{location}/accessPolicies/{policy_id}`
32
+ # * `folders/{folder_id}/locations/{location}/accessPolicies/{policy_id}`
33
+ # * `organizations/{organization_id}/locations/{location}/accessPolicies/{policy_id}`
34
+ # @!attribute [r] uid
35
+ # @return [::String]
36
+ # Output only. The globally unique ID of the access policy.
37
+ # @!attribute [rw] etag
38
+ # @return [::String]
39
+ # Optional. The etag for the access policy.
40
+ # If this is provided on update, it must match the server's etag.
41
+ # @!attribute [rw] display_name
42
+ # @return [::String]
43
+ # Optional. The description of the access policy. Must be less than
44
+ # or equal to 63 characters.
45
+ # @!attribute [rw] annotations
46
+ # @return [::Google::Protobuf::Map{::String => ::String}]
47
+ # Optional. User defined annotations. See
48
+ # https://google.aip.dev/148#annotations for more details such as format and
49
+ # size limitations
50
+ # @!attribute [r] create_time
51
+ # @return [::Google::Protobuf::Timestamp]
52
+ # Output only. The time when the access policy was created.
53
+ # @!attribute [r] update_time
54
+ # @return [::Google::Protobuf::Timestamp]
55
+ # Output only. The time when the access policy was most recently
56
+ # updated.
57
+ # @!attribute [rw] details
58
+ # @return [::Google::Iam::V3::AccessPolicyDetails]
59
+ # Optional. The details for the access policy.
60
+ class AccessPolicy
61
+ include ::Google::Protobuf::MessageExts
62
+ extend ::Google::Protobuf::MessageExts::ClassMethods
63
+
64
+ # @!attribute [rw] key
65
+ # @return [::String]
66
+ # @!attribute [rw] value
67
+ # @return [::String]
68
+ class AnnotationsEntry
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+ end
73
+
74
+ # Access policy details.
75
+ # @!attribute [rw] rules
76
+ # @return [::Array<::Google::Iam::V3::AccessPolicyRule>]
77
+ # Required. A list of access policy rules.
78
+ class AccessPolicyDetails
79
+ include ::Google::Protobuf::MessageExts
80
+ extend ::Google::Protobuf::MessageExts::ClassMethods
81
+ end
82
+
83
+ # Access Policy Rule that determines the behavior of the policy.
84
+ # @!attribute [rw] description
85
+ # @return [::String]
86
+ # Optional. Customer specified description of the rule. Must be less than or
87
+ # equal to 256 characters.
88
+ # @!attribute [rw] effect
89
+ # @return [::Google::Iam::V3::AccessPolicyRule::Effect]
90
+ # Required. The effect of the rule.
91
+ # @!attribute [rw] principals
92
+ # @return [::Array<::String>]
93
+ # Required. The identities for which this rule's effect governs using one or
94
+ # more permissions on Google Cloud resources. This field can contain the
95
+ # following values:
96
+ #
97
+ # * `principal://goog/subject/{email_id}`: A specific Google Account.
98
+ # Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
99
+ # example, `principal://goog/subject/alice@example.com`.
100
+ #
101
+ # * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`:
102
+ # A Google Cloud service account. For example,
103
+ # `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`.
104
+ #
105
+ # * `principalSet://goog/group/{group_id}`: A Google group. For example,
106
+ # `principalSet://goog/group/admins@example.com`.
107
+ #
108
+ # * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the
109
+ # principals associated with the specified Google Workspace or Cloud
110
+ # Identity customer ID. For example,
111
+ # `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
112
+ #
113
+ #
114
+ # If an identifier that was previously set on a policy is soft deleted, then
115
+ # calls to read that policy will return the identifier with a deleted
116
+ # prefix. Users cannot set identifiers with this syntax.
117
+ #
118
+ # * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific
119
+ # Google Account that was deleted recently. For example,
120
+ # `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If
121
+ # the Google Account is recovered, this identifier reverts to the standard
122
+ # identifier for a Google Account.
123
+ #
124
+ # * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group
125
+ # that was deleted recently. For example,
126
+ # `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`.
127
+ # If the Google group is restored, this identifier reverts to the standard
128
+ # identifier for a Google group.
129
+ #
130
+ # * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`:
131
+ # A Google Cloud service account that was deleted recently. For example,
132
+ # `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`.
133
+ # If the service account is undeleted, this identifier reverts to the
134
+ # standard identifier for a service account.
135
+ # @!attribute [rw] excluded_principals
136
+ # @return [::Array<::String>]
137
+ # Optional. The identities that are excluded from the access policy rule,
138
+ # even if they are listed in the `principals`. For example, you could add a
139
+ # Google group to the `principals`, then exclude specific users who belong to
140
+ # that group.
141
+ # @!attribute [rw] operation
142
+ # @return [::Google::Iam::V3::AccessPolicyRule::Operation]
143
+ # Required. Attributes that are used to determine whether this rule applies
144
+ # to a request.
145
+ # @!attribute [rw] conditions
146
+ # @return [::Google::Protobuf::Map{::String => ::Google::Type::Expr}]
147
+ # Optional. The conditions that determine whether this rule applies to a
148
+ # request. Conditions are identified by their key, which is the FQDN of the
149
+ # service that they are relevant to. For example:
150
+ #
151
+ # ```
152
+ # "conditions": {
153
+ # "iam.googleapis.com": {
154
+ # "expression": <cel expression>
155
+ # }
156
+ # }
157
+ # ```
158
+ #
159
+ # Each rule is evaluated independently. If this rule does not apply
160
+ # to a request, other rules might still apply.
161
+ # Currently supported keys are as follows:
162
+ #
163
+ #
164
+ # * `eventarc.googleapis.com`: Can use `CEL` functions that evaluate
165
+ # resource fields.
166
+ #
167
+ # * `iam.googleapis.com`: Can use `CEL` functions that evaluate
168
+ # [resource
169
+ # tags](https://cloud.google.com/iam/help/conditions/resource-tags) and
170
+ # combine them using boolean and logical operators. Other functions and
171
+ # operators are not supported.
172
+ class AccessPolicyRule
173
+ include ::Google::Protobuf::MessageExts
174
+ extend ::Google::Protobuf::MessageExts::ClassMethods
175
+
176
+ # Attributes that are used to determine whether this rule applies to a
177
+ # request.
178
+ # @!attribute [rw] permissions
179
+ # @return [::Array<::String>]
180
+ # Optional. The permissions that are explicitly affected by this rule. Each
181
+ # permission uses the format `{service_fqdn}/{resource}.{verb}`, where
182
+ # `{service_fqdn}` is the fully qualified domain name for the service.
183
+ # Currently supported permissions are as follows:
184
+ #
185
+ # * `eventarc.googleapis.com/messageBuses.publish`.
186
+ # @!attribute [rw] excluded_permissions
187
+ # @return [::Array<::String>]
188
+ # Optional. Specifies the permissions that this rule excludes from the set
189
+ # of affected permissions given by `permissions`. If a permission appears
190
+ # in `permissions` _and_ in `excluded_permissions` then it will _not_ be
191
+ # subject to the policy effect.
192
+ #
193
+ # The excluded permissions can be specified using the same syntax as
194
+ # `permissions`.
195
+ class Operation
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
+ end
199
+
200
+ # @!attribute [rw] key
201
+ # @return [::String]
202
+ # @!attribute [rw] value
203
+ # @return [::Google::Type::Expr]
204
+ class ConditionsEntry
205
+ include ::Google::Protobuf::MessageExts
206
+ extend ::Google::Protobuf::MessageExts::ClassMethods
207
+ end
208
+
209
+ # An effect to describe the access relationship.
210
+ module Effect
211
+ # The effect is unspecified.
212
+ EFFECT_UNSPECIFIED = 0
213
+
214
+ # The policy will deny access if it evaluates to true.
215
+ DENY = 1
216
+
217
+ # The policy will grant access if it evaluates to true.
218
+ ALLOW = 2
219
+ end
220
+ end
221
+ end
222
+ end
223
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.