metadatav1

package
v1.34.2-20240618203434... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: ISC Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL