service_account_key

package
v0.4.30 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_ServiceAccount = "projects/{project}/serviceAccounts/{service_account}/serviceAccountKeys/{service_account_key}"
)

Variables

View Source
var (
	ServiceAccountKey_Algorithm_name = map[int32]string{
		0: "KEY_ALGORITHM_UNSPECIFIED",
		1: "RSA_1024",
		2: "RSA_2048",
		3: "RSA_4096",
	}

	ServiceAccountKey_Algorithm_value = map[string]int32{
		"KEY_ALGORITHM_UNSPECIFIED": 0,
		"RSA_1024":                  1,
		"RSA_2048":                  2,
		"RSA_4096":                  3,
	}
)

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access ServiceAccountKeyAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) GetNameDescriptor

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

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) NewSearchQuery

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

func (*Descriptor) NewSearchQueryResultSnapshot

func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot

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)

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 *ServiceAccountKey) 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 []*ServiceAccountKey) (out []*ServiceAccountKey)

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 ServiceAccountKey_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 *ServiceAccountKey) bool

	// Whether this condition is at least as specific as other.
	// When true, any ServiceAccountKey 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 ServiceAccountKey_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	ServiceAccountKey_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *ServiceAccountKey) 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 ServiceAccountKey_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 *ServiceAccountKey) 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 ServiceAccountKey_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 *ServiceAccountKey) 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 ServiceAccountKey_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 {
	ServiceAccountKey_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *ServiceAccountKey) 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 ServiceAccountKey_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 ServiceAccountKey_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *ServiceAccountKey) 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 ServiceAccountKey_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 ServiceAccountKey_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *ServiceAccountKey) 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 ServiceAccountKey_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 *ServiceAccountKey) 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 ServiceAccountKey_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 {
	ServiceAccountKey_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *ServiceAccountKey) 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 ServiceAccountKey_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      *ServiceAccountKey_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   *ServiceAccountKey_FieldMask
}

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) 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) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	ServiceAccountKeyId string `firestore:"serviceAccountKeyId"`
}

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) GetIdParts

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

func (*Name) GetPattern

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

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

func (*Name) GetServiceAccountName

func (name *Name) GetServiceAccountName() *service_account.Name

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) SetProjectId

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

func (*NameBuilder) SetServiceAccount

func (b *NameBuilder) SetServiceAccount(parent *service_account.Name) *NameBuilder

func (*NameBuilder) SetServiceAccountId

func (b *NameBuilder) SetServiceAccountId(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 *ServiceAccountKey) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *ServiceAccountKey_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 ServiceAccountKeyList, elem *ServiceAccountKey) (ServiceAccountKeyList, 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 ServiceAccountKeyList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath ServiceAccountKey_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 *ServiceAccountKey) 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

type ParentName

type ParentName struct {
	NamePattern
	ProjectId        string `firestore:"projectId"`
	ServiceAccountId string `firestore:"serviceAccountId"`
}

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) DescendsFrom

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIdParts

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

func (*ParentName) GetPattern

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

func (*ParentName) GetResourceDescriptor

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

func (*ParentName) GetSegments

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

func (*ParentName) GetServiceAccountName

func (name *ParentName) GetServiceAccountName() *service_account.Name

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) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

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) 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

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) GetIdParts

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

func (*ParentReference) GetPattern

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

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) GetServiceAccount

func (ref *ParentReference) GetServiceAccount() *service_account.ServiceAccount

func (*ParentReference) GetServiceAccountReference

func (ref *ParentReference) GetServiceAccountReference() *service_account.Reference

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        []*ServiceAccountKeyChange
	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 {
	ServiceAccountKeys []*ServiceAccountKey
	PrevPageCursor     *PagerCursor
	NextPageCursor     *PagerCursor
}

func (*QueryResultSnapshot) GetNextPageCursor

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

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) 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, serviceAccountKey *ServiceAccountKey) (*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) 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) GetServiceAccountKey

func (ref *Reference) GetServiceAccountKey() *ServiceAccountKey

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 *ServiceAccountKey)

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 ServiceAccountKey

