v1beta1

package
v1.116.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for storage/v1beta1 API group

Package v1beta1 contains API Schema definitions for the storage 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/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.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: "storage.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

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

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

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

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

Functions

This section is empty.

Types

type BucketAction

type BucketAction struct {
	/* The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. */
	// +optional
	StorageClass *string `json:"storageClass,omitempty"`

	/* The type of the action of this Lifecycle Rule. Supported values include: Delete, SetStorageClass and AbortIncompleteMultipartUpload. */
	Type string `json:"type"`
}

func (*BucketAction) DeepCopy

func (in *BucketAction) DeepCopy() *BucketAction

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

func (*BucketAction) DeepCopyInto

func (in *BucketAction) DeepCopyInto(out *BucketAction)

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

type BucketAutoclass added in v1.99.0

type BucketAutoclass struct {
	/* While set to true, autoclass automatically transitions objects in your bucket to appropriate storage classes based on each object's access pattern. */
	Enabled bool `json:"enabled"`
}

func (*BucketAutoclass) DeepCopy added in v1.99.0

func (in *BucketAutoclass) DeepCopy() *BucketAutoclass

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

func (*BucketAutoclass) DeepCopyInto added in v1.99.0

func (in *BucketAutoclass) DeepCopyInto(out *BucketAutoclass)

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

type BucketCondition

type BucketCondition struct {
	/* Minimum age of an object in days to satisfy this condition. */
	// +optional
	Age *int `json:"age,omitempty"`

	/* Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. */
	// +optional
	CreatedBefore *string `json:"createdBefore,omitempty"`

	/* Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. */
	// +optional
	CustomTimeBefore *string `json:"customTimeBefore,omitempty"`

	/* Number of days elapsed since the user-specified timestamp set on an object. */
	// +optional
	DaysSinceCustomTime *int `json:"daysSinceCustomTime,omitempty"`

	/* Number of days elapsed since the noncurrent timestamp of an object. This
	condition is relevant only for versioned objects. */
	// +optional
	DaysSinceNoncurrentTime *int `json:"daysSinceNoncurrentTime,omitempty"`

	/* One or more matching name prefixes to satisfy this condition. */
	// +optional
	MatchesPrefix []string `json:"matchesPrefix,omitempty"`

	/* Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY. */
	// +optional
	MatchesStorageClass []string `json:"matchesStorageClass,omitempty"`

	/* One or more matching name suffixes to satisfy this condition. */
	// +optional
	MatchesSuffix []string `json:"matchesSuffix,omitempty"`

	/* Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. */
	// +optional
	NoncurrentTimeBefore *string `json:"noncurrentTimeBefore,omitempty"`

	/* Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition. */
	// +optional
	NumNewerVersions *int `json:"numNewerVersions,omitempty"`

	/* Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY". */
	// +optional
	WithState *string `json:"withState,omitempty"`
}

func (*BucketCondition) DeepCopy

func (in *BucketCondition) DeepCopy() *BucketCondition

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

func (*BucketCondition) DeepCopyInto

func (in *BucketCondition) DeepCopyInto(out *BucketCondition)

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

type BucketCors

type BucketCors struct {
	/* The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. */
	// +optional
	MaxAgeSeconds *int `json:"maxAgeSeconds,omitempty"`

	/* The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method". */
	// +optional
	Method []string `json:"method,omitempty"`

	/* The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin". */
	// +optional
	Origin []string `json:"origin,omitempty"`

	/* The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains. */
	// +optional
	ResponseHeader []string `json:"responseHeader,omitempty"`
}

func (*BucketCors) DeepCopy

func (in *BucketCors) DeepCopy() *BucketCors

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

func (*BucketCors) DeepCopyInto

func (in *BucketCors) DeepCopyInto(out *BucketCors)

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

type BucketCustomPlacementConfig added in v1.97.0

type BucketCustomPlacementConfig struct {
	/* Immutable. The list of individual regions that comprise a dual-region bucket. See the docs for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket. */
	DataLocations []string `json:"dataLocations"`
}

func (*BucketCustomPlacementConfig) DeepCopy added in v1.97.0

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

func (*BucketCustomPlacementConfig) DeepCopyInto added in v1.97.0

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

