Documentation
¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAttributes() *structpb.Struct
- func (x *Account) GetAuthMethodId() string
- func (x *Account) GetAuthorizedActions() []string
- func (x *Account) GetCreatedTime() *timestamppb.Timestamp
- func (x *Account) GetDescription() *wrapperspb.StringValue
- func (x *Account) GetId() string
- func (x *Account) GetManagedGroupIds() []string
- func (x *Account) GetName() *wrapperspb.StringValue
- func (x *Account) GetScope() *scopes.ScopeInfo
- func (x *Account) GetType() string
- func (x *Account) GetUpdatedTime() *timestamppb.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 OidcAccountAttributes
- func (*OidcAccountAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *OidcAccountAttributes) GetEmail() string
- func (x *OidcAccountAttributes) GetFullName() string
- func (x *OidcAccountAttributes) GetIssuer() string
- func (x *OidcAccountAttributes) GetSubject() string
- func (x *OidcAccountAttributes) GetTokenClaims() *structpb.Struct
- func (x *OidcAccountAttributes) GetUserinfoClaims() *structpb.Struct
- func (*OidcAccountAttributes) ProtoMessage()
- func (x *OidcAccountAttributes) ProtoReflect() protoreflect.Message
- func (x *OidcAccountAttributes) Reset()
- func (x *OidcAccountAttributes) String() string
- type PasswordAccountAttributes
- func (*PasswordAccountAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordAccountAttributes) GetLoginName() string
- func (x *PasswordAccountAttributes) GetPassword() *wrapperspb.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 { // Output only. The ID of the Account. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // 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"` // Optional user-set description for identification purposes. Description *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time this resource was created. CreatedTime *timestamppb.Timestamp `protobuf:"bytes,50,opt,name=created_time,proto3" json:"created_time,omitempty"` // Output only. The time this resource was last updated. UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=updated_time,proto3" json:"updated_time,omitempty"` // 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"` // The type of this Account. Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty"` // 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"` // The attributes that are applicable for the specific Account type. Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"` // Output only. managed_group_ids indicates IDs of the managed groups that currently contain this account ManagedGroupIds []string `protobuf:"bytes,110,rep,name=managed_group_ids,proto3" json:"managed_group_ids,omitempty"` // 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"` // contains filtered or unexported fields }
Account contains all fields related to an Account resource
func (*Account) Descriptor
deprecated
func (*Account) GetAttributes ¶
func (*Account) GetAuthMethodId ¶
func (*Account) GetAuthorizedActions ¶ added in v0.1.5
func (*Account) GetCreatedTime ¶
func (x *Account) GetCreatedTime() *timestamppb.Timestamp
func (*Account) GetDescription ¶
func (x *Account) GetDescription() *wrapperspb.StringValue
func (*Account) GetManagedGroupIds ¶ added in v0.3.0
func (*Account) GetName ¶
func (x *Account) GetName() *wrapperspb.StringValue
func (*Account) GetUpdatedTime ¶
func (x *Account) GetUpdatedTime() *timestamppb.Timestamp
func (*Account) GetVersion ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type OidcAccountAttributes ¶ added in v0.2.0
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"` // 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"` // 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"` // 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"` // 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
added in
v0.2.0
func (*OidcAccountAttributes) Descriptor() ([]byte, []int)
Deprecated: Use OidcAccountAttributes.ProtoReflect.Descriptor instead.
func (*OidcAccountAttributes) GetEmail ¶ added in v0.2.0
func (x *OidcAccountAttributes) GetEmail() string
func (*OidcAccountAttributes) GetFullName ¶ added in v0.2.0
func (x *OidcAccountAttributes) GetFullName() string
func (*OidcAccountAttributes) GetIssuer ¶ added in v0.2.0
func (x *OidcAccountAttributes) GetIssuer() string
func (*OidcAccountAttributes) GetSubject ¶ added in v0.2.0
func (x *OidcAccountAttributes) GetSubject() string
func (*OidcAccountAttributes) GetTokenClaims ¶ added in v0.5.0
func (x *OidcAccountAttributes) GetTokenClaims() *structpb.Struct
func (*OidcAccountAttributes) GetUserinfoClaims ¶ added in v0.5.0
func (x *OidcAccountAttributes) GetUserinfoClaims() *structpb.Struct
func (*OidcAccountAttributes) ProtoMessage ¶ added in v0.2.0
func (*OidcAccountAttributes) ProtoMessage()
func (*OidcAccountAttributes) ProtoReflect ¶ added in v0.2.0
func (x *OidcAccountAttributes) ProtoReflect() protoreflect.Message
func (*OidcAccountAttributes) Reset ¶ added in v0.2.0
func (x *OidcAccountAttributes) Reset()
func (*OidcAccountAttributes) String ¶ added in v0.2.0
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"` // The password for this Account. Password *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=password,proto3" json:"password,omitempty"` // 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 (x *PasswordAccountAttributes) GetPassword() *wrapperspb.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.