type ServiceAccountKey struct {

	// Name of ServiceAccountKey
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Display name
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Public key contents
	PublicKeyData string `` /* 128-byte string literal not displayed */
	// The private key of the pair. This field is only provided in
	// CreateServiceAccountKey responses. Private keys are NOT stored on the
	// server.
	PrivateKeyData string `` /* 132-byte string literal not displayed */
	// The algorithm used to generate the key.
	Algorithm ServiceAccountKey_Algorithm `` /* 143-byte string literal not displayed */
	// The key is not valid before this timestamp.
	ValidNotBefore *timestamp.Timestamp `` /* 132-byte string literal not displayed */
	// The key is not valid after this timestamp.
	ValidNotAfter *timestamp.Timestamp `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a key pair for the service account

func (*ServiceAccountKey) Clone

func (*ServiceAccountKey) CloneRaw

func (*ServiceAccountKey) Descriptor

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

Deprecated, Use ServiceAccountKey.ProtoReflect.Descriptor instead.

func (*ServiceAccountKey) GetAlgorithm

func (*ServiceAccountKey) GetDisplayName

func (m *ServiceAccountKey) GetDisplayName() string

func (*ServiceAccountKey) GetName

func (m *ServiceAccountKey) GetName() *Name

func (*ServiceAccountKey) GetPrivateKeyData

func (m *ServiceAccountKey) GetPrivateKeyData() string

func (*ServiceAccountKey) GetPublicKeyData

func (m *ServiceAccountKey) GetPublicKeyData() string

func (*ServiceAccountKey) GetRawName

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

func (*ServiceAccountKey) GetResourceDescriptor

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

func (*ServiceAccountKey) GetValidNotAfter

func (m *ServiceAccountKey) GetValidNotAfter() *timestamp.Timestamp

func (*ServiceAccountKey) GetValidNotBefore

func (m *ServiceAccountKey) GetValidNotBefore() *timestamp.Timestamp

func (*ServiceAccountKey) GotenMessage

func (*ServiceAccountKey) GotenMessage()

func (*ServiceAccountKey) GotenObjectExt

func (o *ServiceAccountKey) GotenObjectExt()

func (*ServiceAccountKey) GotenValidate

func (obj *ServiceAccountKey) GotenValidate() error

func (*ServiceAccountKey) MakeDiffFieldMask

func (o *ServiceAccountKey) MakeDiffFieldMask(other *ServiceAccountKey) *ServiceAccountKey_FieldMask

func (*ServiceAccountKey) MakeFullFieldMask

func (o *ServiceAccountKey) MakeFullFieldMask() *ServiceAccountKey_FieldMask

func (*ServiceAccountKey) MakeRawDiffFieldMask

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

func (*ServiceAccountKey) MakeRawFullFieldMask

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

func (*ServiceAccountKey) Marshal

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

func (*ServiceAccountKey) MarshalJSON

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

func (*ServiceAccountKey) MaybePopulateDefaults

func (r *ServiceAccountKey) MaybePopulateDefaults() error

func (*ServiceAccountKey) Merge

func (o *ServiceAccountKey) Merge(source *ServiceAccountKey)

func (*ServiceAccountKey) MergeRaw

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

func (*ServiceAccountKey) ProtoMessage

func (*ServiceAccountKey) ProtoMessage()

func (*ServiceAccountKey) ProtoReflect

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

func (*ServiceAccountKey) Reset

func (m *ServiceAccountKey) Reset()

func (*ServiceAccountKey) SetAlgorithm

func (m *ServiceAccountKey) SetAlgorithm(fv ServiceAccountKey_Algorithm)

func (*ServiceAccountKey) SetDisplayName

func (m *ServiceAccountKey) SetDisplayName(fv string)

func (*ServiceAccountKey) SetName

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

func (*ServiceAccountKey) SetPrivateKeyData

func (m *ServiceAccountKey) SetPrivateKeyData(fv string)

func (*ServiceAccountKey) SetPublicKeyData

func (m *ServiceAccountKey) SetPublicKeyData(fv string)

func (*ServiceAccountKey) SetValidNotAfter

func (m *ServiceAccountKey) SetValidNotAfter(fv *timestamp.Timestamp)

func (*ServiceAccountKey) SetValidNotBefore

func (m *ServiceAccountKey) SetValidNotBefore(fv *timestamp.Timestamp)

func (*ServiceAccountKey) String

func (m *ServiceAccountKey) String() string

func (*ServiceAccountKey) Unmarshal

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

func (*ServiceAccountKey) UnmarshalJSON

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

type ServiceAccountKeyAccess

type ServiceAccountKeyAccess interface {
	GetServiceAccountKey(context.Context, *GetQuery) (*ServiceAccountKey, error)
	BatchGetServiceAccountKeys(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryServiceAccountKeys(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchServiceAccountKey(context.Context, *GetQuery, func(*ServiceAccountKeyChange) error) error
	WatchServiceAccountKeys(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveServiceAccountKey(context.Context, *ServiceAccountKey, ...gotenresource.SaveOption) error
	DeleteServiceAccountKey(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type ServiceAccountKeyChange

type ServiceAccountKeyChange struct {

	// ServiceAccountKey change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*ServiceAccountKeyChange_Added_
	//	*ServiceAccountKeyChange_Modified_
	//	*ServiceAccountKeyChange_Current_
	//	*ServiceAccountKeyChange_Removed_
	ChangeType isServiceAccountKeyChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*ServiceAccountKeyChange) Descriptor

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

Deprecated, Use ServiceAccountKeyChange.ProtoReflect.Descriptor instead.

func (*ServiceAccountKeyChange) GetAdded

func (*ServiceAccountKeyChange) GetChangeType

func (m *ServiceAccountKeyChange) GetChangeType() isServiceAccountKeyChange_ChangeType

func (*ServiceAccountKeyChange) GetCurrent

func (*ServiceAccountKeyChange) GetCurrentViewIndex

func (c *ServiceAccountKeyChange) GetCurrentViewIndex() int32

func (*ServiceAccountKeyChange) GetModified

func (*ServiceAccountKeyChange) GetPreviousViewIndex

func (c *ServiceAccountKeyChange) GetPreviousViewIndex() int32

func (*ServiceAccountKeyChange) GetRawName

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

func (*ServiceAccountKeyChange) GetRemoved

func (*ServiceAccountKeyChange) GetResource

func (*ServiceAccountKeyChange) GetServiceAccountKey

func (c *ServiceAccountKeyChange) GetServiceAccountKey() *ServiceAccountKey

func (*ServiceAccountKeyChange) GetServiceAccountKeyName

func (c *ServiceAccountKeyChange) GetServiceAccountKeyName() *Name

func (*ServiceAccountKeyChange) GotenMessage

func (*ServiceAccountKeyChange) GotenMessage()

func (*ServiceAccountKeyChange) GotenValidate

func (obj *ServiceAccountKeyChange) GotenValidate() error

func (*ServiceAccountKeyChange) IsAdd

func (c *ServiceAccountKeyChange) IsAdd() bool

func (*ServiceAccountKeyChange) IsCurrent

func (c *ServiceAccountKeyChange) IsCurrent() bool

func (*ServiceAccountKeyChange) IsDelete

func (c *ServiceAccountKeyChange) IsDelete() bool

func (*ServiceAccountKeyChange) IsModify

func (c *ServiceAccountKeyChange) IsModify() bool

func (*ServiceAccountKeyChange) Marshal

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

func (*ServiceAccountKeyChange) MarshalJSON

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

func (*ServiceAccountKeyChange) ProtoMessage

func (*ServiceAccountKeyChange) ProtoMessage()

func (*ServiceAccountKeyChange) ProtoReflect

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

func (*ServiceAccountKeyChange) Reset

func (m *ServiceAccountKeyChange) Reset()

func (*ServiceAccountKeyChange) SetAdded

func (*ServiceAccountKeyChange) SetAddedRaw

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

func (*ServiceAccountKeyChange) SetChangeType

func (m *ServiceAccountKeyChange) SetChangeType(ofv isServiceAccountKeyChange_ChangeType)

func (*ServiceAccountKeyChange) SetCurrent

func (*ServiceAccountKeyChange) SetCurrentRaw

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

func (*ServiceAccountKeyChange) SetDeletedRaw

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

func (*ServiceAccountKeyChange) SetModified

func (*ServiceAccountKeyChange) SetModifiedRaw

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

func (*ServiceAccountKeyChange) SetRemoved

func (*ServiceAccountKeyChange) String

func (m *ServiceAccountKeyChange) String() string

func (*ServiceAccountKeyChange) Unmarshal

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

func (*ServiceAccountKeyChange) UnmarshalJSON

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

type ServiceAccountKeyChangeList

type ServiceAccountKeyChangeList []*ServiceAccountKeyChange

func (ServiceAccountKeyChangeList) Append

func (ServiceAccountKeyChangeList) AppendList

func (ServiceAccountKeyChangeList) At

func (ServiceAccountKeyChangeList) Length

func (l ServiceAccountKeyChangeList) Length() int

func (ServiceAccountKeyChangeList) Set

func (ServiceAccountKeyChangeList) Slice

type ServiceAccountKeyChangeMap

type ServiceAccountKeyChangeMap map[Name]*ServiceAccountKeyChange

func (ServiceAccountKeyChangeMap) Delete

func (ServiceAccountKeyChangeMap) ForEach

func (ServiceAccountKeyChangeMap) Get

func (ServiceAccountKeyChangeMap) Length

func (m ServiceAccountKeyChangeMap) Length() int

func (ServiceAccountKeyChangeMap) Set

type ServiceAccountKeyChange_Added

type ServiceAccountKeyChange_Added struct {
	ServiceAccountKey *ServiceAccountKey `` /* 144-byte string literal not displayed */
	// Integer describing index of added ServiceAccountKey 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
}

ServiceAccountKey has been added to query view

func (*ServiceAccountKeyChange_Added) Descriptor

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

Deprecated, Use ServiceAccountKeyChange_Added.ProtoReflect.Descriptor instead.

func (*ServiceAccountKeyChange_Added) GetServiceAccountKey

func (m *ServiceAccountKeyChange_Added) GetServiceAccountKey() *ServiceAccountKey

func (*ServiceAccountKeyChange_Added) GetViewIndex

func (m *ServiceAccountKeyChange_Added) GetViewIndex() int32

func (*ServiceAccountKeyChange_Added) GotenMessage

func (*ServiceAccountKeyChange_Added) GotenMessage()

func (*ServiceAccountKeyChange_Added) GotenValidate

func (obj *ServiceAccountKeyChange_Added) GotenValidate() error

func (*ServiceAccountKeyChange_Added) Marshal

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

func (*ServiceAccountKeyChange_Added) MarshalJSON

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

func (*ServiceAccountKeyChange_Added) ProtoMessage

func (*ServiceAccountKeyChange_Added) ProtoMessage()

func (*ServiceAccountKeyChange_Added) ProtoReflect

func (*ServiceAccountKeyChange_Added) Reset

func (m *ServiceAccountKeyChange_Added) Reset()

func (*ServiceAccountKeyChange_Added) SetServiceAccountKey

func (m *ServiceAccountKeyChange_Added) SetServiceAccountKey(fv *ServiceAccountKey)

func (*ServiceAccountKeyChange_Added) SetViewIndex

func (m *ServiceAccountKeyChange_Added) SetViewIndex(fv int32)

func (*ServiceAccountKeyChange_Added) String

func (*ServiceAccountKeyChange_Added) Unmarshal

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

func (*ServiceAccountKeyChange_Added) UnmarshalJSON

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

type ServiceAccountKeyChange_Added_

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

type ServiceAccountKeyChange_Current

type ServiceAccountKeyChange_Current struct {
	ServiceAccountKey *ServiceAccountKey `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*ServiceAccountKeyChange_Current) Descriptor

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