type BucketEncryption

type BucketEncryption struct {
	KmsKeyRef v1alpha1.ResourceRef `json:"kmsKeyRef"`
}

func (*BucketEncryption) DeepCopy

func (in *BucketEncryption) DeepCopy() *BucketEncryption

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

func (*BucketEncryption) DeepCopyInto

func (in *BucketEncryption) DeepCopyInto(out *BucketEncryption)

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

type BucketLifecycleRule

type BucketLifecycleRule struct {
	/* The Lifecycle Rule's action configuration. A single block of this type is supported. */
	Action BucketAction `json:"action"`

	/* The Lifecycle Rule's condition configuration. */
	Condition BucketCondition `json:"condition"`
}

func (*BucketLifecycleRule) DeepCopy

func (in *BucketLifecycleRule) DeepCopy() *BucketLifecycleRule

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

func (*BucketLifecycleRule) DeepCopyInto

func (in *BucketLifecycleRule) DeepCopyInto(out *BucketLifecycleRule)

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

type BucketLogging

type BucketLogging struct {
	/* The bucket that will receive log objects. */
	LogBucket string `json:"logBucket"`

	/* The object prefix for log objects. If it's not provided, by default Google Cloud Storage sets this to this bucket's name. */
	// +optional
	LogObjectPrefix *string `json:"logObjectPrefix,omitempty"`
}

func (*BucketLogging) DeepCopy

func (in *BucketLogging) DeepCopy() *BucketLogging

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

func (*BucketLogging) DeepCopyInto

func (in *BucketLogging) DeepCopyInto(out *BucketLogging)

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

type BucketRetentionPolicy

type BucketRetentionPolicy struct {
	/* If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy.  Caution: Locking a bucket is an irreversible action. */
	// +optional
	IsLocked *bool `json:"isLocked,omitempty"`

	/* The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds. */
	RetentionPeriod int `json:"retentionPeriod"`
}

func (*BucketRetentionPolicy) DeepCopy

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

func (*BucketRetentionPolicy) DeepCopyInto

func (in *BucketRetentionPolicy) DeepCopyInto(out *BucketRetentionPolicy)

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

type BucketVersioning

type BucketVersioning struct {
	/* While set to true, versioning is fully enabled for this bucket. */
	Enabled bool `json:"enabled"`
}

func (*BucketVersioning) DeepCopy

func (in *BucketVersioning) DeepCopy() *BucketVersioning

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

func (*BucketVersioning) DeepCopyInto

func (in *BucketVersioning) DeepCopyInto(out *BucketVersioning)

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

type BucketWebsite

type BucketWebsite struct {
	/* Behaves as the bucket's directory index where missing objects are treated as potential directories. */
	// +optional
	MainPageSuffix *string `json:"mainPageSuffix,omitempty"`

	/* The custom object to return when a requested resource is not found. */
	// +optional
	NotFoundPage *string `json:"notFoundPage,omitempty"`
}

func (*BucketWebsite) DeepCopy

func (in *BucketWebsite) DeepCopy() *BucketWebsite

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

func (*BucketWebsite) DeepCopyInto

func (in *BucketWebsite) DeepCopyInto(out *BucketWebsite)

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

type DefaultobjectaccesscontrolProjectTeamStatus

type DefaultobjectaccesscontrolProjectTeamStatus struct {
	/* The project team associated with the entity. */
	// +optional
	ProjectNumber *string `json:"projectNumber,omitempty"`

	/* The team. Possible values: ["editors", "owners", "viewers"]. */
	// +optional
	Team *string `json:"team,omitempty"`
}

func (*DefaultobjectaccesscontrolProjectTeamStatus) DeepCopy

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

func (*DefaultobjectaccesscontrolProjectTeamStatus) DeepCopyInto

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

type StorageBucket

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

	Spec   StorageBucketSpec   `json:"spec,omitempty"`
	Status StorageBucketStatus `json:"status,omitempty"`
}

StorageBucket is the Schema for the storage API +k8s:openapi-gen=true

func (*StorageBucket) DeepCopy

func (in *StorageBucket) DeepCopy() *StorageBucket

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

func (*StorageBucket) DeepCopyInto

func (in *StorageBucket) DeepCopyInto(out *StorageBucket)

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

