Documentation ¶
Index ¶
- type AuthorizationServiceClient
- type AuthorizationServiceDescriptor
- func (d *AuthorizationServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
- func (d *AuthorizationServiceDescriptor) GetApiName() string
- func (d *AuthorizationServiceDescriptor) GetFullAPIName() string
- func (d *AuthorizationServiceDescriptor) GetProtoPkgName() string
- func (d *AuthorizationServiceDescriptor) GetServiceDomain() string
- func (d *AuthorizationServiceDescriptor) GetServiceVersion() string
- type Check
- func (*Check) Descriptor() ([]byte, []int)
- func (m *Check) GetObject() string
- func (m *Check) GetPermissions() []*permission.Name
- func (*Check) GotenMessage()
- func (obj *Check) GotenValidate() error
- func (m *Check) Marshal() ([]byte, error)
- func (m *Check) MarshalJSON() ([]byte, error)
- func (*Check) ProtoMessage()
- func (m *Check) ProtoReflect() preflect.Message
- func (m *Check) Reset()
- func (m *Check) SetObject(fv string)
- func (m *Check) SetPermissions(fv []*permission.Name)
- func (m *Check) String() string
- func (m *Check) Unmarshal(b []byte) error
- func (m *Check) UnmarshalJSON(data []byte) error
- type CheckMyPermissionsDescriptor
- func (d *CheckMyPermissionsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *CheckMyPermissionsDescriptor) GetApiName() string
- func (d *CheckMyPermissionsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CheckMyPermissionsDescriptor) GetFullMethodName() string
- func (d *CheckMyPermissionsDescriptor) GetMethodName() string
- func (d *CheckMyPermissionsDescriptor) GetProtoPkgName() string
- func (d *CheckMyPermissionsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *CheckMyPermissionsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CheckMyPermissionsDescriptor) GetServiceDomain() string
- func (d *CheckMyPermissionsDescriptor) GetServiceVersion() string
- func (d *CheckMyPermissionsDescriptor) GetVerb() string
- func (d *CheckMyPermissionsDescriptor) HasResource() bool
- func (d *CheckMyPermissionsDescriptor) IsClientStream() bool
- func (d *CheckMyPermissionsDescriptor) IsCollection() bool
- func (d *CheckMyPermissionsDescriptor) IsPlural() bool
- func (d *CheckMyPermissionsDescriptor) IsServerStream() bool
- func (d *CheckMyPermissionsDescriptor) IsUnary() bool
- func (d *CheckMyPermissionsDescriptor) NewEmptyClientMsg() proto.Message
- func (d *CheckMyPermissionsDescriptor) NewEmptyServerMsg() proto.Message
- func (d *CheckMyPermissionsDescriptor) RequestHasResourceBody() bool
- type CheckMyPermissionsDescriptorClientMsgHandle
- func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CheckMyPermissionsDescriptorServerMsgHandle
- func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CheckMyPermissionsRequest
- func (*CheckMyPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *CheckMyPermissionsRequest) GetChecks() []*Check
- func (m *CheckMyPermissionsRequest) GetSkipCache() bool
- func (*CheckMyPermissionsRequest) GotenMessage()
- func (obj *CheckMyPermissionsRequest) GotenValidate() error
- func (m *CheckMyPermissionsRequest) Marshal() ([]byte, error)
- func (m *CheckMyPermissionsRequest) MarshalJSON() ([]byte, error)
- func (*CheckMyPermissionsRequest) ProtoMessage()
- func (m *CheckMyPermissionsRequest) ProtoReflect() preflect.Message
- func (m *CheckMyPermissionsRequest) Reset()
- func (m *CheckMyPermissionsRequest) SetChecks(fv []*Check)
- func (m *CheckMyPermissionsRequest) SetSkipCache(fv bool)
- func (m *CheckMyPermissionsRequest) String() string
- func (m *CheckMyPermissionsRequest) Unmarshal(b []byte) error
- func (m *CheckMyPermissionsRequest) UnmarshalJSON(data []byte) error
- type CheckMyPermissionsResponse
- func (*CheckMyPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *CheckMyPermissionsResponse) GetCheckResults() []*CheckResult
- func (*CheckMyPermissionsResponse) GotenMessage()
- func (obj *CheckMyPermissionsResponse) GotenValidate() error
- func (m *CheckMyPermissionsResponse) Marshal() ([]byte, error)
- func (m *CheckMyPermissionsResponse) MarshalJSON() ([]byte, error)
- func (*CheckMyPermissionsResponse) ProtoMessage()
- func (m *CheckMyPermissionsResponse) ProtoReflect() preflect.Message
- func (m *CheckMyPermissionsResponse) Reset()
- func (m *CheckMyPermissionsResponse) SetCheckResults(fv []*CheckResult)
- func (m *CheckMyPermissionsResponse) String() string
- func (m *CheckMyPermissionsResponse) Unmarshal(b []byte) error
- func (m *CheckMyPermissionsResponse) UnmarshalJSON(data []byte) error
- type CheckMyRolesDescriptor
- func (d *CheckMyRolesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *CheckMyRolesDescriptor) GetApiName() string
- func (d *CheckMyRolesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CheckMyRolesDescriptor) GetFullMethodName() string
- func (d *CheckMyRolesDescriptor) GetMethodName() string
- func (d *CheckMyRolesDescriptor) GetProtoPkgName() string
- func (d *CheckMyRolesDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *CheckMyRolesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CheckMyRolesDescriptor) GetServiceDomain() string
- func (d *CheckMyRolesDescriptor) GetServiceVersion() string
- func (d *CheckMyRolesDescriptor) GetVerb() string
- func (d *CheckMyRolesDescriptor) HasResource() bool
- func (d *CheckMyRolesDescriptor) IsClientStream() bool
- func (d *CheckMyRolesDescriptor) IsCollection() bool
- func (d *CheckMyRolesDescriptor) IsPlural() bool
- func (d *CheckMyRolesDescriptor) IsServerStream() bool
- func (d *CheckMyRolesDescriptor) IsUnary() bool
- func (d *CheckMyRolesDescriptor) NewEmptyClientMsg() proto.Message
- func (d *CheckMyRolesDescriptor) NewEmptyServerMsg() proto.Message
- func (d *CheckMyRolesDescriptor) RequestHasResourceBody() bool
- type CheckMyRolesDescriptorClientMsgHandle
- func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CheckMyRolesDescriptorServerMsgHandle
- func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CheckMyRolesRequest
- func (*CheckMyRolesRequest) Descriptor() ([]byte, []int)
- func (m *CheckMyRolesRequest) GetObject() string
- func (*CheckMyRolesRequest) GotenMessage()
- func (obj *CheckMyRolesRequest) GotenValidate() error
- func (m *CheckMyRolesRequest) Marshal() ([]byte, error)
- func (m *CheckMyRolesRequest) MarshalJSON() ([]byte, error)
- func (*CheckMyRolesRequest) ProtoMessage()
- func (m *CheckMyRolesRequest) ProtoReflect() preflect.Message
- func (m *CheckMyRolesRequest) Reset()
- func (m *CheckMyRolesRequest) SetObject(fv string)
- func (m *CheckMyRolesRequest) String() string
- func (m *CheckMyRolesRequest) Unmarshal(b []byte) error
- func (m *CheckMyRolesRequest) UnmarshalJSON(data []byte) error
- type CheckMyRolesResponse
- func (*CheckMyRolesResponse) Descriptor() ([]byte, []int)
- func (m *CheckMyRolesResponse) GetConditionallyGrantedRoles() []*CheckMyRolesResponse_ConditionalGrant
- func (m *CheckMyRolesResponse) GetGrantedRoles() []*role.Name
- func (m *CheckMyRolesResponse) GetObject() string
- func (*CheckMyRolesResponse) GotenMessage()
- func (obj *CheckMyRolesResponse) GotenValidate() error
- func (m *CheckMyRolesResponse) Marshal() ([]byte, error)
- func (m *CheckMyRolesResponse) MarshalJSON() ([]byte, error)
- func (*CheckMyRolesResponse) ProtoMessage()
- func (m *CheckMyRolesResponse) ProtoReflect() preflect.Message
- func (m *CheckMyRolesResponse) Reset()
- func (m *CheckMyRolesResponse) SetConditionallyGrantedRoles(fv []*CheckMyRolesResponse_ConditionalGrant)
- func (m *CheckMyRolesResponse) SetGrantedRoles(fv []*role.Name)
- func (m *CheckMyRolesResponse) SetObject(fv string)
- func (m *CheckMyRolesResponse) String() string
- func (m *CheckMyRolesResponse) Unmarshal(b []byte) error
- func (m *CheckMyRolesResponse) UnmarshalJSON(data []byte) error
- type CheckMyRolesResponse_ConditionalGrant
- func (*CheckMyRolesResponse_ConditionalGrant) Descriptor() ([]byte, []int)
- func (m *CheckMyRolesResponse_ConditionalGrant) GetConditionBindings() []*condition.ConditionBinding
- func (m *CheckMyRolesResponse_ConditionalGrant) GetRole() *role.Name
- func (*CheckMyRolesResponse_ConditionalGrant) GotenMessage()
- func (obj *CheckMyRolesResponse_ConditionalGrant) GotenValidate() error
- func (m *CheckMyRolesResponse_ConditionalGrant) Marshal() ([]byte, error)
- func (m *CheckMyRolesResponse_ConditionalGrant) MarshalJSON() ([]byte, error)
- func (*CheckMyRolesResponse_ConditionalGrant) ProtoMessage()
- func (m *CheckMyRolesResponse_ConditionalGrant) ProtoReflect() preflect.Message
- func (m *CheckMyRolesResponse_ConditionalGrant) Reset()
- func (m *CheckMyRolesResponse_ConditionalGrant) SetConditionBindings(fv []*condition.ConditionBinding)
- func (m *CheckMyRolesResponse_ConditionalGrant) SetRole(fv *role.Name)
- func (m *CheckMyRolesResponse_ConditionalGrant) String() string
- func (m *CheckMyRolesResponse_ConditionalGrant) Unmarshal(b []byte) error
- func (m *CheckMyRolesResponse_ConditionalGrant) UnmarshalJSON(data []byte) error
- type CheckPermissionsDescriptor
- func (d *CheckPermissionsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *CheckPermissionsDescriptor) GetApiName() string
- func (d *CheckPermissionsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CheckPermissionsDescriptor) GetFullMethodName() string
- func (d *CheckPermissionsDescriptor) GetMethodName() string
- func (d *CheckPermissionsDescriptor) GetProtoPkgName() string
- func (d *CheckPermissionsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *CheckPermissionsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CheckPermissionsDescriptor) GetServiceDomain() string
- func (d *CheckPermissionsDescriptor) GetServiceVersion() string
- func (d *CheckPermissionsDescriptor) GetVerb() string
- func (d *CheckPermissionsDescriptor) HasResource() bool
- func (d *CheckPermissionsDescriptor) IsClientStream() bool
- func (d *CheckPermissionsDescriptor) IsCollection() bool
- func (d *CheckPermissionsDescriptor) IsPlural() bool
- func (d *CheckPermissionsDescriptor) IsServerStream() bool
- func (d *CheckPermissionsDescriptor) IsUnary() bool
- func (d *CheckPermissionsDescriptor) NewEmptyClientMsg() proto.Message
- func (d *CheckPermissionsDescriptor) NewEmptyServerMsg() proto.Message
- func (d *CheckPermissionsDescriptor) RequestHasResourceBody() bool
- type CheckPermissionsDescriptorClientMsgHandle
- func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CheckPermissionsDescriptorServerMsgHandle
- func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CheckPermissionsRequest
- func (*CheckPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *CheckPermissionsRequest) GetChecks() []*Check
- func (m *CheckPermissionsRequest) GetMember() string
- func (m *CheckPermissionsRequest) GetSkipCache() bool
- func (*CheckPermissionsRequest) GotenMessage()
- func (obj *CheckPermissionsRequest) GotenValidate() error
- func (m *CheckPermissionsRequest) Marshal() ([]byte, error)
- func (m *CheckPermissionsRequest) MarshalJSON() ([]byte, error)
- func (*CheckPermissionsRequest) ProtoMessage()
- func (m *CheckPermissionsRequest) ProtoReflect() preflect.Message
- func (m *CheckPermissionsRequest) Reset()
- func (m *CheckPermissionsRequest) SetChecks(fv []*Check)
- func (m *CheckPermissionsRequest) SetMember(fv string)
- func (m *CheckPermissionsRequest) SetSkipCache(fv bool)
- func (m *CheckPermissionsRequest) String() string
- func (m *CheckPermissionsRequest) Unmarshal(b []byte) error
- func (m *CheckPermissionsRequest) UnmarshalJSON(data []byte) error
- type CheckPermissionsResponse
- func (*CheckPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *CheckPermissionsResponse) GetCheckResults() []*CheckResult
- func (*CheckPermissionsResponse) GotenMessage()
- func (obj *CheckPermissionsResponse) GotenValidate() error
- func (m *CheckPermissionsResponse) Marshal() ([]byte, error)
- func (m *CheckPermissionsResponse) MarshalJSON() ([]byte, error)
- func (*CheckPermissionsResponse) ProtoMessage()
- func (m *CheckPermissionsResponse) ProtoReflect() preflect.Message
- func (m *CheckPermissionsResponse) Reset()
- func (m *CheckPermissionsResponse) SetCheckResults(fv []*CheckResult)
- func (m *CheckPermissionsResponse) String() string
- func (m *CheckPermissionsResponse) Unmarshal(b []byte) error
- func (m *CheckPermissionsResponse) UnmarshalJSON(data []byte) error
- type CheckResult
- func (*CheckResult) Descriptor() ([]byte, []int)
- func (m *CheckResult) GetConditionallyGrantedPermissions() []*ConditionalGrant
- func (m *CheckResult) GetGrantedPermissions() []*permission.Name
- func (m *CheckResult) GetObject() string
- func (*CheckResult) GotenMessage()
- func (obj *CheckResult) GotenValidate() error
- func (m *CheckResult) Marshal() ([]byte, error)
- func (m *CheckResult) MarshalJSON() ([]byte, error)
- func (*CheckResult) ProtoMessage()
- func (m *CheckResult) ProtoReflect() preflect.Message
- func (m *CheckResult) Reset()
- func (m *CheckResult) SetConditionallyGrantedPermissions(fv []*ConditionalGrant)
- func (m *CheckResult) SetGrantedPermissions(fv []*permission.Name)
- func (m *CheckResult) SetObject(fv string)
- func (m *CheckResult) String() string
- func (m *CheckResult) Unmarshal(b []byte) error
- func (m *CheckResult) UnmarshalJSON(data []byte) error
- type ConditionalGrant
- func (*ConditionalGrant) Descriptor() ([]byte, []int)
- func (m *ConditionalGrant) GetConditionBindings() []*condition.ConditionBinding
- func (m *ConditionalGrant) GetPermissions() []*permission.Name
- func (*ConditionalGrant) GotenMessage()
- func (obj *ConditionalGrant) GotenValidate() error
- func (m *ConditionalGrant) Marshal() ([]byte, error)
- func (m *ConditionalGrant) MarshalJSON() ([]byte, error)
- func (*ConditionalGrant) ProtoMessage()
- func (m *ConditionalGrant) ProtoReflect() preflect.Message
- func (m *ConditionalGrant) Reset()
- func (m *ConditionalGrant) SetConditionBindings(fv []*condition.ConditionBinding)
- func (m *ConditionalGrant) SetPermissions(fv []*permission.Name)
- func (m *ConditionalGrant) String() string
- func (m *ConditionalGrant) Unmarshal(b []byte) error
- func (m *ConditionalGrant) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationServiceClient ¶
type AuthorizationServiceClient interface { CheckPermissions(ctx context.Context, in *CheckPermissionsRequest, opts ...grpc.CallOption) (*CheckPermissionsResponse, error) CheckMyPermissions(ctx context.Context, in *CheckMyPermissionsRequest, opts ...grpc.CallOption) (*CheckMyPermissionsResponse, error) CheckMyRoles(ctx context.Context, in *CheckMyRolesRequest, opts ...grpc.CallOption) (*CheckMyRolesResponse, error) }
AuthorizationServiceClient is the client API for AuthorizationService.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthorizationServiceClient ¶
func NewAuthorizationServiceClient(cc grpc.ClientConnInterface) AuthorizationServiceClient
type AuthorizationServiceDescriptor ¶ added in v0.4.28
type AuthorizationServiceDescriptor struct{}
func GetAuthorizationServiceDescriptor ¶ added in v0.4.28
func GetAuthorizationServiceDescriptor() *AuthorizationServiceDescriptor
func (*AuthorizationServiceDescriptor) AllMethodDescriptors ¶ added in v0.4.28
func (d *AuthorizationServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
func (*AuthorizationServiceDescriptor) GetApiName ¶ added in v0.4.28
func (d *AuthorizationServiceDescriptor) GetApiName() string
func (*AuthorizationServiceDescriptor) GetFullAPIName ¶ added in v0.4.28
func (d *AuthorizationServiceDescriptor) GetFullAPIName() string
func (*AuthorizationServiceDescriptor) GetProtoPkgName ¶ added in v0.4.28
func (d *AuthorizationServiceDescriptor) GetProtoPkgName() string
func (*AuthorizationServiceDescriptor) GetServiceDomain ¶ added in v0.4.28
func (d *AuthorizationServiceDescriptor) GetServiceDomain() string
func (*AuthorizationServiceDescriptor) GetServiceVersion ¶ added in v0.4.28
func (d *AuthorizationServiceDescriptor) GetServiceVersion() string
type Check ¶
type Check struct { // Object resource name, e.g. projects/<project_id>/devices/<device_id> Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty" firestore:"object"` // Array of permissions to be verified Permissions []*permission.Name `protobuf:"bytes,2,rep,customtype=Name,name=permissions,proto3" json:"permissions,omitempty" firestore:"permissions"` // contains filtered or unexported fields }
Check contains
func (*Check) Descriptor ¶
Deprecated, Use Check.ProtoReflect.Descriptor instead.
func (*Check) GetPermissions ¶
func (m *Check) GetPermissions() []*permission.Name
func (*Check) GotenMessage ¶
func (*Check) GotenMessage()
func (*Check) GotenValidate ¶
func (*Check) MarshalJSON ¶
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) ProtoReflect ¶
func (*Check) SetPermissions ¶
func (m *Check) SetPermissions(fv []*permission.Name)
func (*Check) UnmarshalJSON ¶
type CheckMyPermissionsDescriptor ¶ added in v0.4.28
type CheckMyPermissionsDescriptor struct{}
func GetCheckMyPermissionsDescriptor ¶ added in v0.4.28
func GetCheckMyPermissionsDescriptor() *CheckMyPermissionsDescriptor
func (*CheckMyPermissionsDescriptor) GetApiDescriptor ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*CheckMyPermissionsDescriptor) GetApiName ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetApiName() string
func (*CheckMyPermissionsDescriptor) GetClientMsgReflectHandle ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*CheckMyPermissionsDescriptor) GetFullMethodName ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetFullMethodName() string
func (*CheckMyPermissionsDescriptor) GetMethodName ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetMethodName() string
func (*CheckMyPermissionsDescriptor) GetProtoPkgName ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetProtoPkgName() string
func (*CheckMyPermissionsDescriptor) GetResourceDescriptor ¶ added in v0.4.30
func (d *CheckMyPermissionsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*CheckMyPermissionsDescriptor) GetServerMsgReflectHandle ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*CheckMyPermissionsDescriptor) GetServiceDomain ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetServiceDomain() string
func (*CheckMyPermissionsDescriptor) GetServiceVersion ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetServiceVersion() string
func (*CheckMyPermissionsDescriptor) GetVerb ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) GetVerb() string
func (*CheckMyPermissionsDescriptor) HasResource ¶ added in v0.4.30
func (d *CheckMyPermissionsDescriptor) HasResource() bool
func (*CheckMyPermissionsDescriptor) IsClientStream ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) IsClientStream() bool
func (*CheckMyPermissionsDescriptor) IsCollection ¶ added in v0.4.30
func (d *CheckMyPermissionsDescriptor) IsCollection() bool
func (*CheckMyPermissionsDescriptor) IsPlural ¶ added in v0.4.30
func (d *CheckMyPermissionsDescriptor) IsPlural() bool
func (*CheckMyPermissionsDescriptor) IsServerStream ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) IsServerStream() bool
func (*CheckMyPermissionsDescriptor) IsUnary ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) IsUnary() bool
func (*CheckMyPermissionsDescriptor) NewEmptyClientMsg ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) NewEmptyClientMsg() proto.Message
func (*CheckMyPermissionsDescriptor) NewEmptyServerMsg ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) NewEmptyServerMsg() proto.Message
func (*CheckMyPermissionsDescriptor) RequestHasResourceBody ¶ added in v0.4.28
func (d *CheckMyPermissionsDescriptor) RequestHasResourceBody() bool
type CheckMyPermissionsDescriptorClientMsgHandle ¶ added in v0.4.28
type CheckMyPermissionsDescriptorClientMsgHandle struct{}
func (*CheckMyPermissionsDescriptorClientMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *CheckMyPermissionsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CheckMyPermissionsDescriptorServerMsgHandle ¶ added in v0.4.28
type CheckMyPermissionsDescriptorServerMsgHandle struct{}
func (*CheckMyPermissionsDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *CheckMyPermissionsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CheckMyPermissionsRequest ¶
type CheckMyPermissionsRequest struct { // Checks Checks []*Check `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty" firestore:"checks"` // If true, server will skip checking permissions in cache SkipCache bool `protobuf:"varint,3,opt,name=skip_cache,json=skipCache,proto3" json:"skip_cache,omitempty" firestore:"skipCache"` // contains filtered or unexported fields }
Request message for method [CheckMyPermissions][ntt.iam.v1alpha2.CheckMyPermissions]
func (*CheckMyPermissionsRequest) Descriptor ¶
func (*CheckMyPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated, Use CheckMyPermissionsRequest.ProtoReflect.Descriptor instead.
func (*CheckMyPermissionsRequest) GetChecks ¶
func (m *CheckMyPermissionsRequest) GetChecks() []*Check
func (*CheckMyPermissionsRequest) GetSkipCache ¶
func (m *CheckMyPermissionsRequest) GetSkipCache() bool
func (*CheckMyPermissionsRequest) GotenMessage ¶
func (*CheckMyPermissionsRequest) GotenMessage()
func (*CheckMyPermissionsRequest) GotenValidate ¶
func (obj *CheckMyPermissionsRequest) GotenValidate() error
func (*CheckMyPermissionsRequest) Marshal ¶
func (m *CheckMyPermissionsRequest) Marshal() ([]byte, error)
func (*CheckMyPermissionsRequest) MarshalJSON ¶
func (m *CheckMyPermissionsRequest) MarshalJSON() ([]byte, error)
func (*CheckMyPermissionsRequest) ProtoMessage ¶
func (*CheckMyPermissionsRequest) ProtoMessage()
func (*CheckMyPermissionsRequest) ProtoReflect ¶
func (m *CheckMyPermissionsRequest) ProtoReflect() preflect.Message
func (*CheckMyPermissionsRequest) Reset ¶
func (m *CheckMyPermissionsRequest) Reset()
func (*CheckMyPermissionsRequest) SetChecks ¶
func (m *CheckMyPermissionsRequest) SetChecks(fv []*Check)
func (*CheckMyPermissionsRequest) SetSkipCache ¶
func (m *CheckMyPermissionsRequest) SetSkipCache(fv bool)
func (*CheckMyPermissionsRequest) String ¶
func (m *CheckMyPermissionsRequest) String() string
func (*CheckMyPermissionsRequest) Unmarshal ¶
func (m *CheckMyPermissionsRequest) Unmarshal(b []byte) error
func (*CheckMyPermissionsRequest) UnmarshalJSON ¶
func (m *CheckMyPermissionsRequest) UnmarshalJSON(data []byte) error
type CheckMyPermissionsResponse ¶
type CheckMyPermissionsResponse struct { CheckResults []*CheckResult `protobuf:"bytes,1,rep,name=check_results,json=checkResults,proto3" json:"check_results,omitempty" firestore:"checkResults"` // contains filtered or unexported fields }
Response message for method [CheckMyPermissions][ntt.iam.v1alpha2.CheckMyPermissions]
func (*CheckMyPermissionsResponse) Descriptor ¶
func (*CheckMyPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated, Use CheckMyPermissionsResponse.ProtoReflect.Descriptor instead.
func (*CheckMyPermissionsResponse) GetCheckResults ¶
func (m *CheckMyPermissionsResponse) GetCheckResults() []*CheckResult
func (*CheckMyPermissionsResponse) GotenMessage ¶
func (*CheckMyPermissionsResponse) GotenMessage()
func (*CheckMyPermissionsResponse) GotenValidate ¶
func (obj *CheckMyPermissionsResponse) GotenValidate() error
func (*CheckMyPermissionsResponse) Marshal ¶
func (m *CheckMyPermissionsResponse) Marshal() ([]byte, error)
func (*CheckMyPermissionsResponse) MarshalJSON ¶
func (m *CheckMyPermissionsResponse) MarshalJSON() ([]byte, error)
func (*CheckMyPermissionsResponse) ProtoMessage ¶
func (*CheckMyPermissionsResponse) ProtoMessage()
func (*CheckMyPermissionsResponse) ProtoReflect ¶
func (m *CheckMyPermissionsResponse) ProtoReflect() preflect.Message
func (*CheckMyPermissionsResponse) Reset ¶
func (m *CheckMyPermissionsResponse) Reset()
func (*CheckMyPermissionsResponse) SetCheckResults ¶
func (m *CheckMyPermissionsResponse) SetCheckResults(fv []*CheckResult)
func (*CheckMyPermissionsResponse) String ¶
func (m *CheckMyPermissionsResponse) String() string
func (*CheckMyPermissionsResponse) Unmarshal ¶
func (m *CheckMyPermissionsResponse) Unmarshal(b []byte) error
func (*CheckMyPermissionsResponse) UnmarshalJSON ¶
func (m *CheckMyPermissionsResponse) UnmarshalJSON(data []byte) error
type CheckMyRolesDescriptor ¶ added in v0.9.12
type CheckMyRolesDescriptor struct{}
func GetCheckMyRolesDescriptor ¶ added in v0.9.12
func GetCheckMyRolesDescriptor() *CheckMyRolesDescriptor
func (*CheckMyRolesDescriptor) GetApiDescriptor ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*CheckMyRolesDescriptor) GetApiName ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetApiName() string
func (*CheckMyRolesDescriptor) GetClientMsgReflectHandle ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*CheckMyRolesDescriptor) GetFullMethodName ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetFullMethodName() string
func (*CheckMyRolesDescriptor) GetMethodName ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetMethodName() string
func (*CheckMyRolesDescriptor) GetProtoPkgName ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetProtoPkgName() string
func (*CheckMyRolesDescriptor) GetResourceDescriptor ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*CheckMyRolesDescriptor) GetServerMsgReflectHandle ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*CheckMyRolesDescriptor) GetServiceDomain ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetServiceDomain() string
func (*CheckMyRolesDescriptor) GetServiceVersion ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetServiceVersion() string
func (*CheckMyRolesDescriptor) GetVerb ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) GetVerb() string
func (*CheckMyRolesDescriptor) HasResource ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) HasResource() bool
func (*CheckMyRolesDescriptor) IsClientStream ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) IsClientStream() bool
func (*CheckMyRolesDescriptor) IsCollection ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) IsCollection() bool
func (*CheckMyRolesDescriptor) IsPlural ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) IsPlural() bool
func (*CheckMyRolesDescriptor) IsServerStream ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) IsServerStream() bool
func (*CheckMyRolesDescriptor) IsUnary ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) IsUnary() bool
func (*CheckMyRolesDescriptor) NewEmptyClientMsg ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) NewEmptyClientMsg() proto.Message
func (*CheckMyRolesDescriptor) NewEmptyServerMsg ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) NewEmptyServerMsg() proto.Message
func (*CheckMyRolesDescriptor) RequestHasResourceBody ¶ added in v0.9.12
func (d *CheckMyRolesDescriptor) RequestHasResourceBody() bool
type CheckMyRolesDescriptorClientMsgHandle ¶ added in v0.9.12
type CheckMyRolesDescriptorClientMsgHandle struct{}
func (*CheckMyRolesDescriptorClientMsgHandle) ExtractCollectionName ¶ added in v0.9.12
func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CheckMyRolesDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CheckMyRolesDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CheckMyRolesDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.9.12
func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CheckMyRolesDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.9.12
func (h *CheckMyRolesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CheckMyRolesDescriptorServerMsgHandle ¶ added in v0.9.12
type CheckMyRolesDescriptorServerMsgHandle struct{}
func (*CheckMyRolesDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.9.12
func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CheckMyRolesDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CheckMyRolesDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CheckMyRolesDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.9.12
func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CheckMyRolesDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.9.12
func (h *CheckMyRolesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CheckMyRolesRequest ¶ added in v0.9.12
type CheckMyRolesRequest struct { // Object name forming scope of the check, for example projects/<project_id> Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty" firestore:"object"` // contains filtered or unexported fields }
Request message for method [CheckMyRoles][ntt.iam.v1alpha2.CheckMyRoles]
func (*CheckMyRolesRequest) Descriptor ¶ added in v0.9.12
func (*CheckMyRolesRequest) Descriptor() ([]byte, []int)
Deprecated, Use CheckMyRolesRequest.ProtoReflect.Descriptor instead.
func (*CheckMyRolesRequest) GetObject ¶ added in v0.9.12
func (m *CheckMyRolesRequest) GetObject() string
func (*CheckMyRolesRequest) GotenMessage ¶ added in v0.9.12
func (*CheckMyRolesRequest) GotenMessage()
func (*CheckMyRolesRequest) GotenValidate ¶ added in v0.9.12
func (obj *CheckMyRolesRequest) GotenValidate() error
func (*CheckMyRolesRequest) Marshal ¶ added in v0.9.12
func (m *CheckMyRolesRequest) Marshal() ([]byte, error)
func (*CheckMyRolesRequest) MarshalJSON ¶ added in v0.9.12
func (m *CheckMyRolesRequest) MarshalJSON() ([]byte, error)
func (*CheckMyRolesRequest) ProtoMessage ¶ added in v0.9.12
func (*CheckMyRolesRequest) ProtoMessage()
func (*CheckMyRolesRequest) ProtoReflect ¶ added in v0.9.12
func (m *CheckMyRolesRequest) ProtoReflect() preflect.Message
func (*CheckMyRolesRequest) Reset ¶ added in v0.9.12
func (m *CheckMyRolesRequest) Reset()
func (*CheckMyRolesRequest) SetObject ¶ added in v0.9.12
func (m *CheckMyRolesRequest) SetObject(fv string)
func (*CheckMyRolesRequest) String ¶ added in v0.9.12
func (m *CheckMyRolesRequest) String() string
func (*CheckMyRolesRequest) Unmarshal ¶ added in v0.9.12
func (m *CheckMyRolesRequest) Unmarshal(b []byte) error
func (*CheckMyRolesRequest) UnmarshalJSON ¶ added in v0.9.12
func (m *CheckMyRolesRequest) UnmarshalJSON(data []byte) error
type CheckMyRolesResponse ¶ added in v0.9.12
type CheckMyRolesResponse struct { // Object with scope Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty" firestore:"object"` // All unconditionally granted roles GrantedRoles []*role.Name `` /* 138-byte string literal not displayed */ // All conditionally granted roles. Each grant should be checked separately ConditionallyGrantedRoles []*CheckMyRolesResponse_ConditionalGrant `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
Response message for method [CheckMyRoles][ntt.iam.v1alpha2.CheckMyRoles]
func (*CheckMyRolesResponse) Descriptor ¶ added in v0.9.12
func (*CheckMyRolesResponse) Descriptor() ([]byte, []int)
Deprecated, Use CheckMyRolesResponse.ProtoReflect.Descriptor instead.
func (*CheckMyRolesResponse) GetConditionallyGrantedRoles ¶ added in v0.9.12
func (m *CheckMyRolesResponse) GetConditionallyGrantedRoles() []*CheckMyRolesResponse_ConditionalGrant
func (*CheckMyRolesResponse) GetGrantedRoles ¶ added in v0.9.12
func (m *CheckMyRolesResponse) GetGrantedRoles() []*role.Name
func (*CheckMyRolesResponse) GetObject ¶ added in v0.9.12
func (m *CheckMyRolesResponse) GetObject() string
func (*CheckMyRolesResponse) GotenMessage ¶ added in v0.9.12
func (*CheckMyRolesResponse) GotenMessage()
func (*CheckMyRolesResponse) GotenValidate ¶ added in v0.9.12
func (obj *CheckMyRolesResponse) GotenValidate() error
func (*CheckMyRolesResponse) Marshal ¶ added in v0.9.12
func (m *CheckMyRolesResponse) Marshal() ([]byte, error)
func (*CheckMyRolesResponse) MarshalJSON ¶ added in v0.9.12
func (m *CheckMyRolesResponse) MarshalJSON() ([]byte, error)
func (*CheckMyRolesResponse) ProtoMessage ¶ added in v0.9.12
func (*CheckMyRolesResponse) ProtoMessage()
func (*CheckMyRolesResponse) ProtoReflect ¶ added in v0.9.12
func (m *CheckMyRolesResponse) ProtoReflect() preflect.Message
func (*CheckMyRolesResponse) Reset ¶ added in v0.9.12
func (m *CheckMyRolesResponse) Reset()
func (*CheckMyRolesResponse) SetConditionallyGrantedRoles ¶ added in v0.9.12
func (m *CheckMyRolesResponse) SetConditionallyGrantedRoles(fv []*CheckMyRolesResponse_ConditionalGrant)
func (*CheckMyRolesResponse) SetGrantedRoles ¶ added in v0.9.12
func (m *CheckMyRolesResponse) SetGrantedRoles(fv []*role.Name)
func (*CheckMyRolesResponse) SetObject ¶ added in v0.9.12
func (m *CheckMyRolesResponse) SetObject(fv string)
func (*CheckMyRolesResponse) String ¶ added in v0.9.12
func (m *CheckMyRolesResponse) String() string
func (*CheckMyRolesResponse) Unmarshal ¶ added in v0.9.12
func (m *CheckMyRolesResponse) Unmarshal(b []byte) error
func (*CheckMyRolesResponse) UnmarshalJSON ¶ added in v0.9.12
func (m *CheckMyRolesResponse) UnmarshalJSON(data []byte) error
type CheckMyRolesResponse_ConditionalGrant ¶ added in v0.9.12
type CheckMyRolesResponse_ConditionalGrant struct { // Role name Role *role.Name `protobuf:"bytes,1,opt,customtype=Name,name=role,proto3" json:"role,omitempty" firestore:"role"` // All conditions that must be accepted for role to be granted ConditionBindings []*condition.ConditionBinding `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckMyRolesResponse_ConditionalGrant) Descriptor ¶ added in v0.9.12
func (*CheckMyRolesResponse_ConditionalGrant) Descriptor() ([]byte, []int)
Deprecated, Use CheckMyRolesResponse_ConditionalGrant.ProtoReflect.Descriptor instead.
func (*CheckMyRolesResponse_ConditionalGrant) GetConditionBindings ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) GetConditionBindings() []*condition.ConditionBinding
func (*CheckMyRolesResponse_ConditionalGrant) GetRole ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) GetRole() *role.Name
func (*CheckMyRolesResponse_ConditionalGrant) GotenMessage ¶ added in v0.9.12
func (*CheckMyRolesResponse_ConditionalGrant) GotenMessage()
func (*CheckMyRolesResponse_ConditionalGrant) GotenValidate ¶ added in v0.9.12
func (obj *CheckMyRolesResponse_ConditionalGrant) GotenValidate() error
func (*CheckMyRolesResponse_ConditionalGrant) Marshal ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) Marshal() ([]byte, error)
func (*CheckMyRolesResponse_ConditionalGrant) MarshalJSON ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) MarshalJSON() ([]byte, error)
func (*CheckMyRolesResponse_ConditionalGrant) ProtoMessage ¶ added in v0.9.12
func (*CheckMyRolesResponse_ConditionalGrant) ProtoMessage()
func (*CheckMyRolesResponse_ConditionalGrant) ProtoReflect ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) ProtoReflect() preflect.Message
func (*CheckMyRolesResponse_ConditionalGrant) Reset ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) Reset()
func (*CheckMyRolesResponse_ConditionalGrant) SetConditionBindings ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) SetConditionBindings(fv []*condition.ConditionBinding)
func (*CheckMyRolesResponse_ConditionalGrant) SetRole ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) SetRole(fv *role.Name)
func (*CheckMyRolesResponse_ConditionalGrant) String ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) String() string
func (*CheckMyRolesResponse_ConditionalGrant) Unmarshal ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) Unmarshal(b []byte) error
func (*CheckMyRolesResponse_ConditionalGrant) UnmarshalJSON ¶ added in v0.9.12
func (m *CheckMyRolesResponse_ConditionalGrant) UnmarshalJSON(data []byte) error
type CheckPermissionsDescriptor ¶ added in v0.4.28
type CheckPermissionsDescriptor struct{}
func GetCheckPermissionsDescriptor ¶ added in v0.4.28
func GetCheckPermissionsDescriptor() *CheckPermissionsDescriptor
func (*CheckPermissionsDescriptor) GetApiDescriptor ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*CheckPermissionsDescriptor) GetApiName ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetApiName() string
func (*CheckPermissionsDescriptor) GetClientMsgReflectHandle ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*CheckPermissionsDescriptor) GetFullMethodName ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetFullMethodName() string
func (*CheckPermissionsDescriptor) GetMethodName ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetMethodName() string
func (*CheckPermissionsDescriptor) GetProtoPkgName ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetProtoPkgName() string
func (*CheckPermissionsDescriptor) GetResourceDescriptor ¶ added in v0.4.30
func (d *CheckPermissionsDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*CheckPermissionsDescriptor) GetServerMsgReflectHandle ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*CheckPermissionsDescriptor) GetServiceDomain ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetServiceDomain() string
func (*CheckPermissionsDescriptor) GetServiceVersion ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetServiceVersion() string
func (*CheckPermissionsDescriptor) GetVerb ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) GetVerb() string
func (*CheckPermissionsDescriptor) HasResource ¶ added in v0.4.30
func (d *CheckPermissionsDescriptor) HasResource() bool
func (*CheckPermissionsDescriptor) IsClientStream ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) IsClientStream() bool
func (*CheckPermissionsDescriptor) IsCollection ¶ added in v0.4.30
func (d *CheckPermissionsDescriptor) IsCollection() bool
func (*CheckPermissionsDescriptor) IsPlural ¶ added in v0.4.30
func (d *CheckPermissionsDescriptor) IsPlural() bool
func (*CheckPermissionsDescriptor) IsServerStream ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) IsServerStream() bool
func (*CheckPermissionsDescriptor) IsUnary ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) IsUnary() bool
func (*CheckPermissionsDescriptor) NewEmptyClientMsg ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) NewEmptyClientMsg() proto.Message
func (*CheckPermissionsDescriptor) NewEmptyServerMsg ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) NewEmptyServerMsg() proto.Message
func (*CheckPermissionsDescriptor) RequestHasResourceBody ¶ added in v0.4.28
func (d *CheckPermissionsDescriptor) RequestHasResourceBody() bool
type CheckPermissionsDescriptorClientMsgHandle ¶ added in v0.4.28
type CheckPermissionsDescriptorClientMsgHandle struct{}
func (*CheckPermissionsDescriptorClientMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CheckPermissionsDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CheckPermissionsDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CheckPermissionsDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CheckPermissionsDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *CheckPermissionsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CheckPermissionsDescriptorServerMsgHandle ¶ added in v0.4.28
type CheckPermissionsDescriptorServerMsgHandle struct{}
func (*CheckPermissionsDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CheckPermissionsDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CheckPermissionsDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CheckPermissionsDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CheckPermissionsDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *CheckPermissionsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CheckPermissionsRequest ¶
type CheckPermissionsRequest struct { // Acting principal, e.g. user or service account // Format of the string is one of: // - "allUsers" (anyone) // - "allAuthenticatedUsers" (anyone logged in) // - "user:admin.super@example.com" // - "serviceAccount:device_agent@watchdog.serviceaccounts.iam.edgelq.com" // - "group:nice.group@example.com" // - "domain:example.com" (anyone with exact email domain) Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty" firestore:"member"` // Checks Checks []*Check `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty" firestore:"checks"` // If true, server will skip checking permissions in cache SkipCache bool `protobuf:"varint,3,opt,name=skip_cache,json=skipCache,proto3" json:"skip_cache,omitempty" firestore:"skipCache"` // contains filtered or unexported fields }
Request message for method [CheckPermissions][ntt.iam.v1alpha2.CheckPermissions]
func (*CheckPermissionsRequest) Descriptor ¶
func (*CheckPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated, Use CheckPermissionsRequest.ProtoReflect.Descriptor instead.
func (*CheckPermissionsRequest) GetChecks ¶
func (m *CheckPermissionsRequest) GetChecks() []*Check
func (*CheckPermissionsRequest) GetMember ¶
func (m *CheckPermissionsRequest) GetMember() string
func (*CheckPermissionsRequest) GetSkipCache ¶
func (m *CheckPermissionsRequest) GetSkipCache() bool
func (*CheckPermissionsRequest) GotenMessage ¶
func (*CheckPermissionsRequest) GotenMessage()
func (*CheckPermissionsRequest) GotenValidate ¶
func (obj *CheckPermissionsRequest) GotenValidate() error
func (*CheckPermissionsRequest) Marshal ¶
func (m *CheckPermissionsRequest) Marshal() ([]byte, error)
func (*CheckPermissionsRequest) MarshalJSON ¶
func (m *CheckPermissionsRequest) MarshalJSON() ([]byte, error)
func (*CheckPermissionsRequest) ProtoMessage ¶
func (*CheckPermissionsRequest) ProtoMessage()
func (*CheckPermissionsRequest) ProtoReflect ¶
func (m *CheckPermissionsRequest) ProtoReflect() preflect.Message
func (*CheckPermissionsRequest) Reset ¶
func (m *CheckPermissionsRequest) Reset()
func (*CheckPermissionsRequest) SetChecks ¶
func (m *CheckPermissionsRequest) SetChecks(fv []*Check)
func (*CheckPermissionsRequest) SetMember ¶
func (m *CheckPermissionsRequest) SetMember(fv string)
func (*CheckPermissionsRequest) SetSkipCache ¶
func (m *CheckPermissionsRequest) SetSkipCache(fv bool)
func (*CheckPermissionsRequest) String ¶
func (m *CheckPermissionsRequest) String() string
func (*CheckPermissionsRequest) Unmarshal ¶
func (m *CheckPermissionsRequest) Unmarshal(b []byte) error
func (*CheckPermissionsRequest) UnmarshalJSON ¶
func (m *CheckPermissionsRequest) UnmarshalJSON(data []byte) error
type CheckPermissionsResponse ¶
type CheckPermissionsResponse struct { CheckResults []*CheckResult `protobuf:"bytes,1,rep,name=check_results,json=checkResults,proto3" json:"check_results,omitempty" firestore:"checkResults"` // contains filtered or unexported fields }
Response message for method [CheckPermissions][ntt.iam.v1alpha2.CheckPermissions]
func (*CheckPermissionsResponse) Descriptor ¶
func (*CheckPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated, Use CheckPermissionsResponse.ProtoReflect.Descriptor instead.
func (*CheckPermissionsResponse) GetCheckResults ¶
func (m *CheckPermissionsResponse) GetCheckResults() []*CheckResult
func (*CheckPermissionsResponse) GotenMessage ¶
func (*CheckPermissionsResponse) GotenMessage()
func (*CheckPermissionsResponse) GotenValidate ¶
func (obj *CheckPermissionsResponse) GotenValidate() error
func (*CheckPermissionsResponse) Marshal ¶
func (m *CheckPermissionsResponse) Marshal() ([]byte, error)
func (*CheckPermissionsResponse) MarshalJSON ¶
func (m *CheckPermissionsResponse) MarshalJSON() ([]byte, error)
func (*CheckPermissionsResponse) ProtoMessage ¶
func (*CheckPermissionsResponse) ProtoMessage()
func (*CheckPermissionsResponse) ProtoReflect ¶
func (m *CheckPermissionsResponse) ProtoReflect() preflect.Message
func (*CheckPermissionsResponse) Reset ¶
func (m *CheckPermissionsResponse) Reset()
func (*CheckPermissionsResponse) SetCheckResults ¶
func (m *CheckPermissionsResponse) SetCheckResults(fv []*CheckResult)
func (*CheckPermissionsResponse) String ¶
func (m *CheckPermissionsResponse) String() string
func (*CheckPermissionsResponse) Unmarshal ¶
func (m *CheckPermissionsResponse) Unmarshal(b []byte) error
func (*CheckPermissionsResponse) UnmarshalJSON ¶
func (m *CheckPermissionsResponse) UnmarshalJSON(data []byte) error
type CheckResult ¶
type CheckResult struct { // Object resource name, e.g. projects/<project_id>/devices/<device_id> Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty" firestore:"object"` // Granted Permissions GrantedPermissions []*permission.Name `` /* 162-byte string literal not displayed */ ConditionallyGrantedPermissions []*ConditionalGrant `` /* 200-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckResult) Descriptor ¶
func (*CheckResult) Descriptor() ([]byte, []int)
Deprecated, Use CheckResult.ProtoReflect.Descriptor instead.
func (*CheckResult) GetConditionallyGrantedPermissions ¶
func (m *CheckResult) GetConditionallyGrantedPermissions() []*ConditionalGrant
func (*CheckResult) GetGrantedPermissions ¶
func (m *CheckResult) GetGrantedPermissions() []*permission.Name
func (*CheckResult) GetObject ¶
func (m *CheckResult) GetObject() string
func (*CheckResult) GotenMessage ¶
func (*CheckResult) GotenMessage()
func (*CheckResult) GotenValidate ¶
func (obj *CheckResult) GotenValidate() error
func (*CheckResult) Marshal ¶
func (m *CheckResult) Marshal() ([]byte, error)
func (*CheckResult) MarshalJSON ¶
func (m *CheckResult) MarshalJSON() ([]byte, error)
func (*CheckResult) ProtoMessage ¶
func (*CheckResult) ProtoMessage()
func (*CheckResult) ProtoReflect ¶
func (m *CheckResult) ProtoReflect() preflect.Message
func (*CheckResult) Reset ¶
func (m *CheckResult) Reset()
func (*CheckResult) SetConditionallyGrantedPermissions ¶
func (m *CheckResult) SetConditionallyGrantedPermissions(fv []*ConditionalGrant)
func (*CheckResult) SetGrantedPermissions ¶
func (m *CheckResult) SetGrantedPermissions(fv []*permission.Name)
func (*CheckResult) SetObject ¶
func (m *CheckResult) SetObject(fv string)
func (*CheckResult) String ¶
func (m *CheckResult) String() string
func (*CheckResult) Unmarshal ¶
func (m *CheckResult) Unmarshal(b []byte) error
func (*CheckResult) UnmarshalJSON ¶
func (m *CheckResult) UnmarshalJSON(data []byte) error
type ConditionalGrant ¶
type ConditionalGrant struct { Permissions []*permission.Name `protobuf:"bytes,1,rep,customtype=Name,name=permissions,proto3" json:"permissions,omitempty" firestore:"permissions"` ConditionBindings []*condition.ConditionBinding `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
ConditionalGrant represents grant on repeated list of permissions if all of conditions is met.
func (*ConditionalGrant) Descriptor ¶
func (*ConditionalGrant) Descriptor() ([]byte, []int)
Deprecated, Use ConditionalGrant.ProtoReflect.Descriptor instead.
func (*ConditionalGrant) GetConditionBindings ¶
func (m *ConditionalGrant) GetConditionBindings() []*condition.ConditionBinding
func (*ConditionalGrant) GetPermissions ¶
func (m *ConditionalGrant) GetPermissions() []*permission.Name
func (*ConditionalGrant) GotenMessage ¶
func (*ConditionalGrant) GotenMessage()
func (*ConditionalGrant) GotenValidate ¶
func (obj *ConditionalGrant) GotenValidate() error
func (*ConditionalGrant) Marshal ¶
func (m *ConditionalGrant) Marshal() ([]byte, error)
func (*ConditionalGrant) MarshalJSON ¶
func (m *ConditionalGrant) MarshalJSON() ([]byte, error)
func (*ConditionalGrant) ProtoMessage ¶
func (*ConditionalGrant) ProtoMessage()
func (*ConditionalGrant) ProtoReflect ¶
func (m *ConditionalGrant) ProtoReflect() preflect.Message
func (*ConditionalGrant) Reset ¶
func (m *ConditionalGrant) Reset()
func (*ConditionalGrant) SetConditionBindings ¶
func (m *ConditionalGrant) SetConditionBindings(fv []*condition.ConditionBinding)
func (*ConditionalGrant) SetPermissions ¶
func (m *ConditionalGrant) SetPermissions(fv []*permission.Name)
func (*ConditionalGrant) String ¶
func (m *ConditionalGrant) String() string
func (*ConditionalGrant) Unmarshal ¶
func (m *ConditionalGrant) Unmarshal(b []byte) error
func (*ConditionalGrant) UnmarshalJSON ¶
func (m *ConditionalGrant) UnmarshalJSON(data []byte) error