organization

package
v1.0.33 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil = "organizations/{organization}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access OrganizationAccess) 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 *Organization) 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 []*Organization) (out []*Organization)

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 Organization_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 *Organization) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Organization_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Organization) 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 Organization_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 *Organization) 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 Organization_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 *Organization) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() Organization_FieldPath

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 Organization_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 {
	Organization_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Organization) 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 Organization_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 Organization_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Organization) 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 Organization_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 Organization_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Organization) 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 Organization_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 *Organization) 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 Organization_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 {
	Organization_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *Organization) 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 Organization_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      *Organization_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           *Organization_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 {
	NamePattern
	OrganizationId string `firestore:"organizationId"`
}

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

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(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 *Organization) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Organization_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 OrganizationList, elem *Organization) (OrganizationList, 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 OrganizationList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath Organization_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 *Organization) int

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type Organization

type Organization struct {

	// Name of Organization
	// 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,28}[a-z0-9]
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Official Name of Organization
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" firestore:"title"`
	// Parent organization
	ParentOrganization *Reference `` /* 167-byte string literal not displayed */
	// Top parent (internal)
	RootOrganization *Reference `` /* 159-byte string literal not displayed */
	// Full ancestry path (internal)
	AncestryPath []*Reference `` /* 143-byte string literal not displayed */
	// Metadata
	Metadata *meta.Meta `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Multi region policy for child resources
	MultiRegionPolicy *multi_region_policy.MultiRegionPolicy `` /* 144-byte string literal not displayed */
	// Allowed services for child organizations and projects. This field is
	// checked only for non-core edgelq services.
	AllowedServices []*meta_service.Reference `` /* 155-byte string literal not displayed */
	// Business tier applicable for all allowed services.
	// This value defines:
	// * Default business tier for child projects (if not defined on creation)
	// * Default business tier to this organization.
	BusinessTier iam_common.BusinessTier `` /* 158-byte string literal not displayed */
	// Overwrites business_tier for each service.
	ServiceTiers []*iam_common.ServiceBusinessTier `protobuf:"bytes,10,rep,name=service_tiers,json=serviceTiers,proto3" json:"service_tiers,omitempty" firestore:"serviceTiers"`
	// Service errors reported for this organization by category
	ServiceErrors map[string]*iam_common.ServiceErrors `` /* 215-byte string literal not displayed */
	// contains filtered or unexported fields
}

Organization represents higher-level organizational unit, like Company, University or Division

Organizations supports managing hierarchies with [Organization.parent_organization] field. All [Permission] grants through [RoleBinding]s are propagated from organization ancestors to their descendants.

func (*Organization) Clone

func (o *Organization) Clone() *Organization

func (*Organization) CloneRaw

func (o *Organization) CloneRaw() gotenobject.GotenObjectExt

func (*Organization) Descriptor

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

Deprecated, Use Organization.ProtoReflect.Descriptor instead.

func (*Organization) EnsureMetadata added in v1.0.21

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

func (*Organization) GetAllowedServices added in v0.10.0

func (m *Organization) GetAllowedServices() []*meta_service.Reference

func (*Organization) GetAncestryPath

func (m *Organization) GetAncestryPath() []*Reference

func (*Organization) GetBusinessTier added in v0.10.0

func (m *Organization) GetBusinessTier() iam_common.BusinessTier

func (*Organization) GetMetadata

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

func (*Organization) GetMultiRegionPolicy

func (m *Organization) GetMultiRegionPolicy() *multi_region_policy.MultiRegionPolicy

func (*Organization) GetName

func (m *Organization) GetName() *Name

func (*Organization) GetParentOrganization

func (m *Organization) GetParentOrganization() *Reference

func (*Organization) GetRawName

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

func (*Organization) GetResourceDescriptor

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

func (*Organization) GetRootOrganization

func (m *Organization) GetRootOrganization() *Reference

func (*Organization) GetServiceErrors added in v0.10.0

func (m *Organization) GetServiceErrors() map[string]*iam_common.ServiceErrors

func (*Organization) GetServiceTiers added in v0.10.0

func (m *Organization) GetServiceTiers() []*iam_common.ServiceBusinessTier

func (*Organization) GetTitle

func (m *Organization) GetTitle() string

func (*Organization) GotenMessage

func (*Organization) GotenMessage()

func (*Organization) GotenObjectExt

func (o *Organization) GotenObjectExt()

func (*Organization) GotenValidate

func (obj *Organization) GotenValidate() error

func (*Organization) MakeDiffFieldMask

func (o *Organization) MakeDiffFieldMask(other *Organization) *Organization_FieldMask

func (*Organization) MakeFullFieldMask

func (o *Organization) MakeFullFieldMask() *Organization_FieldMask

func (*Organization) MakeRawDiffFieldMask

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

func (*Organization) MakeRawFullFieldMask

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

func (*Organization) Marshal

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

func (*Organization) MarshalJSON

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

func (*Organization) MaybePopulateDefaults

func (r *Organization) MaybePopulateDefaults() error

func (*Organization) Merge

func (o *Organization) Merge(source *Organization)

func (*Organization) MergeRaw

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

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) ProtoReflect

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

func (*Organization) Reset

func (m *Organization) Reset()

func (*Organization) SetAllowedServices added in v0.10.0

func (m *Organization) SetAllowedServices(fv []*meta_service.Reference)

func (*Organization) SetAncestryPath

func (m *Organization) SetAncestryPath(fv []*Reference)

func (*Organization) SetBusinessTier added in v0.10.0

func (m *Organization) SetBusinessTier(fv iam_common.BusinessTier)

func (*Organization) SetMetadata

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

func (*Organization) SetMultiRegionPolicy

func (m *Organization) SetMultiRegionPolicy(fv *multi_region_policy.MultiRegionPolicy)

func (*Organization) SetName

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

func (*Organization) SetParentOrganization

func (m *Organization) SetParentOrganization(fv *Reference)

func (*Organization) SetRootOrganization

func (m *Organization) SetRootOrganization(fv *Reference)

func (*Organization) SetServiceErrors added in v0.10.0

func (m *Organization) SetServiceErrors(fv map[string]*iam_common.ServiceErrors)

func (*Organization) SetServiceTiers added in v0.10.0

func (m *Organization) SetServiceTiers(fv []*iam_common.ServiceBusinessTier)

func (*Organization) SetTitle

func (m *Organization) SetTitle(fv string)

func (*Organization) String

func (m *Organization) String() string

func (*Organization) Unmarshal

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

func (*Organization) UnmarshalJSON

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

type OrganizationAccess

type OrganizationAccess interface {
	GetOrganization(context.Context, *GetQuery) (*Organization, error)
	BatchGetOrganizations(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryOrganizations(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchOrganization(context.Context, *GetQuery, func(*OrganizationChange) error) error
	WatchOrganizations(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveOrganization(context.Context, *Organization, ...gotenresource.SaveOption) error
	DeleteOrganization(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type OrganizationChange

type OrganizationChange struct {

	// Organization change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*OrganizationChange_Added_
	//	*OrganizationChange_Modified_
	//	*OrganizationChange_Current_
	//	*OrganizationChange_Removed_
	ChangeType isOrganizationChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*OrganizationChange) Descriptor

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

Deprecated, Use OrganizationChange.ProtoReflect.Descriptor instead.

func (*OrganizationChange) GetAdded

func (*OrganizationChange) GetChangeType

func (m *OrganizationChange) GetChangeType() isOrganizationChange_ChangeType

func (*OrganizationChange) GetCurrent

func (*OrganizationChange) GetCurrentViewIndex

func (c *OrganizationChange) GetCurrentViewIndex() int32

func (*OrganizationChange) GetModified

func (*OrganizationChange) GetOrganization

func (c *OrganizationChange) GetOrganization() *Organization

func (*OrganizationChange) GetOrganizationName

func (c *OrganizationChange) GetOrganizationName() *Name

func (*OrganizationChange) GetPreviousViewIndex

func (c *OrganizationChange) GetPreviousViewIndex() int32

func (*OrganizationChange) GetRawName

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

func (*OrganizationChange) GetRawResource added in v0.5.1

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

func (*OrganizationChange) GetRemoved

func (*OrganizationChange) GotenMessage

func (*OrganizationChange) GotenMessage()

func (*OrganizationChange) GotenValidate

func (obj *OrganizationChange) GotenValidate() error

func (*OrganizationChange) IsAdd

func (c *OrganizationChange) IsAdd() bool

func (*OrganizationChange) IsCurrent

func (c *OrganizationChange) IsCurrent() bool

func (*OrganizationChange) IsDelete

func (c *OrganizationChange) IsDelete() bool

func (*OrganizationChange) IsModify

func (c *OrganizationChange) IsModify() bool

func (*OrganizationChange) Marshal

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

func (*OrganizationChange) MarshalJSON

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

func (*OrganizationChange) ProtoMessage

func (*OrganizationChange) ProtoMessage()

func (*OrganizationChange) ProtoReflect

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

func (*OrganizationChange) Reset

func (m *OrganizationChange) Reset()

func (*OrganizationChange) SetAdded

func (*OrganizationChange) SetAddedRaw

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

func (*OrganizationChange) SetChangeType

func (m *OrganizationChange) SetChangeType(ofv isOrganizationChange_ChangeType)

func (*OrganizationChange) SetCurrent

func (*OrganizationChange) SetCurrentRaw

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

func (*OrganizationChange) SetDeletedRaw

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

func (*OrganizationChange) SetModified

func (m *OrganizationChange) SetModified(fv *OrganizationChange_Modified)

func (*OrganizationChange) SetModifiedRaw

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

func (*OrganizationChange) SetRemoved

func (*OrganizationChange) String

func (m *OrganizationChange) String() string

func (*OrganizationChange) Unmarshal

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

func (*OrganizationChange) UnmarshalJSON

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

type OrganizationChangeList

type OrganizationChangeList []*OrganizationChange

func (OrganizationChangeList) Append

func (OrganizationChangeList) AppendList

func (OrganizationChangeList) At

func (OrganizationChangeList) Length

func (l OrganizationChangeList) Length() int

func (OrganizationChangeList) Set

func (OrganizationChangeList) Slice

type OrganizationChangeMap

type OrganizationChangeMap map[Name]*OrganizationChange

func (OrganizationChangeMap) Delete

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

func (OrganizationChangeMap) ForEach

func (OrganizationChangeMap) Get

func (OrganizationChangeMap) Length

func (m OrganizationChangeMap) Length() int

func (OrganizationChangeMap) Set

type OrganizationChange_Added

type OrganizationChange_Added struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty" firestore:"organization"`
	// Integer describing index of added Organization 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
}

