v1beta1

package
v1.125.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the cloudidentity v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/cloudidentity +k8s:defaulter-gen=TypeMeta +groupName=cloudidentity.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = 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: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	CloudIdentityGroupGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(CloudIdentityGroup{}).Name(),
	}

	CloudIdentityMembershipGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(CloudIdentityMembership{}).Name(),
	}
)

Functions

This section is empty.

Types

type CloudIdentityGroup

type CloudIdentityGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudIdentityGroupSpec   `json:"spec,omitempty"`
	Status CloudIdentityGroupStatus `json:"status,omitempty"`
}

CloudIdentityGroup is the Schema for the cloudidentity 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

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 CloudIdentityGroupSpec

type CloudIdentityGroupSpec struct {
	/* An extended description to help users determine the purpose of a Group.
	Must not be longer than 4,096 characters. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* The display name of the Group. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* Immutable. EntityKey of the Group. */
	GroupKey GroupGroupKey `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"]. */
	// +optional
	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. */
	Labels map[string]string `json:"labels"`

	/* 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_id} for external-identity-mapped
	groups or customers/{customer_id} for Google Groups. */
	Parent string `json:"parent"`

	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*CloudIdentityGroupSpec) DeepCopy

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 {
	/* Conditions represent the latest available observations of the
	   CloudIdentityGroup's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The time when the Group was created. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* Resource name of the Group in the format: groups/{group_id}, where group_id
	is the unique ID assigned to the Group. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* The time when the Group was last updated. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*CloudIdentityGroupStatus) DeepCopy

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

	Spec   CloudIdentityMembershipSpec   `json:"spec,omitempty"`
	Status CloudIdentityMembershipStatus `json:"status,omitempty"`
}

CloudIdentityMembership is the Schema for the cloudidentity API +k8s:openapi-gen=true

func (*CloudIdentityMembership) DeepCopy

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"`
}

CloudIdentityMembershipList contains a list of CloudIdentityMembership

func (*CloudIdentityMembershipList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityMembershipList.

func (*CloudIdentityMembershipList) DeepCopyInto

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 CloudIdentityMembershipSpec

type CloudIdentityMembershipSpec struct {
	/* Immutable. */
	GroupRef v1alpha1.ResourceRef `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. */
	// +optional
	MemberKey *MembershipMemberKey `json:"memberKey,omitempty"`

	/* Immutable. Required. Immutable. The `EntityKey` of the member. */
	PreferredMemberKey MembershipPreferredMemberKey `json:"preferredMemberKey"`

	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,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`. */
	Roles []MembershipRoles `json:"roles"`
}

func (*CloudIdentityMembershipSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityMembershipSpec.

func (*CloudIdentityMembershipSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudIdentityMembershipStatus

type CloudIdentityMembershipStatus struct {
	/* Conditions represent the latest available observations of the
	   CloudIdentityMembership's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The time when the `Membership` was created. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* Output only. Delivery setting associated with the membership. Possible values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY, NONE, DISABLED */
	// +optional
	DeliverySetting *string `json:"deliverySetting,omitempty"`

	/* Output only. The display name of this member, if available */
	// +optional
	DisplayName *MembershipDisplayNameStatus `json:"displayName,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Output only. The type of the membership. Possible values: OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, OWNER_TYPE_PARTNER */
	// +optional
	Type *string `json:"type,omitempty"`

	/* Output only. The time when the `Membership` was last updated. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*CloudIdentityMembershipStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudIdentityMembershipStatus.

func (*CloudIdentityMembershipStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GroupGroupKey

type GroupGroupKey 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. */
	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}'. */
	// +optional
	Namespace *string `json:"namespace,omitempty"`
}

func (*GroupGroupKey) DeepCopy

func (in *GroupGroupKey) DeepCopy() *GroupGroupKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupGroupKey.

func (*GroupGroupKey) DeepCopyInto

func (in *GroupGroupKey) DeepCopyInto(out *GroupGroupKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MembershipDisplayNameStatus added in v1.87.0

type MembershipDisplayNameStatus struct {
	/* Output only. Member's family name */
	// +optional
	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. */
	// +optional
	FullName *string `json:"fullName,omitempty"`

	/* Output only. Member's given name */
	// +optional
	GivenName *string `json:"givenName,omitempty"`
}

func (*MembershipDisplayNameStatus) DeepCopy added in v1.87.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipDisplayNameStatus.

func (*MembershipDisplayNameStatus) DeepCopyInto added in v1.87.0

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. */
	// +optional
	ExpireTime *string `json:"expireTime,omitempty"`
}

func (*MembershipExpiryDetail) DeepCopy

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 MembershipMemberKey

type MembershipMemberKey struct {
	/* 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`. */
	// +optional
	Id *string `json:"id,omitempty"`

	/* 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}`. */
	// +optional
	Namespace *string `json:"namespace,omitempty"`
}

func (*MembershipMemberKey) DeepCopy

func (in *MembershipMemberKey) DeepCopy() *MembershipMemberKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipMemberKey.

func (*MembershipMemberKey) DeepCopyInto

func (in *MembershipMemberKey) DeepCopyInto(out *MembershipMemberKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MembershipMemberRestrictionEvaluation

type MembershipMemberRestrictionEvaluation struct {
	/* Output only. The current state of the restriction Possible values: ENCRYPTION_STATE_UNSPECIFIED, UNSUPPORTED_BY_DEVICE, ENCRYPTED, NOT_ENCRYPTED */
	// +optional
	State *string `json:"state,omitempty"`
}

func (*MembershipMemberRestrictionEvaluation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipMemberRestrictionEvaluation.

func (*MembershipMemberRestrictionEvaluation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MembershipPreferredMemberKey

type MembershipPreferredMemberKey struct {
	/* Immutable. The ID of the entity. For Google-managed entities, the `id` must be the email address of a 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`. */
	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}`. */
	// +optional
	Namespace *string `json:"namespace,omitempty"`
}

func (*MembershipPreferredMemberKey) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipPreferredMemberKey.

func (*MembershipPreferredMemberKey) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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. */
	// +optional
	MemberRestrictionEvaluation *MembershipMemberRestrictionEvaluation `json:"memberRestrictionEvaluation,omitempty"`
}

func (*MembershipRestrictionEvaluations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipRestrictionEvaluations.

func (*MembershipRestrictionEvaluations) DeepCopyInto

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. */
	// +optional
	ExpiryDetail *MembershipExpiryDetail `json:"expiryDetail,omitempty"`

	Name string `json:"name"`

	/* Evaluations of restrictions applied to parent group on this membership. */
	// +optional
	RestrictionEvaluations *MembershipRestrictionEvaluations `json:"restrictionEvaluations,omitempty"`
}

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.

Jump to

Keyboard shortcuts

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