v1beta1

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 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/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 Action

type Action struct {
	/* The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. */
	StorageClass string `json:"storageClass,omitempty"`
	/* The type of the action of this Lifecycle Rule. Supported values include: Delete and SetStorageClass. */
	Type string `json:"type,omitempty"`
}

func (*Action) DeepCopy

func (in *Action) DeepCopy() *Action

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

func (*Action) DeepCopyInto

func (in *Action) DeepCopyInto(out *Action)

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

type Condition

type Condition struct {
	/* Minimum age of an object in days to satisfy this condition. */
	Age int `json:"age,omitempty"`
	/* Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. */
	CreatedBefore string `json:"createdBefore,omitempty"`
	/* Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. */
	CustomTimeBefore string `json:"customTimeBefore,omitempty"`
	/* Number of days elapsed since the user-specified timestamp set on an object. */
	DaysSinceCustomTime int `json:"daysSinceCustomTime,omitempty"`
	/* Number of days elapsed since the noncurrent timestamp of an object. This
	condition is relevant only for versioned objects. */
	DaysSinceNoncurrentTime int `json:"daysSinceNoncurrentTime,omitempty"`
	/* Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY. */
	MatchesStorageClass []string `json:"matchesStorageClass,omitempty"`
	/* Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. */
	NoncurrentTimeBefore string `json:"noncurrentTimeBefore,omitempty"`
	/* Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition. */
	NumNewerVersions int `json:"numNewerVersions,omitempty"`
	/* Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY". */
	WithState string `json:"withState,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type Cors

type Cors struct {
	/* The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. */
	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". */
	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". */
	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. */
	ResponseHeader []string `json:"responseHeader,omitempty"`
}

func (*Cors) DeepCopy

func (in *Cors) DeepCopy() *Cors

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

func (*Cors) DeepCopyInto

func (in *Cors) DeepCopyInto(out *Cors)

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

type Encryption

type Encryption struct {
	/*  */
	KmsKeyRef v1alpha1.ResourceRef `json:"kmsKeyRef,omitempty"`
}

func (*Encryption) DeepCopy

func (in *Encryption) DeepCopy() *Encryption

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

func (*Encryption) DeepCopyInto

func (in *Encryption) DeepCopyInto(out *Encryption)

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

type LifecycleRule

type LifecycleRule struct {
	/* The Lifecycle Rule's action configuration. A single block of this type is supported. */
	Action Action `json:"action,omitempty"`
	/* The Lifecycle Rule's condition configuration. */
	Condition Condition `json:"condition,omitempty"`
}

func (*LifecycleRule) DeepCopy

func (in *LifecycleRule) DeepCopy() *LifecycleRule

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

func (*LifecycleRule) DeepCopyInto

func (in *LifecycleRule) DeepCopyInto(out *LifecycleRule)

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

type Logging

type Logging struct {
	/* The bucket that will receive log objects. */
	LogBucket string `json:"logBucket,omitempty"`
	/* The object prefix for log objects. If it's not provided, by default Google Cloud Storage sets this to this bucket's name. */
	LogObjectPrefix string `json:"logObjectPrefix,omitempty"`
}

func (*Logging) DeepCopy

func (in *Logging) DeepCopy() *Logging

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

func (*Logging) DeepCopyInto

func (in *Logging) DeepCopyInto(out *Logging)

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

type ProjectTeam

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

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

func (*ProjectTeam) DeepCopy

func (in *ProjectTeam) DeepCopy() *ProjectTeam

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

func (*ProjectTeam) DeepCopyInto

func (in *ProjectTeam) DeepCopyInto(out *ProjectTeam)

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

type RetentionPolicy

type RetentionPolicy 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. */
	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,omitempty"`
}

func (*RetentionPolicy) DeepCopy

func (in *RetentionPolicy) DeepCopy() *RetentionPolicy

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

func (*RetentionPolicy) DeepCopyInto

