service_account

package
v1.0.22 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 43 Imported by: 29

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_Region = "projects/{project}/regions/{region}/serviceAccounts/{service_account}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access ServiceAccountAccess) gotenresource.Access

Types

type Descriptor

type Descriptor struct {
	// contains filtered or unexported fields
}

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless added in v1.0.21

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor

func (*Descriptor) GetParentResDescriptors added in v1.0.21

func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor

func (*Descriptor) GetResourceTypeName

func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName

func (*Descriptor) NewGetQuery

func (d *Descriptor) NewGetQuery() gotenresource.GetQuery

func (*Descriptor) NewListQuery

func (d *Descriptor) NewListQuery() gotenresource.ListQuery

func (*Descriptor) NewNameList

func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList

func (*Descriptor) NewParentNameList

func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList

func (*Descriptor) NewParentReferenceList

func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList

func (*Descriptor) NewQueryResultChange

func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange

func (*Descriptor) NewQueryResultSnapshot

func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot

func (*Descriptor) NewReferenceList

func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList

func (*Descriptor) NewResource

func (d *Descriptor) NewResource() gotenresource.Resource

func (*Descriptor) NewResourceChange

func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange

func (*Descriptor) NewResourceChangeList

func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList

func (*Descriptor) NewResourceChangeMap

func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap

func (*Descriptor) NewResourceCursor

func (d *Descriptor) NewResourceCursor() gotenresource.Cursor

func (*Descriptor) NewResourceFieldMask added in v0.4.16

func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask

func (*Descriptor) NewResourceFilter added in v0.4.16

func (d *Descriptor) NewResourceFilter() gotenresource.Filter

func (*Descriptor) NewResourceList

func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList

func (*Descriptor) NewResourceMap

func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap

func (*Descriptor) NewResourceName

func (d *Descriptor) NewResourceName() gotenresource.Name

func (*Descriptor) NewResourceOrderBy added in v0.4.16

func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy

func (*Descriptor) NewResourcePager added in v0.9.0

func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery

func (*Descriptor) NewSearchQuery

func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery

func (*Descriptor) NewWatchQuery

func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery

func (*Descriptor) ParseFieldPath

func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)

func (*Descriptor) ParseResourceName

func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)

func (*Descriptor) SupportsMetadata added in v1.0.21

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Filter) ConvertToType

func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val

func (*Filter) DecodeFirestore

func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Filter) EncodeFirestore

func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Filter) Equal

func (filter *Filter) Equal(other ref.Val) ref.Val

func (*Filter) Evaluate

func (filter *Filter) Evaluate(res *ServiceAccount) bool

Evaluate is a wrapper on FilterCondition, which also handles nil pointer

func (*Filter) EvaluateRaw

func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool

func (*Filter) FilterSlice

func (filter *Filter) FilterSlice(in []*ServiceAccount) (out []*ServiceAccount)

FilterSlice is a helper for filtering arrays

func (*Filter) GetCondition

func (filter *Filter) GetCondition() FilterCondition

GetCondition is a getter of FilterCondition, which also handles nil pointer

func (*Filter) GetRawCondition

func (filter *Filter) GetRawCondition() gotenresource.FilterCondition

func (*Filter) HasTrait

func (filter *Filter) HasTrait(trait int) bool

func (*Filter) Match

func (filter *Filter) Match(pattern ref.Val) ref.Val

func (*Filter) ParseProtoString

func (filter *Filter) ParseProtoString(data string) error

func (*Filter) ProtoString

func (filter *Filter) ProtoString() (string, error)

func (*Filter) Receive

func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Filter) SetFromCliFlag

func (filter *Filter) SetFromCliFlag(raw string) error

func (*Filter) String

func (filter *Filter) String() string

func (*Filter) Type

func (filter *Filter) Type() ref.Type

func (*Filter) TypeName

func (filter *Filter) TypeName() string

func (*Filter) Value

func (filter *Filter) Value() interface{}

type FilterBuilder

type FilterBuilder struct {
	// contains filtered or unexported fields
}

func NewAndFilterBuilder

func NewAndFilterBuilder() *FilterBuilder

func NewFilterBuilder

func NewFilterBuilder() *FilterBuilder

func NewOrFilterBuilder

func NewOrFilterBuilder() *FilterBuilder

func (*FilterBuilder) Filter

func (b *FilterBuilder) Filter() *Filter

func (*FilterBuilder) Where

func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder

func (*FilterBuilder) WherePath

func (b *FilterBuilder) WherePath(fp ServiceAccount_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath

func (*FilterBuilder) With

type FilterBuilderOrCondition

type FilterBuilderOrCondition interface {
	// contains filtered or unexported methods
}

type FilterCondition

type FilterCondition interface {
	gotenresource.FilterCondition

	And(...FilterCondition) FilterCondition
	Evaluate(res *ServiceAccount) bool

	// Whether this condition is at least as specific as other.
	// When true, any ServiceAccount that passes this condition will also pass other condition.
	Satisfies(other FilterCondition) bool

	// Checks whether condition specifies given field path
	// Useful for blacklisting protected paths in iam policy conditions
	SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	ServiceAccount_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *ServiceAccount) bool

func (*FilterConditionCompare) EvaluateRaw

func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionCompare) GetOperator

func (*FilterConditionCompare) GetRawFieldPath

func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionCompare) GetRawFieldPathValue

func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue

func (*FilterConditionCompare) Satisfies

func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool

func (*FilterConditionCompare) SatisfiesRaw

func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionCompare) SpecifiesFieldPath

func (cond *FilterConditionCompare) SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool

func (*FilterConditionCompare) SpecifiesRawFieldPath

func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionCompare) String

func (cond *FilterConditionCompare) String() string

type FilterConditionComposite

type FilterConditionComposite struct {
	Operator   filterParser.CompositeOperator
	Conditions []FilterCondition
}

func (*FilterConditionComposite) And

func (*FilterConditionComposite) ConditionComposite

func (cond *FilterConditionComposite) ConditionComposite()

func (*FilterConditionComposite) Evaluate

func (cond *FilterConditionComposite) Evaluate(res *ServiceAccount) bool

func (*FilterConditionComposite) EvaluateRaw

func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionComposite) GetOperator

func (*FilterConditionComposite) GetSubConditions

func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition

func (*FilterConditionComposite) Satisfies

func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool

func (*FilterConditionComposite) SatisfiesRaw

func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionComposite) SpecifiesFieldPath

func (cond *FilterConditionComposite) SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType

func (*FilterConditionContains) Evaluate

func (cond *FilterConditionContains) Evaluate(res *ServiceAccount) bool

func (*FilterConditionContains) EvaluateRaw

func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionContains) GetFieldPath

func (*FilterConditionContains) GetRawFieldPath

func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionContains) GetRawFieldPathItemValue

func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue

func (*FilterConditionContains) GetRawFieldPathItemValues

func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)

func (*FilterConditionContains) Satisfies

func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool

func (*FilterConditionContains) SatisfiesRaw

func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionContains) SpecifiesFieldPath

func (cond *FilterConditionContains) SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool

func (*FilterConditionContains) SpecifiesRawFieldPath

func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionContains) String

func (cond *FilterConditionContains) String() string

type FilterConditionIn

type FilterConditionIn struct {
	ServiceAccount_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *ServiceAccount) bool

func (*FilterConditionIn) EvaluateRaw

func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIn) GetRawFieldPath

func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIn) GetRawFieldPathArrayOfValues

func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues

func (*FilterConditionIn) Satisfies

func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool

func (*FilterConditionIn) SatisfiesRaw

func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIn) SpecifiesFieldPath

func (cond *FilterConditionIn) SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool

func (*FilterConditionIn) SpecifiesRawFieldPath

func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIn) String

func (cond *FilterConditionIn) String() string

type FilterConditionIsNaN

type FilterConditionIsNaN struct {
	Not       bool
	FieldPath ServiceAccount_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *ServiceAccount) bool

func (*FilterConditionIsNaN) EvaluateRaw

func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIsNaN) GetRawFieldPath

func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIsNaN) Satisfies

func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool

func (*FilterConditionIsNaN) SatisfiesRaw

func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIsNaN) SpecifiesFieldPath

func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool

func (*FilterConditionIsNaN) SpecifiesRawFieldPath

func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIsNaN) String

func (cond *FilterConditionIsNaN) String() string

type FilterConditionIsNull

type FilterConditionIsNull struct {
	Not       bool
	FieldPath ServiceAccount_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *ServiceAccount) bool

func (*FilterConditionIsNull) EvaluateRaw

func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIsNull) GetRawFieldPath

func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIsNull) NotNull

func (cond *FilterConditionIsNull) NotNull() bool

func (*FilterConditionIsNull) Satisfies

func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool

func (*FilterConditionIsNull) SatisfiesRaw

func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIsNull) SpecifiesFieldPath

func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool

func (*FilterConditionIsNull) SpecifiesRawFieldPath

func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIsNull) String

func (cond *FilterConditionIsNull) String() string

type FilterConditionNot

type FilterConditionNot struct {
	FilterCondition
}

func (*FilterConditionNot) And

func (*FilterConditionNot) ConditionNot

func (cond *FilterConditionNot) ConditionNot()

func (*FilterConditionNot) Evaluate

func (cond *FilterConditionNot) Evaluate(res *ServiceAccount) bool

func (*FilterConditionNot) EvaluateRaw

func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionNot) GetSubCondition

