accounts

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 {

	// Output only. The ID of the Account.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. Scope information for the Account.
	Scope *scopes.ScopeInfo `protobuf:"bytes,20,opt,name=scope,proto3" json:"scope,omitempty"`
	// Optional name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,30,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,40,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,50,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,60,opt,name=updated_time,proto3" json:"updated_time,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,70,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
	// The type of this Account.
	Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// The ID of the Auth Method that is associated with this Account.
	AuthMethodId string `protobuf:"bytes,90,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Types that are assignable to Attrs:
	//
	//	*Account_Attributes
	//	*Account_PasswordAccountAttributes
	//	*Account_OidcAccountAttributes
	//	*Account_LdapAccountAttributes
	Attrs isAccount_Attrs `protobuf_oneof:"attrs"`
	// Output only. managed_group_ids indicates IDs of the managed groups that currently contain this account
	ManagedGroupIds []string `` // @gotags: `class:"public" eventstream:"observation"`
	/* 130-byte string literal not displayed */
	// 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
}

Account contains all fields related to an Account resource

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAttributes

func (x *Account) GetAttributes() *structpb.Struct

func (*Account) GetAttrs added in v0.0.15

func (m *Account) GetAttrs() isAccount_Attrs

func (*Account) GetAuthMethodId

func (x *Account) GetAuthMethodId() string

func (*Account) GetAuthorizedActions

func (x *Account) GetAuthorizedActions() []string

func (*Account) GetCreatedTime

func (x *Account) GetCreatedTime() *timestamppb.Timestamp

func (*Account) GetDescription

func (x *Account) GetDescription() *wrapperspb.StringValue

func (*Account) GetId

func (x *Account) GetId() string

func (*Account) GetLdapAccountAttributes added in v0.0.31

func (x *Account) GetLdapAccountAttributes() *LdapAccountAttributes

func (*Account) GetManagedGroupIds

func (x *Account) GetManagedGroupIds() []string

func (*Account) GetName

func (x *Account) GetName() *wrapperspb.StringValue

func (*Account) GetOidcAccountAttributes added in v0.0.15

func (x *Account) GetOidcAccountAttributes() *OidcAccountAttributes

func (*Account) GetPasswordAccountAttributes added in v0.0.15

func (x *Account) GetPasswordAccountAttributes() *PasswordAccountAttributes

func (*Account) GetScope

func (x *Account) GetScope() *scopes.ScopeInfo

func (*Account) GetType

func (x *Account) GetType() string

func (*Account) GetUpdatedTime

func (x *Account) GetUpdatedTime() *timestamppb.Timestamp

func (*Account) GetVersion

func (x *Account) GetVersion() uint32

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type Account_Attributes added in v0.0.15

type Account_Attributes struct {
	// The attributes that are applicable for the specific Account type.
	Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3,oneof"`
}

type Account_LdapAccountAttributes added in v0.0.31

type Account_LdapAccountAttributes struct {
	LdapAccountAttributes *LdapAccountAttributes `protobuf:"bytes,103,opt,name=ldap_account_attributes,json=ldapAccountAttributes,proto3,oneof"`
}

type Account_OidcAccountAttributes added in v0.0.15

type Account_OidcAccountAttributes struct {
	OidcAccountAttributes *OidcAccountAttributes `protobuf:"bytes,102,opt,name=oidc_account_attributes,json=oidcAccountAttributes,proto3,oneof"`
}

type Account_PasswordAccountAttributes added in v0.0.15

type Account_PasswordAccountAttributes struct {
	PasswordAccountAttributes *PasswordAccountAttributes `protobuf:"bytes,101,opt,name=password_account_attributes,json=passwordAccountAttributes,proto3,oneof"`
}

type LdapAccountAttributes added in v0.0.31

type LdapAccountAttributes struct {

	// login_name of the authenticated user.  This is the login_name (or username)
	// entered by the user when authenticating (typically the uid or cn
	// attribute).  Account login names must be lower case.
	LoginName string `protobuf:"bytes,100,opt,name=login_name,proto3" json:"login_name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// Output only.  full_name is a string that maps to the name attribute for the
	// authenticated user.  This attribute is updated every time a user
	// successfully authenticates.
	FullName string `protobuf:"bytes,110,opt,name=full_name,proto3" json:"full_name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// Output only. email is a string that maps to the email address attribute for
	// the authenticated user.  This attribute is updated every time a user
	// successfully authenticates.
	Email string `protobuf:"bytes,120,opt,name=email,proto3" json:"email,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// Output only. dn is the distinguished name authenticated user's entry.  Will
	// be null until the user's first successful authentication.  This attribute
	// is updated every time a user successfully authenticates.
	Dn string `protobuf:"bytes,130,opt,name=dn,proto3" json:"dn,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. member_of_groups are the json marshalled groups the
	// authenticated user is a member of. Will be null until the user's first
	// successful authentication. This attribute is updated every time a user
	// successfully authenticates.
	MemberOfGroups []string `protobuf:"bytes,140,rep,name=member_of_groups,json=memberOfGroups,proto3" json:"member_of_groups,omitempty" class:"public"` // @gotags: `class:"public"`
	// contains filtered or unexported fields
}

Attributes associated only with Accounts with type "ldap".

func (*LdapAccountAttributes) Descriptor deprecated added in v0.0.31

func (*LdapAccountAttributes) Descriptor() ([]byte, []int)

Deprecated: Use LdapAccountAttributes.ProtoReflect.Descriptor instead.

func (*LdapAccountAttributes) GetDn added in v0.0.31

func (x *LdapAccountAttributes) GetDn() string

func (*LdapAccountAttributes) GetEmail added in v0.0.31

func (x *LdapAccountAttributes) GetEmail() string

func (*LdapAccountAttributes) GetFullName added in v0.0.31

func (x *LdapAccountAttributes) GetFullName() string

func (*LdapAccountAttributes) GetLoginName added in v0.0.31

func (x *LdapAccountAttributes) GetLoginName() string

func (*LdapAccountAttributes) GetMemberOfGroups added in v0.0.31

func (x *LdapAccountAttributes) GetMemberOfGroups() []string

func (*LdapAccountAttributes) ProtoMessage added in v0.0.31

func (*LdapAccountAttributes) ProtoMessage()

func (*LdapAccountAttributes) ProtoReflect added in v0.0.31

func (x *LdapAccountAttributes) ProtoReflect() protoreflect.Message

func (*LdapAccountAttributes) Reset added in v0.0.31

func (x *LdapAccountAttributes) Reset()

func (*LdapAccountAttributes) String added in v0.0.31

func (x *LdapAccountAttributes) String() string

type OidcAccountAttributes

type OidcAccountAttributes struct {

	// issuer is a case sensitive URL that maps to the OIDC iss claim.
	// This value is immutable after creation time.
	Issuer string `protobuf:"bytes,80,opt,name=issuer,proto3" json:"issuer,omitempty" class:"public"` // @gotags: `class:"public"`
	// subject is a case sensitive string that maps to the OIDC sub claim.
	// This value is immutable after creation time.
	Subject string `protobuf:"bytes,90,opt,name=subject,proto3" json:"subject,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. full_name is a string that maps to the OIDC name claim.
	FullName string `protobuf:"bytes,100,opt,name=full_name,proto3" json:"full_name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. email is a string that maps to the OIDC email claim.
	Email string `protobuf:"bytes,110,opt,name=email,proto3" json:"email,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. token_claims are the marshaled claims from the token.
	TokenClaims *structpb.Struct `protobuf:"bytes,120,opt,name=token_claims,json=tokenClaims,proto3" json:"token_claims,omitempty"`
	// Output only. userinfo_claims are the marshaled claims from userinfo.
	UserinfoClaims *structpb.Struct `protobuf:"bytes,130,opt,name=userinfo_claims,json=userinfoClaims,proto3" json:"userinfo_claims,omitempty"`
	// contains filtered or unexported fields
}

Attributes associated only with Accounts with type "oidc".

func (*OidcAccountAttributes) Descriptor deprecated

func (*OidcAccountAttributes) Descriptor() ([]byte, []int)

Deprecated: Use OidcAccountAttributes.ProtoReflect.Descriptor instead.

func (*OidcAccountAttributes) GetEmail

func (x *OidcAccountAttributes) GetEmail() string

func (*OidcAccountAttributes) GetFullName

func (x *OidcAccountAttributes) GetFullName() string

func (*OidcAccountAttributes) GetIssuer

func (x *OidcAccountAttributes) GetIssuer() string

func (*OidcAccountAttributes) GetSubject

func (x *OidcAccountAttributes) GetSubject() string

func (*OidcAccountAttributes) GetTokenClaims

func (x *OidcAccountAttributes) GetTokenClaims() *structpb.Struct

func (*OidcAccountAttributes) GetUserinfoClaims

func (x *OidcAccountAttributes) GetUserinfoClaims() *structpb.Struct

func (*OidcAccountAttributes) ProtoMessage

func (*OidcAccountAttributes) ProtoMessage()

func (*OidcAccountAttributes) ProtoReflect

func (x *OidcAccountAttributes) ProtoReflect() protoreflect.Message

func (*OidcAccountAttributes) Reset

func (x *OidcAccountAttributes) Reset()

func (*OidcAccountAttributes) String

func (x *OidcAccountAttributes) String() string

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,proto3" json:"login_name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// The password for this Account.
	Password *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// contains filtered or unexported fields
}

Attributes associated only with Accounts with type "password".

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 (*PasswordAccountAttributes) ProtoMessage

func (*PasswordAccountAttributes) ProtoMessage()

func (*PasswordAccountAttributes) ProtoReflect

func (*PasswordAccountAttributes) Reset

func (x *PasswordAccountAttributes) Reset()

func (*PasswordAccountAttributes) String

func (x *PasswordAccountAttributes) String() string

Jump to

Keyboard shortcuts

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