organization

package
v1.2.16 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

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

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors

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

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

func (*Descriptor) NewResourceFilter

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

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

func (*Descriptor) NewResourcePager

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

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

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

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

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

func (*Name) GetIUnderlyingParentName

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"`
	// Metadata is an object with information like create, update and delete time
	// (for async deleted resources), has user labels/annotations, sharding
	// information, multi-region syncing information and may have non-schema
	// owners (useful for taking ownership of resources belonging to lower level
	// services by higher ones).
	Metadata *meta.Meta `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// 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 */
	// 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 `` /* 152-byte string literal not displayed */
	// Overwrites business_tier for each service - it may also override value
	// for a core EdgeLQ service.
	ServiceTiers []*iam_common.ServiceBusinessTier `protobuf:"bytes,10,rep,name=service_tiers,json=serviceTiers,proto3" json:"service_tiers,omitempty" firestore:"serviceTiers"`
	// Top parent (internal)
	RootOrganization *Name `` /* 154-byte string literal not displayed */
	// Full ancestry path (internal)
	AncestryPath []*Name `` /* 138-byte string literal not displayed */
	// Service errors reported for this organization by category
	ServiceErrors map[string]*iam_common.ServiceErrors `` /* 215-byte string literal not displayed */
	// Internal field for services meta information synchronization
	ServicesGeneration int64 `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

Organization Resource

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

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

func (*Organization) GetAllowedServices

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

func (*Organization) GetAncestryPath

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

func (*Organization) GetBusinessTier

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() *Name

func (*Organization) GetServiceErrors

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

func (*Organization) GetServiceTiers

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

func (*Organization) GetServicesGeneration

func (m *Organization) GetServicesGeneration() int64

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

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

func (*Organization) SetAncestryPath

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

func (*Organization) SetBusinessTier

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

func (*Organization) SetServiceErrors

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

func (*Organization) SetServiceTiers

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

func (*Organization) SetServicesGeneration

func (m *Organization) SetServicesGeneration(fv int64)

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

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

func (OrganizationFieldPathBuilder) AncestryPath

func (OrganizationFieldPathBuilder) BusinessTier

func (OrganizationFieldPathBuilder) Metadata

func (OrganizationFieldPathBuilder) MultiRegionPolicy

func (OrganizationFieldPathBuilder) Name

func (OrganizationFieldPathBuilder) ParentOrganization

func (OrganizationFieldPathBuilder) RootOrganization

func (OrganizationFieldPathBuilder) ServiceErrors

func (OrganizationFieldPathBuilder) ServiceTiers

func (OrganizationFieldPathBuilder) ServicesGeneration

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

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

func (OrganizationMapPathSelectorServiceErrors) FieldPath

func (OrganizationMapPathSelectorServiceErrors) WithArrayOfValues

func (OrganizationMapPathSelectorServiceErrors) WithValue

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

type OrganizationPathSelectorAllowedServices struct{}

func (OrganizationPathSelectorAllowedServices) FieldPath

func (OrganizationPathSelectorAllowedServices) WithArrayOfValues

func (OrganizationPathSelectorAllowedServices) WithItemValue

func (OrganizationPathSelectorAllowedServices) WithValue

type OrganizationPathSelectorAncestryPath

type OrganizationPathSelectorAncestryPath struct{}

func (OrganizationPathSelectorAncestryPath) FieldPath

func (OrganizationPathSelectorAncestryPath) WithArrayOfValues

func (OrganizationPathSelectorAncestryPath) WithItemValue

func (OrganizationPathSelectorAncestryPath) WithValue

type OrganizationPathSelectorBusinessTier

type OrganizationPathSelectorBusinessTier struct{}

func (OrganizationPathSelectorBusinessTier) FieldPath

func (OrganizationPathSelectorBusinessTier) WithArrayOfValues

func (OrganizationPathSelectorBusinessTier) WithValue

type OrganizationPathSelectorMetadata

type OrganizationPathSelectorMetadata struct{}

func (OrganizationPathSelectorMetadata) Annotations

func (OrganizationPathSelectorMetadata) CreateTime

func (OrganizationPathSelectorMetadata) DeleteTime

func (OrganizationPathSelectorMetadata) FieldPath

func (OrganizationPathSelectorMetadata) Generation

func (OrganizationPathSelectorMetadata) Labels

func (OrganizationPathSelectorMetadata) Lifecycle

func (OrganizationPathSelectorMetadata) OwnerReferences

func (OrganizationPathSelectorMetadata) ResourceVersion

func (OrganizationPathSelectorMetadata) Services

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

type OrganizationPathSelectorMetadataDeleteTime struct{}

func (OrganizationPathSelectorMetadataDeleteTime) FieldPath

func (OrganizationPathSelectorMetadataDeleteTime) WithArrayOfValues

func (OrganizationPathSelectorMetadataDeleteTime) WithValue

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

