Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional metadata.v1.AuthzPolicy authz = 50000;
E_Authz = &file_metadata_v1_metadata_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_metadata_v1_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthzPolicy ¶
type AuthzPolicy struct { // allow_unauthenticated is a boolean that indicates whether the method can be // called without any authentication. AllowUnauthenticated bool `protobuf:"varint,1,opt,name=allow_unauthenticated,json=allowUnauthenticated,proto3" json:"allow_unauthenticated,omitempty"` // contains filtered or unexported fields }
AuthzPolicy is a message that can be attached to a method in a proto file.
func (*AuthzPolicy) Descriptor
deprecated
func (*AuthzPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AuthzPolicy.ProtoReflect.Descriptor instead.
func (*AuthzPolicy) GetAllowUnauthenticated ¶
func (x *AuthzPolicy) GetAllowUnauthenticated() bool
func (*AuthzPolicy) ProtoMessage ¶
func (*AuthzPolicy) ProtoMessage()
func (*AuthzPolicy) ProtoReflect ¶
func (x *AuthzPolicy) ProtoReflect() protoreflect.Message
func (*AuthzPolicy) Reset ¶
func (x *AuthzPolicy) Reset()
func (*AuthzPolicy) String ¶
func (x *AuthzPolicy) String() string
Click to show internal directories.
Click to hide internal directories.