Deprecated, Use ServiceAccountKeyChange_Current.ProtoReflect.Descriptor instead.

func (*ServiceAccountKeyChange_Current) GetServiceAccountKey

func (m *ServiceAccountKeyChange_Current) GetServiceAccountKey() *ServiceAccountKey

func (*ServiceAccountKeyChange_Current) GotenMessage

func (*ServiceAccountKeyChange_Current) GotenMessage()

func (*ServiceAccountKeyChange_Current) GotenValidate

func (obj *ServiceAccountKeyChange_Current) GotenValidate() error

func (*ServiceAccountKeyChange_Current) Marshal

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

func (*ServiceAccountKeyChange_Current) MarshalJSON

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

func (*ServiceAccountKeyChange_Current) ProtoMessage

func (*ServiceAccountKeyChange_Current) ProtoMessage()

func (*ServiceAccountKeyChange_Current) ProtoReflect

func (*ServiceAccountKeyChange_Current) Reset

func (*ServiceAccountKeyChange_Current) SetServiceAccountKey

func (m *ServiceAccountKeyChange_Current) SetServiceAccountKey(fv *ServiceAccountKey)

func (*ServiceAccountKeyChange_Current) String

func (*ServiceAccountKeyChange_Current) Unmarshal

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

func (*ServiceAccountKeyChange_Current) UnmarshalJSON

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

type ServiceAccountKeyChange_Current_

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

type ServiceAccountKeyChange_Modified

type ServiceAccountKeyChange_Modified struct {

	// Name of modified ServiceAccountKey
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of ServiceAccountKey or masked difference, depending on
	// mask_changes instrumentation of issued [WatchServiceAccountKeyRequest] or
	// [WatchServiceAccountKeysRequest]
	ServiceAccountKey *ServiceAccountKey `` /* 144-byte string literal not displayed */
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *ServiceAccountKey_FieldMask `` /* 149-byte string literal not displayed */
	// Previous view index specifies previous position of modified
	// ServiceAccountKey. When modification doesn't affect sorted order, value
	// will remain identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying ServiceAccountKey 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
}

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

func (*ServiceAccountKeyChange_Modified) Descriptor

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

Deprecated, Use ServiceAccountKeyChange_Modified.ProtoReflect.Descriptor instead.

func (*ServiceAccountKeyChange_Modified) GetFieldMask

func (*ServiceAccountKeyChange_Modified) GetName

func (m *ServiceAccountKeyChange_Modified) GetName() *Name

func (*ServiceAccountKeyChange_Modified) GetPreviousViewIndex

func (m *ServiceAccountKeyChange_Modified) GetPreviousViewIndex() int32

func (*ServiceAccountKeyChange_Modified) GetServiceAccountKey

func (m *ServiceAccountKeyChange_Modified) GetServiceAccountKey() *ServiceAccountKey

func (*ServiceAccountKeyChange_Modified) GetViewIndex

func (m *ServiceAccountKeyChange_Modified) GetViewIndex() int32

func (*ServiceAccountKeyChange_Modified) GotenMessage

func (*ServiceAccountKeyChange_Modified) GotenMessage()

func (*ServiceAccountKeyChange_Modified) GotenValidate

func (obj *ServiceAccountKeyChange_Modified) GotenValidate() error

func (*ServiceAccountKeyChange_Modified) Marshal

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

func (*ServiceAccountKeyChange_Modified) MarshalJSON

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

func (*ServiceAccountKeyChange_Modified) ProtoMessage

func (*ServiceAccountKeyChange_Modified) ProtoMessage()

func (*ServiceAccountKeyChange_Modified) ProtoReflect

func (*ServiceAccountKeyChange_Modified) Reset

func (*ServiceAccountKeyChange_Modified) SetFieldMask

func (*ServiceAccountKeyChange_Modified) SetName

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

func (*ServiceAccountKeyChange_Modified) SetPreviousViewIndex

func (m *ServiceAccountKeyChange_Modified) SetPreviousViewIndex(fv int32)

func (*ServiceAccountKeyChange_Modified) SetServiceAccountKey

func (m *ServiceAccountKeyChange_Modified) SetServiceAccountKey(fv *ServiceAccountKey)

func (*ServiceAccountKeyChange_Modified) SetViewIndex

func (m *ServiceAccountKeyChange_Modified) SetViewIndex(fv int32)

func (*ServiceAccountKeyChange_Modified) String

func (*ServiceAccountKeyChange_Modified) Unmarshal

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

func (*ServiceAccountKeyChange_Modified) UnmarshalJSON

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

type ServiceAccountKeyChange_Modified_

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

type ServiceAccountKeyChange_Removed

type ServiceAccountKeyChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed ServiceAccountKey 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 ServiceAccountKey is deleted or leaves Query view

func (*ServiceAccountKeyChange_Removed) Descriptor

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

Deprecated, Use ServiceAccountKeyChange_Removed.ProtoReflect.Descriptor instead.

