Documentation
¶
Index ¶
- Variables
- type Grant
- type GrantJson
- func (*GrantJson) Descriptor() ([]byte, []int)deprecated
- func (x *GrantJson) GetActions() []string
- func (x *GrantJson) GetId() string
- func (x *GrantJson) GetType() string
- func (*GrantJson) ProtoMessage()
- func (x *GrantJson) ProtoReflect() protoreflect.Message
- func (x *GrantJson) Reset()
- func (x *GrantJson) String() string
- type Principal
- func (*Principal) Descriptor() ([]byte, []int)deprecated
- func (x *Principal) GetId() string
- func (x *Principal) GetScopeId() string
- func (x *Principal) GetType() string
- func (*Principal) ProtoMessage()
- func (x *Principal) ProtoReflect() protoreflect.Message
- func (x *Principal) Reset()
- func (x *Principal) String() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetCreatedTime() *timestamp.Timestamp
- func (x *Role) GetDescription() *wrappers.StringValue
- func (x *Role) GetGrantScopeId() *wrappers.StringValue
- func (x *Role) GetGrantStrings() []string
- func (x *Role) GetGrants() []*Grant
- func (x *Role) GetId() string
- func (x *Role) GetName() *wrappers.StringValue
- func (x *Role) GetPrincipalIds() []string
- func (x *Role) GetPrincipals() []*Principal
- func (x *Role) GetScope() *scopes.ScopeInfo
- func (x *Role) GetScopeId() string
- func (x *Role) GetUpdatedTime() *timestamp.Timestamp
- func (x *Role) GetVersion() uint32
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_api_resources_roles_v1_role_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Grant ¶
type Grant struct { // The original user-supplied string. // Output only. Raw string `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // The canonically formatted string. // Output only. Canonical string `protobuf:"bytes,2,opt,name=canonical,proto3" json:"canonical,omitempty"` // The JSON representation of the grant. // Output only. Json *GrantJson `protobuf:"bytes,3,opt,name=json,proto3" json:"json,omitempty"` // contains filtered or unexported fields }
func (*Grant) Descriptor
deprecated
func (*Grant) GetCanonical ¶
func (*Grant) ProtoMessage ¶
func (*Grant) ProtoMessage()
func (*Grant) ProtoReflect ¶
func (x *Grant) ProtoReflect() protoreflect.Message
type GrantJson ¶
type GrantJson struct { // The ID, if set. // Output only. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The type, if set. // Output only. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The actions. // Output only. Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*GrantJson) Descriptor
deprecated
func (*GrantJson) GetActions ¶
func (*GrantJson) ProtoMessage ¶
func (*GrantJson) ProtoMessage()
func (*GrantJson) ProtoReflect ¶
func (x *GrantJson) ProtoReflect() protoreflect.Message
type Principal ¶
type Principal struct { // The ID of the principal. // Output only. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The type of the principal. // Output only. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The scope ID of the principal. // Output only. ScopeId string `protobuf:"bytes,3,opt,name=scope_id,proto3" json:"scope_id,omitempty"` // contains filtered or unexported fields }
func (*Principal) Descriptor
deprecated
func (*Principal) GetScopeId ¶
func (*Principal) ProtoMessage ¶
func (*Principal) ProtoMessage()
func (*Principal) ProtoReflect ¶
func (x *Principal) ProtoReflect() protoreflect.Message
type Role ¶
type Role struct { // The ID of the Role // Output only. 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"` // Scope information for this resource // Output only. 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"` // The time this resource was created // Output only. CreatedTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"` // The time this resource was last updated. // Output only. UpdatedTime *timestamp.Timestamp `protobuf:"bytes,70,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,80,opt,name=version,proto3" json:"version,omitempty"` // The scope the grants will apply to. If the role is at the global scope, // this can be an org or project. If the role is at an org // scope, this can be a project within the org. It is invalid for // this to be anything other than the role's scope when the role's scope is // a project. GrantScopeId *wrappers.StringValue `protobuf:"bytes,90,opt,name=grant_scope_id,proto3" json:"grant_scope_id,omitempty"` // The IDs (only) of principals that are assigned to this role. // Output only. PrincipalIds []string `protobuf:"bytes,100,rep,name=principal_ids,proto3" json:"principal_ids,omitempty"` // The principals that are assigned to this role. // Output only. Principals []*Principal `protobuf:"bytes,110,rep,name=principals,proto3" json:"principals,omitempty"` // The grants that this role provides for its principals. // Output only. GrantStrings []string `protobuf:"bytes,120,rep,name=grant_strings,proto3" json:"grant_strings,omitempty"` // The parsed grant information. // Output only. Grants []*Grant `protobuf:"bytes,130,rep,name=grants,proto3" json:"grants,omitempty"` // contains filtered or unexported fields }
Role contains all fields related to a Role resource
func (*Role) Descriptor
deprecated
func (*Role) GetCreatedTime ¶
func (*Role) GetDescription ¶
func (x *Role) GetDescription() *wrappers.StringValue
func (*Role) GetGrantScopeId ¶
func (x *Role) GetGrantScopeId() *wrappers.StringValue
func (*Role) GetGrantStrings ¶
func (*Role) GetName ¶
func (x *Role) GetName() *wrappers.StringValue
func (*Role) GetPrincipalIds ¶
func (*Role) GetPrincipals ¶
func (*Role) GetScopeId ¶
func (*Role) GetUpdatedTime ¶
func (*Role) GetVersion ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.