Documentation ¶
Overview ¶
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 ¶
- Variables
- type BucketAction
- type BucketAutoclass
- type BucketCondition
- type BucketCors
- type BucketCustomPlacementConfig
- type BucketEncryption
- type BucketLifecycleRule
- type BucketLogging
- type BucketObservedStateStatus
- type BucketRetentionPolicy
- type BucketSoftDeletePolicy
- type BucketSoftDeletePolicyStatus
- type BucketVersioning
- type BucketWebsite
- type DefaultobjectaccesscontrolProjectTeamStatus
- type StorageBucket
- type StorageBucketAccessControl
- type StorageBucketAccessControlList
- type StorageBucketAccessControlSpec
- type StorageBucketAccessControlStatus
- type StorageBucketList
- type StorageBucketSpec
- type StorageBucketStatus
- type StorageDefaultObjectAccessControl
- type StorageDefaultObjectAccessControlList
- type StorageDefaultObjectAccessControlSpec
- type StorageDefaultObjectAccessControlStatus
- type StorageNotification
- type StorageNotificationList
- type StorageNotificationSpec
- type StorageNotificationStatus
Constants ¶
This section is empty.
Variables ¶
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 *int64 `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 *int64 `json:"daysSinceCustomTime,omitempty"` /* Number of days elapsed since the noncurrent timestamp of an object. This condition is relevant only for versioned objects. */ // +optional DaysSinceNoncurrentTime *int64 `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 *int64 `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 *int64 `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
func (in *BucketCustomPlacementConfig) DeepCopy() *BucketCustomPlacementConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketCustomPlacementConfig.
func (*BucketCustomPlacementConfig) DeepCopyInto ¶ added in v1.97.0
func (in *BucketCustomPlacementConfig) DeepCopyInto(out *BucketCustomPlacementConfig)
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 BucketObservedStateStatus ¶ added in v1.120.0
type BucketObservedStateStatus struct { /* The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy. */ // +optional SoftDeletePolicy *BucketSoftDeletePolicyStatus `json:"softDeletePolicy,omitempty"` }
func (*BucketObservedStateStatus) DeepCopy ¶ added in v1.120.0
func (in *BucketObservedStateStatus) DeepCopy() *BucketObservedStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketObservedStateStatus.
func (*BucketObservedStateStatus) DeepCopyInto ¶ added in v1.120.0
func (in *BucketObservedStateStatus) DeepCopyInto(out *BucketObservedStateStatus)
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 int64 `json:"retentionPeriod"` }
func (*BucketRetentionPolicy) DeepCopy ¶
func (in *BucketRetentionPolicy) DeepCopy() *BucketRetentionPolicy
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 BucketSoftDeletePolicy ¶ added in v1.120.0
type BucketSoftDeletePolicy struct { /* The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. */ // +optional RetentionDurationSeconds *int64 `json:"retentionDurationSeconds,omitempty"` }
func (*BucketSoftDeletePolicy) DeepCopy ¶ added in v1.120.0
func (in *BucketSoftDeletePolicy) DeepCopy() *BucketSoftDeletePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketSoftDeletePolicy.
func (*BucketSoftDeletePolicy) DeepCopyInto ¶ added in v1.120.0
func (in *BucketSoftDeletePolicy) DeepCopyInto(out *BucketSoftDeletePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketSoftDeletePolicyStatus ¶ added in v1.120.0
type BucketSoftDeletePolicyStatus struct { /* Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format. */ // +optional EffectiveTime *string `json:"effectiveTime,omitempty"` /* The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. */ // +optional RetentionDurationSeconds *int64 `json:"retentionDurationSeconds,omitempty"` }
func (*BucketSoftDeletePolicyStatus) DeepCopy ¶ added in v1.120.0
func (in *BucketSoftDeletePolicyStatus) DeepCopy() *BucketSoftDeletePolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketSoftDeletePolicyStatus.
func (*BucketSoftDeletePolicyStatus) DeepCopyInto ¶ added in v1.120.0
func (in *BucketSoftDeletePolicyStatus) DeepCopyInto(out *BucketSoftDeletePolicyStatus)
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 ¶
func (in *DefaultobjectaccesscontrolProjectTeamStatus) DeepCopy() *DefaultobjectaccesscontrolProjectTeamStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultobjectaccesscontrolProjectTeamStatus.
func (*DefaultobjectaccesscontrolProjectTeamStatus) DeepCopyInto ¶
func (in *DefaultobjectaccesscontrolProjectTeamStatus) DeepCopyInto(out *DefaultobjectaccesscontrolProjectTeamStatus)
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 ¶
func (in *StorageBucketAccessControl) DeepCopy() *StorageBucketAccessControl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBucketAccessControl.
func (*StorageBucketAccessControl) DeepCopyInto ¶
func (in *StorageBucketAccessControl) DeepCopyInto(out *StorageBucketAccessControl)
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 ¶
func (in *StorageBucketAccessControlList) DeepCopy() *StorageBucketAccessControlList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBucketAccessControlList.
func (*StorageBucketAccessControlList) DeepCopyInto ¶
func (in *StorageBucketAccessControlList) DeepCopyInto(out *StorageBucketAccessControlList)
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 ¶
func (in *StorageBucketAccessControlSpec) DeepCopy() *StorageBucketAccessControlSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBucketAccessControlSpec.
func (*StorageBucketAccessControlSpec) DeepCopyInto ¶
func (in *StorageBucketAccessControlSpec) DeepCopyInto(out *StorageBucketAccessControlSpec)
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 *int64 `json:"observedGeneration,omitempty"` }
func (*StorageBucketAccessControlStatus) DeepCopy ¶
func (in *StorageBucketAccessControlStatus) DeepCopy() *StorageBucketAccessControlStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBucketAccessControlStatus.
func (*StorageBucketAccessControlStatus) DeepCopyInto ¶
func (in *StorageBucketAccessControlStatus) DeepCopyInto(out *StorageBucketAccessControlStatus)
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 bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy. */ // +optional SoftDeletePolicy *BucketSoftDeletePolicy `json:"softDeletePolicy,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 *int64 `json:"observedGeneration,omitempty"` /* The observed state of the underlying GCP resource. */ // +optional ObservedState *BucketObservedStateStatus `json:"observedState,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 ¶
func (in *StorageDefaultObjectAccessControl) DeepCopy() *StorageDefaultObjectAccessControl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageDefaultObjectAccessControl.
func (*StorageDefaultObjectAccessControl) DeepCopyInto ¶
func (in *StorageDefaultObjectAccessControl) DeepCopyInto(out *StorageDefaultObjectAccessControl)
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 ¶
func (in *StorageDefaultObjectAccessControlList) DeepCopy() *StorageDefaultObjectAccessControlList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageDefaultObjectAccessControlList.
func (*StorageDefaultObjectAccessControlList) DeepCopyInto ¶
func (in *StorageDefaultObjectAccessControlList) DeepCopyInto(out *StorageDefaultObjectAccessControlList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageDefaultObjectAccessControlList) DeepCopyObject ¶
func (in *StorageDefaultObjectAccessControlList) DeepCopyObject() runtime.Object
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 ¶
func (in *StorageDefaultObjectAccessControlSpec) DeepCopy() *StorageDefaultObjectAccessControlSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageDefaultObjectAccessControlSpec.
func (*StorageDefaultObjectAccessControlSpec) DeepCopyInto ¶
func (in *StorageDefaultObjectAccessControlSpec) DeepCopyInto(out *StorageDefaultObjectAccessControlSpec)
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 *int64 `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 *int64 `json:"observedGeneration,omitempty"` /* The project team associated with the entity. */ // +optional ProjectTeam *DefaultobjectaccesscontrolProjectTeamStatus `json:"projectTeam,omitempty"` }
func (*StorageDefaultObjectAccessControlStatus) DeepCopy ¶
func (in *StorageDefaultObjectAccessControlStatus) DeepCopy() *StorageDefaultObjectAccessControlStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageDefaultObjectAccessControlStatus.
func (*StorageDefaultObjectAccessControlStatus) DeepCopyInto ¶
func (in *StorageDefaultObjectAccessControlStatus) DeepCopyInto(out *StorageDefaultObjectAccessControlStatus)
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 ¶
func (in *StorageNotificationList) DeepCopy() *StorageNotificationList
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 ¶
func (in *StorageNotificationSpec) DeepCopy() *StorageNotificationSpec
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 *int64 `json:"observedGeneration,omitempty"` /* The URI of the created resource. */ // +optional SelfLink *string `json:"selfLink,omitempty"` }
func (*StorageNotificationStatus) DeepCopy ¶
func (in *StorageNotificationStatus) DeepCopy() *StorageNotificationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageNotificationStatus.
func (*StorageNotificationStatus) DeepCopyInto ¶
func (in *StorageNotificationStatus) DeepCopyInto(out *StorageNotificationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.