Documentation ¶
Index ¶
- Variables
- type Account
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAccountIds() []string
- func (x *User) GetAccounts() []*Account
- func (x *User) GetAuthorizedActions() []string
- func (x *User) GetCreatedTime() *timestamp.Timestamp
- func (x *User) GetDescription() *wrappers.StringValue
- func (x *User) GetId() string
- func (x *User) GetName() *wrappers.StringValue
- func (x *User) GetScope() *scopes.ScopeInfo
- func (x *User) GetScopeId() string
- func (x *User) GetUpdatedTime() *timestamp.Timestamp
- func (x *User) GetVersion() uint32
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_api_resources_users_v1_user_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. The Scope containing the Account. ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetScopeId ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type User ¶
type User struct { // Output only. The ID of the User. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // The ID of the Scope this resource is in. ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty"` // 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 *wrappers.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"` // Optional user-set description for identification purposes. Description *wrappers.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time this resource was created. CreatedTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"` // Output only. The time this resource was last updated. UpdatedTime *timestamp.Timestamp `protobuf:"bytes,70,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,80,opt,name=version,proto3" json:"version,omitempty"` // Output only. Contains the list of Account IDs linked to this User. AccountIds []string `protobuf:"bytes,90,rep,name=account_ids,proto3" json:"account_ids,omitempty"` // Output only. The Accounts linked to this User. Accounts []*Account `protobuf:"bytes,100,rep,name=accounts,proto3" json:"accounts,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 }
User contains all fields related to a User resource
func (*User) Descriptor
deprecated
func (*User) GetAccountIds ¶
func (*User) GetAccounts ¶
func (*User) GetAuthorizedActions ¶ added in v0.1.5
func (*User) GetCreatedTime ¶
func (*User) GetDescription ¶
func (x *User) GetDescription() *wrappers.StringValue
func (*User) GetName ¶
func (x *User) GetName() *wrappers.StringValue
func (*User) GetScopeId ¶
func (*User) GetUpdatedTime ¶
func (*User) GetVersion ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.