func (*StorageBucket) DeepCopyObject

func (in *StorageBucket) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageBucketAccessControl

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

	Spec   StorageBucketAccessControlSpec   `json:"spec,omitempty"`
	Status StorageBucketAccessControlStatus `json:"status,omitempty"`
}

StorageBucketAccessControl is the Schema for the storage API +k8s:openapi-gen=true

func (*StorageBucketAccessControl) DeepCopy

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

func (*StorageBucketAccessControl) DeepCopyInto

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

func (*StorageBucketAccessControl) DeepCopyObject

func (in *StorageBucketAccessControl) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageBucketAccessControlList

type StorageBucketAccessControlList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StorageBucketAccessControl `json:"items"`
}

StorageBucketAccessControlList contains a list of StorageBucketAccessControl

func (*StorageBucketAccessControlList) DeepCopy

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

func (*StorageBucketAccessControlList) DeepCopyInto

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

func (*StorageBucketAccessControlList) DeepCopyObject

func (in *StorageBucketAccessControlList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageBucketAccessControlSpec

type StorageBucketAccessControlSpec struct {
	/* Reference to the bucket. */
	BucketRef v1alpha1.ResourceRef `json:"bucketRef"`

	/* Immutable. The entity holding the permission, in one of the following forms:
	user-userId
	user-email
	group-groupId
	group-email
	domain-domain
	project-team-projectId
	allUsers
	allAuthenticatedUsers
	Examples:
	The user liz@example.com would be user-liz@example.com.
	The group example@googlegroups.com would be
	group-example@googlegroups.com.
	To refer to all members of the Google Apps for Business domain
	example.com, the entity would be domain-example.com. */
	Entity string `json:"entity"`

	/* The access permission for the entity. Possible values: ["OWNER", "READER", "WRITER"]. */
	// +optional
	Role *string `json:"role,omitempty"`
}

func (*StorageBucketAccessControlSpec) DeepCopy

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

func (*StorageBucketAccessControlSpec) DeepCopyInto

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

type StorageBucketAccessControlStatus

type StorageBucketAccessControlStatus struct {
	/* Conditions represent the latest available observations of the
	   StorageBucketAccessControl's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The domain associated with the entity. */
	// +optional
	Domain *string `json:"domain,omitempty"`

	/* The email address associated with the entity. */
	// +optional
	Email *string `json:"email,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 *int `json:"observedGeneration,omitempty"`
}

func (*StorageBucketAccessControlStatus) DeepCopy

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

func (*StorageBucketAccessControlStatus) DeepCopyInto

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

type StorageBucketList

type StorageBucketList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StorageBucket `json:"items"`
}

StorageBucketList contains a list of StorageBucket

func (*StorageBucketList) DeepCopy

func (in *StorageBucketList) DeepCopy() *StorageBucketList

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

func (*StorageBucketList) DeepCopyInto

func (in *StorageBucketList) DeepCopyInto(out *StorageBucketList)

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

func (*StorageBucketList) DeepCopyObject

func (in *StorageBucketList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageBucketSpec

type StorageBucketSpec struct {
	/* The bucket's autoclass configuration. */
	// +optional
	Autoclass *BucketAutoclass `json:"autoclass,omitempty"`

	/* DEPRECATED. Please use the `uniformBucketLevelAccess` field as this field has been renamed by Google. The `uniformBucketLevelAccess` field will supersede this field.
	Enables Bucket PolicyOnly access to a bucket. */
	// +optional
	BucketPolicyOnly *bool `json:"bucketPolicyOnly,omitempty"`

	/* The bucket's Cross-Origin Resource Sharing (CORS) configuration. */
	// +optional
	Cors []BucketCors `json:"cors,omitempty"`

	/* The bucket's custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated a single or multi-region, the parameters are empty. */
	// +optional
	CustomPlacementConfig *BucketCustomPlacementConfig `json:"customPlacementConfig,omitempty"`

	/* Whether or not to automatically apply an eventBasedHold to new objects added to the bucket. */
	// +optional
	DefaultEventBasedHold *bool `json:"defaultEventBasedHold,omitempty"`

	/* The bucket's encryption configuration. */
	// +optional
	Encryption *BucketEncryption `json:"encryption,omitempty"`

	/* The bucket's Lifecycle Rules configuration. */
	// +optional
	LifecycleRule []BucketLifecycleRule `json:"lifecycleRule,omitempty"`

	/* Immutable. The Google Cloud Storage location. */
	// +optional
	Location *string `json:"location,omitempty"`

	/* The bucket's Access & Storage Logs configuration. */
	// +optional
	Logging *BucketLogging `json:"logging,omitempty"`

	/* Prevents public access to a bucket. */
	// +optional
	PublicAccessPrevention *string `json:"publicAccessPrevention,omitempty"`

	/* Enables Requester Pays on a storage bucket. */
	// +optional
	RequesterPays *bool `json:"requesterPays,omitempty"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. */
	// +optional
	RetentionPolicy *BucketRetentionPolicy `json:"retentionPolicy,omitempty"`

	/* The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. */
	// +optional
	StorageClass *string `json:"storageClass,omitempty"`

	/* Enables uniform bucket-level access on a bucket. */
	// +optional
	UniformBucketLevelAccess *bool `json:"uniformBucketLevelAccess,omitempty"`

	/* The bucket's Versioning configuration. */
	// +optional
	Versioning *BucketVersioning `json:"versioning,omitempty"`

	/* Configuration if the bucket acts as a website. */
	// +optional
	Website *BucketWebsite `json:"website,omitempty"`
}

func (*StorageBucketSpec) DeepCopy

func (in *StorageBucketSpec) DeepCopy() *StorageBucketSpec

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

func (*StorageBucketSpec) DeepCopyInto

func (in *StorageBucketSpec) DeepCopyInto(out *StorageBucketSpec)

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

type StorageBucketStatus

type StorageBucketStatus struct {
	/* Conditions represent the latest available observations of the
	   StorageBucket's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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 *int `json:"observedGeneration,omitempty"`

	/* The URI of the created resource. */
	// +optional
	SelfLink *string `json:"selfLink,omitempty"`

	/* The base URL of the bucket, in the format gs://<bucket-name>. */
	// +optional
	Url *string `json:"url,omitempty"`
}

func (*StorageBucketStatus) DeepCopy

func (in *StorageBucketStatus) DeepCopy() *StorageBucketStatus

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

func (*StorageBucketStatus) DeepCopyInto

func (in *StorageBucketStatus) DeepCopyInto(out *StorageBucketStatus)

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

type StorageDefaultObjectAccessControl

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

	Spec   StorageDefaultObjectAccessControlSpec   `json:"spec,omitempty"`
	Status StorageDefaultObjectAccessControlStatus `json:"status,omitempty"`
}