func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition

func (*FilterConditionNot) Satisfies

func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool

func (*FilterConditionNot) SatisfiesRaw

func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionNot) SpecifiesFieldPath

func (cond *FilterConditionNot) SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool

func (*FilterConditionNot) SpecifiesRawFieldPath

func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionNot) String

func (cond *FilterConditionNot) String() string

type FilterConditionNotIn

type FilterConditionNotIn struct {
	ServiceAccount_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *ServiceAccount) bool

func (*FilterConditionNotIn) EvaluateRaw

func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionNotIn) GetRawFieldPath

func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionNotIn) GetRawFieldPathArrayOfValues

func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues

func (*FilterConditionNotIn) Satisfies

func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool

func (*FilterConditionNotIn) SatisfiesRaw

func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionNotIn) SpecifiesFieldPath

func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp ServiceAccount_FieldPath) bool

func (*FilterConditionNotIn) SpecifiesRawFieldPath

func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionNotIn) String

func (cond *FilterConditionNotIn) String() string

type GetQuery

type GetQuery struct {
	Reference *Reference
	Mask      *ServiceAccount_FieldMask
}

func (*GetQuery) GetFieldMask

func (q *GetQuery) GetFieldMask() gotenobject.FieldMask

func (*GetQuery) GetReference

func (q *GetQuery) GetReference() gotenresource.Reference

func (*GetQuery) GetResourceDescriptor

func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*GetQuery) GotenQuery

func (q *GetQuery) GotenQuery()

func (*GetQuery) SetFieldMask

func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)

func (*GetQuery) SetReference

func (q *GetQuery) SetReference(ref gotenresource.Reference)

func (*GetQuery) String

func (q *GetQuery) String() string

type ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *ServiceAccount_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

func (q *ListQuery) GetFieldMask() gotenobject.FieldMask

func (*ListQuery) GetFilter

func (q *ListQuery) GetFilter() gotenresource.Filter

func (*ListQuery) GetPager

func (q *ListQuery) GetPager() gotenresource.PagerQuery

func (*ListQuery) GetResourceDescriptor

func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*ListQuery) GetWithPagingInfo added in v0.10.1

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)

func (*ListQuery) SetFilter

func (q *ListQuery) SetFilter(filter gotenresource.Filter)

func (*ListQuery) SetPager

func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)

func (*ListQuery) SetWithPagingInfo added in v0.10.1

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	ServiceAccountId string `firestore:"serviceAccountId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

func ParseName(name string) (*Name, error)

func ParseNameOrId

func ParseNameOrId(nameOrId string) (*Name, error)

func (*Name) AsRawReference

func (name *Name) AsRawReference() gotenresource.Reference

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Name) ConvertToType

func (name *Name) ConvertToType(typeVal ref.Type) ref.Val

func (*Name) Equal

func (name *Name) Equal(other ref.Val) ref.Val

func (*Name) FullyQualifiedName

func (name *Name) FullyQualifiedName() (string, error)

func (*Name) GetIParentName added in v0.8.0

func (name *Name) GetIParentName() gotenresource.Name

func (*Name) GetIUnderlyingParentName added in v0.8.0

func (name *Name) GetIUnderlyingParentName() gotenresource.Name

func (*Name) GetIdParts

func (name *Name) GetIdParts() map[string]string

func (*Name) GetPattern

func (name *Name) GetPattern() gotenresource.NamePattern

func (*Name) GetProjectName

func (name *Name) GetProjectName() *project.Name

func (*Name) GetResourceDescriptor

func (name *Name) GetResourceDescriptor() gotenresource.Descriptor

func (*Name) GetSegments

func (name *Name) GetSegments() gotenresource.NameSegments

func (*Name) GotenEqual

func (name *Name) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Name) HasTrait

func (name *Name) HasTrait(trait int) bool

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

func (name *Name) Match(pattern ref.Val) ref.Val

func (*Name) Matches

func (name *Name) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Name) ParseProtoString

func (name *Name) ParseProtoString(data string) error

func (*Name) ProtoString

func (name *Name) ProtoString() (string, error)

func (*Name) Receive

func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Name) SetFromCliFlag

func (name *Name) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Name) SetFromSegments

func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error

func (*Name) String

func (name *Name) String() string

func (*Name) Type

func (name *Name) Type() ref.Type

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

func (name *Name) Value() interface{}

type NameBuilder

type NameBuilder struct {
	// contains filtered or unexported fields
}

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(id string) *NameBuilder

func (*NameBuilder) SetProject

func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder

func (*NameBuilder) SetProjectId

func (b *NameBuilder) SetProjectId(id string) *NameBuilder

func (*NameBuilder) SetRegionId

func (b *NameBuilder) SetRegionId(id string) *NameBuilder

type NamePattern

type NamePattern struct {
	Pattern gotenresource.NamePattern `firestore:"pattern"`
}

type OrderBy

type OrderBy struct {
	OrderByFields []OrderByField
}

OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"

func (*OrderBy) Compare

func (orderBy *OrderBy) Compare(left, right *ServiceAccount) int

func (*OrderBy) CompareRaw

func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *ServiceAccount_FieldMask

func (*OrderBy) GetOrderByFields

func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField

func (*OrderBy) GetRawFieldMask

func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask

func (*OrderBy) InsertSorted

func (orderBy *OrderBy) InsertSorted(sorted ServiceAccountList, elem *ServiceAccount) (ServiceAccountList, int)

func (*OrderBy) InsertSortedRaw

func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)

func (*OrderBy) ParseProtoString

func (orderBy *OrderBy) ParseProtoString(data string) error

func (*OrderBy) ProtoString

func (orderBy *OrderBy) ProtoString() (string, error)

func (*OrderBy) SetFromCliFlag

func (orderBy *OrderBy) SetFromCliFlag(raw string) error

func (*OrderBy) Sort

func (orderBy *OrderBy) Sort(results ServiceAccountList)

func (*OrderBy) SortRaw

func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath ServiceAccount_FieldPath
	Direction gotenresource.OrderDirection
}

OrderByField is single item in order_by specification it's string format is composed of 2 white-space separated values: - fieldPath and direction, e.g. "state.capacity desc". if direction is not provided, it defaults to "asc" (ascending)

func (*OrderByField) CompareWithDirection

func (orderByFld *OrderByField) CompareWithDirection(left, right *ServiceAccount) int

func (*OrderByField) GetDirection

func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection

func (*OrderByField) GetFieldPath

func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath

type PagerCursor

type PagerCursor struct {
	CursorValue   gotenresource.CursorValue
	Inclusion     gotenresource.CursorInclusion
	PageDirection gotenresource.PageDirection
}

PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)

func (*PagerCursor) GetInclusion

func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion

func (*PagerCursor) GetPageDirection

func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection

func (*PagerCursor) GetValue

func (cursor *PagerCursor) GetValue() gotenresource.CursorValue

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

func (cursor *PagerCursor) ParseProtoString(data string) (err error)

func (*PagerCursor) ProtoString

func (cursor *PagerCursor) ProtoString() (string, error)

func (*PagerCursor) SetCursorValue

func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)

func (*PagerCursor) SetFromCliFlag

func (cursor *PagerCursor) SetFromCliFlag(raw string) error

func (*PagerCursor) SetInclusion

func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)

func (*PagerCursor) SetPageDirection

func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

type PagerQuery struct {
	OrderBy     *OrderBy
	Cursor      *PagerCursor
	Limit       int
	PeekForward bool
}

PagerQuery is main struct used for assisting server and database to perform Pagination

func MakePagerQuery

func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

func (p *PagerQuery) GetCursor() gotenresource.Cursor

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*PagerQuery) PageDirection

func (p *PagerQuery) PageDirection() gotenresource.PageDirection

func (*PagerQuery) SetCursor added in v0.8.0

func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)

func (*PagerQuery) SetPageDirection added in v0.8.0

func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	ProjectId string `firestore:"projectId"`
	RegionId  string `firestore:"regionId"`
}

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

func ParseParentName(name string) (*ParentName, error)

func (*ParentName) AsRawReference

func (name *ParentName) AsRawReference() gotenresource.Reference

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) ConvertToNative added in v1.0.21

func (name *ParentName) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*ParentName) ConvertToType added in v1.0.21

func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val

func (*ParentName) DescendsFrom

func (name *ParentName) DescendsFrom(ancestor string) bool

func (*ParentName) Equal added in v1.0.21

func (name *ParentName) Equal(other ref.Val) ref.Val

func (*ParentName) FullyQualifiedName

func (name *ParentName) FullyQualifiedName() (string, error)

func (*ParentName) GetIParentName added in v0.8.0

func (name *ParentName) GetIParentName() gotenresource.Name

func (*ParentName) GetIUnderlyingParentName added in v0.8.0

func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name

func (*ParentName) GetIdParts

func (name *ParentName) GetIdParts() map[string]string

func (*ParentName) GetPattern

func (name *ParentName) GetPattern() gotenresource.NamePattern

func (*ParentName) GetProjectName

func (name *ParentName) GetProjectName() *project.Name

func (*ParentName) GetResourceDescriptor

func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentName) GetSegments

func (name *ParentName) GetSegments() gotenresource.NameSegments

func (*ParentName) GotenEqual

func (name *ParentName) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentName) HasTrait added in v1.0.21

func (name *ParentName) HasTrait(trait int) bool

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match added in v1.0.21

func (name *ParentName) Match(pattern ref.Val) ref.Val

func (*ParentName) Matches

func (name *ParentName) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentName) ParseProtoString

func (name *ParentName) ParseProtoString(data string) error

func (*ParentName) ProtoString

func (name *ParentName) ProtoString() (string, error)

func (*ParentName) Receive added in v1.0.21

func (name *ParentName) Receive(function string, overload string, args []ref.Val) ref.Val

func (*ParentName) SetFromCliFlag

func (name *ParentName) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type added in v1.0.21

func (name *ParentName) Type() ref.Type

func (*ParentName) TypeName added in v1.0.21

func (name *ParentName) TypeName() string

func (*ParentName) Value added in v1.0.21

func (name *ParentName) Value() interface{}

type ParentReference

type ParentReference struct {
	ParentName
	// contains filtered or unexported fields
}

func MakeParentReference

func MakeParentReference(name *ParentName) (*ParentReference, error)

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

func ParseParentReference(name string) (*ParentReference, error)

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName added in v0.8.0

func (ref *ParentReference) GetIParentName() gotenresource.Name

func (*ParentReference) GetIUnderlyingParentName added in v0.8.0

func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name

func (*ParentReference) GetIdParts

func (ref *ParentReference) GetIdParts() map[string]string

func (*ParentReference) GetPattern

func (ref *ParentReference) GetPattern() gotenresource.NamePattern

func (*ParentReference) GetProject

func (ref *ParentReference) GetProject() *project.Project

func (*ParentReference) GetProjectReference

func (ref *ParentReference) GetProjectReference() *project.Reference

func (*ParentReference) GetRawResource

func (ref *ParentReference) GetRawResource() gotenresource.Resource

func (*ParentReference) GetResourceDescriptor

func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentReference) GetSegments

func (ref *ParentReference) GetSegments() gotenresource.NameSegments

func (*ParentReference) GetUnderlyingReference

func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference

func (*ParentReference) GotenEqual

func (ref *ParentReference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

func (name *ParentReference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentReference) ParseProtoString

func (ref *ParentReference) ParseProtoString(data string) error

func (*ParentReference) ProtoString

func (ref *ParentReference) ProtoString() (string, error)

func (*ParentReference) ResolveRaw

func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

func (ref *ParentReference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type QueryResultChange

type QueryResultChange struct {
	Changes        []*ServiceAccountChange
	PrevPageCursor *PagerCursor
	NextPageCursor *PagerCursor
	ResumeToken    string
	IsCurrent      bool
	IsHardReset    bool
	IsSoftReset    bool
	SnapshotSize   int64
}

func (*QueryResultChange) GetIsCurrent

func (qr *QueryResultChange) GetIsCurrent() bool

func (*QueryResultChange) GetIsHardReset

func (qr *QueryResultChange) GetIsHardReset() bool

func (*QueryResultChange) GetIsSoftReset

func (qr *QueryResultChange) GetIsSoftReset() bool

func (*QueryResultChange) GetNextPageCursor

func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor

func (*QueryResultChange) GetPrevPageCursor

func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor

func (*QueryResultChange) GetResults

func (*QueryResultChange) GetResumeToken

func (qr *QueryResultChange) GetResumeToken() string

func (*QueryResultChange) GetSnapshotSize

func (qr *QueryResultChange) GetSnapshotSize() int64

func (*QueryResultChange) SetCursors

func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)

func (*QueryResultChange) SetIsCurrent

func (qr *QueryResultChange) SetIsCurrent()

func (*QueryResultChange) SetIsHardReset

func (qr *QueryResultChange) SetIsHardReset()

func (*QueryResultChange) SetIsSoftReset

func (qr *QueryResultChange) SetIsSoftReset()

func (*QueryResultChange) SetResults

func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)

func (*QueryResultChange) SetResumeToken

func (qr *QueryResultChange) SetResumeToken(token string)

func (*QueryResultChange) SetSnapshotSize

func (qr *QueryResultChange) SetSnapshotSize(size int64)

type QueryResultSnapshot

type QueryResultSnapshot struct {
	ServiceAccounts   []*ServiceAccount
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetPagingInfo added in v0.10.1

func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)

func (*QueryResultSnapshot) GetPrevPageCursor

func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)

func (*QueryResultSnapshot) SetPagingInfo added in v0.10.1

func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)

func (*QueryResultSnapshot) SetResults

func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)

type Reference

type Reference struct {
	Name
	// contains filtered or unexported fields
}

func MakeReference

func MakeReference(name *Name, serviceAccount *ServiceAccount) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

func ParseReference(name string) (*Reference, error)

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

func (ref *Reference) FullyQualifiedName() (string, error)

func (*Reference) GetIParentName added in v0.8.0

func (ref *Reference) GetIParentName() gotenresource.Name

func (*Reference) GetIUnderlyingParentName added in v0.8.0

func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name

func (*Reference) GetIdParts

func (ref *Reference) GetIdParts() map[string]string

func (*Reference) GetPattern

func (ref *Reference) GetPattern() gotenresource.NamePattern

func (*Reference) GetRawResource

func (ref *Reference) GetRawResource() gotenresource.Resource

func (*Reference) GetResourceDescriptor

func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor

func (*Reference) GetSegments

func (ref *Reference) GetSegments() gotenresource.NameSegments

func (*Reference) GetServiceAccount

func (ref *Reference) GetServiceAccount() *ServiceAccount

func (*Reference) GotenEqual

func (ref *Reference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Reference) IsFullyQualified

func (ref *Reference) IsFullyQualified() bool

func (*Reference) IsSpecified

func (ref *Reference) IsSpecified() bool

func (*Reference) Matches

func (name *Reference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Reference) ParseProtoString

func (ref *Reference) ParseProtoString(data string) error

func (*Reference) ProtoString

func (ref *Reference) ProtoString() (string, error)

func (*Reference) Resolve

func (ref *Reference) Resolve(resolved *ServiceAccount)

func (*Reference) ResolveRaw

func (ref *Reference) ResolveRaw(res gotenresource.Resource) error

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

func (ref *Reference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type ServiceAccount

type ServiceAccount struct {

	// Name of ServiceAccount
	// When creating a new instance, this field is optional and if not provided,
	// it will be generated automatically. Last ID segment must conform to the
	// following regex: [a-z][a-z0-9\-_]{0,55}[a-z0-9]
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Display Name
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Email
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty" firestore:"email"`
	// Additional meta information about service account
	Metadata *meta.Meta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

