Documentation
¶
Overview ¶
+kcc:proto=google.apps.cloudidentity.groups.v1beta1
+kubebuilder:object:generate=true +groupName=cloudidentity.cnrm.cloud.google.com
Index ¶
- Variables
- func ParseGroupExternal(external string) (resourceID string, err error)
- type CloudIdentityGroup
- type CloudIdentityGroupList
- type CloudIdentityGroupObservedState
- type CloudIdentityGroupSpec
- type CloudIdentityGroupStatus
- type CloudIdentityMembership
- type CloudIdentityMembershipList
- type CloudIdentityMembershipObservedState
- type CloudIdentityMembershipSpec
- type CloudIdentityMembershipStatus
- type EntityKey
- type GroupIdentity
- type GroupRef
- type MembershipDisplayNameStatus
- type MembershipExpiryDetail
- type MembershipIdentity
- type MembershipRef
- type MembershipRestrictionEvaluations
- type MembershipRoleRestrictionEvaluation
- type MembershipRoles
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cloudidentity.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var CloudIdentityGroupGVK = GroupVersion.WithKind("CloudIdentityGroup")
var CloudIdentityMembershipGVK = GroupVersion.WithKind("CloudIdentityMembership")
Functions ¶
func ParseGroupExternal ¶
Types ¶
type CloudIdentityGroup ¶
type CloudIdentityGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec CloudIdentityGroupSpec `json:"spec,omitempty"` Status CloudIdentityGroupStatus `json:"status,omitempty"` }
CloudIdentityGroup is the Schema for the CloudIdentityGroup API +k8s:openapi-gen=true
func (*CloudIdentityGroup) DeepCopy ¶
func (in *CloudIdentityGroup) DeepCopy() *CloudIdentityGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityGroup.
func (*CloudIdentityGroup) DeepCopyInto ¶
func (in *CloudIdentityGroup) DeepCopyInto(out *CloudIdentityGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudIdentityGroup) DeepCopyObject ¶
func (in *CloudIdentityGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudIdentityGroupList ¶
type CloudIdentityGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CloudIdentityGroup `json:"items"` }
CloudIdentityGroupList contains a list of CloudIdentityGroup
func (*CloudIdentityGroupList) DeepCopy ¶
func (in *CloudIdentityGroupList) DeepCopy() *CloudIdentityGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityGroupList.
func (*CloudIdentityGroupList) DeepCopyInto ¶
func (in *CloudIdentityGroupList) DeepCopyInto(out *CloudIdentityGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudIdentityGroupList) DeepCopyObject ¶
func (in *CloudIdentityGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudIdentityGroupObservedState ¶
type CloudIdentityGroupObservedState struct { // Additional group keys associated with the Group. AdditionalGroupKeys []EntityKey `json:"additionalGroupKeys,omitempty"` }
CloudIdentityGroupObservedState is the state of the CloudIdentityGroup resource as most recently observed in GCP. +kcc:proto=google.apps.cloudidentity.groups.v1beta1.Group
func (*CloudIdentityGroupObservedState) DeepCopy ¶
func (in *CloudIdentityGroupObservedState) DeepCopy() *CloudIdentityGroupObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityGroupObservedState.
func (*CloudIdentityGroupObservedState) DeepCopyInto ¶
func (in *CloudIdentityGroupObservedState) DeepCopyInto(out *CloudIdentityGroupObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudIdentityGroupSpec ¶
type CloudIdentityGroupSpec struct { // An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters. Description *string `json:"description,omitempty"` // The display name of the `Group`. DisplayName *string `json:"displayName,omitempty"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="GroupKey field is immutable" // Immutable. EntityKey of the Group. // +required GroupKey *EntityKey `json:"groupKey"` // Immutable. The initial configuration options for creating a Group. See the [API reference](https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups/create#initialgroupconfig) for possible values. Default value: "EMPTY" Possible values: ["INITIAL_GROUP_CONFIG_UNSPECIFIED", "WITH_INITIAL_OWNER", "EMPTY"]. InitialGroupConfig *string `json:"initialGroupConfig,omitempty"` // One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value. // +required Labels map[string]string `json:"labels"` // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Parent field is immutable" // Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source}` for external [identity-mapped groups](https://support.google.com/a/answer/9039510) or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793) // +required Parent *string `json:"parent,omitempty"` // Immutable. The CloudIdentityGroup name. If not given, the metadata.name will be used. ResourceID *string `json:"resourceID,omitempty"` }
CloudIdentityGroupSpec defines the desired state of CloudIdentityGroup +kcc:proto=google.apps.cloudidentity.groups.v1beta1.Group
func (*CloudIdentityGroupSpec) DeepCopy ¶
func (in *CloudIdentityGroupSpec) DeepCopy() *CloudIdentityGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityGroupSpec.
func (*CloudIdentityGroupSpec) DeepCopyInto ¶
func (in *CloudIdentityGroupSpec) DeepCopyInto(out *CloudIdentityGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudIdentityGroupStatus ¶
type CloudIdentityGroupStatus struct { commonv1alpha1.CommonStatus `json:",inline"` // The time when the `Group` was created. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Group.create_time CreateTime *string `json:"createTime,omitempty"` // The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Group.name Name *string `json:"name,omitempty"` // The time when the `Group` was last updated. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Group.update_time UpdateTime *string `json:"updateTime,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *CloudIdentityGroupObservedState `json:"observedState,omitempty"` }
CloudIdentityGroupStatus defines the config connector machine state of CloudIdentityGroup +kcc:proto=google.apps.cloudidentity.groups.v1beta1.Group
func (*CloudIdentityGroupStatus) DeepCopy ¶
func (in *CloudIdentityGroupStatus) DeepCopy() *CloudIdentityGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityGroupStatus.
func (*CloudIdentityGroupStatus) DeepCopyInto ¶
func (in *CloudIdentityGroupStatus) DeepCopyInto(out *CloudIdentityGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudIdentityMembership ¶
type CloudIdentityMembership struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec CloudIdentityMembershipSpec `json:"spec,omitempty"` Status CloudIdentityMembershipStatus `json:"status,omitempty"` }
CloudIdentityMembership is the Schema for the CloudIdentityMembership API +k8s:openapi-gen=true
func (*CloudIdentityMembership) DeepCopy ¶
func (in *CloudIdentityMembership) DeepCopy() *CloudIdentityMembership
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityMembership.
func (*CloudIdentityMembership) DeepCopyInto ¶
func (in *CloudIdentityMembership) DeepCopyInto(out *CloudIdentityMembership)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudIdentityMembership) DeepCopyObject ¶
func (in *CloudIdentityMembership) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudIdentityMembershipList ¶
type CloudIdentityMembershipList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CloudIdentityMembership `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object CloudIdentityMembershipList contains a list of CloudIdentityMembership
func (*CloudIdentityMembershipList) DeepCopy ¶
func (in *CloudIdentityMembershipList) DeepCopy() *CloudIdentityMembershipList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityMembershipList.
func (*CloudIdentityMembershipList) DeepCopyInto ¶
func (in *CloudIdentityMembershipList) DeepCopyInto(out *CloudIdentityMembershipList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudIdentityMembershipList) DeepCopyObject ¶
func (in *CloudIdentityMembershipList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudIdentityMembershipObservedState ¶
type CloudIdentityMembershipObservedState struct { }
CloudIdentityMembershipObservedState is the state of the CloudIdentityMembership resource as most recently observed in GCP.
func (*CloudIdentityMembershipObservedState) DeepCopy ¶
func (in *CloudIdentityMembershipObservedState) DeepCopy() *CloudIdentityMembershipObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityMembershipObservedState.
func (*CloudIdentityMembershipObservedState) DeepCopyInto ¶
func (in *CloudIdentityMembershipObservedState) DeepCopyInto(out *CloudIdentityMembershipObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudIdentityMembershipSpec ¶
type CloudIdentityMembershipSpec struct { /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ ResourceID *string `json:"resourceID,omitempty"` // Immutable. // +required GroupRef GroupRef `json:"groupRef"` // Immutable. The `EntityKey` of the member. Either `member_key` or `preferred_member_key` must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Membership.member_key MemberKey *EntityKey `json:"memberKey,omitempty"` // Required. Immutable. The `EntityKey` of the member. Either `member_key` or `preferred_member_key` must be set when calling MembershipsService.CreateMembership but not both; both shall be set when returned. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Membership.preferred_member_key // +required PreferredMemberKey *EntityKey `json:"preferredMemberKey,omitempty"` // The `MembershipRole`s that apply to the `Membership`. If unspecified, defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain duplicate `MembershipRole`s with the same `name`. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Membership.roles // +required Roles []MembershipRoles `json:"roles"` }
CloudIdentityMembershipSpec defines the desired state of CloudIdentityMembership +kcc:proto=mockgcp.cloud.cloudidentity.groups.v1beta1.Membership
func (*CloudIdentityMembershipSpec) DeepCopy ¶
func (in *CloudIdentityMembershipSpec) DeepCopy() *CloudIdentityMembershipSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityMembershipSpec.
func (*CloudIdentityMembershipSpec) DeepCopyInto ¶
func (in *CloudIdentityMembershipSpec) DeepCopyInto(out *CloudIdentityMembershipSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudIdentityMembershipStatus ¶
type CloudIdentityMembershipStatus struct { commonv1alpha1.CommonStatus `json:",inline"` // Output only. The time when the `Membership` was created. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Membership.create_time // +kubebuilder:validation:Format=date-time CreateTime *string `json:"createTime,omitempty"` /* Output only. Delivery setting associated with the membership. Possible values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY, NONE, DISABLED */ // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Membership.delivery_setting DeliverySetting *string `json:"deliverySetting,omitempty"` // Output only. The display name of this member, if available DisplayName *MembershipDisplayNameStatus `json:"displayName,omitempty"` // Output only. The type of the membership. Possible values: OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, OWNER_TYPE_PARTNER // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Membership.type Type *string `json:"type,omitempty"` // Output only. The time when the `Membership` was last updated. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.Membership.update_time // +kubebuilder:validation:Format=date-time UpdateTime *string `json:"updateTime,omitempty"` }
CloudIdentityMembershipStatus defines the config connector machine state of CloudIdentityMembership
func (*CloudIdentityMembershipStatus) DeepCopy ¶
func (in *CloudIdentityMembershipStatus) DeepCopy() *CloudIdentityMembershipStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityMembershipStatus.
func (*CloudIdentityMembershipStatus) DeepCopyInto ¶
func (in *CloudIdentityMembershipStatus) DeepCopyInto(out *CloudIdentityMembershipStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EntityKey ¶
type EntityKey struct { // Immutable. The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`. // +required ID string `json:"id"` // Immutable. The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`. Namespace *string `json:"namespace,omitempty"` }
+kcc:proto=google.apps.cloudidentity.groups.v1beta1.EntityKey
func (*EntityKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EntityKey.
func (*EntityKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupIdentity ¶
type GroupIdentity struct {
// contains filtered or unexported fields
}
GroupIdentity defines the resource reference to CloudIdentityGroup, which "External" field holds the GCP identifier for the KRM object.
func NewGroupIdentity ¶
func NewGroupIdentity(ctx context.Context, reader client.Reader, obj *CloudIdentityGroup) (*GroupIdentity, error)
NewGroupIdentity New builds a GroupIdentity from the Config Connector Group object.
func ParseMembershipExternal ¶
func ParseMembershipExternal(external string) (parent *GroupIdentity, resourceID string, err error)
func (*GroupIdentity) DeepCopy ¶
func (in *GroupIdentity) DeepCopy() *GroupIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupIdentity.
func (*GroupIdentity) DeepCopyInto ¶
func (in *GroupIdentity) DeepCopyInto(out *GroupIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupIdentity) ID ¶
func (i *GroupIdentity) ID() string
func (*GroupIdentity) String ¶
func (i *GroupIdentity) String() string
type GroupRef ¶
type GroupRef struct { // A reference to an externally managed CloudIdentityGroup resource. // Should be in the format "groups/{{groupID}}". External string `json:"external,omitempty"` // The name of a CloudIdentityGroup resource. Name string `json:"name,omitempty"` // The namespace of a CloudIdentityGroup resource. Namespace string `json:"namespace,omitempty"` }
GroupRef defines the resource reference to CloudIdentityGroup, which "External" field holds the GCP identifier for the KRM object.
func (*GroupRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupRef.
func (*GroupRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupRef) NormalizedExternal ¶
func (r *GroupRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on CloudIdentityGroup. If the "External" is given in the other resource's spec.CloudIdentityGroupRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual CloudIdentityGroup object from the cluster.
type MembershipDisplayNameStatus ¶
type MembershipDisplayNameStatus struct { // Output only. Member's family name FamilyName *string `json:"familyName,omitempty"` /* Output only. Localized UTF-16 full name for the member. Localization is done based on the language in the request and the language of the stored display name. */ FullName *string `json:"fullName,omitempty"` // Output only. Member's given name GivenName *string `json:"givenName,omitempty"` }
func (*MembershipDisplayNameStatus) DeepCopy ¶
func (in *MembershipDisplayNameStatus) DeepCopy() *MembershipDisplayNameStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipDisplayNameStatus.
func (*MembershipDisplayNameStatus) DeepCopyInto ¶
func (in *MembershipDisplayNameStatus) DeepCopyInto(out *MembershipDisplayNameStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipExpiryDetail ¶
type MembershipExpiryDetail struct { // The time at which the `MembershipRole` will expire. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.ExpiryDetail.expire_time // +kubebuilder:validation:Format=date-time ExpireTime *string `json:"expireTime,omitempty"` }
+kcc:proto=mockgcp.cloud.cloudidentity.groups.v1beta1.ExpiryDetail
func (*MembershipExpiryDetail) DeepCopy ¶
func (in *MembershipExpiryDetail) DeepCopy() *MembershipExpiryDetail
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipExpiryDetail.
func (*MembershipExpiryDetail) DeepCopyInto ¶
func (in *MembershipExpiryDetail) DeepCopyInto(out *MembershipExpiryDetail)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipIdentity ¶
type MembershipIdentity struct {
// contains filtered or unexported fields
}
MembershipIdentity defines the resource reference to CloudIdentityMembership, which "External" field holds the GCP identifier for the KRM object.
func NewMembershipIdentity ¶
func NewMembershipIdentity(ctx context.Context, reader client.Reader, obj *CloudIdentityMembership) (*MembershipIdentity, error)
New builds a MembershipIdentity from the Config Connector Membership object.
func (*MembershipIdentity) DeepCopy ¶
func (in *MembershipIdentity) DeepCopy() *MembershipIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipIdentity.
func (*MembershipIdentity) DeepCopyInto ¶
func (in *MembershipIdentity) DeepCopyInto(out *MembershipIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MembershipIdentity) ID ¶
func (i *MembershipIdentity) ID() string
func (*MembershipIdentity) Parent ¶
func (i *MembershipIdentity) Parent() *GroupIdentity
func (*MembershipIdentity) String ¶
func (i *MembershipIdentity) String() string
type MembershipRef ¶
type MembershipRef struct { // A reference to an externally managed CloudIdentityMembership resource. // Should be in the format "groups/{{groupID}}/memberships/{{membershipID}}". External string `json:"external,omitempty"` // The name of a CloudIdentityMembership resource. Name string `json:"name,omitempty"` // The namespace of a CloudIdentityMembership resource. Namespace string `json:"namespace,omitempty"` }
MembershipRef defines the resource reference to CloudIdentityMembership, which "External" field holds the GCP identifier for the KRM object.
func (*MembershipRef) DeepCopy ¶
func (in *MembershipRef) DeepCopy() *MembershipRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipRef.
func (*MembershipRef) DeepCopyInto ¶
func (in *MembershipRef) DeepCopyInto(out *MembershipRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MembershipRef) NormalizedExternal ¶
func (r *MembershipRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on CloudIdentityMembership. If the "External" is given in the other resource's spec.CloudIdentityMembershipRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual CloudIdentityMembership object from the cluster.
type MembershipRestrictionEvaluations ¶
type MembershipRestrictionEvaluations struct { // Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.RestrictionEvaluations.member_restriction_evaluation MemberRestrictionEvaluation *MembershipRoleRestrictionEvaluation `json:"memberRestrictionEvaluation,omitempty"` }
+kcc:proto=mockgcp.cloud.cloudidentity.groups.v1beta1.RestrictionEvaluations
func (*MembershipRestrictionEvaluations) DeepCopy ¶
func (in *MembershipRestrictionEvaluations) DeepCopy() *MembershipRestrictionEvaluations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipRestrictionEvaluations.
func (*MembershipRestrictionEvaluations) DeepCopyInto ¶
func (in *MembershipRestrictionEvaluations) DeepCopyInto(out *MembershipRestrictionEvaluations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipRoleRestrictionEvaluation ¶
type MembershipRoleRestrictionEvaluation struct { // Output only. The current state of the restriction // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.MembershipRoleRestrictionEvaluation.state State *string `json:"state,omitempty"` }
+kcc:proto=mockgcp.cloud.cloudidentity.groups.v1beta1.MembershipRoleRestrictionEvaluation
func (*MembershipRoleRestrictionEvaluation) DeepCopy ¶
func (in *MembershipRoleRestrictionEvaluation) DeepCopy() *MembershipRoleRestrictionEvaluation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipRoleRestrictionEvaluation.
func (*MembershipRoleRestrictionEvaluation) DeepCopyInto ¶
func (in *MembershipRoleRestrictionEvaluation) DeepCopyInto(out *MembershipRoleRestrictionEvaluation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipRoles ¶
type MembershipRoles struct { // The expiry details of the `MembershipRole`. Expiry details are only supported for `MEMBER` `MembershipRoles`. May be set if `name` is `MEMBER`. Must not be set if `name` is any other value. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.MembershipRole.expiry_detail ExpiryDetail *MembershipExpiryDetail `json:"expiryDetail,omitempty"` // The name of the `MembershipRole`. Must be one of `OWNER`, `MANAGER`, `MEMBER`. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.MembershipRole.name // +required Name *string `json:"name"` // Evaluations of restrictions applied to parent group on this membership. // +kcc:proto:field=mockgcp.cloud.cloudidentity.groups.v1beta1.MembershipRole.restriction_evaluations RestrictionEvaluations *MembershipRestrictionEvaluations `json:"restrictionEvaluations,omitempty"` }
+kcc:proto=mockgcp.cloud.cloudidentity.groups.v1beta1.MembershipRole
func (*MembershipRoles) DeepCopy ¶
func (in *MembershipRoles) DeepCopy() *MembershipRoles
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipRoles.
func (*MembershipRoles) DeepCopyInto ¶
func (in *MembershipRoles) DeepCopyInto(out *MembershipRoles)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.