Documentation
¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAttributes() *_struct.Struct
- func (x *Account) GetAuthMethodId() string
- func (x *Account) GetCreatedTime() *timestamp.Timestamp
- func (x *Account) GetDescription() *wrappers.StringValue
- func (x *Account) GetId() string
- func (x *Account) GetName() *wrappers.StringValue
- func (x *Account) GetScope() *scopes.ScopeInfo
- func (x *Account) GetType() string
- func (x *Account) GetUpdatedTime() *timestamp.Timestamp
- func (x *Account) GetVersion() uint32
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type PasswordAccountAttributes
- func (*PasswordAccountAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordAccountAttributes) GetLoginName() string
- func (x *PasswordAccountAttributes) GetPassword() *wrappers.StringValue
- func (*PasswordAccountAttributes) ProtoMessage()
- func (x *PasswordAccountAttributes) ProtoReflect() protoreflect.Message
- func (x *PasswordAccountAttributes) Reset()
- func (x *PasswordAccountAttributes) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_api_resources_accounts_v1_account_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// The ID of the Account
// Output only.
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
// Scope information for this resource
// Output only.
Scope *scopes.ScopeInfo `protobuf:"bytes,20,opt,name=scope,proto3" json:"scope,omitempty"`
// Optional name for identification purposes
Name *wrappers.StringValue `protobuf:"bytes,30,opt,name=name,proto3" json:"name,omitempty"`
// Optional user-set descripton for identification purposes
Description *wrappers.StringValue `protobuf:"bytes,40,opt,name=description,proto3" json:"description,omitempty"`
// The time this resource was created
// Output only.
CreatedTime *timestamp.Timestamp `protobuf:"bytes,50,opt,name=created_time,proto3" json:"created_time,omitempty"`
// The time this resource was last updated.
// Output only.
UpdatedTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
// The version can be used in subsequent write requests to ensure this resource
// has not changed and to fail the write if it has.
Version uint32 `protobuf:"varint,70,opt,name=version,proto3" json:"version,omitempty"`
// The type of this account. Possible values are: "password", "oidc".
Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty"`
// The auth method this account is created for.
// Output only.
AuthMethodId string `protobuf:"bytes,90,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty"`
// The attributes that are applicable for the specific Account type.
Attributes *_struct.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"`
// contains filtered or unexported fields
}
Account contains all fields related to an auth Account resource
func (*Account) Descriptor
deprecated
func (*Account) GetAttributes ¶
func (*Account) GetAuthMethodId ¶
func (*Account) GetCreatedTime ¶
func (*Account) GetDescription ¶
func (x *Account) GetDescription() *wrappers.StringValue
func (*Account) GetName ¶
func (x *Account) GetName() *wrappers.StringValue
func (*Account) GetUpdatedTime ¶
func (*Account) GetVersion ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type PasswordAccountAttributes ¶
type PasswordAccountAttributes struct {
// The login name of this account. This is unique per auth method.
LoginName string `protobuf:"bytes,10,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"`
// The password for this account.
Password *wrappers.StringValue `protobuf:"bytes,20,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*PasswordAccountAttributes) Descriptor
deprecated
func (*PasswordAccountAttributes) Descriptor() ([]byte, []int)
Deprecated: Use PasswordAccountAttributes.ProtoReflect.Descriptor instead.
func (*PasswordAccountAttributes) GetLoginName ¶
func (x *PasswordAccountAttributes) GetLoginName() string
func (*PasswordAccountAttributes) GetPassword ¶
func (x *PasswordAccountAttributes) GetPassword() *wrappers.StringValue
func (*PasswordAccountAttributes) ProtoMessage ¶
func (*PasswordAccountAttributes) ProtoMessage()
func (*PasswordAccountAttributes) ProtoReflect ¶
func (x *PasswordAccountAttributes) ProtoReflect() protoreflect.Message
func (*PasswordAccountAttributes) Reset ¶
func (x *PasswordAccountAttributes) Reset()
func (*PasswordAccountAttributes) String ¶
func (x *PasswordAccountAttributes) String() string
Click to show internal directories.
Click to hide internal directories.