Documentation ¶
Index ¶
- type Policy
- func (o *Policy) Clone() *Policy
- func (o *Policy) CloneRaw() gotenobject.GotenObjectExt
- func (*Policy) Descriptor() ([]byte, []int)
- func (m *Policy) GetCriteriaForDisabledSync() []*Policy_CriteriaForDisabledSync
- func (m *Policy) GetDefaultControlRegion() string
- func (m *Policy) GetEnabledRegions() []string
- func (*Policy) GotenMessage()
- func (o *Policy) GotenObjectExt()
- func (obj *Policy) GotenValidate() error
- func (o *Policy) MakeDiffFieldMask(other *Policy) *Policy_FieldMask
- func (o *Policy) MakeFullFieldMask() *Policy_FieldMask
- func (o *Policy) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Policy) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Policy) Marshal() ([]byte, error)
- func (m *Policy) MarshalJSON() ([]byte, error)
- func (o *Policy) Merge(source *Policy)
- func (o *Policy) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Policy) ProtoMessage()
- func (m *Policy) ProtoReflect() preflect.Message
- func (m *Policy) Reset()
- func (m *Policy) SetCriteriaForDisabledSync(fv []*Policy_CriteriaForDisabledSync)
- func (m *Policy) SetDefaultControlRegion(fv string)
- func (m *Policy) SetEnabledRegions(fv []string)
- func (m *Policy) String() string
- func (m *Policy) Unmarshal(b []byte) error
- func (m *Policy) UnmarshalJSON(data []byte) error
- type PolicyCriteriaForDisabledSyncFieldPathBuilder
- func (PolicyCriteriaForDisabledSyncFieldPathBuilder) DestRegion() Policy_CriteriaForDisabledSyncPathSelectorDestRegion
- func (PolicyCriteriaForDisabledSyncFieldPathBuilder) ResourceTypeName() Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName
- func (PolicyCriteriaForDisabledSyncFieldPathBuilder) SourceRegion() Policy_CriteriaForDisabledSyncPathSelectorSourceRegion
- type PolicyCriteriaForDisabledSync_FieldPath
- func BuildPolicyCriteriaForDisabledSync_FieldPath(fp gotenobject.RawFieldPath) (PolicyCriteriaForDisabledSync_FieldPath, error)
- func MustParsePolicyCriteriaForDisabledSync_FieldPath(rawField string) PolicyCriteriaForDisabledSync_FieldPath
- func ParsePolicyCriteriaForDisabledSync_FieldPath(rawField string) (PolicyCriteriaForDisabledSync_FieldPath, error)
- type PolicyCriteriaForDisabledSync_FieldPathArrayItemValue
- func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue(pathStr, valueStr string) PolicyCriteriaForDisabledSync_FieldPathArrayItemValue
- func ParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue(pathStr, valueStr string) (PolicyCriteriaForDisabledSync_FieldPathArrayItemValue, error)
- type PolicyCriteriaForDisabledSync_FieldPathArrayOfValues
- type PolicyCriteriaForDisabledSync_FieldPathSelector
- type PolicyCriteriaForDisabledSync_FieldPathValue
- type PolicyCriteriaForDisabledSync_FieldTerminalPath
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValue(item *Policy_CriteriaForDisabledSync)
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) Get(source *Policy_CriteriaForDisabledSync) (values []interface{})
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) GetDefault() interface{}
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingle(source *Policy_CriteriaForDisabledSync) (interface{}, bool)
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) IsLeaf() bool
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) JSONString() string
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) Selector() PolicyCriteriaForDisabledSync_FieldPathSelector
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) String() string
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayItemValue(value interface{}) PolicyCriteriaForDisabledSync_FieldPathArrayItemValue
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayOfValues(values interface{}) PolicyCriteriaForDisabledSync_FieldPathArrayOfValues
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIValue(value interface{}) PolicyCriteriaForDisabledSync_FieldPathValue
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue
- func (fpaiv *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) ContainsValue(source *Policy_CriteriaForDisabledSync) bool
- func (fpaiv *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingle(source *Policy_CriteriaForDisabledSync) (interface{}, bool)
- func (fpaiv *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues
- func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsDestRegionArrayOfValues() ([]string, bool)
- func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsResourceTypeNameArrayOfValues() ([]string, bool)
- func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsSourceRegionArrayOfValues() ([]string, bool)
- func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type PolicyCriteriaForDisabledSync_FieldTerminalPathValue
- func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsDestRegionValue() (string, bool)
- func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsResourceTypeNameValue() (string, bool)
- func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsSourceRegionValue() (string, bool)
- func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWith(source *Policy_CriteriaForDisabledSync) (int, bool)
- func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetTo(target **Policy_CriteriaForDisabledSync)
- func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type PolicyFieldPathBuilder
- type PolicyPathSelectorCriteriaForDisabledSync
- func (PolicyPathSelectorCriteriaForDisabledSync) DestRegion() PolicyPathSelectorCriteriaForDisabledSyncDestRegion
- func (PolicyPathSelectorCriteriaForDisabledSync) FieldPath() *Policy_FieldTerminalPath
- func (PolicyPathSelectorCriteriaForDisabledSync) ResourceTypeName() PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName
- func (PolicyPathSelectorCriteriaForDisabledSync) SourceRegion() PolicyPathSelectorCriteriaForDisabledSyncSourceRegion
- func (s PolicyPathSelectorCriteriaForDisabledSync) WithArrayOfValues(values [][]*Policy_CriteriaForDisabledSync) *Policy_FieldTerminalPathArrayOfValues
- func (s PolicyPathSelectorCriteriaForDisabledSync) WithItemValue(value *Policy_CriteriaForDisabledSync) *Policy_FieldTerminalPathArrayItemValue
- func (s PolicyPathSelectorCriteriaForDisabledSync) WithSubArrayItemValue(subPathArrayItemValue PolicyCriteriaForDisabledSync_FieldPathArrayItemValue) *Policy_FieldSubPathArrayItemValue
- func (s PolicyPathSelectorCriteriaForDisabledSync) WithSubArrayOfValues(subPathArrayOfValues PolicyCriteriaForDisabledSync_FieldPathArrayOfValues) *Policy_FieldSubPathArrayOfValues
- func (PolicyPathSelectorCriteriaForDisabledSync) WithSubPath(subPath PolicyCriteriaForDisabledSync_FieldPath) *Policy_FieldSubPath
- func (s PolicyPathSelectorCriteriaForDisabledSync) WithSubValue(subPathValue PolicyCriteriaForDisabledSync_FieldPathValue) *Policy_FieldSubPathValue
- func (s PolicyPathSelectorCriteriaForDisabledSync) WithValue(value []*Policy_CriteriaForDisabledSync) *Policy_FieldTerminalPathValue
- type PolicyPathSelectorCriteriaForDisabledSyncDestRegion
- func (PolicyPathSelectorCriteriaForDisabledSyncDestRegion) FieldPath() *Policy_FieldSubPath
- func (s PolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithArrayOfValues(values []string) *Policy_FieldSubPathArrayOfValues
- func (s PolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithValue(value string) *Policy_FieldSubPathValue
- type PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName
- func (PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) FieldPath() *Policy_FieldSubPath
- func (s PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithArrayOfValues(values []string) *Policy_FieldSubPathArrayOfValues
- func (s PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithValue(value string) *Policy_FieldSubPathValue
- type PolicyPathSelectorCriteriaForDisabledSyncSourceRegion
- func (PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) FieldPath() *Policy_FieldSubPath
- func (s PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithArrayOfValues(values []string) *Policy_FieldSubPathArrayOfValues
- func (s PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithValue(value string) *Policy_FieldSubPathValue
- type PolicyPathSelectorDefaultControlRegion
- func (PolicyPathSelectorDefaultControlRegion) FieldPath() *Policy_FieldTerminalPath
- func (s PolicyPathSelectorDefaultControlRegion) WithArrayOfValues(values []string) *Policy_FieldTerminalPathArrayOfValues
- func (s PolicyPathSelectorDefaultControlRegion) WithValue(value string) *Policy_FieldTerminalPathValue
- type PolicyPathSelectorEnabledRegions
- func (PolicyPathSelectorEnabledRegions) FieldPath() *Policy_FieldTerminalPath
- func (s PolicyPathSelectorEnabledRegions) WithArrayOfValues(values [][]string) *Policy_FieldTerminalPathArrayOfValues
- func (s PolicyPathSelectorEnabledRegions) WithItemValue(value string) *Policy_FieldTerminalPathArrayItemValue
- func (s PolicyPathSelectorEnabledRegions) WithValue(value []string) *Policy_FieldTerminalPathValue
- type Policy_CriteriaForDisabledSync
- func (o *Policy_CriteriaForDisabledSync) Clone() *Policy_CriteriaForDisabledSync
- func (o *Policy_CriteriaForDisabledSync) CloneRaw() gotenobject.GotenObjectExt
- func (*Policy_CriteriaForDisabledSync) Descriptor() ([]byte, []int)
- func (m *Policy_CriteriaForDisabledSync) GetDestRegion() string
- func (m *Policy_CriteriaForDisabledSync) GetResourceTypeName() string
- func (m *Policy_CriteriaForDisabledSync) GetSourceRegion() string
- func (*Policy_CriteriaForDisabledSync) GotenMessage()
- func (o *Policy_CriteriaForDisabledSync) GotenObjectExt()
- func (obj *Policy_CriteriaForDisabledSync) GotenValidate() error
- func (o *Policy_CriteriaForDisabledSync) MakeDiffFieldMask(other *Policy_CriteriaForDisabledSync) *Policy_CriteriaForDisabledSync_FieldMask
- func (o *Policy_CriteriaForDisabledSync) MakeFullFieldMask() *Policy_CriteriaForDisabledSync_FieldMask
- func (o *Policy_CriteriaForDisabledSync) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Policy_CriteriaForDisabledSync) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Policy_CriteriaForDisabledSync) Marshal() ([]byte, error)
- func (m *Policy_CriteriaForDisabledSync) MarshalJSON() ([]byte, error)
- func (o *Policy_CriteriaForDisabledSync) Merge(source *Policy_CriteriaForDisabledSync)
- func (o *Policy_CriteriaForDisabledSync) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Policy_CriteriaForDisabledSync) ProtoMessage()
- func (m *Policy_CriteriaForDisabledSync) ProtoReflect() preflect.Message
- func (m *Policy_CriteriaForDisabledSync) Reset()
- func (m *Policy_CriteriaForDisabledSync) SetDestRegion(fv string)
- func (m *Policy_CriteriaForDisabledSync) SetResourceTypeName(fv string)
- func (m *Policy_CriteriaForDisabledSync) SetSourceRegion(fv string)
- func (m *Policy_CriteriaForDisabledSync) String() string
- func (m *Policy_CriteriaForDisabledSync) Unmarshal(b []byte) error
- func (m *Policy_CriteriaForDisabledSync) UnmarshalJSON(data []byte) error
- type Policy_CriteriaForDisabledSyncPathSelectorDestRegion
- func (Policy_CriteriaForDisabledSyncPathSelectorDestRegion) FieldPath() *PolicyCriteriaForDisabledSync_FieldTerminalPath
- func (s Policy_CriteriaForDisabledSyncPathSelectorDestRegion) WithArrayOfValues(values []string) *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues
- func (s Policy_CriteriaForDisabledSyncPathSelectorDestRegion) WithValue(value string) *PolicyCriteriaForDisabledSync_FieldTerminalPathValue
- type Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName
- func (Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) FieldPath() *PolicyCriteriaForDisabledSync_FieldTerminalPath
- func (s Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithArrayOfValues(values []string) *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues
- func (s Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithValue(value string) *PolicyCriteriaForDisabledSync_FieldTerminalPathValue
- type Policy_CriteriaForDisabledSyncPathSelectorSourceRegion
- func (Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) FieldPath() *PolicyCriteriaForDisabledSync_FieldTerminalPath
- func (s Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithArrayOfValues(values []string) *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues
- func (s Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithValue(value string) *PolicyCriteriaForDisabledSync_FieldTerminalPathValue
- type Policy_CriteriaForDisabledSync_FieldMask
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) AppendPath(path PolicyCriteriaForDisabledSync_FieldPath)
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) FilterInputFields() *Policy_CriteriaForDisabledSync_FieldMask
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) GetPaths() []PolicyCriteriaForDisabledSync_FieldPath
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) IsFull() bool
- func (fieldMask Policy_CriteriaForDisabledSync_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Policy_CriteriaForDisabledSync_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) PathsCount() int
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Project(source *Policy_CriteriaForDisabledSync) *Policy_CriteriaForDisabledSync
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ProtoMessage()
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Reset()
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Set(target, source *Policy_CriteriaForDisabledSync)
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Size() int
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) String() string
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Subtract(other *Policy_CriteriaForDisabledSync_FieldMask) *Policy_CriteriaForDisabledSync_FieldMask
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) UnmarshalJSON(data []byte) error
- type Policy_FieldMask
- func (fieldMask *Policy_FieldMask) AppendPath(path Policy_FieldPath)
- func (fieldMask *Policy_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Policy_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Policy_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Policy_FieldMask) FilterInputFields() *Policy_FieldMask
- func (fieldMask *Policy_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Policy_FieldMask) GetPaths() []Policy_FieldPath
- func (fieldMask *Policy_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Policy_FieldMask) IsFull() bool
- func (fieldMask Policy_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Policy_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Policy_FieldMask) PathsCount() int
- func (fieldMask *Policy_FieldMask) Project(source *Policy) *Policy
- func (fieldMask *Policy_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Policy_FieldMask) ProtoMessage()
- func (fieldMask *Policy_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Policy_FieldMask) Reset()
- func (fieldMask *Policy_FieldMask) Set(target, source *Policy)
- func (fieldMask *Policy_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Policy_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Policy_FieldMask) Size() int
- func (fieldMask *Policy_FieldMask) String() string
- func (fieldMask *Policy_FieldMask) Subtract(other *Policy_FieldMask) *Policy_FieldMask
- func (fieldMask *Policy_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Policy_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Policy_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Policy_FieldMask) UnmarshalJSON(data []byte) error
- type Policy_FieldPath
- type Policy_FieldPathArrayItemValue
- type Policy_FieldPathArrayOfValues
- type Policy_FieldPathSelector
- type Policy_FieldPathValue
- type Policy_FieldSubPath
- func (fps *Policy_FieldSubPath) AsCriteriaForDisabledSyncSubPath() (PolicyCriteriaForDisabledSync_FieldPath, bool)
- func (fps *Policy_FieldSubPath) ClearValue(item *Policy)
- func (fps *Policy_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *Policy_FieldSubPath) Get(source *Policy) (values []interface{})
- func (fps *Policy_FieldSubPath) GetDefault() interface{}
- func (fps *Policy_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *Policy_FieldSubPath) GetSingle(source *Policy) (interface{}, bool)
- func (fps *Policy_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *Policy_FieldSubPath) IsLeaf() bool
- func (fps *Policy_FieldSubPath) JSONString() string
- func (fps *Policy_FieldSubPath) Selector() Policy_FieldPathSelector
- func (fps *Policy_FieldSubPath) String() string
- func (fps *Policy_FieldSubPath) WithIArrayItemValue(value interface{}) Policy_FieldPathArrayItemValue
- func (fps *Policy_FieldSubPath) WithIArrayOfValues(values interface{}) Policy_FieldPathArrayOfValues
- func (fps *Policy_FieldSubPath) WithIValue(value interface{}) Policy_FieldPathValue
- func (fps *Policy_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *Policy_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *Policy_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Policy_FieldSubPathArrayItemValue
- func (fpaivs *Policy_FieldSubPathArrayItemValue) AsCriteriaForDisabledSyncPathItemValue() (PolicyCriteriaForDisabledSync_FieldPathArrayItemValue, bool)
- func (fpaivs *Policy_FieldSubPathArrayItemValue) ContainsValue(source *Policy) bool
- func (fpaivs *Policy_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
- type Policy_FieldSubPathArrayOfValues
- type Policy_FieldSubPathValue
- func (fpvs *Policy_FieldSubPathValue) AsCriteriaForDisabledSyncPathValue() (PolicyCriteriaForDisabledSync_FieldPathValue, bool)
- func (fpvs *Policy_FieldSubPathValue) CompareWith(source *Policy) (int, bool)
- func (fpvs *Policy_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *Policy_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *Policy_FieldSubPathValue) SetTo(target **Policy)
- func (fpvs *Policy_FieldSubPathValue) SetToRaw(target proto.Message)
- type Policy_FieldTerminalPath
- func (fp *Policy_FieldTerminalPath) ClearValue(item *Policy)
- func (fp *Policy_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Policy_FieldTerminalPath) Get(source *Policy) (values []interface{})
- func (fp *Policy_FieldTerminalPath) GetDefault() interface{}
- func (fp *Policy_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Policy_FieldTerminalPath) GetSingle(source *Policy) (interface{}, bool)
- func (fp *Policy_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Policy_FieldTerminalPath) IsLeaf() bool
- func (fp *Policy_FieldTerminalPath) JSONString() string
- func (fp *Policy_FieldTerminalPath) Selector() Policy_FieldPathSelector
- func (fp *Policy_FieldTerminalPath) String() string
- func (fp *Policy_FieldTerminalPath) WithIArrayItemValue(value interface{}) Policy_FieldPathArrayItemValue
- func (fp *Policy_FieldTerminalPath) WithIArrayOfValues(values interface{}) Policy_FieldPathArrayOfValues
- func (fp *Policy_FieldTerminalPath) WithIValue(value interface{}) Policy_FieldPathValue
- func (fp *Policy_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Policy_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Policy_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Policy_FieldTerminalPathArrayItemValue
- func (fpaiv *Policy_FieldTerminalPathArrayItemValue) AsCriteriaForDisabledSyncItemValue() (*Policy_CriteriaForDisabledSync, bool)
- func (fpaiv *Policy_FieldTerminalPathArrayItemValue) AsEnabledRegionsItemValue() (string, bool)
- func (fpaiv *Policy_FieldTerminalPathArrayItemValue) ContainsValue(source *Policy) bool
- func (fpaiv *Policy_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Policy_FieldTerminalPathArrayItemValue) GetSingle(source *Policy) (interface{}, bool)
- func (fpaiv *Policy_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Policy_FieldTerminalPathArrayOfValues
- func (fpaov *Policy_FieldTerminalPathArrayOfValues) AsCriteriaForDisabledSyncArrayOfValues() ([][]*Policy_CriteriaForDisabledSync, bool)
- func (fpaov *Policy_FieldTerminalPathArrayOfValues) AsDefaultControlRegionArrayOfValues() ([]string, bool)
- func (fpaov *Policy_FieldTerminalPathArrayOfValues) AsEnabledRegionsArrayOfValues() ([][]string, bool)
- func (fpaov *Policy_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type Policy_FieldTerminalPathValue
- func (fpv *Policy_FieldTerminalPathValue) AsCriteriaForDisabledSyncValue() ([]*Policy_CriteriaForDisabledSync, bool)
- func (fpv *Policy_FieldTerminalPathValue) AsDefaultControlRegionValue() (string, bool)
- func (fpv *Policy_FieldTerminalPathValue) AsEnabledRegionsValue() ([]string, bool)
- func (fpv *Policy_FieldTerminalPathValue) CompareWith(source *Policy) (int, bool)
- func (fpv *Policy_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Policy_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Policy_FieldTerminalPathValue) SetTo(target **Policy)
- func (fpv *Policy_FieldTerminalPathValue) SetToRaw(target proto.Message)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct { // List of regions available in the scope. // It is forbidden to create resource within given scope outside allowed regions. EnabledRegions []string `` /* 130-byte string literal not displayed */ // Must be within restricted_regions. Defines region handling CUD requests for // resources not attached to any region. DefaultControlRegion string `` /* 156-byte string literal not displayed */ // List of criteria according to which synchronization is disabled. CriteriaForDisabledSync []*Policy_CriteriaForDisabledSync `` /* 170-byte string literal not displayed */ // contains filtered or unexported fields }
Policy is an object defining relation between multi-region service environment and resource holding this Policy as one of its fields. Policy ought to be used for high-level resources like "Project" or "Organization" which form top elements in scopes. Policy then, attached to such a high level resource defines syncing policies for all kid resources and limits their geographical belonging (kid resources can belong only to the region allowed by a policy). Note: While Policy governs all resources under policy holder resource, policy holder resource itself is not subject to this Policy. This rule allows information about policy spread properly across regions and enables routing.
func (*Policy) CloneRaw ¶
func (o *Policy) CloneRaw() gotenobject.GotenObjectExt
func (*Policy) Descriptor ¶
Deprecated, Use Policy.ProtoReflect.Descriptor instead.
func (*Policy) GetCriteriaForDisabledSync ¶
func (m *Policy) GetCriteriaForDisabledSync() []*Policy_CriteriaForDisabledSync
func (*Policy) GetDefaultControlRegion ¶
func (*Policy) GetEnabledRegions ¶
func (*Policy) GotenMessage ¶
func (*Policy) GotenMessage()
func (*Policy) GotenObjectExt ¶
func (o *Policy) GotenObjectExt()
func (*Policy) GotenValidate ¶
func (*Policy) MakeDiffFieldMask ¶
func (o *Policy) MakeDiffFieldMask(other *Policy) *Policy_FieldMask
func (*Policy) MakeFullFieldMask ¶
func (o *Policy) MakeFullFieldMask() *Policy_FieldMask
func (*Policy) MakeRawDiffFieldMask ¶
func (o *Policy) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Policy) MakeRawFullFieldMask ¶
func (o *Policy) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Policy) MarshalJSON ¶
func (*Policy) MergeRaw ¶
func (o *Policy) MergeRaw(source gotenobject.GotenObjectExt)
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (*Policy) SetCriteriaForDisabledSync ¶
func (m *Policy) SetCriteriaForDisabledSync(fv []*Policy_CriteriaForDisabledSync)
func (*Policy) SetDefaultControlRegion ¶
func (*Policy) SetEnabledRegions ¶
func (*Policy) UnmarshalJSON ¶
type PolicyCriteriaForDisabledSyncFieldPathBuilder ¶
type PolicyCriteriaForDisabledSyncFieldPathBuilder struct{}
func NewPolicyCriteriaForDisabledSyncFieldPathBuilder ¶
func NewPolicyCriteriaForDisabledSyncFieldPathBuilder() PolicyCriteriaForDisabledSyncFieldPathBuilder
func (PolicyCriteriaForDisabledSyncFieldPathBuilder) DestRegion ¶
func (PolicyCriteriaForDisabledSyncFieldPathBuilder) ResourceTypeName ¶
func (PolicyCriteriaForDisabledSyncFieldPathBuilder) ResourceTypeName() Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName
func (PolicyCriteriaForDisabledSyncFieldPathBuilder) SourceRegion ¶
type PolicyCriteriaForDisabledSync_FieldPath ¶
type PolicyCriteriaForDisabledSync_FieldPath interface { gotenobject.FieldPath Selector() PolicyCriteriaForDisabledSync_FieldPathSelector Get(source *Policy_CriteriaForDisabledSync) []interface{} GetSingle(source *Policy_CriteriaForDisabledSync) (interface{}, bool) ClearValue(item *Policy_CriteriaForDisabledSync) // Those methods build corresponding PolicyCriteriaForDisabledSync_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) PolicyCriteriaForDisabledSync_FieldPathValue WithIArrayOfValues(values interface{}) PolicyCriteriaForDisabledSync_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) PolicyCriteriaForDisabledSync_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildPolicyCriteriaForDisabledSync_FieldPath ¶
func BuildPolicyCriteriaForDisabledSync_FieldPath(fp gotenobject.RawFieldPath) (PolicyCriteriaForDisabledSync_FieldPath, error)
func MustParsePolicyCriteriaForDisabledSync_FieldPath ¶
func MustParsePolicyCriteriaForDisabledSync_FieldPath(rawField string) PolicyCriteriaForDisabledSync_FieldPath
func ParsePolicyCriteriaForDisabledSync_FieldPath ¶
func ParsePolicyCriteriaForDisabledSync_FieldPath(rawField string) (PolicyCriteriaForDisabledSync_FieldPath, error)
type PolicyCriteriaForDisabledSync_FieldPathArrayItemValue ¶
type PolicyCriteriaForDisabledSync_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue PolicyCriteriaForDisabledSync_FieldPath ContainsValue(*Policy_CriteriaForDisabledSync) bool }
PolicyCriteriaForDisabledSync_FieldPathArrayItemValue allows storing single item in Path-specific values for CriteriaForDisabledSync according to their type Present only for array (repeated) types.
func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue ¶
func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue(pathStr, valueStr string) PolicyCriteriaForDisabledSync_FieldPathArrayItemValue
func ParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue ¶
func ParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue(pathStr, valueStr string) (PolicyCriteriaForDisabledSync_FieldPathArrayItemValue, error)
ParsePolicyCriteriaForDisabledSync_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type PolicyCriteriaForDisabledSync_FieldPathArrayOfValues ¶
type PolicyCriteriaForDisabledSync_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues PolicyCriteriaForDisabledSync_FieldPath }
PolicyCriteriaForDisabledSync_FieldPathArrayOfValues allows storing slice of values for CriteriaForDisabledSync fields according to their type
func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayOfValues ¶
func MustParsePolicyCriteriaForDisabledSync_FieldPathArrayOfValues(pathStr, valuesStr string) PolicyCriteriaForDisabledSync_FieldPathArrayOfValues
func ParsePolicyCriteriaForDisabledSync_FieldPathArrayOfValues ¶
func ParsePolicyCriteriaForDisabledSync_FieldPathArrayOfValues(pathStr, valuesStr string) (PolicyCriteriaForDisabledSync_FieldPathArrayOfValues, error)
type PolicyCriteriaForDisabledSync_FieldPathSelector ¶
type PolicyCriteriaForDisabledSync_FieldPathSelector int32
const ( PolicyCriteriaForDisabledSync_FieldPathSelectorResourceTypeName PolicyCriteriaForDisabledSync_FieldPathSelector = 0 PolicyCriteriaForDisabledSync_FieldPathSelectorSourceRegion PolicyCriteriaForDisabledSync_FieldPathSelector = 1 PolicyCriteriaForDisabledSync_FieldPathSelectorDestRegion PolicyCriteriaForDisabledSync_FieldPathSelector = 2 )
func (PolicyCriteriaForDisabledSync_FieldPathSelector) String ¶
func (s PolicyCriteriaForDisabledSync_FieldPathSelector) String() string
type PolicyCriteriaForDisabledSync_FieldPathValue ¶
type PolicyCriteriaForDisabledSync_FieldPathValue interface { PolicyCriteriaForDisabledSync_FieldPath gotenobject.FieldPathValue SetTo(target **Policy_CriteriaForDisabledSync) CompareWith(*Policy_CriteriaForDisabledSync) (cmp int, comparable bool) }
PolicyCriteriaForDisabledSync_FieldPathValue allows storing values for CriteriaForDisabledSync fields according to their type
func MustParsePolicyCriteriaForDisabledSync_FieldPathValue ¶
func MustParsePolicyCriteriaForDisabledSync_FieldPathValue(pathStr, valueStr string) PolicyCriteriaForDisabledSync_FieldPathValue
func ParsePolicyCriteriaForDisabledSync_FieldPathValue ¶
func ParsePolicyCriteriaForDisabledSync_FieldPathValue(pathStr, valueStr string) (PolicyCriteriaForDisabledSync_FieldPathValue, error)
type PolicyCriteriaForDisabledSync_FieldTerminalPath ¶
type PolicyCriteriaForDisabledSync_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValue ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValue(item *Policy_CriteriaForDisabledSync)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValueRaw ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) Get ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) Get(source *Policy_CriteriaForDisabledSync) (values []interface{})
Get returns all values pointed by specific field from source Policy_CriteriaForDisabledSync
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) GetDefault ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) GetRaw ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingle ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingle(source *Policy_CriteriaForDisabledSync) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Policy_CriteriaForDisabledSync
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingleRaw ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) IsLeaf ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) JSONString ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) String ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayItemValue(value interface{}) PolicyCriteriaForDisabledSync_FieldPathArrayItemValue
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIArrayOfValues(values interface{}) PolicyCriteriaForDisabledSync_FieldPathArrayOfValues
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIValue ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithIValue(value interface{}) PolicyCriteriaForDisabledSync_FieldPathValue
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIValue ¶
func (fp *PolicyCriteriaForDisabledSync_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue ¶
type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue struct { PolicyCriteriaForDisabledSync_FieldTerminalPath // contains filtered or unexported fields }
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) ContainsValue(source *Policy_CriteriaForDisabledSync) bool
Contains returns a boolean indicating if value that is being held is present in given 'CriteriaForDisabledSync'
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Policy_CriteriaForDisabledSync as interface{}
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingle(source *Policy_CriteriaForDisabledSync) (interface{}, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues ¶
type PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues struct { PolicyCriteriaForDisabledSync_FieldTerminalPath // contains filtered or unexported fields }
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsDestRegionArrayOfValues ¶
func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsDestRegionArrayOfValues() ([]string, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsResourceTypeNameArrayOfValues ¶
func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsResourceTypeNameArrayOfValues() ([]string, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsSourceRegionArrayOfValues ¶
func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) AsSourceRegionArrayOfValues() ([]string, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type PolicyCriteriaForDisabledSync_FieldTerminalPathValue ¶
type PolicyCriteriaForDisabledSync_FieldTerminalPathValue struct { PolicyCriteriaForDisabledSync_FieldTerminalPath // contains filtered or unexported fields }
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsDestRegionValue ¶
func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsDestRegionValue() (string, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsResourceTypeNameValue ¶
func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsResourceTypeNameValue() (string, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsSourceRegionValue ¶
func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) AsSourceRegionValue() (string, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWith ¶
func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWith(source *Policy_CriteriaForDisabledSync) (int, bool)
CompareWith compares value in the 'PolicyCriteriaForDisabledSync_FieldTerminalPathValue' with the value under path in 'Policy_CriteriaForDisabledSync'.
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) GetRawValue ¶
func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'CriteriaForDisabledSync' as interface{}
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetTo ¶
func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetTo(target **Policy_CriteriaForDisabledSync)
SetTo stores value for selected field for object CriteriaForDisabledSync
func (*PolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetToRaw ¶
func (fpv *PolicyCriteriaForDisabledSync_FieldTerminalPathValue) SetToRaw(target proto.Message)
type PolicyFieldPathBuilder ¶
type PolicyFieldPathBuilder struct{}
func NewPolicyFieldPathBuilder ¶
func NewPolicyFieldPathBuilder() PolicyFieldPathBuilder
func (PolicyFieldPathBuilder) CriteriaForDisabledSync ¶
func (PolicyFieldPathBuilder) CriteriaForDisabledSync() PolicyPathSelectorCriteriaForDisabledSync
func (PolicyFieldPathBuilder) DefaultControlRegion ¶
func (PolicyFieldPathBuilder) DefaultControlRegion() PolicyPathSelectorDefaultControlRegion
func (PolicyFieldPathBuilder) EnabledRegions ¶
func (PolicyFieldPathBuilder) EnabledRegions() PolicyPathSelectorEnabledRegions
type PolicyPathSelectorCriteriaForDisabledSync ¶
type PolicyPathSelectorCriteriaForDisabledSync struct{}
func (PolicyPathSelectorCriteriaForDisabledSync) DestRegion ¶
func (PolicyPathSelectorCriteriaForDisabledSync) FieldPath ¶
func (PolicyPathSelectorCriteriaForDisabledSync) FieldPath() *Policy_FieldTerminalPath
func (PolicyPathSelectorCriteriaForDisabledSync) ResourceTypeName ¶
func (PolicyPathSelectorCriteriaForDisabledSync) ResourceTypeName() PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName
func (PolicyPathSelectorCriteriaForDisabledSync) SourceRegion ¶
func (PolicyPathSelectorCriteriaForDisabledSync) WithArrayOfValues ¶
func (s PolicyPathSelectorCriteriaForDisabledSync) WithArrayOfValues(values [][]*Policy_CriteriaForDisabledSync) *Policy_FieldTerminalPathArrayOfValues
func (PolicyPathSelectorCriteriaForDisabledSync) WithItemValue ¶
func (s PolicyPathSelectorCriteriaForDisabledSync) WithItemValue(value *Policy_CriteriaForDisabledSync) *Policy_FieldTerminalPathArrayItemValue
func (PolicyPathSelectorCriteriaForDisabledSync) WithSubArrayItemValue ¶
func (s PolicyPathSelectorCriteriaForDisabledSync) WithSubArrayItemValue(subPathArrayItemValue PolicyCriteriaForDisabledSync_FieldPathArrayItemValue) *Policy_FieldSubPathArrayItemValue
func (PolicyPathSelectorCriteriaForDisabledSync) WithSubArrayOfValues ¶
func (s PolicyPathSelectorCriteriaForDisabledSync) WithSubArrayOfValues(subPathArrayOfValues PolicyCriteriaForDisabledSync_FieldPathArrayOfValues) *Policy_FieldSubPathArrayOfValues
func (PolicyPathSelectorCriteriaForDisabledSync) WithSubPath ¶
func (PolicyPathSelectorCriteriaForDisabledSync) WithSubPath(subPath PolicyCriteriaForDisabledSync_FieldPath) *Policy_FieldSubPath
func (PolicyPathSelectorCriteriaForDisabledSync) WithSubValue ¶
func (s PolicyPathSelectorCriteriaForDisabledSync) WithSubValue(subPathValue PolicyCriteriaForDisabledSync_FieldPathValue) *Policy_FieldSubPathValue
func (PolicyPathSelectorCriteriaForDisabledSync) WithValue ¶
func (s PolicyPathSelectorCriteriaForDisabledSync) WithValue(value []*Policy_CriteriaForDisabledSync) *Policy_FieldTerminalPathValue
type PolicyPathSelectorCriteriaForDisabledSyncDestRegion ¶
type PolicyPathSelectorCriteriaForDisabledSyncDestRegion struct{}
func (PolicyPathSelectorCriteriaForDisabledSyncDestRegion) FieldPath ¶
func (PolicyPathSelectorCriteriaForDisabledSyncDestRegion) FieldPath() *Policy_FieldSubPath
func (PolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithArrayOfValues ¶
func (s PolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithArrayOfValues(values []string) *Policy_FieldSubPathArrayOfValues
func (PolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithValue ¶
func (s PolicyPathSelectorCriteriaForDisabledSyncDestRegion) WithValue(value string) *Policy_FieldSubPathValue
type PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName ¶
type PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName struct{}
func (PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) FieldPath ¶
func (PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) FieldPath() *Policy_FieldSubPath
func (PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithArrayOfValues ¶
func (s PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithArrayOfValues(values []string) *Policy_FieldSubPathArrayOfValues
func (PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithValue ¶
func (s PolicyPathSelectorCriteriaForDisabledSyncResourceTypeName) WithValue(value string) *Policy_FieldSubPathValue
type PolicyPathSelectorCriteriaForDisabledSyncSourceRegion ¶
type PolicyPathSelectorCriteriaForDisabledSyncSourceRegion struct{}
func (PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) FieldPath ¶
func (PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) FieldPath() *Policy_FieldSubPath
func (PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithArrayOfValues ¶
func (s PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithArrayOfValues(values []string) *Policy_FieldSubPathArrayOfValues
func (PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithValue ¶
func (s PolicyPathSelectorCriteriaForDisabledSyncSourceRegion) WithValue(value string) *Policy_FieldSubPathValue
type PolicyPathSelectorDefaultControlRegion ¶
type PolicyPathSelectorDefaultControlRegion struct{}
func (PolicyPathSelectorDefaultControlRegion) FieldPath ¶
func (PolicyPathSelectorDefaultControlRegion) FieldPath() *Policy_FieldTerminalPath
func (PolicyPathSelectorDefaultControlRegion) WithArrayOfValues ¶
func (s PolicyPathSelectorDefaultControlRegion) WithArrayOfValues(values []string) *Policy_FieldTerminalPathArrayOfValues
func (PolicyPathSelectorDefaultControlRegion) WithValue ¶
func (s PolicyPathSelectorDefaultControlRegion) WithValue(value string) *Policy_FieldTerminalPathValue
type PolicyPathSelectorEnabledRegions ¶
type PolicyPathSelectorEnabledRegions struct{}
func (PolicyPathSelectorEnabledRegions) FieldPath ¶
func (PolicyPathSelectorEnabledRegions) FieldPath() *Policy_FieldTerminalPath
func (PolicyPathSelectorEnabledRegions) WithArrayOfValues ¶
func (s PolicyPathSelectorEnabledRegions) WithArrayOfValues(values [][]string) *Policy_FieldTerminalPathArrayOfValues
func (PolicyPathSelectorEnabledRegions) WithItemValue ¶
func (s PolicyPathSelectorEnabledRegions) WithItemValue(value string) *Policy_FieldTerminalPathArrayItemValue
func (PolicyPathSelectorEnabledRegions) WithValue ¶
func (s PolicyPathSelectorEnabledRegions) WithValue(value []string) *Policy_FieldTerminalPathValue
type Policy_CriteriaForDisabledSync ¶
type Policy_CriteriaForDisabledSync struct { // Fully qualified name of a resource. If not provided, all are considered Required format: // "${SERVICE_DOMAIN}/${RESOURCE_SINGLE_NAME_CAMEL}, for example: "ntt.edgelq.com/Device" ResourceTypeName string `` /* 140-byte string literal not displayed */ // Source region indicates that this rule prevents syncing into this region. If left blank, then all regions are // considered. SourceRegion string `protobuf:"bytes,2,opt,name=source_region,json=sourceRegion,proto3" json:"source_region,omitempty" firestore:"sourceRegion"` // Dest region indicates that this rule prevents syncing from this region. If left blank, then all regions are // considered. DestRegion string `protobuf:"bytes,3,opt,name=dest_region,json=destRegion,proto3" json:"dest_region,omitempty" firestore:"destRegion"` // contains filtered or unexported fields }
CriteriaForDisabledSync is a rule preventing data synchronization. By default, everything within Policy scope is synced (unless schema tells otherwise). However, within single scope to which this policy is attached, it is possible to blacklist synchronization for specific criteria. Examples: { resource_type_name: "ntt.edgelq.com/Device", sourceRegion: "France" } -> will make Devices in France private { resource_type_name: "ntt.edgelq.com/Device", destRegion: "HongKong" } -> will prevent from syncing Devices INTO HongKong region { resource_type_name: "ntt.edgelq.com/Device", sourceRegion: "Germany", destRegion: "HongKong" } -> Will block syncing of Devices from Germany to HongKong. { resource_type_name: "ntt.edgelq.com/Pod" } -> will make Pods in all regions private { region: "Japan" } -> will make all resources in Japan private
func (*Policy_CriteriaForDisabledSync) Clone ¶
func (o *Policy_CriteriaForDisabledSync) Clone() *Policy_CriteriaForDisabledSync
func (*Policy_CriteriaForDisabledSync) CloneRaw ¶
func (o *Policy_CriteriaForDisabledSync) CloneRaw() gotenobject.GotenObjectExt
func (*Policy_CriteriaForDisabledSync) Descriptor ¶
func (*Policy_CriteriaForDisabledSync) Descriptor() ([]byte, []int)
Deprecated, Use Policy_CriteriaForDisabledSync.ProtoReflect.Descriptor instead.
func (*Policy_CriteriaForDisabledSync) GetDestRegion ¶
func (m *Policy_CriteriaForDisabledSync) GetDestRegion() string
func (*Policy_CriteriaForDisabledSync) GetResourceTypeName ¶
func (m *Policy_CriteriaForDisabledSync) GetResourceTypeName() string
func (*Policy_CriteriaForDisabledSync) GetSourceRegion ¶
func (m *Policy_CriteriaForDisabledSync) GetSourceRegion() string
func (*Policy_CriteriaForDisabledSync) GotenMessage ¶
func (*Policy_CriteriaForDisabledSync) GotenMessage()
func (*Policy_CriteriaForDisabledSync) GotenObjectExt ¶
func (o *Policy_CriteriaForDisabledSync) GotenObjectExt()
func (*Policy_CriteriaForDisabledSync) GotenValidate ¶
func (obj *Policy_CriteriaForDisabledSync) GotenValidate() error
func (*Policy_CriteriaForDisabledSync) MakeDiffFieldMask ¶
func (o *Policy_CriteriaForDisabledSync) MakeDiffFieldMask(other *Policy_CriteriaForDisabledSync) *Policy_CriteriaForDisabledSync_FieldMask
func (*Policy_CriteriaForDisabledSync) MakeFullFieldMask ¶
func (o *Policy_CriteriaForDisabledSync) MakeFullFieldMask() *Policy_CriteriaForDisabledSync_FieldMask
func (*Policy_CriteriaForDisabledSync) MakeRawDiffFieldMask ¶
func (o *Policy_CriteriaForDisabledSync) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Policy_CriteriaForDisabledSync) MakeRawFullFieldMask ¶
func (o *Policy_CriteriaForDisabledSync) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Policy_CriteriaForDisabledSync) Marshal ¶
func (m *Policy_CriteriaForDisabledSync) Marshal() ([]byte, error)
func (*Policy_CriteriaForDisabledSync) MarshalJSON ¶
func (m *Policy_CriteriaForDisabledSync) MarshalJSON() ([]byte, error)
func (*Policy_CriteriaForDisabledSync) Merge ¶
func (o *Policy_CriteriaForDisabledSync) Merge(source *Policy_CriteriaForDisabledSync)
func (*Policy_CriteriaForDisabledSync) MergeRaw ¶
func (o *Policy_CriteriaForDisabledSync) MergeRaw(source gotenobject.GotenObjectExt)
func (*Policy_CriteriaForDisabledSync) ProtoMessage ¶
func (*Policy_CriteriaForDisabledSync) ProtoMessage()
func (*Policy_CriteriaForDisabledSync) ProtoReflect ¶
func (m *Policy_CriteriaForDisabledSync) ProtoReflect() preflect.Message
func (*Policy_CriteriaForDisabledSync) Reset ¶
func (m *Policy_CriteriaForDisabledSync) Reset()
func (*Policy_CriteriaForDisabledSync) SetDestRegion ¶
func (m *Policy_CriteriaForDisabledSync) SetDestRegion(fv string)
func (*Policy_CriteriaForDisabledSync) SetResourceTypeName ¶
func (m *Policy_CriteriaForDisabledSync) SetResourceTypeName(fv string)
func (*Policy_CriteriaForDisabledSync) SetSourceRegion ¶
func (m *Policy_CriteriaForDisabledSync) SetSourceRegion(fv string)
func (*Policy_CriteriaForDisabledSync) String ¶
func (m *Policy_CriteriaForDisabledSync) String() string
func (*Policy_CriteriaForDisabledSync) Unmarshal ¶
func (m *Policy_CriteriaForDisabledSync) Unmarshal(b []byte) error
func (*Policy_CriteriaForDisabledSync) UnmarshalJSON ¶
func (m *Policy_CriteriaForDisabledSync) UnmarshalJSON(data []byte) error
type Policy_CriteriaForDisabledSyncPathSelectorDestRegion ¶
type Policy_CriteriaForDisabledSyncPathSelectorDestRegion struct{}
func (Policy_CriteriaForDisabledSyncPathSelectorDestRegion) WithArrayOfValues ¶
func (s Policy_CriteriaForDisabledSyncPathSelectorDestRegion) WithArrayOfValues(values []string) *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues
func (Policy_CriteriaForDisabledSyncPathSelectorDestRegion) WithValue ¶
func (s Policy_CriteriaForDisabledSyncPathSelectorDestRegion) WithValue(value string) *PolicyCriteriaForDisabledSync_FieldTerminalPathValue
type Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName ¶
type Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName struct{}
func (Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithArrayOfValues ¶
func (s Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithArrayOfValues(values []string) *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues
func (Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithValue ¶
func (s Policy_CriteriaForDisabledSyncPathSelectorResourceTypeName) WithValue(value string) *PolicyCriteriaForDisabledSync_FieldTerminalPathValue
type Policy_CriteriaForDisabledSyncPathSelectorSourceRegion ¶
type Policy_CriteriaForDisabledSyncPathSelectorSourceRegion struct{}
func (Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithArrayOfValues ¶
func (s Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithArrayOfValues(values []string) *PolicyCriteriaForDisabledSync_FieldTerminalPathArrayOfValues
func (Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithValue ¶
func (s Policy_CriteriaForDisabledSyncPathSelectorSourceRegion) WithValue(value string) *PolicyCriteriaForDisabledSync_FieldTerminalPathValue
type Policy_CriteriaForDisabledSync_FieldMask ¶
type Policy_CriteriaForDisabledSync_FieldMask struct {
Paths []PolicyCriteriaForDisabledSync_FieldPath
}
func FullPolicy_CriteriaForDisabledSync_FieldMask ¶
func FullPolicy_CriteriaForDisabledSync_FieldMask() *Policy_CriteriaForDisabledSync_FieldMask
func (*Policy_CriteriaForDisabledSync_FieldMask) AppendPath ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) AppendPath(path PolicyCriteriaForDisabledSync_FieldPath)
func (*Policy_CriteriaForDisabledSync_FieldMask) AppendRawPath ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Policy_CriteriaForDisabledSync_FieldMask) DecodeFirestore ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Policy_CriteriaForDisabledSync_FieldMask) EncodeFirestore ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Policy_CriteriaForDisabledSync_FieldMask) FilterInputFields ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) FilterInputFields() *Policy_CriteriaForDisabledSync_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Policy_CriteriaForDisabledSync_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Policy_CriteriaForDisabledSync_FieldMask) GetPaths ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) GetPaths() []PolicyCriteriaForDisabledSync_FieldPath
func (*Policy_CriteriaForDisabledSync_FieldMask) GetRawPaths ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Policy_CriteriaForDisabledSync_FieldMask) IsFull ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) IsFull() bool
func (Policy_CriteriaForDisabledSync_FieldMask) Marshal ¶
func (fieldMask Policy_CriteriaForDisabledSync_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Policy_CriteriaForDisabledSync_FieldMask) MarshalJSON ¶
func (fieldMask Policy_CriteriaForDisabledSync_FieldMask) MarshalJSON() ([]byte, error)
func (*Policy_CriteriaForDisabledSync_FieldMask) PathsCount ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) PathsCount() int
func (*Policy_CriteriaForDisabledSync_FieldMask) Project ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Project(source *Policy_CriteriaForDisabledSync) *Policy_CriteriaForDisabledSync
func (*Policy_CriteriaForDisabledSync_FieldMask) ProjectRaw ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Policy_CriteriaForDisabledSync_FieldMask) ProtoMessage ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ProtoMessage()
func (*Policy_CriteriaForDisabledSync_FieldMask) ProtoReflect ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ProtoReflect() preflect.Message
func (*Policy_CriteriaForDisabledSync_FieldMask) Reset ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Reset()
func (*Policy_CriteriaForDisabledSync_FieldMask) Set ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Set(target, source *Policy_CriteriaForDisabledSync)
func (*Policy_CriteriaForDisabledSync_FieldMask) SetFromCliFlag ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) SetFromCliFlag(raw string) error
func (*Policy_CriteriaForDisabledSync_FieldMask) SetRaw ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Policy_CriteriaForDisabledSync_FieldMask) Size ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Size() int
func (*Policy_CriteriaForDisabledSync_FieldMask) String ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) String() string
func (*Policy_CriteriaForDisabledSync_FieldMask) Subtract ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Subtract(other *Policy_CriteriaForDisabledSync_FieldMask) *Policy_CriteriaForDisabledSync_FieldMask
func (*Policy_CriteriaForDisabledSync_FieldMask) SubtractRaw ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Policy_CriteriaForDisabledSync_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Policy_CriteriaForDisabledSync_FieldMask) Unmarshal ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) Unmarshal(data []byte) error
func (*Policy_CriteriaForDisabledSync_FieldMask) UnmarshalJSON ¶
func (fieldMask *Policy_CriteriaForDisabledSync_FieldMask) UnmarshalJSON(data []byte) error
type Policy_FieldMask ¶
type Policy_FieldMask struct {
Paths []Policy_FieldPath
}
func FullPolicy_FieldMask ¶
func FullPolicy_FieldMask() *Policy_FieldMask
func (*Policy_FieldMask) AppendPath ¶
func (fieldMask *Policy_FieldMask) AppendPath(path Policy_FieldPath)
func (*Policy_FieldMask) AppendRawPath ¶
func (fieldMask *Policy_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Policy_FieldMask) DecodeFirestore ¶
func (fieldMask *Policy_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Policy_FieldMask) EncodeFirestore ¶
func (fieldMask *Policy_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Policy_FieldMask) FilterInputFields ¶
func (fieldMask *Policy_FieldMask) FilterInputFields() *Policy_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Policy_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Policy_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Policy_FieldMask) GetPaths ¶
func (fieldMask *Policy_FieldMask) GetPaths() []Policy_FieldPath
func (*Policy_FieldMask) GetRawPaths ¶
func (fieldMask *Policy_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Policy_FieldMask) IsFull ¶
func (fieldMask *Policy_FieldMask) IsFull() bool
func (Policy_FieldMask) Marshal ¶
func (fieldMask Policy_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Policy_FieldMask) MarshalJSON ¶
func (fieldMask Policy_FieldMask) MarshalJSON() ([]byte, error)
func (*Policy_FieldMask) PathsCount ¶
func (fieldMask *Policy_FieldMask) PathsCount() int
func (*Policy_FieldMask) Project ¶
func (fieldMask *Policy_FieldMask) Project(source *Policy) *Policy
func (*Policy_FieldMask) ProjectRaw ¶
func (fieldMask *Policy_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Policy_FieldMask) ProtoMessage ¶
func (fieldMask *Policy_FieldMask) ProtoMessage()
func (*Policy_FieldMask) ProtoReflect ¶
func (fieldMask *Policy_FieldMask) ProtoReflect() preflect.Message
func (*Policy_FieldMask) Reset ¶
func (fieldMask *Policy_FieldMask) Reset()
func (*Policy_FieldMask) Set ¶
func (fieldMask *Policy_FieldMask) Set(target, source *Policy)
func (*Policy_FieldMask) SetFromCliFlag ¶
func (fieldMask *Policy_FieldMask) SetFromCliFlag(raw string) error
func (*Policy_FieldMask) SetRaw ¶
func (fieldMask *Policy_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Policy_FieldMask) Size ¶
func (fieldMask *Policy_FieldMask) Size() int
func (*Policy_FieldMask) String ¶
func (fieldMask *Policy_FieldMask) String() string
func (*Policy_FieldMask) Subtract ¶
func (fieldMask *Policy_FieldMask) Subtract(other *Policy_FieldMask) *Policy_FieldMask
func (*Policy_FieldMask) SubtractRaw ¶
func (fieldMask *Policy_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Policy_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Policy_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Policy_FieldMask) Unmarshal ¶
func (fieldMask *Policy_FieldMask) Unmarshal(data []byte) error
func (*Policy_FieldMask) UnmarshalJSON ¶
func (fieldMask *Policy_FieldMask) UnmarshalJSON(data []byte) error
type Policy_FieldPath ¶
type Policy_FieldPath interface { gotenobject.FieldPath Selector() Policy_FieldPathSelector Get(source *Policy) []interface{} GetSingle(source *Policy) (interface{}, bool) ClearValue(item *Policy) // Those methods build corresponding Policy_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Policy_FieldPathValue WithIArrayOfValues(values interface{}) Policy_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Policy_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildPolicy_FieldPath ¶
func BuildPolicy_FieldPath(fp gotenobject.RawFieldPath) (Policy_FieldPath, error)
func MustParsePolicy_FieldPath ¶
func MustParsePolicy_FieldPath(rawField string) Policy_FieldPath
func ParsePolicy_FieldPath ¶
func ParsePolicy_FieldPath(rawField string) (Policy_FieldPath, error)
type Policy_FieldPathArrayItemValue ¶
type Policy_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Policy_FieldPath ContainsValue(*Policy) bool }
Policy_FieldPathArrayItemValue allows storing single item in Path-specific values for Policy according to their type Present only for array (repeated) types.
func MustParsePolicy_FieldPathArrayItemValue ¶
func MustParsePolicy_FieldPathArrayItemValue(pathStr, valueStr string) Policy_FieldPathArrayItemValue
func ParsePolicy_FieldPathArrayItemValue ¶
func ParsePolicy_FieldPathArrayItemValue(pathStr, valueStr string) (Policy_FieldPathArrayItemValue, error)
ParsePolicy_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Policy_FieldPathArrayOfValues ¶
type Policy_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Policy_FieldPath }
Policy_FieldPathArrayOfValues allows storing slice of values for Policy fields according to their type
func MustParsePolicy_FieldPathArrayOfValues ¶
func MustParsePolicy_FieldPathArrayOfValues(pathStr, valuesStr string) Policy_FieldPathArrayOfValues
func ParsePolicy_FieldPathArrayOfValues ¶
func ParsePolicy_FieldPathArrayOfValues(pathStr, valuesStr string) (Policy_FieldPathArrayOfValues, error)
type Policy_FieldPathSelector ¶
type Policy_FieldPathSelector int32
const ( Policy_FieldPathSelectorEnabledRegions Policy_FieldPathSelector = 0 Policy_FieldPathSelectorDefaultControlRegion Policy_FieldPathSelector = 1 Policy_FieldPathSelectorCriteriaForDisabledSync Policy_FieldPathSelector = 2 )
func (Policy_FieldPathSelector) String ¶
func (s Policy_FieldPathSelector) String() string
type Policy_FieldPathValue ¶
type Policy_FieldPathValue interface { Policy_FieldPath gotenobject.FieldPathValue SetTo(target **Policy) CompareWith(*Policy) (cmp int, comparable bool) }
Policy_FieldPathValue allows storing values for Policy fields according to their type
func MustParsePolicy_FieldPathValue ¶
func MustParsePolicy_FieldPathValue(pathStr, valueStr string) Policy_FieldPathValue
func ParsePolicy_FieldPathValue ¶
func ParsePolicy_FieldPathValue(pathStr, valueStr string) (Policy_FieldPathValue, error)
type Policy_FieldSubPath ¶
type Policy_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*Policy_FieldSubPath) AsCriteriaForDisabledSyncSubPath ¶
func (fps *Policy_FieldSubPath) AsCriteriaForDisabledSyncSubPath() (PolicyCriteriaForDisabledSync_FieldPath, bool)
func (*Policy_FieldSubPath) ClearValue ¶
func (fps *Policy_FieldSubPath) ClearValue(item *Policy)
func (*Policy_FieldSubPath) ClearValueRaw ¶
func (fps *Policy_FieldSubPath) ClearValueRaw(item proto.Message)
func (*Policy_FieldSubPath) Get ¶
func (fps *Policy_FieldSubPath) Get(source *Policy) (values []interface{})
Get returns all values pointed by selected field from source Policy
func (*Policy_FieldSubPath) GetDefault ¶
func (fps *Policy_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Policy_FieldSubPath) GetRaw ¶
func (fps *Policy_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*Policy_FieldSubPath) GetSingle ¶
func (fps *Policy_FieldSubPath) GetSingle(source *Policy) (interface{}, bool)
GetSingle returns value of selected field from source Policy
func (*Policy_FieldSubPath) GetSingleRaw ¶
func (fps *Policy_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Policy_FieldSubPath) IsLeaf ¶
func (fps *Policy_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Policy_FieldSubPath) JSONString ¶
func (fps *Policy_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Policy_FieldSubPath) Selector ¶
func (fps *Policy_FieldSubPath) Selector() Policy_FieldPathSelector
func (*Policy_FieldSubPath) String ¶
func (fps *Policy_FieldSubPath) String() string
String returns path representation in proto convention
func (*Policy_FieldSubPath) WithIArrayItemValue ¶
func (fps *Policy_FieldSubPath) WithIArrayItemValue(value interface{}) Policy_FieldPathArrayItemValue
func (*Policy_FieldSubPath) WithIArrayOfValues ¶
func (fps *Policy_FieldSubPath) WithIArrayOfValues(values interface{}) Policy_FieldPathArrayOfValues
func (*Policy_FieldSubPath) WithIValue ¶
func (fps *Policy_FieldSubPath) WithIValue(value interface{}) Policy_FieldPathValue
func (*Policy_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *Policy_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Policy_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *Policy_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Policy_FieldSubPath) WithRawIValue ¶
func (fps *Policy_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Policy_FieldSubPathArrayItemValue ¶
type Policy_FieldSubPathArrayItemValue struct { Policy_FieldPath // contains filtered or unexported fields }
func (*Policy_FieldSubPathArrayItemValue) AsCriteriaForDisabledSyncPathItemValue ¶
func (fpaivs *Policy_FieldSubPathArrayItemValue) AsCriteriaForDisabledSyncPathItemValue() (PolicyCriteriaForDisabledSync_FieldPathArrayItemValue, bool)
func (*Policy_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *Policy_FieldSubPathArrayItemValue) ContainsValue(source *Policy) bool
Contains returns a boolean indicating if value that is being held is present in given 'Policy'
func (*Policy_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *Policy_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type Policy_FieldSubPathArrayOfValues ¶
type Policy_FieldSubPathArrayOfValues struct { Policy_FieldPath // contains filtered or unexported fields }
func (*Policy_FieldSubPathArrayOfValues) AsCriteriaForDisabledSyncPathArrayOfValues ¶
func (fpsaov *Policy_FieldSubPathArrayOfValues) AsCriteriaForDisabledSyncPathArrayOfValues() (PolicyCriteriaForDisabledSync_FieldPathArrayOfValues, bool)
func (*Policy_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *Policy_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type Policy_FieldSubPathValue ¶
type Policy_FieldSubPathValue struct { Policy_FieldPath // contains filtered or unexported fields }
func (*Policy_FieldSubPathValue) AsCriteriaForDisabledSyncPathValue ¶
func (fpvs *Policy_FieldSubPathValue) AsCriteriaForDisabledSyncPathValue() (PolicyCriteriaForDisabledSync_FieldPathValue, bool)
func (*Policy_FieldSubPathValue) CompareWith ¶
func (fpvs *Policy_FieldSubPathValue) CompareWith(source *Policy) (int, bool)
func (*Policy_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *Policy_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Policy_FieldSubPathValue) GetRawValue ¶
func (fpvs *Policy_FieldSubPathValue) GetRawValue() interface{}
func (*Policy_FieldSubPathValue) SetTo ¶
func (fpvs *Policy_FieldSubPathValue) SetTo(target **Policy)
func (*Policy_FieldSubPathValue) SetToRaw ¶
func (fpvs *Policy_FieldSubPathValue) SetToRaw(target proto.Message)
type Policy_FieldTerminalPath ¶
type Policy_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Policy_FieldTerminalPath) ClearValue ¶
func (fp *Policy_FieldTerminalPath) ClearValue(item *Policy)
func (*Policy_FieldTerminalPath) ClearValueRaw ¶
func (fp *Policy_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Policy_FieldTerminalPath) Get ¶
func (fp *Policy_FieldTerminalPath) Get(source *Policy) (values []interface{})
Get returns all values pointed by specific field from source Policy
func (*Policy_FieldTerminalPath) GetDefault ¶
func (fp *Policy_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Policy_FieldTerminalPath) GetRaw ¶
func (fp *Policy_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Policy_FieldTerminalPath) GetSingle ¶
func (fp *Policy_FieldTerminalPath) GetSingle(source *Policy) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Policy
func (*Policy_FieldTerminalPath) GetSingleRaw ¶
func (fp *Policy_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Policy_FieldTerminalPath) IsLeaf ¶
func (fp *Policy_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Policy_FieldTerminalPath) JSONString ¶
func (fp *Policy_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Policy_FieldTerminalPath) Selector ¶
func (fp *Policy_FieldTerminalPath) Selector() Policy_FieldPathSelector
func (*Policy_FieldTerminalPath) String ¶
func (fp *Policy_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Policy_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Policy_FieldTerminalPath) WithIArrayItemValue(value interface{}) Policy_FieldPathArrayItemValue
func (*Policy_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Policy_FieldTerminalPath) WithIArrayOfValues(values interface{}) Policy_FieldPathArrayOfValues
func (*Policy_FieldTerminalPath) WithIValue ¶
func (fp *Policy_FieldTerminalPath) WithIValue(value interface{}) Policy_FieldPathValue
func (*Policy_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Policy_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Policy_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Policy_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Policy_FieldTerminalPath) WithRawIValue ¶
func (fp *Policy_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Policy_FieldTerminalPathArrayItemValue ¶
type Policy_FieldTerminalPathArrayItemValue struct { Policy_FieldTerminalPath // contains filtered or unexported fields }
func (*Policy_FieldTerminalPathArrayItemValue) AsCriteriaForDisabledSyncItemValue ¶
func (fpaiv *Policy_FieldTerminalPathArrayItemValue) AsCriteriaForDisabledSyncItemValue() (*Policy_CriteriaForDisabledSync, bool)
func (*Policy_FieldTerminalPathArrayItemValue) AsEnabledRegionsItemValue ¶
func (fpaiv *Policy_FieldTerminalPathArrayItemValue) AsEnabledRegionsItemValue() (string, bool)
func (*Policy_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Policy_FieldTerminalPathArrayItemValue) ContainsValue(source *Policy) bool
Contains returns a boolean indicating if value that is being held is present in given 'Policy'
func (*Policy_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Policy_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Policy as interface{}
func (*Policy_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Policy_FieldTerminalPathArrayItemValue) GetSingle(source *Policy) (interface{}, bool)
func (*Policy_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Policy_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Policy_FieldTerminalPathArrayOfValues ¶
type Policy_FieldTerminalPathArrayOfValues struct { Policy_FieldTerminalPath // contains filtered or unexported fields }
func (*Policy_FieldTerminalPathArrayOfValues) AsCriteriaForDisabledSyncArrayOfValues ¶
func (fpaov *Policy_FieldTerminalPathArrayOfValues) AsCriteriaForDisabledSyncArrayOfValues() ([][]*Policy_CriteriaForDisabledSync, bool)
func (*Policy_FieldTerminalPathArrayOfValues) AsDefaultControlRegionArrayOfValues ¶
func (fpaov *Policy_FieldTerminalPathArrayOfValues) AsDefaultControlRegionArrayOfValues() ([]string, bool)
func (*Policy_FieldTerminalPathArrayOfValues) AsEnabledRegionsArrayOfValues ¶
func (fpaov *Policy_FieldTerminalPathArrayOfValues) AsEnabledRegionsArrayOfValues() ([][]string, bool)
func (*Policy_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Policy_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Policy_FieldTerminalPathValue ¶
type Policy_FieldTerminalPathValue struct { Policy_FieldTerminalPath // contains filtered or unexported fields }
func (*Policy_FieldTerminalPathValue) AsCriteriaForDisabledSyncValue ¶
func (fpv *Policy_FieldTerminalPathValue) AsCriteriaForDisabledSyncValue() ([]*Policy_CriteriaForDisabledSync, bool)
func (*Policy_FieldTerminalPathValue) AsDefaultControlRegionValue ¶
func (fpv *Policy_FieldTerminalPathValue) AsDefaultControlRegionValue() (string, bool)
func (*Policy_FieldTerminalPathValue) AsEnabledRegionsValue ¶
func (fpv *Policy_FieldTerminalPathValue) AsEnabledRegionsValue() ([]string, bool)
func (*Policy_FieldTerminalPathValue) CompareWith ¶
func (fpv *Policy_FieldTerminalPathValue) CompareWith(source *Policy) (int, bool)
CompareWith compares value in the 'Policy_FieldTerminalPathValue' with the value under path in 'Policy'.
func (*Policy_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Policy_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Policy_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Policy_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Policy' as interface{}
func (*Policy_FieldTerminalPathValue) SetTo ¶
func (fpv *Policy_FieldTerminalPathValue) SetTo(target **Policy)
SetTo stores value for selected field for object Policy
func (*Policy_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Policy_FieldTerminalPathValue) SetToRaw(target proto.Message)