Documentation ¶
Index ¶
- Variables
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetAttributes() *structpb.Struct
- func (m *Policy) GetAttrs() isPolicy_Attrs
- func (x *Policy) GetAuthorizedActions() []string
- func (x *Policy) GetCreatedTime() *timestamppb.Timestamp
- func (x *Policy) GetDescription() *wrapperspb.StringValue
- func (x *Policy) GetId() string
- func (x *Policy) GetName() *wrapperspb.StringValue
- func (x *Policy) GetScope() *scopes.ScopeInfo
- func (x *Policy) GetScopeId() string
- func (x *Policy) GetStoragePolicyAttributes() *StoragePolicyAttributes
- func (x *Policy) GetType() string
- func (x *Policy) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Policy) GetVersion() uint32
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- type Policy_Attributes
- type Policy_StoragePolicyAttributes
- type StoragePolicyAttributes
- func (*StoragePolicyAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *StoragePolicyAttributes) GetDeleteAfter() *StoragePolicyDeleteAfter
- func (x *StoragePolicyAttributes) GetRetainFor() *StoragePolicyRetainFor
- func (*StoragePolicyAttributes) ProtoMessage()
- func (x *StoragePolicyAttributes) ProtoReflect() protoreflect.Message
- func (x *StoragePolicyAttributes) Reset()
- func (x *StoragePolicyAttributes) String() string
- type StoragePolicyDeleteAfter
- func (*StoragePolicyDeleteAfter) Descriptor() ([]byte, []int)deprecated
- func (x *StoragePolicyDeleteAfter) GetDays() int32
- func (x *StoragePolicyDeleteAfter) GetOverridable() *wrapperspb.BoolValue
- func (*StoragePolicyDeleteAfter) ProtoMessage()
- func (x *StoragePolicyDeleteAfter) ProtoReflect() protoreflect.Message
- func (x *StoragePolicyDeleteAfter) Reset()
- func (x *StoragePolicyDeleteAfter) String() string
- type StoragePolicyRetainFor
- func (*StoragePolicyRetainFor) Descriptor() ([]byte, []int)deprecated
- func (x *StoragePolicyRetainFor) GetDays() int32
- func (x *StoragePolicyRetainFor) GetOverridable() *wrapperspb.BoolValue
- func (*StoragePolicyRetainFor) ProtoMessage()
- func (x *StoragePolicyRetainFor) ProtoReflect() protoreflect.Message
- func (x *StoragePolicyRetainFor) Reset()
- func (x *StoragePolicyRetainFor) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_api_resources_policies_v1_policy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct { // Output only. The id of the storage policy. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"` // The scope id of this policy. This must be defined for policy creation, but // is otherwise output only. ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"` // Output only. Scope information for this resource. Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"` // Optional name for identification purposes. Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"` // Optional user-set description for identification purposes. Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The time this resource was created. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"` // Output only. The time this resource was last updated. UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"` // The policy's type. Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"` // Version is used in mutation requests, after the initial creation, to ensure // this resource has not changed. The mutation will fail if the version does // not match the latest known good version. Version uint32 `protobuf:"varint,90,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"` // The attributes that are applicable to each policy type. // // Types that are assignable to Attrs: // // *Policy_Attributes // *Policy_StoragePolicyAttributes Attrs isPolicy_Attrs `protobuf_oneof:"attrs"` // Output only. The available actions on this resource for this user. AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) GetAttributes ¶
func (*Policy) GetAuthorizedActions ¶
func (*Policy) GetCreatedTime ¶
func (x *Policy) GetCreatedTime() *timestamppb.Timestamp
func (*Policy) GetDescription ¶
func (x *Policy) GetDescription() *wrapperspb.StringValue
func (*Policy) GetName ¶
func (x *Policy) GetName() *wrapperspb.StringValue
func (*Policy) GetScopeId ¶
func (*Policy) GetStoragePolicyAttributes ¶
func (x *Policy) GetStoragePolicyAttributes() *StoragePolicyAttributes
func (*Policy) GetUpdatedTime ¶
func (x *Policy) GetUpdatedTime() *timestamppb.Timestamp
func (*Policy) GetVersion ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type Policy_Attributes ¶
type Policy_StoragePolicyAttributes ¶
type Policy_StoragePolicyAttributes struct {
StoragePolicyAttributes *StoragePolicyAttributes `protobuf:"bytes,101,opt,name=storage_policy_attributes,json=storagePolicyAttributes,proto3,oneof"`
}
type StoragePolicyAttributes ¶
type StoragePolicyAttributes struct { RetainFor *StoragePolicyRetainFor `protobuf:"bytes,10,opt,name=retain_for,proto3" json:"retain_for,omitempty"` DeleteAfter *StoragePolicyDeleteAfter `protobuf:"bytes,20,opt,name=delete_after,proto3" json:"delete_after,omitempty"` // contains filtered or unexported fields }
func (*StoragePolicyAttributes) Descriptor
deprecated
func (*StoragePolicyAttributes) Descriptor() ([]byte, []int)
Deprecated: Use StoragePolicyAttributes.ProtoReflect.Descriptor instead.
func (*StoragePolicyAttributes) GetDeleteAfter ¶
func (x *StoragePolicyAttributes) GetDeleteAfter() *StoragePolicyDeleteAfter
func (*StoragePolicyAttributes) GetRetainFor ¶
func (x *StoragePolicyAttributes) GetRetainFor() *StoragePolicyRetainFor
func (*StoragePolicyAttributes) ProtoMessage ¶
func (*StoragePolicyAttributes) ProtoMessage()
func (*StoragePolicyAttributes) ProtoReflect ¶
func (x *StoragePolicyAttributes) ProtoReflect() protoreflect.Message
func (*StoragePolicyAttributes) Reset ¶
func (x *StoragePolicyAttributes) Reset()
func (*StoragePolicyAttributes) String ¶
func (x *StoragePolicyAttributes) String() string
type StoragePolicyDeleteAfter ¶
type StoragePolicyDeleteAfter struct { // days is the number of days after which a session recording will be // automatically deleted. Days int32 `protobuf:"varint,10,opt,name=days,proto3" json:"days,omitempty" class:"public"` // @gotags: `class:"public"` // overridable signals whether this storage policy's deletion policy can be // overridden. Overridable *wrapperspb.BoolValue `protobuf:"bytes,20,opt,name=overridable,proto3" json:"overridable,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
func (*StoragePolicyDeleteAfter) Descriptor
deprecated
func (*StoragePolicyDeleteAfter) Descriptor() ([]byte, []int)
Deprecated: Use StoragePolicyDeleteAfter.ProtoReflect.Descriptor instead.
func (*StoragePolicyDeleteAfter) GetDays ¶
func (x *StoragePolicyDeleteAfter) GetDays() int32
func (*StoragePolicyDeleteAfter) GetOverridable ¶
func (x *StoragePolicyDeleteAfter) GetOverridable() *wrapperspb.BoolValue
func (*StoragePolicyDeleteAfter) ProtoMessage ¶
func (*StoragePolicyDeleteAfter) ProtoMessage()
func (*StoragePolicyDeleteAfter) ProtoReflect ¶
func (x *StoragePolicyDeleteAfter) ProtoReflect() protoreflect.Message
func (*StoragePolicyDeleteAfter) Reset ¶
func (x *StoragePolicyDeleteAfter) Reset()
func (*StoragePolicyDeleteAfter) String ¶
func (x *StoragePolicyDeleteAfter) String() string
type StoragePolicyRetainFor ¶
type StoragePolicyRetainFor struct { // days is the number of days for which a session recording will be // retained. Must be provided. Days int32 `protobuf:"varint,10,opt,name=days,proto3" json:"days,omitempty" class:"public"` // @gotags: `class:"public"` // overridable signals whether this storage policy's retention duration can be // overridden. Overridable *wrapperspb.BoolValue `protobuf:"bytes,20,opt,name=overridable,proto3" json:"overridable,omitempty" class:"public"` // @gotags: `class:"public"` // contains filtered or unexported fields }
func (*StoragePolicyRetainFor) Descriptor
deprecated
func (*StoragePolicyRetainFor) Descriptor() ([]byte, []int)
Deprecated: Use StoragePolicyRetainFor.ProtoReflect.Descriptor instead.
func (*StoragePolicyRetainFor) GetDays ¶
func (x *StoragePolicyRetainFor) GetDays() int32
func (*StoragePolicyRetainFor) GetOverridable ¶
func (x *StoragePolicyRetainFor) GetOverridable() *wrapperspb.BoolValue
func (*StoragePolicyRetainFor) ProtoMessage ¶
func (*StoragePolicyRetainFor) ProtoMessage()
func (*StoragePolicyRetainFor) ProtoReflect ¶
func (x *StoragePolicyRetainFor) ProtoReflect() protoreflect.Message
func (*StoragePolicyRetainFor) Reset ¶
func (x *StoragePolicyRetainFor) Reset()
func (*StoragePolicyRetainFor) String ¶
func (x *StoragePolicyRetainFor) String() string
Click to show internal directories.
Click to hide internal directories.