type OrganizationPathSelectorMetadataLifecycle struct{}

func (OrganizationPathSelectorMetadataLifecycle) BlockDeletion

func (OrganizationPathSelectorMetadataLifecycle) FieldPath

func (OrganizationPathSelectorMetadataLifecycle) State

func (OrganizationPathSelectorMetadataLifecycle) WithArrayOfValues

func (OrganizationPathSelectorMetadataLifecycle) WithValue

type OrganizationPathSelectorMetadataLifecycleBlockDeletion

type OrganizationPathSelectorMetadataLifecycleBlockDeletion struct{}

func (OrganizationPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (OrganizationPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (OrganizationPathSelectorMetadataLifecycleBlockDeletion) WithValue

type OrganizationPathSelectorMetadataLifecycleState

type OrganizationPathSelectorMetadataLifecycleState struct{}

func (OrganizationPathSelectorMetadataLifecycleState) FieldPath

func (OrganizationPathSelectorMetadataLifecycleState) WithArrayOfValues

func (OrganizationPathSelectorMetadataLifecycleState) WithValue

type OrganizationPathSelectorMetadataOwnerReferences

type OrganizationPathSelectorMetadataOwnerReferences struct{}

func (OrganizationPathSelectorMetadataOwnerReferences) Controller

func (OrganizationPathSelectorMetadataOwnerReferences) FieldPath

func (OrganizationPathSelectorMetadataOwnerReferences) Kind

func (OrganizationPathSelectorMetadataOwnerReferences) Name

func (OrganizationPathSelectorMetadataOwnerReferences) Region

func (OrganizationPathSelectorMetadataOwnerReferences) Version

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

type OrganizationPathSelectorMetadataOwnerReferencesRegion struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (OrganizationPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (OrganizationPathSelectorMetadataOwnerReferencesRegion) WithValue

type OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (OrganizationPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type OrganizationPathSelectorMetadataOwnerReferencesVersion

type OrganizationPathSelectorMetadataOwnerReferencesVersion struct{}

func (OrganizationPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (OrganizationPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (OrganizationPathSelectorMetadataOwnerReferencesVersion) WithValue

type OrganizationPathSelectorMetadataResourceVersion

type OrganizationPathSelectorMetadataResourceVersion struct{}

func (OrganizationPathSelectorMetadataResourceVersion) FieldPath

func (OrganizationPathSelectorMetadataResourceVersion) WithArrayOfValues

func (OrganizationPathSelectorMetadataResourceVersion) WithValue

type OrganizationPathSelectorMetadataServices

type OrganizationPathSelectorMetadataServices struct{}

func (OrganizationPathSelectorMetadataServices) AllowedServices

func (OrganizationPathSelectorMetadataServices) FieldPath

func (OrganizationPathSelectorMetadataServices) OwningService

func (OrganizationPathSelectorMetadataServices) WithArrayOfValues

func (OrganizationPathSelectorMetadataServices) WithValue

type OrganizationPathSelectorMetadataServicesAllowedServices

type OrganizationPathSelectorMetadataServicesAllowedServices struct{}

func (OrganizationPathSelectorMetadataServicesAllowedServices) FieldPath

func (OrganizationPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (OrganizationPathSelectorMetadataServicesAllowedServices) WithItemValue

func (OrganizationPathSelectorMetadataServicesAllowedServices) WithValue

type OrganizationPathSelectorMetadataServicesOwningService

type OrganizationPathSelectorMetadataServicesOwningService struct{}

func (OrganizationPathSelectorMetadataServicesOwningService) FieldPath

func (OrganizationPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (OrganizationPathSelectorMetadataServicesOwningService) WithValue

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

type OrganizationPathSelectorServiceErrors struct{}

func (OrganizationPathSelectorServiceErrors) FieldPath

func (OrganizationPathSelectorServiceErrors) WithArrayOfValues

func (OrganizationPathSelectorServiceErrors) WithKey

func (OrganizationPathSelectorServiceErrors) WithValue

type OrganizationPathSelectorServiceTiers

type OrganizationPathSelectorServiceTiers struct{}

func (OrganizationPathSelectorServiceTiers) BusinessTier

func (OrganizationPathSelectorServiceTiers) FieldPath

func (OrganizationPathSelectorServiceTiers) Service

func (OrganizationPathSelectorServiceTiers) WithArrayOfValues

func (OrganizationPathSelectorServiceTiers) WithItemValue

func (OrganizationPathSelectorServiceTiers) WithSubArrayItemValue

func (OrganizationPathSelectorServiceTiers) WithSubArrayOfValues

func (OrganizationPathSelectorServiceTiers) WithSubPath

func (OrganizationPathSelectorServiceTiers) WithSubValue

func (OrganizationPathSelectorServiceTiers) WithValue

type OrganizationPathSelectorServiceTiersBusinessTier

type OrganizationPathSelectorServiceTiersBusinessTier struct{}

func (OrganizationPathSelectorServiceTiersBusinessTier) FieldPath

func (OrganizationPathSelectorServiceTiersBusinessTier) WithArrayOfValues

func (OrganizationPathSelectorServiceTiersBusinessTier) WithValue

type OrganizationPathSelectorServiceTiersService

type OrganizationPathSelectorServiceTiersService struct{}

func (OrganizationPathSelectorServiceTiersService) FieldPath

func (OrganizationPathSelectorServiceTiersService) WithArrayOfValues

func (OrganizationPathSelectorServiceTiersService) WithValue

type OrganizationPathSelectorServicesGeneration

type OrganizationPathSelectorServicesGeneration struct{}

func (OrganizationPathSelectorServicesGeneration) FieldPath

func (OrganizationPathSelectorServicesGeneration) WithArrayOfValues

func (OrganizationPathSelectorServicesGeneration) WithValue

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

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

FieldPath for map type with additional Key information

func (*Organization_FieldPathMap) ClearValue

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

func (*Organization_FieldPathMap) ClearValueRaw

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

func (*Organization_FieldPathMap) Get

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

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

GetDefault returns a default value of the field type

func (*Organization_FieldPathMap) GetRaw

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

func (*Organization_FieldPathMap) GetSingle

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

GetSingle returns value by selected field map key from source Organization

func (*Organization_FieldPathMap) GetSingleRaw

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

func (*Organization_FieldPathMap) IsLeaf

func (fpm *Organization_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Organization_FieldPathMap) JSONString

func (fpm *Organization_FieldPathMap) JSONString() string

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

func (*Organization_FieldPathMap) Key

func (fpm *Organization_FieldPathMap) Key() string

func (*Organization_FieldPathMap) Selector

func (*Organization_FieldPathMap) SplitIntoTerminalIPaths

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

func (*Organization_FieldPathMap) String

func (fpm *Organization_FieldPathMap) String() string

String returns path representation in proto convention

func (*Organization_FieldPathMap) WithIArrayItemValue

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

func (*Organization_FieldPathMap) WithIArrayOfValues

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

func (*Organization_FieldPathMap) WithIValue

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

func (*Organization_FieldPathMap) WithRawIArrayItemValue

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

func (*Organization_FieldPathMap) WithRawIArrayOfValues

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

func (*Organization_FieldPathMap) WithRawIValue

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

type Organization_FieldPathMapArrayOfValues

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

func (*Organization_FieldPathMapArrayOfValues) AsServiceErrorsArrayOfElementValues

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

func (*Organization_FieldPathMapArrayOfValues) GetRawValues

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

type Organization_FieldPathMapValue

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

func (*Organization_FieldPathMapValue) AsServiceErrorsElementValue

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

func (*Organization_FieldPathMapValue) CompareWith

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

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

func (*Organization_FieldPathMapValue) GetRawValue

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

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

func (*Organization_FieldPathMapValue) SetTo

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

SetTo stores value for selected field in Organization

func (*Organization_FieldPathMapValue) SetToRaw

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

type Organization_FieldPathSelector

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

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

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

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

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

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

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

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

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

func (*Organization_FieldTerminalPathArrayItemValue) AsAncestryPathItemValue

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

func (*Organization_FieldTerminalPathArrayItemValue) AsServiceTiersItemValue

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

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

func (*Organization_FieldTerminalPathArrayOfValues) AsAncestryPathArrayOfValues

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

func (*Organization_FieldTerminalPathArrayOfValues) AsBusinessTierArrayOfValues

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() ([]*Name, bool)

func (*Organization_FieldTerminalPathArrayOfValues) AsServiceErrorsArrayOfValues

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

func (*Organization_FieldTerminalPathArrayOfValues) AsServiceTiersArrayOfValues

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

func (*Organization_FieldTerminalPathArrayOfValues) AsServicesGenerationArrayOfValues

func (fpaov *Organization_FieldTerminalPathArrayOfValues) AsServicesGenerationArrayOfValues() ([]int64, 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

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

func (*Organization_FieldTerminalPathValue) AsAncestryPathValue

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

func (*Organization_FieldTerminalPathValue) AsBusinessTierValue

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() (*Name, bool)

func (*Organization_FieldTerminalPathValue) AsServiceErrorsValue

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

func (*Organization_FieldTerminalPathValue) AsServiceTiersValue

func (*Organization_FieldTerminalPathValue) AsServicesGenerationValue

func (fpv *Organization_FieldTerminalPathValue) AsServicesGenerationValue() (int64, bool)

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

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

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

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

func (*PagerQuery) SetPageDirection

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

func (*PagerQuery) SetPeekForward

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

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

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

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

func (*Reference) GetIUnderlyingParentName

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

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

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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