func (in *RetentionPolicy) DeepCopyInto(out *RetentionPolicy)

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.ObjectMeta `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,omitempty"`
	/* 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,omitempty"`
	/* The access permission for the entity. Possible values: ["OWNER", "READER", "WRITER"] */
	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 represents the latest available observations of the
	   StorageBucketAccessControl's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The domain associated with the entity. */
	Domain string `json:"domain,omitempty"`
	/* The email address associated with the entity. */
	Email string `json:"email,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.ObjectMeta `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 {
	/* DEPRECATED — Please use the uniform_bucket_level_access as this field has been renamed by Google. Enables Bucket Policy Only access to a bucket. */
	BucketPolicyOnly bool `json:"bucketPolicyOnly,omitempty"`
	/* The bucket's Cross-Origin Resource Sharing (CORS) configuration. */
	Cors []Cors `json:"cors,omitempty"`
	/*  */
	DefaultEventBasedHold bool `json:"defaultEventBasedHold,omitempty"`
	/* The bucket's encryption configuration. */
	Encryption Encryption `json:"encryption,omitempty"`
	/* The bucket's Lifecycle Rules configuration. */
	LifecycleRule []LifecycleRule `json:"lifecycleRule,omitempty"`
	/* Immutable. The Google Cloud Storage location */
	Location string `json:"location,omitempty"`
	/* The bucket's Access & Storage Logs configuration. */
	Logging Logging `json:"logging,omitempty"`
	/* Enables Requester Pays on a storage bucket. */
	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. */
	ResourceID string `json:"resourceID,omitempty"`
	/* Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. */
	RetentionPolicy RetentionPolicy `json:"retentionPolicy,omitempty"`
	/* The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. */
	StorageClass string `json:"storageClass,omitempty"`
	/* Enables uniform bucket-level access on a bucket. */
	UniformBucketLevelAccess bool `json:"uniformBucketLevelAccess,omitempty"`
	/* The bucket's Versioning configuration. */
	Versioning Versioning `json:"versioning,omitempty"`
	/* Configuration if the bucket acts as a website. */
	Website Website `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 represents the latest available observations of the
	   StorageBucket's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The URI of the created resource. */
	SelfLink string `json:"selfLink,omitempty"`
	/* The base URL of the bucket, in the format gs://<bucket-name>. */
	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.ObjectMeta `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,omitempty"`
	/* 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,omitempty"`
	/* The name of the object, if applied to an object. */
	Object string `json:"object,omitempty"`
	/* The access permission for the entity. Possible values: ["OWNER", "READER"] */
	Role string `json:"role,omitempty"`
}

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 represents the latest available observations of the
	   StorageDefaultObjectAccessControl's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The domain associated with the entity. */
	Domain string `json:"domain,omitempty"`
	/* The email address associated with the entity. */
	Email string `json:"email,omitempty"`
	/* The ID for the entity */
	EntityId string `json:"entityId,omitempty"`
	/* The content generation of the object, if applied to an object. */
	Generation int `json:"generation,omitempty"`
	/* The project team associated with the entity */
	ProjectTeam ProjectTeam `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.ObjectMeta `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,omitempty"`
	/* Immutable.  A set of key/value attribute pairs to attach to each Cloud Pub/Sub message published for this notification subscription */
	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" */
	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. */
	ObjectNamePrefix string `json:"objectNamePrefix,omitempty"`
	/* Immutable. The desired content of the Payload. One of "JSON_API_V1" or "NONE". */
	PayloadFormat string `json:"payloadFormat,omitempty"`
	/* Immutable. Optional. The service-generated notificationId of the resource. Used for acquisition only. Leave unset to create a new resource. */
	ResourceID string `json:"resourceID,omitempty"`
	/*  */
	TopicRef v1alpha1.ResourceRef `json:"topicRef,omitempty"`
}

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 represents the latest available observations of the
	   StorageNotification's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The ID of the created notification. */
	NotificationId string `json:"notificationId,omitempty"`
	/* The URI of the created resource. */
	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.

type Versioning

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

func (*Versioning) DeepCopy

func (in *Versioning) DeepCopy() *Versioning

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

func (*Versioning) DeepCopyInto

func (in *Versioning) DeepCopyInto(out *Versioning)

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

type Website

type Website struct {
	/* Behaves as the bucket's directory index where missing objects are treated as potential directories. */
	MainPageSuffix string `json:"mainPageSuffix,omitempty"`
	/* The custom object to return when a requested resource is not found. */
	NotFoundPage string `json:"notFoundPage,omitempty"`
}

func (*Website) DeepCopy

func (in *Website) DeepCopy() *Website

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

func (*Website) DeepCopyInto

func (in *Website) DeepCopyInto(out *Website)

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