StorageDefaultObjectAccessControl is the Schema for the storage API +k8s:openapi-gen=true

func (*StorageDefaultObjectAccessControl) DeepCopy

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

func (*StorageDefaultObjectAccessControl) DeepCopyInto

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

func (*StorageDefaultObjectAccessControl) DeepCopyObject

func (in *StorageDefaultObjectAccessControl) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageDefaultObjectAccessControlList

type StorageDefaultObjectAccessControlList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StorageDefaultObjectAccessControl `json:"items"`
}

StorageDefaultObjectAccessControlList contains a list of StorageDefaultObjectAccessControl

func (*StorageDefaultObjectAccessControlList) DeepCopy

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

func (*StorageDefaultObjectAccessControlList) DeepCopyInto

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

func (*StorageDefaultObjectAccessControlList) DeepCopyObject

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageDefaultObjectAccessControlSpec

type StorageDefaultObjectAccessControlSpec struct {
	/* Reference to the bucket. */
	BucketRef v1alpha1.ResourceRef `json:"bucketRef"`

	/* The entity holding the permission, in one of the following forms:
	* user-{{userId}}
	* user-{{email}} (such as "user-liz@example.com")
	* group-{{groupId}}
	* group-{{email}} (such as "group-example@googlegroups.com")
	* domain-{{domain}} (such as "domain-example.com")
	* project-team-{{projectId}}
	* allUsers
	* allAuthenticatedUsers. */
	Entity string `json:"entity"`

	/* The name of the object, if applied to an object. */
	// +optional
	Object *string `json:"object,omitempty"`

	/* The access permission for the entity. Possible values: ["OWNER", "READER"]. */
	Role string `json:"role"`
}