func (*ServiceAccountKeyChange_Removed) GetName

func (m *ServiceAccountKeyChange_Removed) GetName() *Name

func (*ServiceAccountKeyChange_Removed) GetViewIndex

func (m *ServiceAccountKeyChange_Removed) GetViewIndex() int32

func (*ServiceAccountKeyChange_Removed) GotenMessage

func (*ServiceAccountKeyChange_Removed) GotenMessage()

func (*ServiceAccountKeyChange_Removed) GotenValidate

func (obj *ServiceAccountKeyChange_Removed) GotenValidate() error

func (*ServiceAccountKeyChange_Removed) Marshal

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

func (*ServiceAccountKeyChange_Removed) MarshalJSON

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

func (*ServiceAccountKeyChange_Removed) ProtoMessage

func (*ServiceAccountKeyChange_Removed) ProtoMessage()

func (*ServiceAccountKeyChange_Removed) ProtoReflect

func (*ServiceAccountKeyChange_Removed) Reset

func (*ServiceAccountKeyChange_Removed) SetName

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

func (*ServiceAccountKeyChange_Removed) SetViewIndex

func (m *ServiceAccountKeyChange_Removed) SetViewIndex(fv int32)

func (*ServiceAccountKeyChange_Removed) String

func (*ServiceAccountKeyChange_Removed) Unmarshal

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

func (*ServiceAccountKeyChange_Removed) UnmarshalJSON

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

type ServiceAccountKeyChange_Removed_

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

type ServiceAccountKeyFieldPathBuilder

type ServiceAccountKeyFieldPathBuilder struct{}

func NewServiceAccountKeyFieldPathBuilder

func NewServiceAccountKeyFieldPathBuilder() ServiceAccountKeyFieldPathBuilder

func (ServiceAccountKeyFieldPathBuilder) Algorithm

func (ServiceAccountKeyFieldPathBuilder) DisplayName

func (ServiceAccountKeyFieldPathBuilder) Name

func (ServiceAccountKeyFieldPathBuilder) PrivateKeyData

func (ServiceAccountKeyFieldPathBuilder) PublicKeyData

func (ServiceAccountKeyFieldPathBuilder) ValidNotAfter

func (ServiceAccountKeyFieldPathBuilder) ValidNotBefore

type ServiceAccountKeyList

type ServiceAccountKeyList []*ServiceAccountKey

func (ServiceAccountKeyList) Append

func (ServiceAccountKeyList) AppendList

func (ServiceAccountKeyList) At

func (ServiceAccountKeyList) Length

func (l ServiceAccountKeyList) Length() int

func (ServiceAccountKeyList) Set

func (ServiceAccountKeyList) Slice

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

type ServiceAccountKeyMap

type ServiceAccountKeyMap map[Name]*ServiceAccountKey

func (ServiceAccountKeyMap) Delete

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

func (ServiceAccountKeyMap) ForEach

func (ServiceAccountKeyMap) Get

func (ServiceAccountKeyMap) Length

func (m ServiceAccountKeyMap) Length() int

func (ServiceAccountKeyMap) Set

type ServiceAccountKeyNameList

type ServiceAccountKeyNameList []*Name

func (ServiceAccountKeyNameList) Append

func (ServiceAccountKeyNameList) AppendList

func (ServiceAccountKeyNameList) At

func (ServiceAccountKeyNameList) Length

func (l ServiceAccountKeyNameList) Length() int

func (ServiceAccountKeyNameList) Set

func (ServiceAccountKeyNameList) Slice

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

type ServiceAccountKeyParentNameList

type ServiceAccountKeyParentNameList []*ParentName

func (ServiceAccountKeyParentNameList) Append

func (ServiceAccountKeyParentNameList) AppendList

func (ServiceAccountKeyParentNameList) At

func (ServiceAccountKeyParentNameList) Length

func (ServiceAccountKeyParentNameList) Set

func (ServiceAccountKeyParentNameList) Slice

type ServiceAccountKeyParentReferenceList

type ServiceAccountKeyParentReferenceList []*ParentReference

func (ServiceAccountKeyParentReferenceList) Append

func (ServiceAccountKeyParentReferenceList) AppendList

func (ServiceAccountKeyParentReferenceList) At

func (ServiceAccountKeyParentReferenceList) Length

func (ServiceAccountKeyParentReferenceList) Set

func (ServiceAccountKeyParentReferenceList) Slice

type ServiceAccountKeyPathSelectorAlgorithm

type ServiceAccountKeyPathSelectorAlgorithm struct{}

func (ServiceAccountKeyPathSelectorAlgorithm) FieldPath

func (ServiceAccountKeyPathSelectorAlgorithm) WithArrayOfValues

func (ServiceAccountKeyPathSelectorAlgorithm) WithValue

type ServiceAccountKeyPathSelectorDisplayName

type ServiceAccountKeyPathSelectorDisplayName struct{}

func (ServiceAccountKeyPathSelectorDisplayName) FieldPath

func (ServiceAccountKeyPathSelectorDisplayName) WithArrayOfValues

func (ServiceAccountKeyPathSelectorDisplayName) WithValue

type ServiceAccountKeyPathSelectorName

type ServiceAccountKeyPathSelectorName struct{}

