Documentation ¶
Index ¶
- Variables
- type AccessRequestDailyMetric
- func (*AccessRequestDailyMetric) Descriptor() ([]byte, []int)deprecated
- func (x *AccessRequestDailyMetric) GetCount() int32
- func (x *AccessRequestDailyMetric) GetDate() string
- func (*AccessRequestDailyMetric) ProtoMessage()
- func (x *AccessRequestDailyMetric) ProtoReflect() protoreflect.Message
- func (x *AccessRequestDailyMetric) Reset()
- func (x *AccessRequestDailyMetric) String() string
- func (m *AccessRequestDailyMetric) Validate() error
- func (m *AccessRequestDailyMetric) ValidateAll() error
- type AccessRequestDailyMetricMultiError
- type AccessRequestDailyMetricValidationError
- func (e AccessRequestDailyMetricValidationError) Cause() error
- func (e AccessRequestDailyMetricValidationError) Error() string
- func (e AccessRequestDailyMetricValidationError) ErrorName() string
- func (e AccessRequestDailyMetricValidationError) Field() string
- func (e AccessRequestDailyMetricValidationError) Key() bool
- func (e AccessRequestDailyMetricValidationError) Reason() string
- type EntitlementUsageMetric
- func (*EntitlementUsageMetric) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementUsageMetric) GetCount() int32
- func (x *EntitlementUsageMetric) GetRole() *v1alpha1.NamedEID
- func (x *EntitlementUsageMetric) GetTarget() *v1alpha1.NamedEID
- func (*EntitlementUsageMetric) ProtoMessage()
- func (x *EntitlementUsageMetric) ProtoReflect() protoreflect.Message
- func (x *EntitlementUsageMetric) Reset()
- func (x *EntitlementUsageMetric) String() string
- func (m *EntitlementUsageMetric) Validate() error
- func (m *EntitlementUsageMetric) ValidateAll() error
- type EntitlementUsageMetricMultiError
- type EntitlementUsageMetricValidationError
- func (e EntitlementUsageMetricValidationError) Cause() error
- func (e EntitlementUsageMetricValidationError) Error() string
- func (e EntitlementUsageMetricValidationError) ErrorName() string
- func (e EntitlementUsageMetricValidationError) Field() string
- func (e EntitlementUsageMetricValidationError) Key() bool
- func (e EntitlementUsageMetricValidationError) Reason() string
- type EntitlementsUsageDailyMetric
- func (*EntitlementsUsageDailyMetric) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementsUsageDailyMetric) GetDate() string
- func (x *EntitlementsUsageDailyMetric) GetEntitlements() []*EntitlementUsageMetric
- func (*EntitlementsUsageDailyMetric) ProtoMessage()
- func (x *EntitlementsUsageDailyMetric) ProtoReflect() protoreflect.Message
- func (x *EntitlementsUsageDailyMetric) Reset()
- func (x *EntitlementsUsageDailyMetric) String() string
- func (m *EntitlementsUsageDailyMetric) Validate() error
- func (m *EntitlementsUsageDailyMetric) ValidateAll() error
- type EntitlementsUsageDailyMetricMultiError
- type EntitlementsUsageDailyMetricValidationError
- func (e EntitlementsUsageDailyMetricValidationError) Cause() error
- func (e EntitlementsUsageDailyMetricValidationError) Error() string
- func (e EntitlementsUsageDailyMetricValidationError) ErrorName() string
- func (e EntitlementsUsageDailyMetricValidationError) Field() string
- func (e EntitlementsUsageDailyMetricValidationError) Key() bool
- func (e EntitlementsUsageDailyMetricValidationError) Reason() string
- type GetInsightsRequest
- func (*GetInsightsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetInsightsRequest) ProtoMessage()
- func (x *GetInsightsRequest) ProtoReflect() protoreflect.Message
- func (x *GetInsightsRequest) Reset()
- func (x *GetInsightsRequest) String() string
- func (m *GetInsightsRequest) Validate() error
- func (m *GetInsightsRequest) ValidateAll() error
- type GetInsightsRequestMultiError
- type GetInsightsRequestValidationError
- func (e GetInsightsRequestValidationError) Cause() error
- func (e GetInsightsRequestValidationError) Error() string
- func (e GetInsightsRequestValidationError) ErrorName() string
- func (e GetInsightsRequestValidationError) Field() string
- func (e GetInsightsRequestValidationError) Key() bool
- func (e GetInsightsRequestValidationError) Reason() string
- type GetInsightsResponse
- func (*GetInsightsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInsightsResponse) GetInsights() *Insights
- func (*GetInsightsResponse) ProtoMessage()
- func (x *GetInsightsResponse) ProtoReflect() protoreflect.Message
- func (x *GetInsightsResponse) Reset()
- func (x *GetInsightsResponse) String() string
- func (m *GetInsightsResponse) Validate() error
- func (m *GetInsightsResponse) ValidateAll() error
- type GetInsightsResponseMultiError
- type GetInsightsResponseValidationError
- func (e GetInsightsResponseValidationError) Cause() error
- func (e GetInsightsResponseValidationError) Error() string
- func (e GetInsightsResponseValidationError) ErrorName() string
- func (e GetInsightsResponseValidationError) Field() string
- func (e GetInsightsResponseValidationError) Key() bool
- func (e GetInsightsResponseValidationError) Reason() string
- type Insights
- func (*Insights) Descriptor() ([]byte, []int)deprecated
- func (x *Insights) GetAccessHoursReduced() int32
- func (x *Insights) GetAccessHoursReductionPercent() float32
- func (x *Insights) GetAccessRequestsLast_90Days() []*AccessRequestDailyMetric
- func (x *Insights) GetEntitlementUsageLast_90Days() []*EntitlementsUsageDailyMetric
- func (x *Insights) GetProtectedUsers() int32
- func (*Insights) ProtoMessage()
- func (x *Insights) ProtoReflect() protoreflect.Message
- func (x *Insights) Reset()
- func (x *Insights) String() string
- func (m *Insights) Validate() error
- func (m *Insights) ValidateAll() error
- type InsightsMultiError
- type InsightsValidationError
Constants ¶
This section is empty.
Variables ¶
var File_commonfate_control_insight_v1alpha1_insight_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessRequestDailyMetric ¶
type AccessRequestDailyMetric struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*AccessRequestDailyMetric) Descriptor
deprecated
func (*AccessRequestDailyMetric) Descriptor() ([]byte, []int)
Deprecated: Use AccessRequestDailyMetric.ProtoReflect.Descriptor instead.
func (*AccessRequestDailyMetric) GetCount ¶
func (x *AccessRequestDailyMetric) GetCount() int32
func (*AccessRequestDailyMetric) GetDate ¶
func (x *AccessRequestDailyMetric) GetDate() string
func (*AccessRequestDailyMetric) ProtoMessage ¶
func (*AccessRequestDailyMetric) ProtoMessage()
func (*AccessRequestDailyMetric) ProtoReflect ¶
func (x *AccessRequestDailyMetric) ProtoReflect() protoreflect.Message
func (*AccessRequestDailyMetric) Reset ¶
func (x *AccessRequestDailyMetric) Reset()
func (*AccessRequestDailyMetric) String ¶
func (x *AccessRequestDailyMetric) String() string
func (*AccessRequestDailyMetric) Validate ¶ added in v1.42.0
func (m *AccessRequestDailyMetric) Validate() error
Validate checks the field values on AccessRequestDailyMetric with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AccessRequestDailyMetric) ValidateAll ¶ added in v1.42.0
func (m *AccessRequestDailyMetric) ValidateAll() error
ValidateAll checks the field values on AccessRequestDailyMetric with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRequestDailyMetricMultiError, or nil if none found.
type AccessRequestDailyMetricMultiError ¶ added in v1.42.0
type AccessRequestDailyMetricMultiError []error
AccessRequestDailyMetricMultiError is an error wrapping multiple validation errors returned by AccessRequestDailyMetric.ValidateAll() if the designated constraints aren't met.
func (AccessRequestDailyMetricMultiError) AllErrors ¶ added in v1.42.0
func (m AccessRequestDailyMetricMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessRequestDailyMetricMultiError) Error ¶ added in v1.42.0
func (m AccessRequestDailyMetricMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessRequestDailyMetricValidationError ¶ added in v1.42.0
type AccessRequestDailyMetricValidationError struct {
// contains filtered or unexported fields
}
AccessRequestDailyMetricValidationError is the validation error returned by AccessRequestDailyMetric.Validate if the designated constraints aren't met.
func (AccessRequestDailyMetricValidationError) Cause ¶ added in v1.42.0
func (e AccessRequestDailyMetricValidationError) Cause() error
Cause function returns cause value.
func (AccessRequestDailyMetricValidationError) Error ¶ added in v1.42.0
func (e AccessRequestDailyMetricValidationError) Error() string
Error satisfies the builtin error interface
func (AccessRequestDailyMetricValidationError) ErrorName ¶ added in v1.42.0
func (e AccessRequestDailyMetricValidationError) ErrorName() string
ErrorName returns error name.
func (AccessRequestDailyMetricValidationError) Field ¶ added in v1.42.0
func (e AccessRequestDailyMetricValidationError) Field() string
Field function returns field value.
func (AccessRequestDailyMetricValidationError) Key ¶ added in v1.42.0
func (e AccessRequestDailyMetricValidationError) Key() bool
Key function returns key value.
func (AccessRequestDailyMetricValidationError) Reason ¶ added in v1.42.0
func (e AccessRequestDailyMetricValidationError) Reason() string
Reason function returns reason value.
type EntitlementUsageMetric ¶
type EntitlementUsageMetric struct { Target *v1alpha1.NamedEID `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` Role *v1alpha1.NamedEID `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*EntitlementUsageMetric) Descriptor
deprecated
func (*EntitlementUsageMetric) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementUsageMetric.ProtoReflect.Descriptor instead.
func (*EntitlementUsageMetric) GetCount ¶
func (x *EntitlementUsageMetric) GetCount() int32
func (*EntitlementUsageMetric) GetRole ¶
func (x *EntitlementUsageMetric) GetRole() *v1alpha1.NamedEID
func (*EntitlementUsageMetric) GetTarget ¶
func (x *EntitlementUsageMetric) GetTarget() *v1alpha1.NamedEID
func (*EntitlementUsageMetric) ProtoMessage ¶
func (*EntitlementUsageMetric) ProtoMessage()
func (*EntitlementUsageMetric) ProtoReflect ¶
func (x *EntitlementUsageMetric) ProtoReflect() protoreflect.Message
func (*EntitlementUsageMetric) Reset ¶
func (x *EntitlementUsageMetric) Reset()
func (*EntitlementUsageMetric) String ¶
func (x *EntitlementUsageMetric) String() string
func (*EntitlementUsageMetric) Validate ¶ added in v1.42.0
func (m *EntitlementUsageMetric) Validate() error
Validate checks the field values on EntitlementUsageMetric with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntitlementUsageMetric) ValidateAll ¶ added in v1.42.0
func (m *EntitlementUsageMetric) ValidateAll() error
ValidateAll checks the field values on EntitlementUsageMetric with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementUsageMetricMultiError, or nil if none found.
type EntitlementUsageMetricMultiError ¶ added in v1.42.0
type EntitlementUsageMetricMultiError []error
EntitlementUsageMetricMultiError is an error wrapping multiple validation errors returned by EntitlementUsageMetric.ValidateAll() if the designated constraints aren't met.
func (EntitlementUsageMetricMultiError) AllErrors ¶ added in v1.42.0
func (m EntitlementUsageMetricMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementUsageMetricMultiError) Error ¶ added in v1.42.0
func (m EntitlementUsageMetricMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementUsageMetricValidationError ¶ added in v1.42.0
type EntitlementUsageMetricValidationError struct {
// contains filtered or unexported fields
}
EntitlementUsageMetricValidationError is the validation error returned by EntitlementUsageMetric.Validate if the designated constraints aren't met.
func (EntitlementUsageMetricValidationError) Cause ¶ added in v1.42.0
func (e EntitlementUsageMetricValidationError) Cause() error
Cause function returns cause value.
func (EntitlementUsageMetricValidationError) Error ¶ added in v1.42.0
func (e EntitlementUsageMetricValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementUsageMetricValidationError) ErrorName ¶ added in v1.42.0
func (e EntitlementUsageMetricValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementUsageMetricValidationError) Field ¶ added in v1.42.0
func (e EntitlementUsageMetricValidationError) Field() string
Field function returns field value.
func (EntitlementUsageMetricValidationError) Key ¶ added in v1.42.0
func (e EntitlementUsageMetricValidationError) Key() bool
Key function returns key value.
func (EntitlementUsageMetricValidationError) Reason ¶ added in v1.42.0
func (e EntitlementUsageMetricValidationError) Reason() string
Reason function returns reason value.
type EntitlementsUsageDailyMetric ¶
type EntitlementsUsageDailyMetric struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Entitlements []*EntitlementUsageMetric `protobuf:"bytes,2,rep,name=entitlements,proto3" json:"entitlements,omitempty"` // contains filtered or unexported fields }
func (*EntitlementsUsageDailyMetric) Descriptor
deprecated
func (*EntitlementsUsageDailyMetric) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementsUsageDailyMetric.ProtoReflect.Descriptor instead.
func (*EntitlementsUsageDailyMetric) GetDate ¶
func (x *EntitlementsUsageDailyMetric) GetDate() string
func (*EntitlementsUsageDailyMetric) GetEntitlements ¶
func (x *EntitlementsUsageDailyMetric) GetEntitlements() []*EntitlementUsageMetric
func (*EntitlementsUsageDailyMetric) ProtoMessage ¶
func (*EntitlementsUsageDailyMetric) ProtoMessage()
func (*EntitlementsUsageDailyMetric) ProtoReflect ¶
func (x *EntitlementsUsageDailyMetric) ProtoReflect() protoreflect.Message
func (*EntitlementsUsageDailyMetric) Reset ¶
func (x *EntitlementsUsageDailyMetric) Reset()
func (*EntitlementsUsageDailyMetric) String ¶
func (x *EntitlementsUsageDailyMetric) String() string
func (*EntitlementsUsageDailyMetric) Validate ¶ added in v1.42.0
func (m *EntitlementsUsageDailyMetric) Validate() error
Validate checks the field values on EntitlementsUsageDailyMetric with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntitlementsUsageDailyMetric) ValidateAll ¶ added in v1.42.0
func (m *EntitlementsUsageDailyMetric) ValidateAll() error
ValidateAll checks the field values on EntitlementsUsageDailyMetric with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementsUsageDailyMetricMultiError, or nil if none found.
type EntitlementsUsageDailyMetricMultiError ¶ added in v1.42.0
type EntitlementsUsageDailyMetricMultiError []error
EntitlementsUsageDailyMetricMultiError is an error wrapping multiple validation errors returned by EntitlementsUsageDailyMetric.ValidateAll() if the designated constraints aren't met.
func (EntitlementsUsageDailyMetricMultiError) AllErrors ¶ added in v1.42.0
func (m EntitlementsUsageDailyMetricMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementsUsageDailyMetricMultiError) Error ¶ added in v1.42.0
func (m EntitlementsUsageDailyMetricMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementsUsageDailyMetricValidationError ¶ added in v1.42.0
type EntitlementsUsageDailyMetricValidationError struct {
// contains filtered or unexported fields
}
EntitlementsUsageDailyMetricValidationError is the validation error returned by EntitlementsUsageDailyMetric.Validate if the designated constraints aren't met.
func (EntitlementsUsageDailyMetricValidationError) Cause ¶ added in v1.42.0
func (e EntitlementsUsageDailyMetricValidationError) Cause() error
Cause function returns cause value.
func (EntitlementsUsageDailyMetricValidationError) Error ¶ added in v1.42.0
func (e EntitlementsUsageDailyMetricValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementsUsageDailyMetricValidationError) ErrorName ¶ added in v1.42.0
func (e EntitlementsUsageDailyMetricValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementsUsageDailyMetricValidationError) Field ¶ added in v1.42.0
func (e EntitlementsUsageDailyMetricValidationError) Field() string
Field function returns field value.
func (EntitlementsUsageDailyMetricValidationError) Key ¶ added in v1.42.0
func (e EntitlementsUsageDailyMetricValidationError) Key() bool
Key function returns key value.
func (EntitlementsUsageDailyMetricValidationError) Reason ¶ added in v1.42.0
func (e EntitlementsUsageDailyMetricValidationError) Reason() string
Reason function returns reason value.
type GetInsightsRequest ¶
type GetInsightsRequest struct {
// contains filtered or unexported fields
}
func (*GetInsightsRequest) Descriptor
deprecated
func (*GetInsightsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInsightsRequest.ProtoReflect.Descriptor instead.
func (*GetInsightsRequest) ProtoMessage ¶
func (*GetInsightsRequest) ProtoMessage()
func (*GetInsightsRequest) ProtoReflect ¶
func (x *GetInsightsRequest) ProtoReflect() protoreflect.Message
func (*GetInsightsRequest) Reset ¶
func (x *GetInsightsRequest) Reset()
func (*GetInsightsRequest) String ¶
func (x *GetInsightsRequest) String() string
func (*GetInsightsRequest) Validate ¶ added in v1.42.0
func (m *GetInsightsRequest) Validate() error
Validate checks the field values on GetInsightsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetInsightsRequest) ValidateAll ¶ added in v1.42.0
func (m *GetInsightsRequest) ValidateAll() error
ValidateAll checks the field values on GetInsightsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetInsightsRequestMultiError, or nil if none found.
type GetInsightsRequestMultiError ¶ added in v1.42.0
type GetInsightsRequestMultiError []error
GetInsightsRequestMultiError is an error wrapping multiple validation errors returned by GetInsightsRequest.ValidateAll() if the designated constraints aren't met.
func (GetInsightsRequestMultiError) AllErrors ¶ added in v1.42.0
func (m GetInsightsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetInsightsRequestMultiError) Error ¶ added in v1.42.0
func (m GetInsightsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetInsightsRequestValidationError ¶ added in v1.42.0
type GetInsightsRequestValidationError struct {
// contains filtered or unexported fields
}
GetInsightsRequestValidationError is the validation error returned by GetInsightsRequest.Validate if the designated constraints aren't met.
func (GetInsightsRequestValidationError) Cause ¶ added in v1.42.0
func (e GetInsightsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetInsightsRequestValidationError) Error ¶ added in v1.42.0
func (e GetInsightsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetInsightsRequestValidationError) ErrorName ¶ added in v1.42.0
func (e GetInsightsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetInsightsRequestValidationError) Field ¶ added in v1.42.0
func (e GetInsightsRequestValidationError) Field() string
Field function returns field value.
func (GetInsightsRequestValidationError) Key ¶ added in v1.42.0
func (e GetInsightsRequestValidationError) Key() bool
Key function returns key value.
func (GetInsightsRequestValidationError) Reason ¶ added in v1.42.0
func (e GetInsightsRequestValidationError) Reason() string
Reason function returns reason value.
type GetInsightsResponse ¶
type GetInsightsResponse struct { Insights *Insights `protobuf:"bytes,1,opt,name=insights,proto3" json:"insights,omitempty"` // contains filtered or unexported fields }
func (*GetInsightsResponse) Descriptor
deprecated
func (*GetInsightsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInsightsResponse.ProtoReflect.Descriptor instead.
func (*GetInsightsResponse) GetInsights ¶
func (x *GetInsightsResponse) GetInsights() *Insights
func (*GetInsightsResponse) ProtoMessage ¶
func (*GetInsightsResponse) ProtoMessage()
func (*GetInsightsResponse) ProtoReflect ¶
func (x *GetInsightsResponse) ProtoReflect() protoreflect.Message
func (*GetInsightsResponse) Reset ¶
func (x *GetInsightsResponse) Reset()
func (*GetInsightsResponse) String ¶
func (x *GetInsightsResponse) String() string
func (*GetInsightsResponse) Validate ¶ added in v1.42.0
func (m *GetInsightsResponse) Validate() error
Validate checks the field values on GetInsightsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetInsightsResponse) ValidateAll ¶ added in v1.42.0
func (m *GetInsightsResponse) ValidateAll() error
ValidateAll checks the field values on GetInsightsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetInsightsResponseMultiError, or nil if none found.
type GetInsightsResponseMultiError ¶ added in v1.42.0
type GetInsightsResponseMultiError []error
GetInsightsResponseMultiError is an error wrapping multiple validation errors returned by GetInsightsResponse.ValidateAll() if the designated constraints aren't met.
func (GetInsightsResponseMultiError) AllErrors ¶ added in v1.42.0
func (m GetInsightsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetInsightsResponseMultiError) Error ¶ added in v1.42.0
func (m GetInsightsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetInsightsResponseValidationError ¶ added in v1.42.0
type GetInsightsResponseValidationError struct {
// contains filtered or unexported fields
}
GetInsightsResponseValidationError is the validation error returned by GetInsightsResponse.Validate if the designated constraints aren't met.
func (GetInsightsResponseValidationError) Cause ¶ added in v1.42.0
func (e GetInsightsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetInsightsResponseValidationError) Error ¶ added in v1.42.0
func (e GetInsightsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetInsightsResponseValidationError) ErrorName ¶ added in v1.42.0
func (e GetInsightsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetInsightsResponseValidationError) Field ¶ added in v1.42.0
func (e GetInsightsResponseValidationError) Field() string
Field function returns field value.
func (GetInsightsResponseValidationError) Key ¶ added in v1.42.0
func (e GetInsightsResponseValidationError) Key() bool
Key function returns key value.
func (GetInsightsResponseValidationError) Reason ¶ added in v1.42.0
func (e GetInsightsResponseValidationError) Reason() string
Reason function returns reason value.
type Insights ¶
type Insights struct { ProtectedUsers int32 `protobuf:"varint,1,opt,name=protected_users,json=protectedUsers,proto3" json:"protected_users,omitempty"` // from 0 - 100 AccessHoursReductionPercent float32 `` /* 148-byte string literal not displayed */ AccessHoursReduced int32 `protobuf:"varint,3,opt,name=access_hours_reduced,json=accessHoursReduced,proto3" json:"access_hours_reduced,omitempty"` AccessRequestsLast_90Days []*AccessRequestDailyMetric `` /* 139-byte string literal not displayed */ EntitlementUsageLast_90Days []*EntitlementsUsageDailyMetric `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Insights) Descriptor
deprecated
func (*Insights) GetAccessHoursReduced ¶
func (*Insights) GetAccessHoursReductionPercent ¶
func (*Insights) GetAccessRequestsLast_90Days ¶
func (x *Insights) GetAccessRequestsLast_90Days() []*AccessRequestDailyMetric
func (*Insights) GetEntitlementUsageLast_90Days ¶
func (x *Insights) GetEntitlementUsageLast_90Days() []*EntitlementsUsageDailyMetric
func (*Insights) GetProtectedUsers ¶
func (*Insights) ProtoMessage ¶
func (*Insights) ProtoMessage()
func (*Insights) ProtoReflect ¶
func (x *Insights) ProtoReflect() protoreflect.Message
func (*Insights) Validate ¶ added in v1.42.0
Validate checks the field values on Insights with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Insights) ValidateAll ¶ added in v1.42.0
ValidateAll checks the field values on Insights with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InsightsMultiError, or nil if none found.
type InsightsMultiError ¶ added in v1.42.0
type InsightsMultiError []error
InsightsMultiError is an error wrapping multiple validation errors returned by Insights.ValidateAll() if the designated constraints aren't met.
func (InsightsMultiError) AllErrors ¶ added in v1.42.0
func (m InsightsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InsightsMultiError) Error ¶ added in v1.42.0
func (m InsightsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InsightsValidationError ¶ added in v1.42.0
type InsightsValidationError struct {
// contains filtered or unexported fields
}
InsightsValidationError is the validation error returned by Insights.Validate if the designated constraints aren't met.
func (InsightsValidationError) Cause ¶ added in v1.42.0
func (e InsightsValidationError) Cause() error
Cause function returns cause value.
func (InsightsValidationError) Error ¶ added in v1.42.0
func (e InsightsValidationError) Error() string
Error satisfies the builtin error interface
func (InsightsValidationError) ErrorName ¶ added in v1.42.0
func (e InsightsValidationError) ErrorName() string
ErrorName returns error name.
func (InsightsValidationError) Field ¶ added in v1.42.0
func (e InsightsValidationError) Field() string
Field function returns field value.
func (InsightsValidationError) Key ¶ added in v1.42.0
func (e InsightsValidationError) Key() bool
Key function returns key value.
func (InsightsValidationError) Reason ¶ added in v1.42.0
func (e InsightsValidationError) Reason() string
Reason function returns reason value.