ServiceAccount Resource

func (*ServiceAccount) Clone

func (o *ServiceAccount) Clone() *ServiceAccount

func (*ServiceAccount) CloneRaw

func (*ServiceAccount) Descriptor

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

Deprecated, Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) EnsureMetadata added in v1.0.21

func (r *ServiceAccount) EnsureMetadata() *meta.Meta

func (*ServiceAccount) GetDisplayName

func (m *ServiceAccount) GetDisplayName() string

func (*ServiceAccount) GetEmail

func (m *ServiceAccount) GetEmail() string

func (*ServiceAccount) GetMetadata

func (m *ServiceAccount) GetMetadata() *meta.Meta

func (*ServiceAccount) GetName

func (m *ServiceAccount) GetName() *Name

func (*ServiceAccount) GetRawName

func (r *ServiceAccount) GetRawName() gotenresource.Name

func (*ServiceAccount) GetResourceDescriptor

func (r *ServiceAccount) GetResourceDescriptor() gotenresource.Descriptor

func (*ServiceAccount) GotenMessage

func (*ServiceAccount) GotenMessage()

func (*ServiceAccount) GotenObjectExt

func (o *ServiceAccount) GotenObjectExt()

func (*ServiceAccount) GotenValidate

func (obj *ServiceAccount) GotenValidate() error

func (*ServiceAccount) MakeDiffFieldMask

func (o *ServiceAccount) MakeDiffFieldMask(other *ServiceAccount) *ServiceAccount_FieldMask

func (*ServiceAccount) MakeFullFieldMask

func (o *ServiceAccount) MakeFullFieldMask() *ServiceAccount_FieldMask

func (*ServiceAccount) MakeRawDiffFieldMask

func (o *ServiceAccount) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*ServiceAccount) MakeRawFullFieldMask

func (o *ServiceAccount) MakeRawFullFieldMask() gotenobject.FieldMask

func (*ServiceAccount) Marshal

func (m *ServiceAccount) Marshal() ([]byte, error)

func (*ServiceAccount) MarshalJSON

func (m *ServiceAccount) MarshalJSON() ([]byte, error)

func (*ServiceAccount) MaybePopulateDefaults

func (r *ServiceAccount) MaybePopulateDefaults() error

func (*ServiceAccount) Merge

func (o *ServiceAccount) Merge(source *ServiceAccount)

func (*ServiceAccount) MergeRaw

func (o *ServiceAccount) MergeRaw(source gotenobject.GotenObjectExt)

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

func (m *ServiceAccount) ProtoReflect() preflect.Message

func (*ServiceAccount) Reset

func (m *ServiceAccount) Reset()

func (*ServiceAccount) SetDisplayName

func (m *ServiceAccount) SetDisplayName(fv string)

func (*ServiceAccount) SetEmail

func (m *ServiceAccount) SetEmail(fv string)

func (*ServiceAccount) SetMetadata

func (m *ServiceAccount) SetMetadata(fv *meta.Meta)

func (*ServiceAccount) SetName

func (m *ServiceAccount) SetName(fv *Name)

func (*ServiceAccount) String

func (m *ServiceAccount) String() string

func (*ServiceAccount) Unmarshal