func (ServiceAccountKeyPathSelectorName) FieldPath

func (ServiceAccountKeyPathSelectorName) WithArrayOfValues

func (ServiceAccountKeyPathSelectorName) WithValue

type ServiceAccountKeyPathSelectorPrivateKeyData

type ServiceAccountKeyPathSelectorPrivateKeyData struct{}

func (ServiceAccountKeyPathSelectorPrivateKeyData) FieldPath

func (ServiceAccountKeyPathSelectorPrivateKeyData) WithArrayOfValues

func (ServiceAccountKeyPathSelectorPrivateKeyData) WithValue

type ServiceAccountKeyPathSelectorPublicKeyData

type ServiceAccountKeyPathSelectorPublicKeyData struct{}

func (ServiceAccountKeyPathSelectorPublicKeyData) FieldPath

func (ServiceAccountKeyPathSelectorPublicKeyData) WithArrayOfValues

func (ServiceAccountKeyPathSelectorPublicKeyData) WithValue

type ServiceAccountKeyPathSelectorValidNotAfter

type ServiceAccountKeyPathSelectorValidNotAfter struct{}

func (ServiceAccountKeyPathSelectorValidNotAfter) FieldPath

func (ServiceAccountKeyPathSelectorValidNotAfter) WithArrayOfValues

func (ServiceAccountKeyPathSelectorValidNotAfter) WithValue

type ServiceAccountKeyPathSelectorValidNotBefore

type ServiceAccountKeyPathSelectorValidNotBefore struct{}

func (ServiceAccountKeyPathSelectorValidNotBefore) FieldPath

func (ServiceAccountKeyPathSelectorValidNotBefore) WithArrayOfValues

func (ServiceAccountKeyPathSelectorValidNotBefore) WithValue

type ServiceAccountKeyReferenceList

type ServiceAccountKeyReferenceList []*Reference

func (ServiceAccountKeyReferenceList) Append

func (ServiceAccountKeyReferenceList) AppendList

func (ServiceAccountKeyReferenceList) At

func (ServiceAccountKeyReferenceList) Length

func (ServiceAccountKeyReferenceList) Set

func (ServiceAccountKeyReferenceList) Slice

type ServiceAccountKey_Algorithm

type ServiceAccountKey_Algorithm int32
const (
	ServiceAccountKey_KEY_ALGORITHM_UNSPECIFIED ServiceAccountKey_Algorithm = 0
	ServiceAccountKey_RSA_1024                  ServiceAccountKey_Algorithm = 1
	ServiceAccountKey_RSA_2048                  ServiceAccountKey_Algorithm = 2
	ServiceAccountKey_RSA_4096                  ServiceAccountKey_Algorithm = 3
)

func (ServiceAccountKey_Algorithm) Descriptor

func (ServiceAccountKey_Algorithm) Enum

func (ServiceAccountKey_Algorithm) EnumDescriptor

func (ServiceAccountKey_Algorithm) EnumDescriptor() ([]byte, []int)

Deprecated, Use ServiceAccountKey_Algorithm.ProtoReflect.Descriptor instead.

func (ServiceAccountKey_Algorithm) Number

func (ServiceAccountKey_Algorithm) String

func (ServiceAccountKey_Algorithm) Type

type ServiceAccountKey_FieldMask

type ServiceAccountKey_FieldMask struct {
	Paths []ServiceAccountKey_FieldPath
}

func FullServiceAccountKey_FieldMask

func FullServiceAccountKey_FieldMask() *ServiceAccountKey_FieldMask

func ResourceViewFieldMask

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

func (*ServiceAccountKey_FieldMask) AppendPath

func (fieldMask *ServiceAccountKey_FieldMask) AppendPath(path ServiceAccountKey_FieldPath)

func (*ServiceAccountKey_FieldMask) AppendRawPath

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

func (*ServiceAccountKey_FieldMask) DecodeFirestore

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

func (*ServiceAccountKey_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ServiceAccountKey_FieldMask) FilterInputFields

func (fieldMask *ServiceAccountKey_FieldMask) FilterInputFields() *ServiceAccountKey_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ServiceAccountKey_FieldMask) FromProtoFieldMask

func (fieldMask *ServiceAccountKey_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*ServiceAccountKey_FieldMask) GetPaths

func (*ServiceAccountKey_FieldMask) GetRawPaths

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

func (*ServiceAccountKey_FieldMask) IsFull

func (fieldMask *ServiceAccountKey_FieldMask) IsFull() bool

func (ServiceAccountKey_FieldMask) Marshal

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

implement methods required by customType

func (ServiceAccountKey_FieldMask) MarshalJSON

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

func (*ServiceAccountKey_FieldMask) PathsCount

func (fieldMask *ServiceAccountKey_FieldMask) PathsCount() int

func (*ServiceAccountKey_FieldMask) Project

func (*ServiceAccountKey_FieldMask) ProjectRaw

func (*ServiceAccountKey_FieldMask) ProtoMessage

func (fieldMask *ServiceAccountKey_FieldMask) ProtoMessage()

func (*ServiceAccountKey_FieldMask) ProtoReflect

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

func (*ServiceAccountKey_FieldMask) Reset

func (fieldMask *ServiceAccountKey_FieldMask) Reset()