func (*StorageDefaultObjectAccessControlSpec) DeepCopy

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

func (*StorageDefaultObjectAccessControlSpec) DeepCopyInto

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

type StorageDefaultObjectAccessControlStatus

type StorageDefaultObjectAccessControlStatus struct {
	/* Conditions represent the latest available observations of the
	   StorageDefaultObjectAccessControl's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The domain associated with the entity. */
	// +optional
	Domain *string `json:"domain,omitempty"`

	/* The email address associated with the entity. */
	// +optional
	Email *string `json:"email,omitempty"`

	/* The ID for the entity. */
	// +optional
	EntityId *string `json:"entityId,omitempty"`

	/* The content generation of the object, if applied to an object. */
	// +optional
	Generation *int `json:"generation,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 *int `json:"observedGeneration,omitempty"`

	/* The project team associated with the entity. */
	// +optional
	ProjectTeam *DefaultobjectaccesscontrolProjectTeamStatus `json:"projectTeam,omitempty"`
}

func (*StorageDefaultObjectAccessControlStatus) DeepCopy

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

func (*StorageDefaultObjectAccessControlStatus) DeepCopyInto

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

type StorageNotification

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

	Spec   StorageNotificationSpec   `json:"spec,omitempty"`
	Status StorageNotificationStatus `json:"status,omitempty"`
}

StorageNotification is the Schema for the storage API +k8s:openapi-gen=true

func (*StorageNotification) DeepCopy

func (in *StorageNotification) DeepCopy() *StorageNotification

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

func (*StorageNotification) DeepCopyInto

func (in *StorageNotification) DeepCopyInto(out *StorageNotification)

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

func (*StorageNotification) DeepCopyObject

func (in *StorageNotification) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageNotificationList

type StorageNotificationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StorageNotification `json:"items"`
}

StorageNotificationList contains a list of StorageNotification

func (*StorageNotificationList) DeepCopy

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

func (*StorageNotificationList) DeepCopyInto

func (in *StorageNotificationList) DeepCopyInto(out *StorageNotificationList)

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

func (*StorageNotificationList) DeepCopyObject

func (in *StorageNotificationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageNotificationSpec

type StorageNotificationSpec struct {
	BucketRef v1alpha1.ResourceRef `json:"bucketRef"`

	/* Immutable.  A set of key/value attribute pairs to attach to each Cloud Pub/Sub message published for this notification subscription. */
	// +optional
	CustomAttributes map[string]string `json:"customAttributes,omitempty"`

	/* Immutable. List of event type filters for this notification config. If not specified, Cloud Storage will send notifications for all event types. The valid types are: "OBJECT_FINALIZE", "OBJECT_METADATA_UPDATE", "OBJECT_DELETE", "OBJECT_ARCHIVE". */
	// +optional
	EventTypes []string `json:"eventTypes,omitempty"`

	/* Immutable. Specifies a prefix path filter for this notification config. Cloud Storage will only send notifications for objects in this bucket whose names begin with the specified prefix. */
	// +optional
	ObjectNamePrefix *string `json:"objectNamePrefix,omitempty"`

	/* Immutable. The desired content of the Payload. One of "JSON_API_V1" or "NONE". */
	PayloadFormat string `json:"payloadFormat"`

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

	TopicRef v1alpha1.ResourceRef `json:"topicRef"`
}

func (*StorageNotificationSpec) DeepCopy

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

func (*StorageNotificationSpec) DeepCopyInto

func (in *StorageNotificationSpec) DeepCopyInto(out *StorageNotificationSpec)

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

type StorageNotificationStatus

type StorageNotificationStatus struct {
	/* Conditions represent the latest available observations of the
	   StorageNotification's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The ID of the created notification. */
	// +optional
	NotificationId *string `json:"notificationId,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 *int `json:"observedGeneration,omitempty"`

	/* The URI of the created resource. */
	// +optional
	SelfLink *string `json:"selfLink,omitempty"`
}

func (*StorageNotificationStatus) DeepCopy

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

func (*StorageNotificationStatus) DeepCopyInto

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