Documentation
¶
Overview ¶
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package beta defines operations in the declarative SDK.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package cloudidentity contains support for DCL Cloud Identity.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func DCLGroupSchema() *dcl.Schema
- func DCLMembershipSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyGroup(ctx context.Context, rawDesired *Group, opts ...dcl.ApplyOption) (*Group, error)
- func (c *Client) ApplyMembership(ctx context.Context, rawDesired *Membership, opts ...dcl.ApplyOption) (*Membership, error)
- func (c *Client) DeleteAllGroup(ctx context.Context, parent string, filter func(*Group) bool) error
- func (c *Client) DeleteAllMembership(ctx context.Context, group string, filter func(*Membership) bool) error
- func (c *Client) DeleteGroup(ctx context.Context, r *Group) error
- func (c *Client) DeleteMembership(ctx context.Context, r *Membership) error
- func (c *Client) GetGroup(ctx context.Context, r *Group) (*Group, error)
- func (c *Client) GetMembership(ctx context.Context, r *Membership) (*Membership, error)
- func (c *Client) ListGroup(ctx context.Context, parent string) (*GroupList, error)
- func (c *Client) ListGroupWithMaxResults(ctx context.Context, parent string, pageSize int32) (*GroupList, error)
- func (c *Client) ListMembership(ctx context.Context, group string) (*MembershipList, error)
- func (c *Client) ListMembershipWithMaxResults(ctx context.Context, group string, pageSize int32) (*MembershipList, error)
- type Group
- type GroupAdditionalGroupKeys
- type GroupDerivedAliases
- type GroupDirectMemberCountPerType
- type GroupDynamicGroupMetadata
- type GroupDynamicGroupMetadataQueries
- type GroupDynamicGroupMetadataQueriesResourceTypeEnum
- type GroupDynamicGroupMetadataStatus
- type GroupDynamicGroupMetadataStatusStatusEnum
- type GroupGroupKey
- type GroupInitialGroupConfigEnum
- type GroupList
- type GroupPosixGroups
- type Membership
- type MembershipDeliverySettingEnum
- type MembershipDisplayName
- type MembershipList
- type MembershipMemberKey
- type MembershipPreferredMemberKey
- type MembershipRoles
- type MembershipRolesExpiryDetail
- type MembershipRolesRestrictionEvaluations
- type MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation
- func (r *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) Empty() bool
- func (r *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) HashCode() string
- func (r *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) String() string
- func (r *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) UnmarshalJSON(data []byte) error
- type MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum
- type MembershipTypeEnum
Constants ¶
const GroupMaxPage = -1
const MembershipMaxPage = -1
Variables ¶
var YAML_group []byte
var YAML_membership []byte
Functions ¶
func DCLGroupSchema ¶ added in v1.10.3
func DCLMembershipSchema ¶ added in v1.10.3
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyGroup ¶
func (*Client) ApplyMembership ¶
func (c *Client) ApplyMembership(ctx context.Context, rawDesired *Membership, opts ...dcl.ApplyOption) (*Membership, error)
func (*Client) DeleteAllGroup ¶
DeleteAllGroup deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllMembership ¶
func (c *Client) DeleteAllMembership(ctx context.Context, group string, filter func(*Membership) bool) error
DeleteAllMembership deletes all resources that the filter functions returns true on.
func (*Client) DeleteMembership ¶
func (c *Client) DeleteMembership(ctx context.Context, r *Membership) error
func (*Client) GetMembership ¶
func (c *Client) GetMembership(ctx context.Context, r *Membership) (*Membership, error)
func (*Client) ListGroupWithMaxResults ¶
func (*Client) ListMembership ¶
func (*Client) ListMembershipWithMaxResults ¶
type Group ¶
type Group struct {
Name *string `json:"name"`
GroupKey *GroupGroupKey `json:"groupKey"`
AdditionalGroupKeys []GroupAdditionalGroupKeys `json:"additionalGroupKeys"`
Parent *string `json:"parent"`
DisplayName *string `json:"displayName"`
Description *string `json:"description"`
CreateTime *string `json:"createTime"`
UpdateTime *string `json:"updateTime"`
Labels map[string]string `json:"labels"`
DirectMemberCount *int64 `json:"directMemberCount"`
DirectMemberCountPerType *GroupDirectMemberCountPerType `json:"directMemberCountPerType"`
DerivedAliases []GroupDerivedAliases `json:"derivedAliases"`
DynamicGroupMetadata *GroupDynamicGroupMetadata `json:"dynamicGroupMetadata"`
PosixGroups []GroupPosixGroups `json:"posixGroups"`
InitialGroupConfig *GroupInitialGroupConfigEnum `json:"initialGroupConfig"`
}
func (*Group) Describe ¶
func (r *Group) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type GroupAdditionalGroupKeys ¶
type GroupAdditionalGroupKeys struct {
Id *string `json:"id"`
Namespace *string `json:"namespace"`
// contains filtered or unexported fields
}
var EmptyGroupAdditionalGroupKeys *GroupAdditionalGroupKeys = &GroupAdditionalGroupKeys{empty: true}
This object is used to assert a desired state where this GroupAdditionalGroupKeys is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*GroupAdditionalGroupKeys) Empty ¶
func (r *GroupAdditionalGroupKeys) Empty() bool
func (*GroupAdditionalGroupKeys) HashCode ¶
func (r *GroupAdditionalGroupKeys) HashCode() string
func (*GroupAdditionalGroupKeys) String ¶
func (r *GroupAdditionalGroupKeys) String() string
func (*GroupAdditionalGroupKeys) UnmarshalJSON ¶
func (r *GroupAdditionalGroupKeys) UnmarshalJSON(data []byte) error
type GroupDerivedAliases ¶ added in v1.8.0
type GroupDerivedAliases struct {
Id *string `json:"id"`
Namespace *string `json:"namespace"`
// contains filtered or unexported fields
}
var EmptyGroupDerivedAliases *GroupDerivedAliases = &GroupDerivedAliases{empty: true}
This object is used to assert a desired state where this GroupDerivedAliases is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*GroupDerivedAliases) Empty ¶ added in v1.8.0
func (r *GroupDerivedAliases) Empty() bool
func (*GroupDerivedAliases) HashCode ¶ added in v1.8.0
func (r *GroupDerivedAliases) HashCode() string
func (*GroupDerivedAliases) String ¶ added in v1.8.0
func (r *GroupDerivedAliases) String() string
func (*GroupDerivedAliases) UnmarshalJSON ¶ added in v1.8.0
func (r *GroupDerivedAliases) UnmarshalJSON(data []byte) error
type GroupDirectMemberCountPerType ¶ added in v1.8.0
type GroupDirectMemberCountPerType struct {
UserCount *int64 `json:"userCount"`
GroupCount *int64 `json:"groupCount"`
// contains filtered or unexported fields
}
var EmptyGroupDirectMemberCountPerType *GroupDirectMemberCountPerType = &GroupDirectMemberCountPerType{empty: true}
This object is used to assert a desired state where this GroupDirectMemberCountPerType is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*GroupDirectMemberCountPerType) Empty ¶ added in v1.8.0
func (r *GroupDirectMemberCountPerType) Empty() bool
func (*GroupDirectMemberCountPerType) HashCode ¶ added in v1.8.0
func (r *GroupDirectMemberCountPerType) HashCode() string
func (*GroupDirectMemberCountPerType) String ¶ added in v1.8.0
func (r *GroupDirectMemberCountPerType) String() string
func (*GroupDirectMemberCountPerType) UnmarshalJSON ¶ added in v1.8.0
func (r *GroupDirectMemberCountPerType) UnmarshalJSON(data []byte) error
type GroupDynamicGroupMetadata ¶
type GroupDynamicGroupMetadata struct {
Queries []GroupDynamicGroupMetadataQueries `json:"queries"`
Status *GroupDynamicGroupMetadataStatus `json:"status"`
// contains filtered or unexported fields
}
var EmptyGroupDynamicGroupMetadata *GroupDynamicGroupMetadata = &GroupDynamicGroupMetadata{empty: true}
This object is used to assert a desired state where this GroupDynamicGroupMetadata is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*GroupDynamicGroupMetadata) Empty ¶
func (r *GroupDynamicGroupMetadata) Empty() bool
func (*GroupDynamicGroupMetadata) HashCode ¶
func (r *GroupDynamicGroupMetadata) HashCode() string
func (*GroupDynamicGroupMetadata) String ¶
func (r *GroupDynamicGroupMetadata) String() string
func (*GroupDynamicGroupMetadata) UnmarshalJSON ¶
func (r *GroupDynamicGroupMetadata) UnmarshalJSON(data []byte) error
type GroupDynamicGroupMetadataQueries ¶
type GroupDynamicGroupMetadataQueries struct {
ResourceType *GroupDynamicGroupMetadataQueriesResourceTypeEnum `json:"resourceType"`
Query *string `json:"query"`
// contains filtered or unexported fields
}
var EmptyGroupDynamicGroupMetadataQueries *GroupDynamicGroupMetadataQueries = &GroupDynamicGroupMetadataQueries{empty: true}
This object is used to assert a desired state where this GroupDynamicGroupMetadataQueries is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*GroupDynamicGroupMetadataQueries) Empty ¶
func (r *GroupDynamicGroupMetadataQueries) Empty() bool
func (*GroupDynamicGroupMetadataQueries) HashCode ¶
func (r *GroupDynamicGroupMetadataQueries) HashCode() string
func (*GroupDynamicGroupMetadataQueries) String ¶
func (r *GroupDynamicGroupMetadataQueries) String() string
func (*GroupDynamicGroupMetadataQueries) UnmarshalJSON ¶
func (r *GroupDynamicGroupMetadataQueries) UnmarshalJSON(data []byte) error
type GroupDynamicGroupMetadataQueriesResourceTypeEnum ¶
type GroupDynamicGroupMetadataQueriesResourceTypeEnum string
The enum GroupDynamicGroupMetadataQueriesResourceTypeEnum.
func GroupDynamicGroupMetadataQueriesResourceTypeEnumRef ¶
func GroupDynamicGroupMetadataQueriesResourceTypeEnumRef(s string) *GroupDynamicGroupMetadataQueriesResourceTypeEnum
GroupDynamicGroupMetadataQueriesResourceTypeEnumRef returns a *GroupDynamicGroupMetadataQueriesResourceTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (GroupDynamicGroupMetadataQueriesResourceTypeEnum) Validate ¶
func (v GroupDynamicGroupMetadataQueriesResourceTypeEnum) Validate() error
type GroupDynamicGroupMetadataStatus ¶
type GroupDynamicGroupMetadataStatus struct {
Status *GroupDynamicGroupMetadataStatusStatusEnum `json:"status"`
StatusTime *string `json:"statusTime"`
// contains filtered or unexported fields
}
var EmptyGroupDynamicGroupMetadataStatus *GroupDynamicGroupMetadataStatus = &GroupDynamicGroupMetadataStatus{empty: true}
This object is used to assert a desired state where this GroupDynamicGroupMetadataStatus is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*GroupDynamicGroupMetadataStatus) Empty ¶
func (r *GroupDynamicGroupMetadataStatus) Empty() bool
func (*GroupDynamicGroupMetadataStatus) HashCode ¶
func (r *GroupDynamicGroupMetadataStatus) HashCode() string
func (*GroupDynamicGroupMetadataStatus) String ¶
func (r *GroupDynamicGroupMetadataStatus) String() string
func (*GroupDynamicGroupMetadataStatus) UnmarshalJSON ¶
func (r *GroupDynamicGroupMetadataStatus) UnmarshalJSON(data []byte) error
type GroupDynamicGroupMetadataStatusStatusEnum ¶
type GroupDynamicGroupMetadataStatusStatusEnum string
The enum GroupDynamicGroupMetadataStatusStatusEnum.
func GroupDynamicGroupMetadataStatusStatusEnumRef ¶
func GroupDynamicGroupMetadataStatusStatusEnumRef(s string) *GroupDynamicGroupMetadataStatusStatusEnum
GroupDynamicGroupMetadataStatusStatusEnumRef returns a *GroupDynamicGroupMetadataStatusStatusEnum with the value of string s If the empty string is provided, nil is returned.
func (GroupDynamicGroupMetadataStatusStatusEnum) Validate ¶
func (v GroupDynamicGroupMetadataStatusStatusEnum) Validate() error
type GroupGroupKey ¶
type GroupGroupKey struct {
Id *string `json:"id"`
Namespace *string `json:"namespace"`
// contains filtered or unexported fields
}
var EmptyGroupGroupKey *GroupGroupKey = &GroupGroupKey{empty: true}
This object is used to assert a desired state where this GroupGroupKey is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*GroupGroupKey) Empty ¶
func (r *GroupGroupKey) Empty() bool
func (*GroupGroupKey) HashCode ¶
func (r *GroupGroupKey) HashCode() string
func (*GroupGroupKey) String ¶
func (r *GroupGroupKey) String() string
func (*GroupGroupKey) UnmarshalJSON ¶
func (r *GroupGroupKey) UnmarshalJSON(data []byte) error
type GroupInitialGroupConfigEnum ¶
type GroupInitialGroupConfigEnum string
The enum GroupInitialGroupConfigEnum.
func GroupInitialGroupConfigEnumRef ¶
func GroupInitialGroupConfigEnumRef(s string) *GroupInitialGroupConfigEnum
GroupInitialGroupConfigEnumRef returns a *GroupInitialGroupConfigEnum with the value of string s If the empty string is provided, nil is returned.
func (GroupInitialGroupConfigEnum) Validate ¶
func (v GroupInitialGroupConfigEnum) Validate() error
type GroupPosixGroups ¶
type GroupPosixGroups struct {
Name *string `json:"name"`
Gid *string `json:"gid"`
SystemId *string `json:"systemId"`
// contains filtered or unexported fields
}
var EmptyGroupPosixGroups *GroupPosixGroups = &GroupPosixGroups{empty: true}
This object is used to assert a desired state where this GroupPosixGroups is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*GroupPosixGroups) Empty ¶
func (r *GroupPosixGroups) Empty() bool
func (*GroupPosixGroups) HashCode ¶
func (r *GroupPosixGroups) HashCode() string
func (*GroupPosixGroups) String ¶
func (r *GroupPosixGroups) String() string
func (*GroupPosixGroups) UnmarshalJSON ¶
func (r *GroupPosixGroups) UnmarshalJSON(data []byte) error
type Membership ¶
type Membership struct {
Name *string `json:"name"`
PreferredMemberKey *MembershipPreferredMemberKey `json:"preferredMemberKey"`
CreateTime *string `json:"createTime"`
UpdateTime *string `json:"updateTime"`
Roles []MembershipRoles `json:"roles"`
Type *MembershipTypeEnum `json:"type"`
DeliverySetting *MembershipDeliverySettingEnum `json:"deliverySetting"`
DisplayName *MembershipDisplayName `json:"displayName"`
MemberKey *MembershipMemberKey `json:"memberKey"`
Group *string `json:"group"`
}
func (*Membership) Describe ¶
func (r *Membership) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Membership) ID ¶
func (r *Membership) ID() (string, error)
func (*Membership) String ¶
func (r *Membership) String() string
type MembershipDeliverySettingEnum ¶ added in v1.8.0
type MembershipDeliverySettingEnum string
The enum MembershipDeliverySettingEnum.
func MembershipDeliverySettingEnumRef ¶ added in v1.8.0
func MembershipDeliverySettingEnumRef(s string) *MembershipDeliverySettingEnum
MembershipDeliverySettingEnumRef returns a *MembershipDeliverySettingEnum with the value of string s If the empty string is provided, nil is returned.
func (MembershipDeliverySettingEnum) Validate ¶ added in v1.8.0
func (v MembershipDeliverySettingEnum) Validate() error
type MembershipDisplayName ¶ added in v1.8.0
type MembershipDisplayName struct {
GivenName *string `json:"givenName"`
FamilyName *string `json:"familyName"`
FullName *string `json:"fullName"`
// contains filtered or unexported fields
}
var EmptyMembershipDisplayName *MembershipDisplayName = &MembershipDisplayName{empty: true}
This object is used to assert a desired state where this MembershipDisplayName is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipDisplayName) Empty ¶ added in v1.8.0
func (r *MembershipDisplayName) Empty() bool
func (*MembershipDisplayName) HashCode ¶ added in v1.8.0
func (r *MembershipDisplayName) HashCode() string
func (*MembershipDisplayName) String ¶ added in v1.8.0
func (r *MembershipDisplayName) String() string
func (*MembershipDisplayName) UnmarshalJSON ¶ added in v1.8.0
func (r *MembershipDisplayName) UnmarshalJSON(data []byte) error
type MembershipList ¶
type MembershipList struct {
Items []*Membership
// contains filtered or unexported fields
}
func (*MembershipList) HasNext ¶
func (l *MembershipList) HasNext() bool
type MembershipMemberKey ¶
type MembershipMemberKey struct {
Id *string `json:"id"`
Namespace *string `json:"namespace"`
// contains filtered or unexported fields
}
var EmptyMembershipMemberKey *MembershipMemberKey = &MembershipMemberKey{empty: true}
This object is used to assert a desired state where this MembershipMemberKey is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipMemberKey) Empty ¶
func (r *MembershipMemberKey) Empty() bool
func (*MembershipMemberKey) HashCode ¶
func (r *MembershipMemberKey) HashCode() string
func (*MembershipMemberKey) String ¶
func (r *MembershipMemberKey) String() string
func (*MembershipMemberKey) UnmarshalJSON ¶
func (r *MembershipMemberKey) UnmarshalJSON(data []byte) error
type MembershipPreferredMemberKey ¶
type MembershipPreferredMemberKey struct {
Id *string `json:"id"`
Namespace *string `json:"namespace"`
// contains filtered or unexported fields
}
var EmptyMembershipPreferredMemberKey *MembershipPreferredMemberKey = &MembershipPreferredMemberKey{empty: true}
This object is used to assert a desired state where this MembershipPreferredMemberKey is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipPreferredMemberKey) Empty ¶
func (r *MembershipPreferredMemberKey) Empty() bool
func (*MembershipPreferredMemberKey) HashCode ¶
func (r *MembershipPreferredMemberKey) HashCode() string
func (*MembershipPreferredMemberKey) String ¶
func (r *MembershipPreferredMemberKey) String() string
func (*MembershipPreferredMemberKey) UnmarshalJSON ¶
func (r *MembershipPreferredMemberKey) UnmarshalJSON(data []byte) error
type MembershipRoles ¶
type MembershipRoles struct {
Name *string `json:"name"`
ExpiryDetail *MembershipRolesExpiryDetail `json:"expiryDetail"`
RestrictionEvaluations *MembershipRolesRestrictionEvaluations `json:"restrictionEvaluations"`
// contains filtered or unexported fields
}
var EmptyMembershipRoles *MembershipRoles = &MembershipRoles{empty: true}
This object is used to assert a desired state where this MembershipRoles is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipRoles) Empty ¶
func (r *MembershipRoles) Empty() bool
func (*MembershipRoles) HashCode ¶
func (r *MembershipRoles) HashCode() string
func (*MembershipRoles) String ¶
func (r *MembershipRoles) String() string
func (*MembershipRoles) UnmarshalJSON ¶
func (r *MembershipRoles) UnmarshalJSON(data []byte) error
type MembershipRolesExpiryDetail ¶
type MembershipRolesExpiryDetail struct {
ExpireTime *string `json:"expireTime"`
// contains filtered or unexported fields
}
var EmptyMembershipRolesExpiryDetail *MembershipRolesExpiryDetail = &MembershipRolesExpiryDetail{empty: true}
This object is used to assert a desired state where this MembershipRolesExpiryDetail is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipRolesExpiryDetail) Empty ¶
func (r *MembershipRolesExpiryDetail) Empty() bool
func (*MembershipRolesExpiryDetail) HashCode ¶
func (r *MembershipRolesExpiryDetail) HashCode() string
func (*MembershipRolesExpiryDetail) String ¶
func (r *MembershipRolesExpiryDetail) String() string
func (*MembershipRolesExpiryDetail) UnmarshalJSON ¶
func (r *MembershipRolesExpiryDetail) UnmarshalJSON(data []byte) error
type MembershipRolesRestrictionEvaluations ¶
type MembershipRolesRestrictionEvaluations struct {
MemberRestrictionEvaluation *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation `json:"memberRestrictionEvaluation"`
// contains filtered or unexported fields
}
var EmptyMembershipRolesRestrictionEvaluations *MembershipRolesRestrictionEvaluations = &MembershipRolesRestrictionEvaluations{empty: true}
This object is used to assert a desired state where this MembershipRolesRestrictionEvaluations is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipRolesRestrictionEvaluations) Empty ¶
func (r *MembershipRolesRestrictionEvaluations) Empty() bool
func (*MembershipRolesRestrictionEvaluations) HashCode ¶
func (r *MembershipRolesRestrictionEvaluations) HashCode() string
func (*MembershipRolesRestrictionEvaluations) String ¶
func (r *MembershipRolesRestrictionEvaluations) String() string
func (*MembershipRolesRestrictionEvaluations) UnmarshalJSON ¶
func (r *MembershipRolesRestrictionEvaluations) UnmarshalJSON(data []byte) error
type MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation ¶
type MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation struct {
State *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum `json:"state"`
// contains filtered or unexported fields
}
var EmptyMembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation = &MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation{empty: true}
This object is used to assert a desired state where this MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) Empty ¶
func (r *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) Empty() bool
func (*MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) HashCode ¶
func (r *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) HashCode() string
func (*MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) String ¶
func (r *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) String() string
func (*MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) UnmarshalJSON ¶
func (r *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluation) UnmarshalJSON(data []byte) error
type MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum ¶
type MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum string
The enum MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum.
func MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnumRef ¶
func MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnumRef(s string) *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum
MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnumRef returns a *MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum with the value of string s If the empty string is provided, nil is returned.
func (MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum) Validate ¶
func (v MembershipRolesRestrictionEvaluationsMemberRestrictionEvaluationStateEnum) Validate() error
type MembershipTypeEnum ¶
type MembershipTypeEnum string
The enum MembershipTypeEnum.
func MembershipTypeEnumRef ¶
func MembershipTypeEnumRef(s string) *MembershipTypeEnum
MembershipTypeEnumRef returns a *MembershipTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (MembershipTypeEnum) Validate ¶
func (v MembershipTypeEnum) Validate() error