func (*ServiceAccountKey_FieldMask) Set

func (fieldMask *ServiceAccountKey_FieldMask) Set(target, source *ServiceAccountKey)

func (*ServiceAccountKey_FieldMask) SetFromCliFlag

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

func (*ServiceAccountKey_FieldMask) SetRaw

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

func (*ServiceAccountKey_FieldMask) Size

func (fieldMask *ServiceAccountKey_FieldMask) Size() int

func (*ServiceAccountKey_FieldMask) String

func (fieldMask *ServiceAccountKey_FieldMask) String() string

func (*ServiceAccountKey_FieldMask) Subtract

func (*ServiceAccountKey_FieldMask) SubtractRaw

func (*ServiceAccountKey_FieldMask) ToProtoFieldMask

func (fieldMask *ServiceAccountKey_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*ServiceAccountKey_FieldMask) Unmarshal

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

func (*ServiceAccountKey_FieldMask) UnmarshalJSON

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

type ServiceAccountKey_FieldPath

type ServiceAccountKey_FieldPath interface {
	gotenobject.FieldPath
	Selector() ServiceAccountKey_FieldPathSelector
	Get(source *ServiceAccountKey) []interface{}
	GetSingle(source *ServiceAccountKey) (interface{}, bool)
	ClearValue(item *ServiceAccountKey)

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

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

func MustParseServiceAccountKey_FieldPath

func MustParseServiceAccountKey_FieldPath(rawField string) ServiceAccountKey_FieldPath

func ParseServiceAccountKey_FieldPath

func ParseServiceAccountKey_FieldPath(rawField string) (ServiceAccountKey_FieldPath, error)

type ServiceAccountKey_FieldPathArrayItemValue

type ServiceAccountKey_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ServiceAccountKey_FieldPath
	ContainsValue(*ServiceAccountKey) bool
}

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

func MustParseServiceAccountKey_FieldPathArrayItemValue

func MustParseServiceAccountKey_FieldPathArrayItemValue(pathStr, valueStr string) ServiceAccountKey_FieldPathArrayItemValue

func ParseServiceAccountKey_FieldPathArrayItemValue

func ParseServiceAccountKey_FieldPathArrayItemValue(pathStr, valueStr string) (ServiceAccountKey_FieldPathArrayItemValue, error)

ParseServiceAccountKey_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ServiceAccountKey_FieldPathArrayOfValues

type ServiceAccountKey_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ServiceAccountKey_FieldPath
}

ServiceAccountKey_FieldPathArrayOfValues allows storing slice of values for ServiceAccountKey fields according to their type

func MustParseServiceAccountKey_FieldPathArrayOfValues

func MustParseServiceAccountKey_FieldPathArrayOfValues(pathStr, valuesStr string) ServiceAccountKey_FieldPathArrayOfValues

func ParseServiceAccountKey_FieldPathArrayOfValues

func ParseServiceAccountKey_FieldPathArrayOfValues(pathStr, valuesStr string) (ServiceAccountKey_FieldPathArrayOfValues, error)

type ServiceAccountKey_FieldPathSelector

type ServiceAccountKey_FieldPathSelector int32
const (
	ServiceAccountKey_FieldPathSelectorName           ServiceAccountKey_FieldPathSelector = 0
	ServiceAccountKey_FieldPathSelectorDisplayName    ServiceAccountKey_FieldPathSelector = 1
	ServiceAccountKey_FieldPathSelectorPublicKeyData  ServiceAccountKey_FieldPathSelector = 2
	ServiceAccountKey_FieldPathSelectorPrivateKeyData ServiceAccountKey_FieldPathSelector = 3
	ServiceAccountKey_FieldPathSelectorAlgorithm      ServiceAccountKey_FieldPathSelector = 4
	ServiceAccountKey_FieldPathSelectorValidNotBefore ServiceAccountKey_FieldPathSelector = 5
	ServiceAccountKey_FieldPathSelectorValidNotAfter  ServiceAccountKey_FieldPathSelector = 6
)

func (ServiceAccountKey_FieldPathSelector) String

type ServiceAccountKey_FieldPathValue

type ServiceAccountKey_FieldPathValue interface {
	ServiceAccountKey_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ServiceAccountKey)
	CompareWith(*ServiceAccountKey) (cmp int, comparable bool)
}

ServiceAccountKey_FieldPathValue allows storing values for ServiceAccountKey fields according to their type

func MustParseServiceAccountKey_FieldPathValue

func MustParseServiceAccountKey_FieldPathValue(pathStr, valueStr string) ServiceAccountKey_FieldPathValue

func ParseServiceAccountKey_FieldPathValue

func ParseServiceAccountKey_FieldPathValue(pathStr, valueStr string) (ServiceAccountKey_FieldPathValue, error)

type ServiceAccountKey_FieldTerminalPath

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

func (*ServiceAccountKey_FieldTerminalPath) ClearValue

func (*ServiceAccountKey_FieldTerminalPath) ClearValueRaw

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

func (*ServiceAccountKey_FieldTerminalPath) Get

func (fp *ServiceAccountKey_FieldTerminalPath) Get(source *ServiceAccountKey) (values []interface{})

Get returns all values pointed by specific field from source ServiceAccountKey