func (m *ServiceAccount) Unmarshal(b []byte) error

func (*ServiceAccount) UnmarshalJSON

func (m *ServiceAccount) UnmarshalJSON(data []byte) error

type ServiceAccountAccess

type ServiceAccountAccess interface {
	GetServiceAccount(context.Context, *GetQuery) (*ServiceAccount, error)
	BatchGetServiceAccounts(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryServiceAccounts(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchServiceAccount(context.Context, *GetQuery, func(*ServiceAccountChange) error) error
	WatchServiceAccounts(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveServiceAccount(context.Context, *ServiceAccount, ...gotenresource.SaveOption) error
	DeleteServiceAccount(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type ServiceAccountChange

type ServiceAccountChange struct {

	// ServiceAccount change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*ServiceAccountChange_Added_
	//	*ServiceAccountChange_Modified_
	//	*ServiceAccountChange_Current_
	//	*ServiceAccountChange_Removed_
	ChangeType isServiceAccountChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

ServiceAccountChange is used by Watch notifications Responses to describe change of single ServiceAccount One of Added, Modified, Removed

func (*ServiceAccountChange) Descriptor

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

Deprecated, Use ServiceAccountChange.ProtoReflect.Descriptor instead.

func (*ServiceAccountChange) GetAdded

func (*ServiceAccountChange) GetChangeType

func (m *ServiceAccountChange) GetChangeType() isServiceAccountChange_ChangeType

func (*ServiceAccountChange) GetCurrent

func (*ServiceAccountChange) GetCurrentViewIndex

func (c *ServiceAccountChange) GetCurrentViewIndex() int32

func (*ServiceAccountChange) GetModified

func (*ServiceAccountChange) GetPreviousViewIndex

func (c *ServiceAccountChange) GetPreviousViewIndex() int32

func (*ServiceAccountChange) GetRawName

func (c *ServiceAccountChange) GetRawName() gotenresource.Name

func (*ServiceAccountChange) GetRawResource added in v0.5.1

func (c *ServiceAccountChange) GetRawResource() gotenresource.Resource

func (*ServiceAccountChange) GetRemoved

func (*ServiceAccountChange) GetServiceAccount

func (c *ServiceAccountChange) GetServiceAccount() *ServiceAccount

func (*ServiceAccountChange) GetServiceAccountName

func (c *ServiceAccountChange) GetServiceAccountName() *Name

func (*ServiceAccountChange) GotenMessage

func (*ServiceAccountChange) GotenMessage()

func (*ServiceAccountChange) GotenValidate

func (obj *ServiceAccountChange) GotenValidate() error

func (*ServiceAccountChange) IsAdd

func (c *ServiceAccountChange) IsAdd() bool

func (*ServiceAccountChange) IsCurrent

func (c *ServiceAccountChange) IsCurrent() bool

func (*ServiceAccountChange) IsDelete

func (c *ServiceAccountChange) IsDelete() bool

func (*ServiceAccountChange) IsModify

func (c *ServiceAccountChange) IsModify() bool

func (*ServiceAccountChange) Marshal

func (m *ServiceAccountChange) Marshal() ([]byte, error)

func (*ServiceAccountChange) MarshalJSON

func (m *ServiceAccountChange) MarshalJSON() ([]byte, error)

func (*ServiceAccountChange) ProtoMessage

func (*ServiceAccountChange) ProtoMessage()

func (*ServiceAccountChange) ProtoReflect

func (m *ServiceAccountChange) ProtoReflect() preflect.Message

func (*ServiceAccountChange) Reset

func (m *ServiceAccountChange) Reset()

func (*ServiceAccountChange) SetAdded

func (*ServiceAccountChange) SetAddedRaw

func (c *ServiceAccountChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)

func (*ServiceAccountChange) SetChangeType

func (m *ServiceAccountChange) SetChangeType(ofv isServiceAccountChange_ChangeType)

func (*ServiceAccountChange) SetCurrent

func (*ServiceAccountChange) SetCurrentRaw

func (c *ServiceAccountChange) SetCurrentRaw(snapshot gotenresource.Resource)

func (*ServiceAccountChange) SetDeletedRaw

func (c *ServiceAccountChange) SetDeletedRaw(name gotenresource.Name, idx int)

func (*ServiceAccountChange) SetModified

func (*ServiceAccountChange) SetModifiedRaw

func (c *ServiceAccountChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)

func (*ServiceAccountChange) SetRemoved

func (*ServiceAccountChange) String

func (m *ServiceAccountChange) String() string

func (*ServiceAccountChange) Unmarshal

func (m *ServiceAccountChange) Unmarshal(b []byte) error

func (*ServiceAccountChange) UnmarshalJSON

func (m *ServiceAccountChange) UnmarshalJSON(data []byte) error

type ServiceAccountChangeList

type ServiceAccountChangeList []*ServiceAccountChange

func (ServiceAccountChangeList) Append

func (ServiceAccountChangeList) AppendList

func (ServiceAccountChangeList) At

func (ServiceAccountChangeList) Length

func (l ServiceAccountChangeList) Length() int

func (ServiceAccountChangeList) Set

func (ServiceAccountChangeList) Slice

type ServiceAccountChangeMap

type ServiceAccountChangeMap map[Name]*ServiceAccountChange

func (ServiceAccountChangeMap) Delete

func (ServiceAccountChangeMap) ForEach

func (ServiceAccountChangeMap) Get

func (ServiceAccountChangeMap) Length

func (m ServiceAccountChangeMap) Length() int

func (ServiceAccountChangeMap) Set

type ServiceAccountChange_Added

type ServiceAccountChange_Added struct {
	ServiceAccount *ServiceAccount `` /* 130-byte string literal not displayed */
	// Integer describing index of added ServiceAccount in resulting query view.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

ServiceAccount has been added to query view

func (*ServiceAccountChange_Added) Descriptor

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

Deprecated, Use ServiceAccountChange_Added.ProtoReflect.Descriptor instead.

func (*ServiceAccountChange_Added) GetServiceAccount

func (m *ServiceAccountChange_Added) GetServiceAccount() *ServiceAccount

func (*ServiceAccountChange_Added) GetViewIndex

func (m *ServiceAccountChange_Added) GetViewIndex() int32

func (*ServiceAccountChange_Added) GotenMessage

func (*ServiceAccountChange_Added) GotenMessage()

func (*ServiceAccountChange_Added) GotenValidate

func (obj *ServiceAccountChange_Added) GotenValidate() error

func (*ServiceAccountChange_Added) Marshal

func (m *ServiceAccountChange_Added) Marshal() ([]byte, error)

func (*ServiceAccountChange_Added) MarshalJSON

func (m *ServiceAccountChange_Added) MarshalJSON() ([]byte, error)

func (*ServiceAccountChange_Added) ProtoMessage

func (*ServiceAccountChange_Added) ProtoMessage()

func (*ServiceAccountChange_Added) ProtoReflect

func (m *ServiceAccountChange_Added) ProtoReflect() preflect.Message

func (*ServiceAccountChange_Added) Reset

func (m *ServiceAccountChange_Added) Reset()

func (*ServiceAccountChange_Added) SetServiceAccount

func (m *ServiceAccountChange_Added) SetServiceAccount(fv *ServiceAccount)

func (*ServiceAccountChange_Added) SetViewIndex

func (m *ServiceAccountChange_Added) SetViewIndex(fv int32)

func (*ServiceAccountChange_Added) String

func (m *ServiceAccountChange_Added) String() string

func (*ServiceAccountChange_Added) Unmarshal

func (m *ServiceAccountChange_Added) Unmarshal(b []byte) error

func (*ServiceAccountChange_Added) UnmarshalJSON

func (m *ServiceAccountChange_Added) UnmarshalJSON(data []byte) error

type ServiceAccountChange_Added_

type ServiceAccountChange_Added_ struct {
	// Added is returned when watched document is added, either created or
	// enters Query view
	Added *ServiceAccountChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"`
}

type ServiceAccountChange_Current

type ServiceAccountChange_Current struct {
	ServiceAccount *ServiceAccount `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

ServiceAccount has been added or modified in a query view. Version used for stateless watching

func (*ServiceAccountChange_Current) Descriptor

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

Deprecated, Use ServiceAccountChange_Current.ProtoReflect.Descriptor instead.

func (*ServiceAccountChange_Current) GetServiceAccount

func (m *ServiceAccountChange_Current) GetServiceAccount() *ServiceAccount

func (*ServiceAccountChange_Current) GotenMessage

func (*ServiceAccountChange_Current) GotenMessage()

func (*ServiceAccountChange_Current) GotenValidate

func (obj *ServiceAccountChange_Current) GotenValidate() error

func (*ServiceAccountChange_Current) Marshal

func (m *ServiceAccountChange_Current) Marshal() ([]byte, error)

func (*ServiceAccountChange_Current) MarshalJSON

func (m *ServiceAccountChange_Current) MarshalJSON() ([]byte, error)

func (*ServiceAccountChange_Current) ProtoMessage

func (*ServiceAccountChange_Current) ProtoMessage()

func (*ServiceAccountChange_Current) ProtoReflect

func (m *ServiceAccountChange_Current) ProtoReflect() preflect.Message

func (*ServiceAccountChange_Current) Reset

func (m *ServiceAccountChange_Current) Reset()

func (*ServiceAccountChange_Current) SetServiceAccount

func (m *ServiceAccountChange_Current) SetServiceAccount(fv *ServiceAccount)

func (*ServiceAccountChange_Current) String

func (*ServiceAccountChange_Current) Unmarshal

func (m *ServiceAccountChange_Current) Unmarshal(b []byte) error

func (*ServiceAccountChange_Current) UnmarshalJSON

func (m *ServiceAccountChange_Current) UnmarshalJSON(data []byte) error

type ServiceAccountChange_Current_

type ServiceAccountChange_Current_ struct {
	// Current is returned in stateless watch when document enters query view or
	// is modified within.
	Current *ServiceAccountChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"`
}

type ServiceAccountChange_Modified

type ServiceAccountChange_Modified struct {

	// Name of modified ServiceAccount
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of ServiceAccount or masked difference, depending on
	// mask_changes instrumentation of issued [WatchServiceAccountRequest] or
	// [WatchServiceAccountsRequest]
	ServiceAccount *ServiceAccount `` /* 130-byte string literal not displayed */
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *ServiceAccount_FieldMask `` /* 146-byte string literal not displayed */
	// Previous view index specifies previous position of modified
	// ServiceAccount. When modification doesn't affect sorted order, value will
	// remain identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying ServiceAccount new index in resulting query view.
	ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

ServiceAccount changed some of it's fields - contains either full document or masked change

func (*ServiceAccountChange_Modified) Descriptor

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

Deprecated, Use ServiceAccountChange_Modified.ProtoReflect.Descriptor instead.

func (*ServiceAccountChange_Modified) GetFieldMask

func (*ServiceAccountChange_Modified) GetName

func (m *ServiceAccountChange_Modified) GetName() *Name

func (*ServiceAccountChange_Modified) GetPreviousViewIndex

func (m *ServiceAccountChange_Modified) GetPreviousViewIndex() int32

func (*ServiceAccountChange_Modified) GetServiceAccount

func (m *ServiceAccountChange_Modified) GetServiceAccount() *ServiceAccount

func (*ServiceAccountChange_Modified) GetViewIndex

func (m *ServiceAccountChange_Modified) GetViewIndex() int32

func (*ServiceAccountChange_Modified) GotenMessage

func (*ServiceAccountChange_Modified) GotenMessage()

func (*ServiceAccountChange_Modified) GotenValidate

func (obj *ServiceAccountChange_Modified) GotenValidate() error

func (*ServiceAccountChange_Modified) Marshal

func (m *ServiceAccountChange_Modified) Marshal() ([]byte, error)

func (*ServiceAccountChange_Modified) MarshalJSON

func (m *ServiceAccountChange_Modified) MarshalJSON() ([]byte, error)

func (*ServiceAccountChange_Modified) ProtoMessage

func (*ServiceAccountChange_Modified) ProtoMessage()

func (*ServiceAccountChange_Modified) ProtoReflect

func (*ServiceAccountChange_Modified) Reset

func (m *ServiceAccountChange_Modified) Reset()

func (*ServiceAccountChange_Modified) SetFieldMask

func (*ServiceAccountChange_Modified) SetName

func (m *ServiceAccountChange_Modified) SetName(fv *Name)

func (*ServiceAccountChange_Modified) SetPreviousViewIndex

func (m *ServiceAccountChange_Modified) SetPreviousViewIndex(fv int32)

func (*ServiceAccountChange_Modified) SetServiceAccount

func (m *ServiceAccountChange_Modified) SetServiceAccount(fv *ServiceAccount)

func (*ServiceAccountChange_Modified) SetViewIndex

func (m *ServiceAccountChange_Modified) SetViewIndex(fv int32)

func (*ServiceAccountChange_Modified) String

func (*ServiceAccountChange_Modified) Unmarshal

func (m *ServiceAccountChange_Modified) Unmarshal(b []byte) error

func (*ServiceAccountChange_Modified) UnmarshalJSON

func (m *ServiceAccountChange_Modified) UnmarshalJSON(data []byte) error

type ServiceAccountChange_Modified_

type ServiceAccountChange_Modified_ struct {
	// Modified is returned when watched document is modified
	Modified *ServiceAccountChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"`
}

type ServiceAccountChange_Removed

type ServiceAccountChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed ServiceAccount index. Not populated in
	// stateless watch type.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

Removed is returned when ServiceAccount is deleted or leaves Query view

func (*ServiceAccountChange_Removed) Descriptor

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

Deprecated, Use ServiceAccountChange_Removed.ProtoReflect.Descriptor instead.

func (*ServiceAccountChange_Removed) GetName

func (m *ServiceAccountChange_Removed) GetName() *Name

func (*ServiceAccountChange_Removed) GetViewIndex

func (m *ServiceAccountChange_Removed) GetViewIndex() int32

func (*ServiceAccountChange_Removed) GotenMessage

func (*ServiceAccountChange_Removed) GotenMessage()

func (*ServiceAccountChange_Removed) GotenValidate

func (obj *ServiceAccountChange_Removed) GotenValidate() error

func (*ServiceAccountChange_Removed) Marshal

func (m *ServiceAccountChange_Removed) Marshal() ([]byte, error)

func (*ServiceAccountChange_Removed) MarshalJSON

func (m *ServiceAccountChange_Removed) MarshalJSON() ([]byte, error)

func (*ServiceAccountChange_Removed) ProtoMessage

func (*ServiceAccountChange_Removed) ProtoMessage()

func (*ServiceAccountChange_Removed) ProtoReflect

func (m *ServiceAccountChange_Removed) ProtoReflect() preflect.Message

func (*ServiceAccountChange_Removed) Reset

func (m *ServiceAccountChange_Removed) Reset()

func (*ServiceAccountChange_Removed) SetName

func (m *ServiceAccountChange_Removed) SetName(fv *Name)

func (*ServiceAccountChange_Removed) SetViewIndex

func (m *ServiceAccountChange_Removed) SetViewIndex(fv int32)

func (*ServiceAccountChange_Removed) String

func (*ServiceAccountChange_Removed) Unmarshal

func (m *ServiceAccountChange_Removed) Unmarshal(b []byte) error

func (*ServiceAccountChange_Removed) UnmarshalJSON

func (m *ServiceAccountChange_Removed) UnmarshalJSON(data []byte) error

type ServiceAccountChange_Removed_

type ServiceAccountChange_Removed_ struct {
	// Removed is returned when ServiceAccount is deleted or leaves Query view
	Removed *ServiceAccountChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"`
}

type ServiceAccountFieldPathBuilder

type ServiceAccountFieldPathBuilder struct{}

func NewServiceAccountFieldPathBuilder

func NewServiceAccountFieldPathBuilder() ServiceAccountFieldPathBuilder

func (ServiceAccountFieldPathBuilder) DisplayName

func (ServiceAccountFieldPathBuilder) Email

func (ServiceAccountFieldPathBuilder) Metadata

func (ServiceAccountFieldPathBuilder) Name

type ServiceAccountList

type ServiceAccountList []*ServiceAccount

func (ServiceAccountList) Append

func (ServiceAccountList) AppendList

func (ServiceAccountList) At

func (ServiceAccountList) Length

func (l ServiceAccountList) Length() int

func (ServiceAccountList) Set

func (l ServiceAccountList) Set(idx int, res gotenresource.Resource)

func (ServiceAccountList) Slice

func (l ServiceAccountList) Slice(first, second int) gotenresource.ResourceList

type ServiceAccountMap

type ServiceAccountMap map[Name]*ServiceAccount

func (ServiceAccountMap) Delete

func (m ServiceAccountMap) Delete(name gotenresource.Name)

func (ServiceAccountMap) ForEach

func (ServiceAccountMap) Get

func (ServiceAccountMap) Length

func (m ServiceAccountMap) Length() int

func (ServiceAccountMap) Set

type ServiceAccountMapPathSelectorMetadataAnnotations

type ServiceAccountMapPathSelectorMetadataAnnotations struct {
	// contains filtered or unexported fields
}

func (ServiceAccountMapPathSelectorMetadataAnnotations) FieldPath

func (ServiceAccountMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (ServiceAccountMapPathSelectorMetadataAnnotations) WithValue

type ServiceAccountMapPathSelectorMetadataLabels

type ServiceAccountMapPathSelectorMetadataLabels struct {
	// contains filtered or unexported fields
}

func (ServiceAccountMapPathSelectorMetadataLabels) FieldPath

func (ServiceAccountMapPathSelectorMetadataLabels) WithArrayOfValues

func (ServiceAccountMapPathSelectorMetadataLabels) WithValue

type ServiceAccountMapPathSelectorMetadataShards

type ServiceAccountMapPathSelectorMetadataShards struct {
	// contains filtered or unexported fields
}

func (ServiceAccountMapPathSelectorMetadataShards) FieldPath

func (ServiceAccountMapPathSelectorMetadataShards) WithArrayOfValues

func (ServiceAccountMapPathSelectorMetadataShards) WithValue

type ServiceAccountNameList

type ServiceAccountNameList []*Name

func (ServiceAccountNameList) Append

func (ServiceAccountNameList) AppendList

func (ServiceAccountNameList) At

func (ServiceAccountNameList) Length

func (l ServiceAccountNameList) Length() int

func (ServiceAccountNameList) Set

func (l ServiceAccountNameList) Set(idx int, name gotenresource.Name)

func (ServiceAccountNameList) Slice

func (l ServiceAccountNameList) Slice(first, second int) gotenresource.NameList

type ServiceAccountParentNameList

type ServiceAccountParentNameList []*ParentName

func (ServiceAccountParentNameList) Append

func (ServiceAccountParentNameList) AppendList

func (ServiceAccountParentNameList) At

func (ServiceAccountParentNameList) Length

func (l ServiceAccountParentNameList) Length() int

func (ServiceAccountParentNameList) Set

func (ServiceAccountParentNameList) Slice

type ServiceAccountParentReferenceList

type ServiceAccountParentReferenceList []*ParentReference

func (ServiceAccountParentReferenceList) Append

func (ServiceAccountParentReferenceList) AppendList

func (ServiceAccountParentReferenceList) At

func (ServiceAccountParentReferenceList) Length

func (ServiceAccountParentReferenceList) Set

func (ServiceAccountParentReferenceList) Slice

type ServiceAccountPathSelectorDisplayName

type ServiceAccountPathSelectorDisplayName struct{}

func (ServiceAccountPathSelectorDisplayName) FieldPath

func (ServiceAccountPathSelectorDisplayName) WithArrayOfValues

func (ServiceAccountPathSelectorDisplayName) WithValue

type ServiceAccountPathSelectorEmail

type ServiceAccountPathSelectorEmail struct{}

func (ServiceAccountPathSelectorEmail) FieldPath

func (ServiceAccountPathSelectorEmail) WithArrayOfValues

func (ServiceAccountPathSelectorEmail) WithValue

type ServiceAccountPathSelectorMetadata

type ServiceAccountPathSelectorMetadata struct{}

func (ServiceAccountPathSelectorMetadata) Annotations

func (ServiceAccountPathSelectorMetadata) CreateTime

func (ServiceAccountPathSelectorMetadata) DeleteTime added in v0.8.0

func (ServiceAccountPathSelectorMetadata) FieldPath

func (ServiceAccountPathSelectorMetadata) Generation

func (ServiceAccountPathSelectorMetadata) Labels

func (ServiceAccountPathSelectorMetadata) Lifecycle added in v0.8.0

func (ServiceAccountPathSelectorMetadata) OwnerReferences

func (ServiceAccountPathSelectorMetadata) ResourceVersion

func (ServiceAccountPathSelectorMetadata) Services added in v1.0.21

func (ServiceAccountPathSelectorMetadata) Shards

func (ServiceAccountPathSelectorMetadata) Syncing

func (ServiceAccountPathSelectorMetadata) Tags

func (ServiceAccountPathSelectorMetadata) UpdateTime

func (ServiceAccountPathSelectorMetadata) Uuid

func (ServiceAccountPathSelectorMetadata) WithArrayOfValues

func (ServiceAccountPathSelectorMetadata) WithSubArrayItemValue

func (ServiceAccountPathSelectorMetadata) WithSubArrayOfValues

func (ServiceAccountPathSelectorMetadata) WithSubPath

func (ServiceAccountPathSelectorMetadata) WithSubValue

func (ServiceAccountPathSelectorMetadata) WithValue

type ServiceAccountPathSelectorMetadataAnnotations

type ServiceAccountPathSelectorMetadataAnnotations struct{}

func (ServiceAccountPathSelectorMetadataAnnotations) FieldPath

func (ServiceAccountPathSelectorMetadataAnnotations) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataAnnotations) WithKey

func (ServiceAccountPathSelectorMetadataAnnotations) WithValue

type ServiceAccountPathSelectorMetadataCreateTime

type ServiceAccountPathSelectorMetadataCreateTime struct{}

func (ServiceAccountPathSelectorMetadataCreateTime) FieldPath

func (ServiceAccountPathSelectorMetadataCreateTime) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataCreateTime) WithValue

type ServiceAccountPathSelectorMetadataDeleteTime added in v0.8.0

type ServiceAccountPathSelectorMetadataDeleteTime struct{}

func (ServiceAccountPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (ServiceAccountPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (ServiceAccountPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type ServiceAccountPathSelectorMetadataGeneration

type ServiceAccountPathSelectorMetadataGeneration struct{}

func (ServiceAccountPathSelectorMetadataGeneration) FieldPath

func (ServiceAccountPathSelectorMetadataGeneration) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataGeneration) WithValue

type ServiceAccountPathSelectorMetadataLabels

type ServiceAccountPathSelectorMetadataLabels struct{}

func (ServiceAccountPathSelectorMetadataLabels) FieldPath

func (ServiceAccountPathSelectorMetadataLabels) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataLabels) WithKey

func (ServiceAccountPathSelectorMetadataLabels) WithValue

type ServiceAccountPathSelectorMetadataLifecycle added in v0.8.0

type ServiceAccountPathSelectorMetadataLifecycle struct{}

func (ServiceAccountPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (ServiceAccountPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (ServiceAccountPathSelectorMetadataLifecycle) State added in v0.8.0

func (ServiceAccountPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (ServiceAccountPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type ServiceAccountPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type ServiceAccountPathSelectorMetadataLifecycleBlockDeletion struct{}

func (ServiceAccountPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (ServiceAccountPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (ServiceAccountPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type ServiceAccountPathSelectorMetadataLifecycleState added in v0.8.0

type ServiceAccountPathSelectorMetadataLifecycleState struct{}

func (ServiceAccountPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (ServiceAccountPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (ServiceAccountPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type ServiceAccountPathSelectorMetadataOwnerReferences

type ServiceAccountPathSelectorMetadataOwnerReferences struct{}

func (ServiceAccountPathSelectorMetadataOwnerReferences) Controller

func (ServiceAccountPathSelectorMetadataOwnerReferences) FieldPath

func (ServiceAccountPathSelectorMetadataOwnerReferences) Kind

func (ServiceAccountPathSelectorMetadataOwnerReferences) Name

func (ServiceAccountPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataOwnerReferences) WithItemValue

func (ServiceAccountPathSelectorMetadataOwnerReferences) WithValue

type ServiceAccountPathSelectorMetadataOwnerReferencesController

type ServiceAccountPathSelectorMetadataOwnerReferencesController struct{}

func (ServiceAccountPathSelectorMetadataOwnerReferencesController) FieldPath

func (ServiceAccountPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataOwnerReferencesController) WithValue

type ServiceAccountPathSelectorMetadataOwnerReferencesKind

type ServiceAccountPathSelectorMetadataOwnerReferencesKind struct{}

func (ServiceAccountPathSelectorMetadataOwnerReferencesKind) FieldPath

func (ServiceAccountPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataOwnerReferencesKind) WithValue

type ServiceAccountPathSelectorMetadataOwnerReferencesName

type ServiceAccountPathSelectorMetadataOwnerReferencesName struct{}

func (ServiceAccountPathSelectorMetadataOwnerReferencesName) FieldPath

func (ServiceAccountPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataOwnerReferencesName) WithValue

type ServiceAccountPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type ServiceAccountPathSelectorMetadataOwnerReferencesRegion struct{}

func (ServiceAccountPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type ServiceAccountPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type ServiceAccountPathSelectorMetadataOwnerReferencesVersion struct{}

func (ServiceAccountPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (ServiceAccountPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type ServiceAccountPathSelectorMetadataResourceVersion

type ServiceAccountPathSelectorMetadataResourceVersion struct{}

func (ServiceAccountPathSelectorMetadataResourceVersion) FieldPath

func (ServiceAccountPathSelectorMetadataResourceVersion) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataResourceVersion) WithValue

type ServiceAccountPathSelectorMetadataServices added in v1.0.21

type ServiceAccountPathSelectorMetadataServices struct{}

func (ServiceAccountPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (ServiceAccountPathSelectorMetadataServices) FieldPath added in v1.0.21

func (ServiceAccountPathSelectorMetadataServices) OwningService added in v1.0.21

func (ServiceAccountPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (ServiceAccountPathSelectorMetadataServices) WithValue added in v1.0.21

type ServiceAccountPathSelectorMetadataServicesAllowedServices added in v1.0.21

type ServiceAccountPathSelectorMetadataServicesAllowedServices struct{}

func (ServiceAccountPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (ServiceAccountPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (ServiceAccountPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (ServiceAccountPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type ServiceAccountPathSelectorMetadataServicesOwningService added in v1.0.21

type ServiceAccountPathSelectorMetadataServicesOwningService struct{}

func (ServiceAccountPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (ServiceAccountPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (ServiceAccountPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type ServiceAccountPathSelectorMetadataShards

type ServiceAccountPathSelectorMetadataShards struct{}

func (ServiceAccountPathSelectorMetadataShards) FieldPath

func (ServiceAccountPathSelectorMetadataShards) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataShards) WithKey

func (ServiceAccountPathSelectorMetadataShards) WithValue

type ServiceAccountPathSelectorMetadataSyncing

type ServiceAccountPathSelectorMetadataSyncing struct{}

func (ServiceAccountPathSelectorMetadataSyncing) FieldPath

func (ServiceAccountPathSelectorMetadataSyncing) OwningRegion

func (ServiceAccountPathSelectorMetadataSyncing) Regions

func (ServiceAccountPathSelectorMetadataSyncing) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataSyncing) WithValue

type ServiceAccountPathSelectorMetadataSyncingOwningRegion

type ServiceAccountPathSelectorMetadataSyncingOwningRegion struct{}

func (ServiceAccountPathSelectorMetadataSyncingOwningRegion) FieldPath

func (ServiceAccountPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataSyncingOwningRegion) WithValue

type ServiceAccountPathSelectorMetadataSyncingRegions

type ServiceAccountPathSelectorMetadataSyncingRegions struct{}

func (ServiceAccountPathSelectorMetadataSyncingRegions) FieldPath

func (ServiceAccountPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataSyncingRegions) WithItemValue

func (ServiceAccountPathSelectorMetadataSyncingRegions) WithValue

type ServiceAccountPathSelectorMetadataTags

type ServiceAccountPathSelectorMetadataTags struct{}

func (ServiceAccountPathSelectorMetadataTags) FieldPath

func (ServiceAccountPathSelectorMetadataTags) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataTags) WithItemValue

func (ServiceAccountPathSelectorMetadataTags) WithValue

type ServiceAccountPathSelectorMetadataUpdateTime

type ServiceAccountPathSelectorMetadataUpdateTime struct{}

func (ServiceAccountPathSelectorMetadataUpdateTime) FieldPath

func (ServiceAccountPathSelectorMetadataUpdateTime) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataUpdateTime) WithValue

type ServiceAccountPathSelectorMetadataUuid

type ServiceAccountPathSelectorMetadataUuid struct{}

func (ServiceAccountPathSelectorMetadataUuid) FieldPath

func (ServiceAccountPathSelectorMetadataUuid) WithArrayOfValues

func (ServiceAccountPathSelectorMetadataUuid) WithValue

type ServiceAccountPathSelectorName

type ServiceAccountPathSelectorName struct{}

func (ServiceAccountPathSelectorName) FieldPath

func (ServiceAccountPathSelectorName) WithArrayOfValues

func (ServiceAccountPathSelectorName) WithValue

type ServiceAccountReferenceList

type ServiceAccountReferenceList []*Reference

func (ServiceAccountReferenceList) Append

func (ServiceAccountReferenceList) AppendList

func (ServiceAccountReferenceList) At

func (ServiceAccountReferenceList) Length

func (l ServiceAccountReferenceList) Length() int

func (ServiceAccountReferenceList) Set

func (ServiceAccountReferenceList) Slice

type ServiceAccount_FieldMask

type ServiceAccount_FieldMask struct {
	Paths []ServiceAccount_FieldPath
}

func FullServiceAccount_FieldMask

func FullServiceAccount_FieldMask() *ServiceAccount_FieldMask

func ResourceViewFieldMask

func ResourceViewFieldMask(viewName view.View, extraMask *ServiceAccount_FieldMask) *ServiceAccount_FieldMask

func (*ServiceAccount_FieldMask) AppendPath

func (fieldMask *ServiceAccount_FieldMask) AppendPath(path ServiceAccount_FieldPath)

func (*ServiceAccount_FieldMask) AppendRawPath

func (fieldMask *ServiceAccount_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*ServiceAccount_FieldMask) DecodeFirestore

func (fieldMask *ServiceAccount_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*ServiceAccount_FieldMask) EncodeFirestore

func (fieldMask *ServiceAccount_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*ServiceAccount_FieldMask) FilterInputFields

func (fieldMask *ServiceAccount_FieldMask) FilterInputFields() *ServiceAccount_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ServiceAccount_FieldMask) FromProtoFieldMask

func (fieldMask *ServiceAccount_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error

func (*ServiceAccount_FieldMask) GetPaths

func (fieldMask *ServiceAccount_FieldMask) GetPaths() []ServiceAccount_FieldPath

func (*ServiceAccount_FieldMask) GetRawPaths

func (fieldMask *ServiceAccount_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*ServiceAccount_FieldMask) IsFull

func (fieldMask *ServiceAccount_FieldMask) IsFull() bool

func (ServiceAccount_FieldMask) Marshal

func (fieldMask ServiceAccount_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (ServiceAccount_FieldMask) MarshalJSON

func (fieldMask ServiceAccount_FieldMask) MarshalJSON() ([]byte, error)

func (*ServiceAccount_FieldMask) PathsCount

func (fieldMask *ServiceAccount_FieldMask) PathsCount() int

func (*ServiceAccount_FieldMask) Project

func (fieldMask *ServiceAccount_FieldMask) Project(source *ServiceAccount) *ServiceAccount

func (*ServiceAccount_FieldMask) ProjectRaw

func (*ServiceAccount_FieldMask) ProtoMessage

func (fieldMask *ServiceAccount_FieldMask) ProtoMessage()

func (*ServiceAccount_FieldMask) ProtoReflect

func (fieldMask *ServiceAccount_FieldMask) ProtoReflect() preflect.Message

func (*ServiceAccount_FieldMask) Reset

func (fieldMask *ServiceAccount_FieldMask) Reset()

func (*ServiceAccount_FieldMask) Set

func (fieldMask *ServiceAccount_FieldMask) Set(target, source *ServiceAccount)

func (*ServiceAccount_FieldMask) SetFromCliFlag

func (fieldMask *ServiceAccount_FieldMask) SetFromCliFlag(raw string) error

func (*ServiceAccount_FieldMask) SetRaw

func (fieldMask *ServiceAccount_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*ServiceAccount_FieldMask) Size

func (fieldMask *ServiceAccount_FieldMask) Size() int

func (*ServiceAccount_FieldMask) String

func (fieldMask *ServiceAccount_FieldMask) String() string

func (*ServiceAccount_FieldMask) Subtract

func (*ServiceAccount_FieldMask) SubtractRaw

func (fieldMask *ServiceAccount_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*ServiceAccount_FieldMask) ToProtoFieldMask

func (fieldMask *ServiceAccount_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*ServiceAccount_FieldMask) Unmarshal

func (fieldMask *ServiceAccount_FieldMask) Unmarshal(data []byte) error

func (*ServiceAccount_FieldMask) UnmarshalJSON

func (fieldMask *ServiceAccount_FieldMask) UnmarshalJSON(data []byte) error

type ServiceAccount_FieldPath

type ServiceAccount_FieldPath interface {
	gotenobject.FieldPath
	Selector() ServiceAccount_FieldPathSelector
	Get(source *ServiceAccount) []interface{}
	GetSingle(source *ServiceAccount) (interface{}, bool)
	ClearValue(item *ServiceAccount)

	// Those methods build corresponding ServiceAccount_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) ServiceAccount_FieldPathValue
	WithIArrayOfValues(values interface{}) ServiceAccount_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) ServiceAccount_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func MustParseServiceAccount_FieldPath

func MustParseServiceAccount_FieldPath(rawField string) ServiceAccount_FieldPath

func ParseServiceAccount_FieldPath

func ParseServiceAccount_FieldPath(rawField string) (ServiceAccount_FieldPath, error)

type ServiceAccount_FieldPathArrayItemValue

type ServiceAccount_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ServiceAccount_FieldPath
	ContainsValue(*ServiceAccount) bool
}

ServiceAccount_FieldPathArrayItemValue allows storing single item in Path-specific values for ServiceAccount according to their type Present only for array (repeated) types.

func MustParseServiceAccount_FieldPathArrayItemValue

func MustParseServiceAccount_FieldPathArrayItemValue(pathStr, valueStr string) ServiceAccount_FieldPathArrayItemValue

func ParseServiceAccount_FieldPathArrayItemValue

func ParseServiceAccount_FieldPathArrayItemValue(pathStr, valueStr string) (ServiceAccount_FieldPathArrayItemValue, error)

ParseServiceAccount_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ServiceAccount_FieldPathArrayOfValues

type ServiceAccount_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ServiceAccount_FieldPath
}

ServiceAccount_FieldPathArrayOfValues allows storing slice of values for ServiceAccount fields according to their type

func MustParseServiceAccount_FieldPathArrayOfValues

func MustParseServiceAccount_FieldPathArrayOfValues(pathStr, valuesStr string) ServiceAccount_FieldPathArrayOfValues

func ParseServiceAccount_FieldPathArrayOfValues

func ParseServiceAccount_FieldPathArrayOfValues(pathStr, valuesStr string) (ServiceAccount_FieldPathArrayOfValues, error)

type ServiceAccount_FieldPathSelector

type ServiceAccount_FieldPathSelector int32
const (
	ServiceAccount_FieldPathSelectorName        ServiceAccount_FieldPathSelector = 0
	ServiceAccount_FieldPathSelectorDisplayName ServiceAccount_FieldPathSelector = 1
	ServiceAccount_FieldPathSelectorEmail       ServiceAccount_FieldPathSelector = 2
	ServiceAccount_FieldPathSelectorMetadata    ServiceAccount_FieldPathSelector = 3
)

func (ServiceAccount_FieldPathSelector) String

type ServiceAccount_FieldPathValue

type ServiceAccount_FieldPathValue interface {
	ServiceAccount_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ServiceAccount)
	CompareWith(*ServiceAccount) (cmp int, comparable bool)
}

ServiceAccount_FieldPathValue allows storing values for ServiceAccount fields according to their type

func MustParseServiceAccount_FieldPathValue

func MustParseServiceAccount_FieldPathValue(pathStr, valueStr string) ServiceAccount_FieldPathValue

func ParseServiceAccount_FieldPathValue

func ParseServiceAccount_FieldPathValue(pathStr, valueStr string) (ServiceAccount_FieldPathValue, error)

type ServiceAccount_FieldSubPath

type ServiceAccount_FieldSubPath struct {
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldSubPath) AsMetadataSubPath

func (fps *ServiceAccount_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)

func (*ServiceAccount_FieldSubPath) ClearValue

func (fps *ServiceAccount_FieldSubPath) ClearValue(item *ServiceAccount)

func (*ServiceAccount_FieldSubPath) ClearValueRaw

func (fps *ServiceAccount_FieldSubPath) ClearValueRaw(item proto.Message)

func (*ServiceAccount_FieldSubPath) Get

func (fps *ServiceAccount_FieldSubPath) Get(source *ServiceAccount) (values []interface{})

Get returns all values pointed by selected field from source ServiceAccount

func (*ServiceAccount_FieldSubPath) GetDefault

func (fps *ServiceAccount_FieldSubPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*ServiceAccount_FieldSubPath) GetRaw

func (fps *ServiceAccount_FieldSubPath) GetRaw(source proto.Message) []interface{}

func (*ServiceAccount_FieldSubPath) GetSingle

func (fps *ServiceAccount_FieldSubPath) GetSingle(source *ServiceAccount) (interface{}, bool)

GetSingle returns value of selected field from source ServiceAccount

func (*ServiceAccount_FieldSubPath) GetSingleRaw

func (fps *ServiceAccount_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*ServiceAccount_FieldSubPath) IsLeaf

func (fps *ServiceAccount_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ServiceAccount_FieldSubPath) JSONString

func (fps *ServiceAccount_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ServiceAccount_FieldSubPath) Selector

func (*ServiceAccount_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

func (fps *ServiceAccount_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*ServiceAccount_FieldSubPath) String

func (fps *ServiceAccount_FieldSubPath) String() string

String returns path representation in proto convention

func (*ServiceAccount_FieldSubPath) WithIArrayItemValue

func (fps *ServiceAccount_FieldSubPath) WithIArrayItemValue(value interface{}) ServiceAccount_FieldPathArrayItemValue

func (*ServiceAccount_FieldSubPath) WithIArrayOfValues

func (fps *ServiceAccount_FieldSubPath) WithIArrayOfValues(values interface{}) ServiceAccount_FieldPathArrayOfValues

func (*ServiceAccount_FieldSubPath) WithIValue

func (fps *ServiceAccount_FieldSubPath) WithIValue(value interface{}) ServiceAccount_FieldPathValue

func (*ServiceAccount_FieldSubPath) WithRawIArrayItemValue

func (fps *ServiceAccount_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*ServiceAccount_FieldSubPath) WithRawIArrayOfValues

func (fps *ServiceAccount_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*ServiceAccount_FieldSubPath) WithRawIValue

func (fps *ServiceAccount_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type ServiceAccount_FieldSubPathArrayItemValue

type ServiceAccount_FieldSubPathArrayItemValue struct {
	ServiceAccount_FieldPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*ServiceAccount_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *ServiceAccount_FieldSubPathArrayItemValue) ContainsValue(source *ServiceAccount) bool

Contains returns a boolean indicating if value that is being held is present in given 'ServiceAccount'

func (*ServiceAccount_FieldSubPathArrayItemValue) GetRawItemValue

func (fpaivs *ServiceAccount_FieldSubPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored array item value

type ServiceAccount_FieldSubPathArrayOfValues

type ServiceAccount_FieldSubPathArrayOfValues struct {
	ServiceAccount_FieldPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *ServiceAccount_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)

func (*ServiceAccount_FieldSubPathArrayOfValues) GetRawValues

func (fpsaov *ServiceAccount_FieldSubPathArrayOfValues) GetRawValues() []interface{}

type ServiceAccount_FieldSubPathValue

type ServiceAccount_FieldSubPathValue struct {
	ServiceAccount_FieldPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldSubPathValue) AsMetadataPathValue

func (fpvs *ServiceAccount_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)

func (*ServiceAccount_FieldSubPathValue) CompareWith

func (fpvs *ServiceAccount_FieldSubPathValue) CompareWith(source *ServiceAccount) (int, bool)

func (*ServiceAccount_FieldSubPathValue) CompareWithRaw

func (fpvs *ServiceAccount_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*ServiceAccount_FieldSubPathValue) GetRawValue

func (fpvs *ServiceAccount_FieldSubPathValue) GetRawValue() interface{}

func (*ServiceAccount_FieldSubPathValue) SetTo

func (fpvs *ServiceAccount_FieldSubPathValue) SetTo(target **ServiceAccount)

func (*ServiceAccount_FieldSubPathValue) SetToRaw

func (fpvs *ServiceAccount_FieldSubPathValue) SetToRaw(target proto.Message)

type ServiceAccount_FieldTerminalPath

type ServiceAccount_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldTerminalPath) ClearValue

func (fp *ServiceAccount_FieldTerminalPath) ClearValue(item *ServiceAccount)

func (*ServiceAccount_FieldTerminalPath) ClearValueRaw

func (fp *ServiceAccount_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*ServiceAccount_FieldTerminalPath) Get

func (fp *ServiceAccount_FieldTerminalPath) Get(source *ServiceAccount) (values []interface{})

Get returns all values pointed by specific field from source ServiceAccount

func (*ServiceAccount_FieldTerminalPath) GetDefault

func (fp *ServiceAccount_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*ServiceAccount_FieldTerminalPath) GetRaw

func (fp *ServiceAccount_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*ServiceAccount_FieldTerminalPath) GetSingle

func (fp *ServiceAccount_FieldTerminalPath) GetSingle(source *ServiceAccount) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ServiceAccount

func (*ServiceAccount_FieldTerminalPath) GetSingleRaw

func (fp *ServiceAccount_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*ServiceAccount_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*ServiceAccount_FieldTerminalPath) JSONString

func (fp *ServiceAccount_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ServiceAccount_FieldTerminalPath) Selector

func (*ServiceAccount_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (fp *ServiceAccount_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*ServiceAccount_FieldTerminalPath) String

String returns path representation in proto convention

func (*ServiceAccount_FieldTerminalPath) WithIArrayItemValue

func (fp *ServiceAccount_FieldTerminalPath) WithIArrayItemValue(value interface{}) ServiceAccount_FieldPathArrayItemValue

func (*ServiceAccount_FieldTerminalPath) WithIArrayOfValues

func (fp *ServiceAccount_FieldTerminalPath) WithIArrayOfValues(values interface{}) ServiceAccount_FieldPathArrayOfValues

func (*ServiceAccount_FieldTerminalPath) WithIValue

func (fp *ServiceAccount_FieldTerminalPath) WithIValue(value interface{}) ServiceAccount_FieldPathValue

func (*ServiceAccount_FieldTerminalPath) WithRawIArrayItemValue

func (fp *ServiceAccount_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*ServiceAccount_FieldTerminalPath) WithRawIArrayOfValues

func (fp *ServiceAccount_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*ServiceAccount_FieldTerminalPath) WithRawIValue

func (fp *ServiceAccount_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type ServiceAccount_FieldTerminalPathArrayItemValue

type ServiceAccount_FieldTerminalPathArrayItemValue struct {
	ServiceAccount_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldTerminalPathArrayItemValue) ContainsValue

Contains returns a boolean indicating if value that is being held is present in given 'ServiceAccount'

func (*ServiceAccount_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *ServiceAccount_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object ServiceAccount as interface{}

func (*ServiceAccount_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ServiceAccount_FieldTerminalPathArrayItemValue) GetSingle(source *ServiceAccount) (interface{}, bool)

func (*ServiceAccount_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *ServiceAccount_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type ServiceAccount_FieldTerminalPathArrayOfValues

type ServiceAccount_FieldTerminalPathArrayOfValues struct {
	ServiceAccount_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)

func (*ServiceAccount_FieldTerminalPathArrayOfValues) AsEmailArrayOfValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) AsEmailArrayOfValues() ([]string, bool)

func (*ServiceAccount_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)

func (*ServiceAccount_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)

func (*ServiceAccount_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type ServiceAccount_FieldTerminalPathValue

type ServiceAccount_FieldTerminalPathValue struct {
	ServiceAccount_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldTerminalPathValue) AsDisplayNameValue

func (fpv *ServiceAccount_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)

func (*ServiceAccount_FieldTerminalPathValue) AsEmailValue

func (fpv *ServiceAccount_FieldTerminalPathValue) AsEmailValue() (string, bool)

func (*ServiceAccount_FieldTerminalPathValue) AsMetadataValue

func (fpv *ServiceAccount_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)

func (*ServiceAccount_FieldTerminalPathValue) AsNameValue

func (fpv *ServiceAccount_FieldTerminalPathValue) AsNameValue() (*Name, bool)

func (*ServiceAccount_FieldTerminalPathValue) CompareWith

func (fpv *ServiceAccount_FieldTerminalPathValue) CompareWith(source *ServiceAccount) (int, bool)

CompareWith compares value in the 'ServiceAccount_FieldTerminalPathValue' with the value under path in 'ServiceAccount'.

func (*ServiceAccount_FieldTerminalPathValue) CompareWithRaw

func (fpv *ServiceAccount_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*ServiceAccount_FieldTerminalPathValue) GetRawValue

func (fpv *ServiceAccount_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'ServiceAccount' as interface{}

func (*ServiceAccount_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object ServiceAccount

func (*ServiceAccount_FieldTerminalPathValue) SetToRaw

func (fpv *ServiceAccount_FieldTerminalPathValue) SetToRaw(target proto.Message)

type WatchQuery

type WatchQuery struct {
	ListQuery
	WatchType    watch_type.WatchType
	ChunkSize    int
	ResumeToken  string
	StartingTime *timestamppb.Timestamp
}

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime added in v0.9.0

func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp

func (*WatchQuery) GetWatchType

func (q *WatchQuery) GetWatchType() watch_type.WatchType

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.9.0

func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)

func (*WatchQuery) SetWatchType

func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)

func (*WatchQuery) String added in v0.4.29

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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