Organization has been added to query view

func (*OrganizationChange_Added) Descriptor

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

Deprecated, Use OrganizationChange_Added.ProtoReflect.Descriptor instead.

func (*OrganizationChange_Added) GetOrganization

func (m *OrganizationChange_Added) GetOrganization() *Organization

func (*OrganizationChange_Added) GetViewIndex

func (m *OrganizationChange_Added) GetViewIndex() int32

func (*OrganizationChange_Added) GotenMessage

func (*OrganizationChange_Added) GotenMessage()

func (*OrganizationChange_Added) GotenValidate

func (obj *OrganizationChange_Added) GotenValidate() error

func (*OrganizationChange_Added) Marshal

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

func (*OrganizationChange_Added) MarshalJSON

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

func (*OrganizationChange_Added) ProtoMessage

func (*OrganizationChange_Added) ProtoMessage()

func (*OrganizationChange_Added) ProtoReflect

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

func (*OrganizationChange_Added) Reset

func (m *OrganizationChange_Added) Reset()

func (*OrganizationChange_Added) SetOrganization

func (m *OrganizationChange_Added) SetOrganization(fv *Organization)

func (*OrganizationChange_Added) SetViewIndex

func (m *OrganizationChange_Added) SetViewIndex(fv int32)

func (*OrganizationChange_Added) String

func (m *OrganizationChange_Added) String() string

func (*OrganizationChange_Added) Unmarshal

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

func (*OrganizationChange_Added) UnmarshalJSON

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

type OrganizationChange_Added_

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

type OrganizationChange_Current

type OrganizationChange_Current struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty" firestore:"organization"`
	// contains filtered or unexported fields
}

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

func (*OrganizationChange_Current) Descriptor

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

Deprecated, Use OrganizationChange_Current.ProtoReflect.Descriptor instead.

func (*OrganizationChange_Current) GetOrganization

func (m *OrganizationChange_Current) GetOrganization() *Organization

func (*OrganizationChange_Current) GotenMessage

func (*OrganizationChange_Current) GotenMessage()

func (*OrganizationChange_Current) GotenValidate

func (obj *OrganizationChange_Current) GotenValidate() error

func (*OrganizationChange_Current) Marshal

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

func (*OrganizationChange_Current) MarshalJSON

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

func (*OrganizationChange_Current) ProtoMessage

func (*OrganizationChange_Current) ProtoMessage()

func (*OrganizationChange_Current) ProtoReflect

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

func (*OrganizationChange_Current) Reset

func (m *OrganizationChange_Current) Reset()

func (*OrganizationChange_Current) SetOrganization

func (m *OrganizationChange_Current) SetOrganization(fv *Organization)

func (*OrganizationChange_Current) String

func (m *OrganizationChange_Current) String() string

func (*OrganizationChange_Current) Unmarshal

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

func (*OrganizationChange_Current) UnmarshalJSON

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

type OrganizationChange_Current_

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

type OrganizationChange_Modified

type OrganizationChange_Modified struct {

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

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

func (*OrganizationChange_Modified) Descriptor

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

Deprecated, Use OrganizationChange_Modified.ProtoReflect.Descriptor instead.

func (*OrganizationChange_Modified) GetFieldMask

func (*OrganizationChange_Modified) GetName

func (m *OrganizationChange_Modified) GetName() *Name

func (*OrganizationChange_Modified) GetOrganization

func (m *OrganizationChange_Modified) GetOrganization() *Organization

func (*OrganizationChange_Modified) GetPreviousViewIndex

func (m *OrganizationChange_Modified) GetPreviousViewIndex() int32

func (*OrganizationChange_Modified) GetViewIndex

func (m *OrganizationChange_Modified) GetViewIndex() int32

func (*OrganizationChange_Modified) GotenMessage

func (*OrganizationChange_Modified) GotenMessage()

func (*OrganizationChange_Modified) GotenValidate

func (obj *OrganizationChange_Modified) GotenValidate() error

func (*OrganizationChange_Modified) Marshal

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

func (*OrganizationChange_Modified) MarshalJSON

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

func (*OrganizationChange_Modified) ProtoMessage

func (*OrganizationChange_Modified) ProtoMessage()

func (*OrganizationChange_Modified) ProtoReflect

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

func (*OrganizationChange_Modified) Reset

func (m *OrganizationChange_Modified) Reset()

func (*OrganizationChange_Modified) SetFieldMask

func (*OrganizationChange_Modified) SetName

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

func (*OrganizationChange_Modified) SetOrganization

func (m *OrganizationChange_Modified) SetOrganization(fv *Organization)

func (*OrganizationChange_Modified) SetPreviousViewIndex

func (m *OrganizationChange_Modified) SetPreviousViewIndex(fv int32)

func (*OrganizationChange_Modified) SetViewIndex

func (m *OrganizationChange_Modified) SetViewIndex(fv int32)

func (*OrganizationChange_Modified) String

func (m *OrganizationChange_Modified) String() string

func (*OrganizationChange_Modified) Unmarshal

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

func (*OrganizationChange_Modified) UnmarshalJSON

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

type OrganizationChange_Modified_

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

type OrganizationChange_Removed

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

func (*OrganizationChange_Removed) Descriptor

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

Deprecated, Use OrganizationChange_Removed.ProtoReflect.Descriptor instead.

func (*OrganizationChange_Removed) GetName

func (m *OrganizationChange_Removed) GetName() *Name

func (*OrganizationChange_Removed) GetViewIndex

func (m *OrganizationChange_Removed) GetViewIndex() int32

func (*OrganizationChange_Removed) GotenMessage

func (*OrganizationChange_Removed) GotenMessage()

func (*OrganizationChange_Removed) GotenValidate

func (obj *OrganizationChange_Removed) GotenValidate() error

func (*OrganizationChange_Removed) Marshal

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

func (*OrganizationChange_Removed) MarshalJSON

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

func (*OrganizationChange_Removed) ProtoMessage

func (*OrganizationChange_Removed) ProtoMessage()

func (*OrganizationChange_Removed) ProtoReflect

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

func (*OrganizationChange_Removed) Reset

func (m *OrganizationChange_Removed) Reset()

func (*OrganizationChange_Removed) SetName

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

func (*OrganizationChange_Removed) SetViewIndex

func (m *OrganizationChange_Removed) SetViewIndex(fv int32)

func (*OrganizationChange_Removed) String

func (m *OrganizationChange_Removed) String() string

func (*OrganizationChange_Removed) Unmarshal

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

func (*OrganizationChange_Removed) UnmarshalJSON

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

type OrganizationChange_Removed_

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

type OrganizationFieldPathBuilder

type OrganizationFieldPathBuilder struct{}

func NewOrganizationFieldPathBuilder

func NewOrganizationFieldPathBuilder() OrganizationFieldPathBuilder

func (OrganizationFieldPathBuilder) AllowedServices added in v0.10.0

func (OrganizationFieldPathBuilder) AncestryPath

func (OrganizationFieldPathBuilder) BusinessTier added in v0.10.0

func (OrganizationFieldPathBuilder) Metadata

func (OrganizationFieldPathBuilder) MultiRegionPolicy

func (OrganizationFieldPathBuilder) Name

func (OrganizationFieldPathBuilder) ParentOrganization

func (OrganizationFieldPathBuilder) RootOrganization

func (OrganizationFieldPathBuilder) ServiceErrors added in v0.10.0

func (OrganizationFieldPathBuilder) ServiceTiers added in v0.10.0

func (OrganizationFieldPathBuilder) Title

type OrganizationList

type OrganizationList []*Organization

func (OrganizationList) Append

func (OrganizationList) AppendList

func (OrganizationList) At

func (OrganizationList) Length

func (l OrganizationList) Length() int

func (OrganizationList) Set

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

func (OrganizationList) Slice

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

type OrganizationMap

type OrganizationMap map[Name]*Organization

func (OrganizationMap) Delete

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

func (OrganizationMap) ForEach

func (OrganizationMap) Get

func (OrganizationMap) Length

func (m OrganizationMap) Length() int

func (OrganizationMap) Set

type OrganizationMapPathSelectorMetadataAnnotations

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

func (OrganizationMapPathSelectorMetadataAnnotations) FieldPath

func (OrganizationMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (OrganizationMapPathSelectorMetadataAnnotations) WithValue

type OrganizationMapPathSelectorMetadataLabels

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

func (OrganizationMapPathSelectorMetadataLabels) FieldPath

func (OrganizationMapPathSelectorMetadataLabels) WithArrayOfValues

func (OrganizationMapPathSelectorMetadataLabels) WithValue

type OrganizationMapPathSelectorMetadataShards

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

func (OrganizationMapPathSelectorMetadataShards) FieldPath

func (OrganizationMapPathSelectorMetadataShards) WithArrayOfValues

func (OrganizationMapPathSelectorMetadataShards) WithValue

type OrganizationMapPathSelectorServiceErrors added in v0.10.0

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

func (OrganizationMapPathSelectorServiceErrors) FieldPath added in v0.10.0

func (OrganizationMapPathSelectorServiceErrors) WithArrayOfValues added in v0.10.0

func (OrganizationMapPathSelectorServiceErrors) WithValue added in v0.10.0

type OrganizationNameList

type OrganizationNameList []*Name

func (OrganizationNameList) Append

func (OrganizationNameList) AppendList

func (OrganizationNameList) At

func (OrganizationNameList) Length

func (l OrganizationNameList) Length() int

func (OrganizationNameList) Set

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

func (OrganizationNameList) Slice

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

type OrganizationPathSelectorAllowedServices added in v0.10.0

type OrganizationPathSelectorAllowedServices struct{}

func (OrganizationPathSelectorAllowedServices) FieldPath added in v0.10.0

func (OrganizationPathSelectorAllowedServices) WithArrayOfValues added in v0.10.0

func (OrganizationPathSelectorAllowedServices) WithItemValue added in v0.10.0

func (OrganizationPathSelectorAllowedServices) WithValue added in v0.10.0

type OrganizationPathSelectorAncestryPath

type OrganizationPathSelectorAncestryPath struct{}

func (OrganizationPathSelectorAncestryPath) FieldPath

func (OrganizationPathSelectorAncestryPath) WithArrayOfValues

func (OrganizationPathSelectorAncestryPath) WithItemValue

func (OrganizationPathSelectorAncestryPath) WithValue

type OrganizationPathSelectorBusinessTier added in v0.10.0

type OrganizationPathSelectorBusinessTier struct{}

func (OrganizationPathSelectorBusinessTier) FieldPath added in v0.10.0

func (OrganizationPathSelectorBusinessTier) WithArrayOfValues added in v0.10.0

func (OrganizationPathSelectorBusinessTier) WithValue added in v0.10.0

type OrganizationPathSelectorMetadata

type OrganizationPathSelectorMetadata struct{}

func (OrganizationPathSelectorMetadata) Annotations

func (OrganizationPathSelectorMetadata) CreateTime

func (OrganizationPathSelectorMetadata) DeleteTime added in v0.8.0

func (OrganizationPathSelectorMetadata) FieldPath

func (OrganizationPathSelectorMetadata) Generation

func (OrganizationPathSelectorMetadata) Labels

func (OrganizationPathSelectorMetadata) Lifecycle added in v0.8.0

func (OrganizationPathSelectorMetadata) OwnerReferences

func (OrganizationPathSelectorMetadata) ResourceVersion

func (OrganizationPathSelectorMetadata) Services added in v1.0.21

func (OrganizationPathSelectorMetadata) Shards

func (OrganizationPathSelectorMetadata) Syncing

func (OrganizationPathSelectorMetadata) Tags

func (OrganizationPathSelectorMetadata) UpdateTime

func (OrganizationPathSelectorMetadata) Uuid

func (OrganizationPathSelectorMetadata) WithArrayOfValues

func (OrganizationPathSelectorMetadata) WithSubArrayItemValue

func (OrganizationPathSelectorMetadata) WithSubArrayOfValues

func (OrganizationPathSelectorMetadata) WithSubPath

func (OrganizationPathSelectorMetadata) WithSubValue

func (OrganizationPathSelectorMetadata) WithValue

type OrganizationPathSelectorMetadataAnnotations

type OrganizationPathSelectorMetadataAnnotations struct{}

func (OrganizationPathSelectorMetadataAnnotations) FieldPath

func (OrganizationPathSelectorMetadataAnnotations) WithArrayOfValues

func (OrganizationPathSelectorMetadataAnnotations) WithKey

func (OrganizationPathSelectorMetadataAnnotations) WithValue

type OrganizationPathSelectorMetadataCreateTime

type OrganizationPathSelectorMetadataCreateTime struct{}

func (OrganizationPathSelectorMetadataCreateTime) FieldPath

func (OrganizationPathSelectorMetadataCreateTime) WithArrayOfValues

func (OrganizationPathSelectorMetadataCreateTime) WithValue

type OrganizationPathSelectorMetadataDeleteTime added in v0.8.0

type OrganizationPathSelectorMetadataDeleteTime struct{}

func (OrganizationPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (OrganizationPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (OrganizationPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type OrganizationPathSelectorMetadataGeneration

type OrganizationPathSelectorMetadataGeneration struct{}

func (OrganizationPathSelectorMetadataGeneration) FieldPath

func (OrganizationPathSelectorMetadataGeneration) WithArrayOfValues

func (OrganizationPathSelectorMetadataGeneration) WithValue

type OrganizationPathSelectorMetadataLabels

type OrganizationPathSelectorMetadataLabels struct{}

func (OrganizationPathSelectorMetadataLabels) FieldPath

func (OrganizationPathSelectorMetadataLabels) WithArrayOfValues

func (OrganizationPathSelectorMetadataLabels) WithKey

func (OrganizationPathSelectorMetadataLabels) WithValue

type OrganizationPathSelectorMetadataLifecycle added in v0.8.0

type OrganizationPathSelectorMetadataLifecycle struct{}

func (OrganizationPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (OrganizationPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (OrganizationPathSelectorMetadataLifecycle) State added in v0.8.0

func (OrganizationPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (OrganizationPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type OrganizationPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type OrganizationPathSelectorMetadataLifecycleBlockDeletion struct{}

func (OrganizationPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (OrganizationPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (OrganizationPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type OrganizationPathSelectorMetadataLifecycleState added in v0.8.0

type OrganizationPathSelectorMetadataLifecycleState struct{}

func (OrganizationPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (OrganizationPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (OrganizationPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type OrganizationPathSelectorMetadataOwnerReferences

type OrganizationPathSelectorMetadataOwnerReferences struct{}

func (OrganizationPathSelectorMetadataOwnerReferences) Controller

func (OrganizationPathSelectorMetadataOwnerReferences) FieldPath

func (OrganizationPathSelectorMetadataOwnerReferences) Kind

func (OrganizationPathSelectorMetadataOwnerReferences) Name

func (OrganizationPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (OrganizationPathSelectorMetadataOwnerReferences) WithItemValue

func (OrganizationPathSelectorMetadataOwnerReferences) WithValue

type OrganizationPathSelectorMetadataOwnerReferencesController

type OrganizationPathSelectorMetadataOwnerReferencesController struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesController) FieldPath

func (OrganizationPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (OrganizationPathSelectorMetadataOwnerReferencesController) WithValue

type OrganizationPathSelectorMetadataOwnerReferencesKind

type OrganizationPathSelectorMetadataOwnerReferencesKind struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesKind) FieldPath

func (OrganizationPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (OrganizationPathSelectorMetadataOwnerReferencesKind) WithValue

type OrganizationPathSelectorMetadataOwnerReferencesName

type OrganizationPathSelectorMetadataOwnerReferencesName struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesName) FieldPath

func (OrganizationPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (OrganizationPathSelectorMetadataOwnerReferencesName) WithValue

type OrganizationPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type OrganizationPathSelectorMetadataOwnerReferencesRegion struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type OrganizationPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type OrganizationPathSelectorMetadataOwnerReferencesVersion struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (OrganizationPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type OrganizationPathSelectorMetadataResourceVersion

type OrganizationPathSelectorMetadataResourceVersion struct{}

func (OrganizationPathSelectorMetadataResourceVersion) FieldPath

func (OrganizationPathSelectorMetadataResourceVersion) WithArrayOfValues

func (OrganizationPathSelectorMetadataResourceVersion) WithValue

type OrganizationPathSelectorMetadataServices added in v1.0.21

type OrganizationPathSelectorMetadataServices struct{}

func (OrganizationPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (OrganizationPathSelectorMetadataServices) FieldPath added in v1.0.21

func (OrganizationPathSelectorMetadataServices) OwningService added in v1.0.21

func (OrganizationPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (OrganizationPathSelectorMetadataServices) WithValue added in v1.0.21

type OrganizationPathSelectorMetadataServicesAllowedServices added in v1.0.21

type OrganizationPathSelectorMetadataServicesAllowedServices struct{}

func (OrganizationPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (OrganizationPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (OrganizationPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (OrganizationPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type OrganizationPathSelectorMetadataServicesOwningService added in v1.0.21

type OrganizationPathSelectorMetadataServicesOwningService struct{}

func (OrganizationPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (OrganizationPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (OrganizationPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type OrganizationPathSelectorMetadataShards

type OrganizationPathSelectorMetadataShards struct{}

func (OrganizationPathSelectorMetadataShards) FieldPath

func (OrganizationPathSelectorMetadataShards) WithArrayOfValues

func (OrganizationPathSelectorMetadataShards) WithKey

func (OrganizationPathSelectorMetadataShards) WithValue

type OrganizationPathSelectorMetadataSyncing

type OrganizationPathSelectorMetadataSyncing struct{}

func (OrganizationPathSelectorMetadataSyncing) FieldPath

func (OrganizationPathSelectorMetadataSyncing) OwningRegion

func (OrganizationPathSelectorMetadataSyncing) Regions

func (OrganizationPathSelectorMetadataSyncing) WithArrayOfValues

func (OrganizationPathSelectorMetadataSyncing) WithValue

type OrganizationPathSelectorMetadataSyncingOwningRegion

type OrganizationPathSelectorMetadataSyncingOwningRegion struct{}

func (OrganizationPathSelectorMetadataSyncingOwningRegion) FieldPath

func (OrganizationPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (OrganizationPathSelectorMetadataSyncingOwningRegion) WithValue

type OrganizationPathSelectorMetadataSyncingRegions

type OrganizationPathSelectorMetadataSyncingRegions struct{}

func (OrganizationPathSelectorMetadataSyncingRegions) FieldPath

func (OrganizationPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (OrganizationPathSelectorMetadataSyncingRegions) WithItemValue

func (OrganizationPathSelectorMetadataSyncingRegions) WithValue

type OrganizationPathSelectorMetadataTags

type OrganizationPathSelectorMetadataTags struct{}

func (OrganizationPathSelectorMetadataTags) FieldPath

func (OrganizationPathSelectorMetadataTags) WithArrayOfValues

func (OrganizationPathSelectorMetadataTags) WithItemValue

func (OrganizationPathSelectorMetadataTags) WithValue

type OrganizationPathSelectorMetadataUpdateTime

type OrganizationPathSelectorMetadataUpdateTime struct{}

func (OrganizationPathSelectorMetadataUpdateTime) FieldPath

func (OrganizationPathSelectorMetadataUpdateTime) WithArrayOfValues

func (OrganizationPathSelectorMetadataUpdateTime) WithValue

type OrganizationPathSelectorMetadataUuid

type OrganizationPathSelectorMetadataUuid struct{}

func (OrganizationPathSelectorMetadataUuid) FieldPath

func (OrganizationPathSelectorMetadataUuid) WithArrayOfValues

func (OrganizationPathSelectorMetadataUuid) WithValue

type OrganizationPathSelectorMultiRegionPolicy

type OrganizationPathSelectorMultiRegionPolicy struct{}

func (OrganizationPathSelectorMultiRegionPolicy) CriteriaForDisabledSync

func (OrganizationPathSelectorMultiRegionPolicy) DefaultControlRegion

func (OrganizationPathSelectorMultiRegionPolicy) EnabledRegions

func (OrganizationPathSelectorMultiRegionPolicy) FieldPath

func (OrganizationPathSelectorMultiRegionPolicy) WithArrayOfValues

func (OrganizationPathSelectorMultiRegionPolicy) WithSubArrayItemValue

func (OrganizationPathSelectorMultiRegionPolicy) WithSubArrayOfValues

func (OrganizationPathSelectorMultiRegionPolicy) WithSubPath

func (OrganizationPathSelectorMultiRegionPolicy) WithSubValue

func (OrganizationPathSelectorMultiRegionPolicy) WithValue

type OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSync

type OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSync struct{}

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSync) FieldPath

type OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion

type OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion struct{}

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion) FieldPath

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion) WithArrayOfValues

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion) WithValue

type OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName

type OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName struct{}

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName) FieldPath

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName) WithArrayOfValues

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName) WithValue

type OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion

type OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion struct{}

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion) FieldPath

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion) WithArrayOfValues

func (OrganizationPathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion) WithValue

type OrganizationPathSelectorMultiRegionPolicyDefaultControlRegion

type OrganizationPathSelectorMultiRegionPolicyDefaultControlRegion struct{}

func (OrganizationPathSelectorMultiRegionPolicyDefaultControlRegion) FieldPath

func (OrganizationPathSelectorMultiRegionPolicyDefaultControlRegion) WithArrayOfValues

func (OrganizationPathSelectorMultiRegionPolicyDefaultControlRegion) WithValue

type OrganizationPathSelectorMultiRegionPolicyEnabledRegions

type OrganizationPathSelectorMultiRegionPolicyEnabledRegions struct{}

func (OrganizationPathSelectorMultiRegionPolicyEnabledRegions) FieldPath

func (OrganizationPathSelectorMultiRegionPolicyEnabledRegions) WithArrayOfValues

func (OrganizationPathSelectorMultiRegionPolicyEnabledRegions) WithItemValue

func (OrganizationPathSelectorMultiRegionPolicyEnabledRegions) WithValue

type OrganizationPathSelectorName

type OrganizationPathSelectorName struct{}

func (OrganizationPathSelectorName) FieldPath

func (OrganizationPathSelectorName) WithArrayOfValues

func (OrganizationPathSelectorName) WithValue

type OrganizationPathSelectorParentOrganization

type OrganizationPathSelectorParentOrganization struct{}

func (OrganizationPathSelectorParentOrganization) FieldPath

func (OrganizationPathSelectorParentOrganization) WithArrayOfValues

func (OrganizationPathSelectorParentOrganization) WithValue

type OrganizationPathSelectorRootOrganization

type OrganizationPathSelectorRootOrganization struct{}

func (OrganizationPathSelectorRootOrganization) FieldPath

func (OrganizationPathSelectorRootOrganization) WithArrayOfValues

func (OrganizationPathSelectorRootOrganization) WithValue

type OrganizationPathSelectorServiceErrors added in v0.10.0

type OrganizationPathSelectorServiceErrors struct{}

func (OrganizationPathSelectorServiceErrors) FieldPath added in v0.10.0

func (OrganizationPathSelectorServiceErrors) WithArrayOfValues added in v0.10.0

func (OrganizationPathSelectorServiceErrors) WithKey added in v0.10.0

func (OrganizationPathSelectorServiceErrors) WithValue added in v0.10.0

type OrganizationPathSelectorServiceTiers added in v0.10.0

type OrganizationPathSelectorServiceTiers struct{}

func (OrganizationPathSelectorServiceTiers) BusinessTier added in v0.10.0

func (OrganizationPathSelectorServiceTiers) FieldPath added in v0.10.0

func (OrganizationPathSelectorServiceTiers) Service added in v0.10.0

func (OrganizationPathSelectorServiceTiers) WithArrayOfValues added in v0.10.0

func (OrganizationPathSelectorServiceTiers) WithItemValue added in v0.10.0

func (OrganizationPathSelectorServiceTiers) WithSubArrayItemValue added in v0.10.0

func (OrganizationPathSelectorServiceTiers) WithSubArrayOfValues added in v0.10.0

func (OrganizationPathSelectorServiceTiers) WithSubPath added in v0.10.0

func (OrganizationPathSelectorServiceTiers) WithSubValue added in v0.10.0

func (OrganizationPathSelectorServiceTiers) WithValue added in v0.10.0

type OrganizationPathSelectorServiceTiersBusinessTier added in v0.10.0

type OrganizationPathSelectorServiceTiersBusinessTier struct{}

func (OrganizationPathSelectorServiceTiersBusinessTier) FieldPath added in v0.10.0

func (OrganizationPathSelectorServiceTiersBusinessTier) WithArrayOfValues added in v0.10.0

func (OrganizationPathSelectorServiceTiersBusinessTier) WithValue added in v0.10.0

type OrganizationPathSelectorServiceTiersService added in v0.10.0

type OrganizationPathSelectorServiceTiersService struct{}

func (OrganizationPathSelectorServiceTiersService) FieldPath added in v0.10.0

func (OrganizationPathSelectorServiceTiersService) WithArrayOfValues added in v0.10.0

func (OrganizationPathSelectorServiceTiersService) WithValue added in v0.10.0

type OrganizationPathSelectorTitle

type OrganizationPathSelectorTitle struct{}

func (OrganizationPathSelectorTitle) FieldPath

func (OrganizationPathSelectorTitle) WithArrayOfValues

func (OrganizationPathSelectorTitle) WithValue

type OrganizationReferenceList

type OrganizationReferenceList []*Reference

func (OrganizationReferenceList) Append

func (OrganizationReferenceList) AppendList

func (OrganizationReferenceList) At

func (OrganizationReferenceList) Length

func (l OrganizationReferenceList) Length() int

func (OrganizationReferenceList) Set

func (OrganizationReferenceList) Slice

type Organization_FieldMask

type Organization_FieldMask struct {
	Paths []Organization_FieldPath
}

func FullOrganization_FieldMask

func FullOrganization_FieldMask() *Organization_FieldMask

func ResourceViewFieldMask

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

func (*Organization_FieldMask) AppendPath

func (fieldMask *Organization_FieldMask) AppendPath(path Organization_FieldPath)

func (*Organization_FieldMask) AppendRawPath

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

func (*Organization_FieldMask) DecodeFirestore

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

func (*Organization_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Organization_FieldMask) FilterInputFields

func (fieldMask *Organization_FieldMask) FilterInputFields() *Organization_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Organization_FieldMask) FromProtoFieldMask

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

func (*Organization_FieldMask) GetPaths

func (fieldMask *Organization_FieldMask) GetPaths() []Organization_FieldPath

func (*Organization_FieldMask) GetRawPaths

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

func (*Organization_FieldMask) IsFull

func (fieldMask *Organization_FieldMask) IsFull() bool

func (Organization_FieldMask) Marshal

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

implement methods required by customType

func (Organization_FieldMask) MarshalJSON

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

func (*Organization_FieldMask) PathsCount

func (fieldMask *Organization_FieldMask) PathsCount() int

func (*Organization_FieldMask) Project

func (fieldMask *Organization_FieldMask) Project(source *Organization) *Organization

func (*Organization_FieldMask) ProjectRaw

func (*Organization_FieldMask) ProtoMessage

func (fieldMask *Organization_FieldMask) ProtoMessage()

func (*Organization_FieldMask) ProtoReflect

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

func (*Organization_FieldMask) Reset

func (fieldMask *Organization_FieldMask) Reset()

func (*Organization_FieldMask) Set

func (fieldMask *Organization_FieldMask) Set(target, source *Organization)

func (*Organization_FieldMask) SetFromCliFlag

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

func (*Organization_FieldMask) SetRaw

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

func (*Organization_FieldMask) Size

func (fieldMask *Organization_FieldMask) Size() int

func (*Organization_FieldMask) String

func (fieldMask *Organization_FieldMask) String() string

func (*Organization_FieldMask) Subtract

func (*Organization_FieldMask) SubtractRaw

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

func (*Organization_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Organization_FieldMask) Unmarshal

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

func (*Organization_FieldMask) UnmarshalJSON

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

type Organization_FieldPath

type Organization_FieldPath interface {
	gotenobject.FieldPath
	Selector() Organization_FieldPathSelector
	Get(source *Organization) []interface{}
	GetSingle(source *Organization) (interface{}, bool)
	ClearValue(item *Organization)

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

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

func MustParseOrganization_FieldPath

func MustParseOrganization_FieldPath(rawField string) Organization_FieldPath

func ParseOrganization_FieldPath

func ParseOrganization_FieldPath(rawField string) (Organization_FieldPath, error)

type Organization_FieldPathArrayItemValue

type Organization_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Organization_FieldPath
	ContainsValue(*Organization) bool
}

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

func MustParseOrganization_FieldPathArrayItemValue

func MustParseOrganization_FieldPathArrayItemValue(pathStr, valueStr string) Organization_FieldPathArrayItemValue

func ParseOrganization_FieldPathArrayItemValue

func ParseOrganization_FieldPathArrayItemValue(pathStr, valueStr string) (Organization_FieldPathArrayItemValue, error)

ParseOrganization_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Organization_FieldPathArrayOfValues

type Organization_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Organization_FieldPath
}

Organization_FieldPathArrayOfValues allows storing slice of values for Organization fields according to their type

func MustParseOrganization_FieldPathArrayOfValues

func MustParseOrganization_FieldPathArrayOfValues(pathStr, valuesStr string) Organization_FieldPathArrayOfValues

func ParseOrganization_FieldPathArrayOfValues

func ParseOrganization_FieldPathArrayOfValues(pathStr, valuesStr string) (Organization_FieldPathArrayOfValues, error)

type Organization_FieldPathMap added in v0.10.0

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

FieldPath for map type with additional Key information

func (*Organization_FieldPathMap) ClearValue added in v0.10.0

func (fpm *Organization_FieldPathMap) ClearValue(item *Organization)

func (*Organization_FieldPathMap) ClearValueRaw added in v0.10.0

func (fpm *Organization_FieldPathMap) ClearValueRaw(item proto.Message)

func (*Organization_FieldPathMap) Get added in v0.10.0

func (fpm *Organization_FieldPathMap) Get(source *Organization) (values []interface{})

Get returns all values pointed by selected field map key from source Organization

func (*Organization_FieldPathMap) GetDefault added in v0.10.0

func (fpm *Organization_FieldPathMap) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Organization_FieldPathMap) GetRaw added in v0.10.0

func (fpm *Organization_FieldPathMap) GetRaw(source proto.Message) []interface{}

func (*Organization_FieldPathMap) GetSingle added in v0.10.0

func (fpm *Organization_FieldPathMap) GetSingle(source *Organization) (interface{}, bool)

GetSingle returns value by selected field map key from source Organization

func (*Organization_FieldPathMap) GetSingleRaw added in v0.10.0

func (fpm *Organization_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Organization_FieldPathMap) IsLeaf added in v0.10.0

func (fpm *Organization_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Organization_FieldPathMap) JSONString added in v0.10.0

func (fpm *Organization_FieldPathMap) JSONString() string

JSONString returns path representation is JSON convention. Note that map keys are not transformed

func (*Organization_FieldPathMap) Key added in v0.10.0

func (fpm *Organization_FieldPathMap) Key() string

func (*Organization_FieldPathMap) Selector added in v0.10.0

func (*Organization_FieldPathMap) SplitIntoTerminalIPaths added in v0.10.0

func (fpm *Organization_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Organization_FieldPathMap) String added in v0.10.0

func (fpm *Organization_FieldPathMap) String() string

String returns path representation in proto convention

func (*Organization_FieldPathMap) WithIArrayItemValue added in v0.10.0

func (fpm *Organization_FieldPathMap) WithIArrayItemValue(value interface{}) Organization_FieldPathArrayItemValue

func (*Organization_FieldPathMap) WithIArrayOfValues added in v0.10.0

func (fpm *Organization_FieldPathMap) WithIArrayOfValues(values interface{}) Organization_FieldPathArrayOfValues

func (*Organization_FieldPathMap) WithIValue added in v0.10.0

func (fpm *Organization_FieldPathMap) WithIValue(value interface{}) Organization_FieldPathValue

func (*Organization_FieldPathMap) WithRawIArrayItemValue added in v0.10.0

func (fpm *Organization_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Organization_FieldPathMap) WithRawIArrayOfValues added in v0.10.0

func (fpm *Organization_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Organization_FieldPathMap) WithRawIValue added in v0.10.0

func (fpm *Organization_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Organization_FieldPathMapArrayOfValues added in v0.10.0

type Organization_FieldPathMapArrayOfValues struct {
	Organization_FieldPathMap
	// contains filtered or unexported fields
}

func (*Organization_FieldPathMapArrayOfValues) AsServiceErrorsArrayOfElementValues added in v0.10.0

func (fpmaov *Organization_FieldPathMapArrayOfValues) AsServiceErrorsArrayOfElementValues() ([]*iam_common.ServiceErrors, bool)

func (*Organization_FieldPathMapArrayOfValues) GetRawValues added in v0.10.0

func (fpmaov *Organization_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})

type Organization_FieldPathMapValue added in v0.10.0

type Organization_FieldPathMapValue struct {
	Organization_FieldPathMap
	// contains filtered or unexported fields
}

func (*Organization_FieldPathMapValue) AsServiceErrorsElementValue added in v0.10.0

func (fpmv *Organization_FieldPathMapValue) AsServiceErrorsElementValue() (*iam_common.ServiceErrors, bool)

func (*Organization_FieldPathMapValue) CompareWith added in v0.10.0

func (fpmv *Organization_FieldPathMapValue) CompareWith(source *Organization) (int, bool)

CompareWith compares value in the 'Organization_FieldPathMapValue' with the value under path in 'Organization'.

func (*Organization_FieldPathMapValue) CompareWithRaw added in v0.10.0

func (fpmv *Organization_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Organization_FieldPathMapValue) GetRawValue added in v0.10.0

func (fpmv *Organization_FieldPathMapValue) GetRawValue() interface{}

GetValue returns value stored under selected field in Organization as interface{}

func (*Organization_FieldPathMapValue) SetTo added in v0.10.0

func (fpmv *Organization_FieldPathMapValue) SetTo(target **Organization)

SetTo stores value for selected field in Organization

func (*Organization_FieldPathMapValue) SetToRaw added in v0.10.0

func (fpmv *Organization_FieldPathMapValue) SetToRaw(target proto.Message)

type Organization_FieldPathSelector

type Organization_FieldPathSelector int32
const (
	Organization_FieldPathSelectorName               Organization_FieldPathSelector = 0
	Organization_FieldPathSelectorTitle              Organization_FieldPathSelector = 1
	Organization_FieldPathSelectorParentOrganization Organization_FieldPathSelector = 2
	Organization_FieldPathSelectorRootOrganization   Organization_FieldPathSelector = 3
	Organization_FieldPathSelectorAncestryPath       Organization_FieldPathSelector = 4
	Organization_FieldPathSelectorMetadata           Organization_FieldPathSelector = 5
	Organization_FieldPathSelectorMultiRegionPolicy  Organization_FieldPathSelector = 6
	Organization_FieldPathSelectorAllowedServices    Organization_FieldPathSelector = 7
	Organization_FieldPathSelectorBusinessTier       Organization_FieldPathSelector = 8
	Organization_FieldPathSelectorServiceTiers       Organization_FieldPathSelector = 9
	Organization_FieldPathSelectorServiceErrors      Organization_FieldPathSelector = 10
)

func (Organization_FieldPathSelector) String

type Organization_FieldPathValue

type Organization_FieldPathValue interface {
	Organization_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Organization)
	CompareWith(*Organization) (cmp int, comparable bool)
}

Organization_FieldPathValue allows storing values for Organization fields according to their type

func MustParseOrganization_FieldPathValue

func MustParseOrganization_FieldPathValue(pathStr, valueStr string) Organization_FieldPathValue

func ParseOrganization_FieldPathValue

func ParseOrganization_FieldPathValue(pathStr, valueStr string) (Organization_FieldPathValue, error)

type Organization_FieldSubPath

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

func (*Organization_FieldSubPath) AsMetadataSubPath

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

func (*Organization_FieldSubPath) AsMultiRegionPolicySubPath

func (*Organization_FieldSubPath) AsServiceTiersSubPath added in v0.10.0

func (*Organization_FieldSubPath) ClearValue

func (fps *Organization_FieldSubPath) ClearValue(item *Organization)

func (*Organization_FieldSubPath) ClearValueRaw

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

func (*Organization_FieldSubPath) Get

func (fps *Organization_FieldSubPath) Get(source *Organization) (values []interface{})

Get returns all values pointed by selected field from source Organization

func (*Organization_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Organization_FieldSubPath) GetRaw

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

func (*Organization_FieldSubPath) GetSingle

func (fps *Organization_FieldSubPath) GetSingle(source *Organization) (interface{}, bool)

GetSingle returns value of selected field from source Organization

func (*Organization_FieldSubPath) GetSingleRaw

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

func (*Organization_FieldSubPath) IsLeaf

func (fps *Organization_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Organization_FieldSubPath) JSONString

func (fps *Organization_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Organization_FieldSubPath) Selector

func (*Organization_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Organization_FieldSubPath) String

func (fps *Organization_FieldSubPath) String() string

String returns path representation in proto convention

func (*Organization_FieldSubPath) WithIArrayItemValue

func (fps *Organization_FieldSubPath) WithIArrayItemValue(value interface{}) Organization_FieldPathArrayItemValue

func (*Organization_FieldSubPath) WithIArrayOfValues

func (fps *Organization_FieldSubPath) WithIArrayOfValues(values interface{}) Organization_FieldPathArrayOfValues

func (*Organization_FieldSubPath) WithIValue

func (fps *Organization_FieldSubPath) WithIValue(value interface{}) Organization_FieldPathValue

func (*Organization_FieldSubPath) WithRawIArrayItemValue

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

func (*Organization_FieldSubPath) WithRawIArrayOfValues

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

func (*Organization_FieldSubPath) WithRawIValue

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

type Organization_FieldSubPathArrayItemValue

type Organization_FieldSubPathArrayItemValue struct {
	Organization_FieldPath
	// contains filtered or unexported fields
}

func (*Organization_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*Organization_FieldSubPathArrayItemValue) AsMultiRegionPolicyPathItemValue

func (*Organization_FieldSubPathArrayItemValue) AsServiceTiersPathItemValue added in v0.10.0

func (*Organization_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Organization_FieldSubPathArrayItemValue) ContainsValue(source *Organization) bool

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

func (*Organization_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Organization_FieldSubPathArrayOfValues

type Organization_FieldSubPathArrayOfValues struct {
	Organization_FieldPath
	// contains filtered or unexported fields
}

func (*Organization_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*Organization_FieldSubPathArrayOfValues) AsMultiRegionPolicyPathArrayOfValues

func (*Organization_FieldSubPathArrayOfValues) AsServiceTiersPathArrayOfValues added in v0.10.0

func (*Organization_FieldSubPathArrayOfValues) GetRawValues

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

type Organization_FieldSubPathValue

type Organization_FieldSubPathValue struct {
	Organization_FieldPath
	// contains filtered or unexported fields
}

func (*Organization_FieldSubPathValue) AsMetadataPathValue

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

func (*Organization_FieldSubPathValue) AsMultiRegionPolicyPathValue

func (*Organization_FieldSubPathValue) AsServiceTiersPathValue added in v0.10.0

func (*Organization_FieldSubPathValue) CompareWith

func (fpvs *Organization_FieldSubPathValue) CompareWith(source *Organization) (int, bool)

func (*Organization_FieldSubPathValue) CompareWithRaw

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

func (*Organization_FieldSubPathValue) GetRawValue

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

func (*Organization_FieldSubPathValue) SetTo

func (fpvs *Organization_FieldSubPathValue) SetTo(target **Organization)

func (*Organization_FieldSubPathValue) SetToRaw

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

type Organization_FieldTerminalPath

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

func (*Organization_FieldTerminalPath) ClearValue

func (fp *Organization_FieldTerminalPath) ClearValue(item *Organization)

func (*Organization_FieldTerminalPath) ClearValueRaw

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

func (*Organization_FieldTerminalPath) Get

func (fp *Organization_FieldTerminalPath) Get(source *Organization) (values []interface{})

Get returns all values pointed by specific field from source Organization

func (*Organization_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Organization_FieldTerminalPath) GetRaw

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

func (*Organization_FieldTerminalPath) GetSingle

func (fp *Organization_FieldTerminalPath) GetSingle(source *Organization) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Organization

func (*Organization_FieldTerminalPath) GetSingleRaw

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

func (*Organization_FieldTerminalPath) IsLeaf

func (fp *Organization_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Organization_FieldTerminalPath) JSONString

func (fp *Organization_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Organization_FieldTerminalPath) Selector

func (*Organization_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Organization_FieldTerminalPath) String

String returns path representation in proto convention

func (*Organization_FieldTerminalPath) WithIArrayItemValue

func (fp *Organization_FieldTerminalPath) WithIArrayItemValue(value interface{}) Organization_FieldPathArrayItemValue

func (*Organization_FieldTerminalPath) WithIArrayOfValues

func (fp *Organization_FieldTerminalPath) WithIArrayOfValues(values interface{}) Organization_FieldPathArrayOfValues

func (*Organization_FieldTerminalPath) WithIValue

func (fp *Organization_FieldTerminalPath) WithIValue(value interface{}) Organization_FieldPathValue

func (*Organization_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Organization_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Organization_FieldTerminalPath) WithRawIValue

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

type Organization_FieldTerminalPathArrayItemValue

type Organization_FieldTerminalPathArrayItemValue struct {
	Organization_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Organization_FieldTerminalPathArrayItemValue) AsAllowedServicesItemValue added in v0.10.0

func (fpaiv *Organization_FieldTerminalPathArrayItemValue) AsAllowedServicesItemValue() (*meta_service.Reference, bool)

func (*Organization_FieldTerminalPathArrayItemValue) AsAncestryPathItemValue

func (fpaiv *Organization_FieldTerminalPathArrayItemValue) AsAncestryPathItemValue() (*Reference, bool)

func (*Organization_FieldTerminalPathArrayItemValue) AsServiceTiersItemValue added in v0.10.0

func (*Organization_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Organization_FieldTerminalPathArrayItemValue) ContainsValue(source *Organization) bool

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

func (*Organization_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Organization_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Organization_FieldTerminalPathArrayItemValue) GetSingle(source *Organization) (interface{}, bool)

func (*Organization_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Organization_FieldTerminalPathArrayOfValues

type Organization_FieldTerminalPathArrayOfValues struct {
	Organization_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Organization_FieldTerminalPathArrayOfValues) AsAllowedServicesArrayOfValues added in v0.10.0

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsAllowedServicesArrayOfValues() ([][]*meta_service.Reference, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsAncestryPathArrayOfValues

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsAncestryPathArrayOfValues() ([][]*Reference, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsBusinessTierArrayOfValues added in v0.10.0

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsBusinessTierArrayOfValues() ([]iam_common.BusinessTier, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*Organization_FieldTerminalPathArrayOfValues) AsMultiRegionPolicyArrayOfValues

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsMultiRegionPolicyArrayOfValues() ([]*multi_region_policy.MultiRegionPolicy, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*Organization_FieldTerminalPathArrayOfValues) AsParentOrganizationArrayOfValues

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsParentOrganizationArrayOfValues() ([]*Reference, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsRootOrganizationArrayOfValues

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsRootOrganizationArrayOfValues() ([]*Reference, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsServiceErrorsArrayOfValues added in v0.10.0

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsServiceErrorsArrayOfValues() ([]map[string]*iam_common.ServiceErrors, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsServiceTiersArrayOfValues added in v0.10.0

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsServiceTiersArrayOfValues() ([][]*iam_common.ServiceBusinessTier, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues() ([]string, bool)

func (*Organization_FieldTerminalPathArrayOfValues) GetRawValues

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

type Organization_FieldTerminalPathValue

type Organization_FieldTerminalPathValue struct {
	Organization_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Organization_FieldTerminalPathValue) AsAllowedServicesValue added in v0.10.0

func (fpv *Organization_FieldTerminalPathValue) AsAllowedServicesValue() ([]*meta_service.Reference, bool)

func (*Organization_FieldTerminalPathValue) AsAncestryPathValue

func (fpv *Organization_FieldTerminalPathValue) AsAncestryPathValue() ([]*Reference, bool)

func (*Organization_FieldTerminalPathValue) AsBusinessTierValue added in v0.10.0

func (fpv *Organization_FieldTerminalPathValue) AsBusinessTierValue() (iam_common.BusinessTier, bool)

func (*Organization_FieldTerminalPathValue) AsMetadataValue

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

func (*Organization_FieldTerminalPathValue) AsMultiRegionPolicyValue

func (*Organization_FieldTerminalPathValue) AsNameValue

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

func (*Organization_FieldTerminalPathValue) AsParentOrganizationValue

func (fpv *Organization_FieldTerminalPathValue) AsParentOrganizationValue() (*Reference, bool)

func (*Organization_FieldTerminalPathValue) AsRootOrganizationValue

func (fpv *Organization_FieldTerminalPathValue) AsRootOrganizationValue() (*Reference, bool)

func (*Organization_FieldTerminalPathValue) AsServiceErrorsValue added in v0.10.0

func (fpv *Organization_FieldTerminalPathValue) AsServiceErrorsValue() (map[string]*iam_common.ServiceErrors, bool)

func (*Organization_FieldTerminalPathValue) AsServiceTiersValue added in v0.10.0

func (*Organization_FieldTerminalPathValue) AsTitleValue

func (fpv *Organization_FieldTerminalPathValue) AsTitleValue() (string, bool)

func (*Organization_FieldTerminalPathValue) CompareWith

func (fpv *Organization_FieldTerminalPathValue) CompareWith(source *Organization) (int, bool)

CompareWith compares value in the 'Organization_FieldTerminalPathValue' with the value under path in 'Organization'.

func (*Organization_FieldTerminalPathValue) CompareWithRaw

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

func (*Organization_FieldTerminalPathValue) GetRawValue

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

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

func (*Organization_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Organization

func (*Organization_FieldTerminalPathValue) SetToRaw

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

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 QueryResultChange

type QueryResultChange struct {
	Changes        []*OrganizationChange
	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 {
	Organizations     []*Organization
	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, organization *Organization) (*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) GetOrganization

func (ref *Reference) GetOrganization() *Organization

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

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