func (*ServiceAccountKey_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ServiceAccountKey_FieldTerminalPath) GetRaw

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

func (*ServiceAccountKey_FieldTerminalPath) GetSingle

func (fp *ServiceAccountKey_FieldTerminalPath) GetSingle(source *ServiceAccountKey) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ServiceAccountKey

func (*ServiceAccountKey_FieldTerminalPath) GetSingleRaw

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

func (*ServiceAccountKey_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*ServiceAccountKey_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*ServiceAccountKey_FieldTerminalPath) Selector

func (*ServiceAccountKey_FieldTerminalPath) String

String returns path representation in proto convention

func (*ServiceAccountKey_FieldTerminalPath) WithIArrayItemValue

func (fp *ServiceAccountKey_FieldTerminalPath) WithIArrayItemValue(value interface{}) ServiceAccountKey_FieldPathArrayItemValue

func (*ServiceAccountKey_FieldTerminalPath) WithIArrayOfValues

func (fp *ServiceAccountKey_FieldTerminalPath) WithIArrayOfValues(values interface{}) ServiceAccountKey_FieldPathArrayOfValues

func (*ServiceAccountKey_FieldTerminalPath) WithIValue

func (*ServiceAccountKey_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ServiceAccountKey_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ServiceAccountKey_FieldTerminalPath) WithRawIValue

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

type ServiceAccountKey_FieldTerminalPathArrayItemValue

type ServiceAccountKey_FieldTerminalPathArrayItemValue struct {
	ServiceAccountKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccountKey_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*ServiceAccountKey_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ServiceAccountKey_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ServiceAccountKey_FieldTerminalPathArrayItemValue) GetSingle(source *ServiceAccountKey) (interface{}, bool)

func (*ServiceAccountKey_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ServiceAccountKey_FieldTerminalPathArrayOfValues

type ServiceAccountKey_FieldTerminalPathArrayOfValues struct {
	ServiceAccountKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccountKey_FieldTerminalPathArrayOfValues) AsAlgorithmArrayOfValues

func (*ServiceAccountKey_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*ServiceAccountKey_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*ServiceAccountKey_FieldTerminalPathArrayOfValues) AsPrivateKeyDataArrayOfValues

func (fpaov *ServiceAccountKey_FieldTerminalPathArrayOfValues) AsPrivateKeyDataArrayOfValues() ([]string, bool)

func (*ServiceAccountKey_FieldTerminalPathArrayOfValues) AsPublicKeyDataArrayOfValues

func (fpaov *ServiceAccountKey_FieldTerminalPathArrayOfValues) AsPublicKeyDataArrayOfValues() ([]string, bool)

func (*ServiceAccountKey_FieldTerminalPathArrayOfValues) AsValidNotAfterArrayOfValues

func (fpaov *ServiceAccountKey_FieldTerminalPathArrayOfValues) AsValidNotAfterArrayOfValues() ([]*timestamp.Timestamp, bool)

func (*ServiceAccountKey_FieldTerminalPathArrayOfValues) AsValidNotBeforeArrayOfValues

func (fpaov *ServiceAccountKey_FieldTerminalPathArrayOfValues) AsValidNotBeforeArrayOfValues() ([]*timestamp.Timestamp, bool)

func (*ServiceAccountKey_FieldTerminalPathArrayOfValues) GetRawValues

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

type ServiceAccountKey_FieldTerminalPathValue

type ServiceAccountKey_FieldTerminalPathValue struct {
	ServiceAccountKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccountKey_FieldTerminalPathValue) AsAlgorithmValue

func (*ServiceAccountKey_FieldTerminalPathValue) AsDisplayNameValue

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

func (*ServiceAccountKey_FieldTerminalPathValue) AsNameValue

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

func (*ServiceAccountKey_FieldTerminalPathValue) AsPrivateKeyDataValue

func (fpv *ServiceAccountKey_FieldTerminalPathValue) AsPrivateKeyDataValue() (string, bool)

func (*ServiceAccountKey_FieldTerminalPathValue) AsPublicKeyDataValue

func (fpv *ServiceAccountKey_FieldTerminalPathValue) AsPublicKeyDataValue() (string, bool)

func (*ServiceAccountKey_FieldTerminalPathValue) AsValidNotAfterValue

func (fpv *ServiceAccountKey_FieldTerminalPathValue) AsValidNotAfterValue() (*timestamp.Timestamp, bool)

func (*ServiceAccountKey_FieldTerminalPathValue) AsValidNotBeforeValue

func (fpv *ServiceAccountKey_FieldTerminalPathValue) AsValidNotBeforeValue() (*timestamp.Timestamp, bool)

func (*ServiceAccountKey_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'ServiceAccountKey_FieldTerminalPathValue' with the value under path in 'ServiceAccountKey'.

func (*ServiceAccountKey_FieldTerminalPathValue) CompareWithRaw

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

func (*ServiceAccountKey_FieldTerminalPathValue) GetRawValue

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

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

func (*ServiceAccountKey_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object ServiceAccountKey

func (*ServiceAccountKey_FieldTerminalPathValue) SetToRaw

type WatchQuery

type WatchQuery struct {
	ListQuery
	WatchType   watch_type.WatchType
	ChunkSize   int
	ResumeToken string
}

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

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) 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