lib/google/iam/v1/policy_pb.rb in grpc-google-iam-v1-0.6.9 vs lib/google/iam/v1/policy_pb.rb in grpc-google-iam-v1-0.6.10
- old
+ new
@@ -1,25 +1,61 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/iam/v1/policy.proto
require 'google/protobuf'
+require 'google/type/expr_pb'
+require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
- add_message "google.iam.v1.Policy" do
- optional :version, :int32, 1
- repeated :bindings, :message, 4, "google.iam.v1.Binding"
- optional :etag, :bytes, 3
+ add_file("google/iam/v1/policy.proto", :syntax => :proto3) do
+ add_message "google.iam.v1.Policy" do
+ optional :version, :int32, 1
+ repeated :bindings, :message, 4, "google.iam.v1.Binding"
+ optional :etag, :bytes, 3
+ end
+ add_message "google.iam.v1.Binding" do
+ optional :role, :string, 1
+ repeated :members, :string, 2
+ optional :condition, :message, 3, "google.type.Expr"
+ end
+ add_message "google.iam.v1.PolicyDelta" do
+ repeated :binding_deltas, :message, 1, "google.iam.v1.BindingDelta"
+ repeated :audit_config_deltas, :message, 2, "google.iam.v1.AuditConfigDelta"
+ end
+ add_message "google.iam.v1.BindingDelta" do
+ optional :action, :enum, 1, "google.iam.v1.BindingDelta.Action"
+ optional :role, :string, 2
+ optional :member, :string, 3
+ optional :condition, :message, 4, "google.type.Expr"
+ end
+ add_enum "google.iam.v1.BindingDelta.Action" do
+ value :ACTION_UNSPECIFIED, 0
+ value :ADD, 1
+ value :REMOVE, 2
+ end
+ add_message "google.iam.v1.AuditConfigDelta" do
+ optional :action, :enum, 1, "google.iam.v1.AuditConfigDelta.Action"
+ optional :service, :string, 2
+ optional :exempted_member, :string, 3
+ optional :log_type, :string, 4
+ end
+ add_enum "google.iam.v1.AuditConfigDelta.Action" do
+ value :ACTION_UNSPECIFIED, 0
+ value :ADD, 1
+ value :REMOVE, 2
+ end
end
- add_message "google.iam.v1.Binding" do
- optional :role, :string, 1
- repeated :members, :string, 2
- end
end
module Google
module Iam
module V1
- Policy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Policy").msgclass
- Binding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Binding").msgclass
+ Policy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Policy").msgclass
+ Binding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Binding").msgclass
+ PolicyDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.PolicyDelta").msgclass
+ BindingDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.BindingDelta").msgclass
+ BindingDelta::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.BindingDelta.Action").enummodule
+ AuditConfigDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.AuditConfigDelta").msgclass
+ AuditConfigDelta::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.AuditConfigDelta.Action").enummodule
end
end
end