v1alpha1

package
v1.125.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the bigquery v1alpha1 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/bigquery +k8s:defaulter-gen=TypeMeta +groupName=bigquery.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: "bigquery.cnrm.cloud.google.com", Version: "v1alpha1"}

	// 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

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

Functions

This section is empty.

Types

type BigQueryDatasetAccess

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

	Spec   BigQueryDatasetAccessSpec   `json:"spec,omitempty"`
	Status BigQueryDatasetAccessStatus `json:"status,omitempty"`
}

BigQueryDatasetAccess is the Schema for the bigquery API +k8s:openapi-gen=true

func (*BigQueryDatasetAccess) DeepCopy

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

func (*BigQueryDatasetAccess) DeepCopyInto

func (in *BigQueryDatasetAccess) DeepCopyInto(out *BigQueryDatasetAccess)

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

func (*BigQueryDatasetAccess) DeepCopyObject

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

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

type BigQueryDatasetAccessList

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

BigQueryDatasetAccessList contains a list of BigQueryDatasetAccess

func (*BigQueryDatasetAccessList) DeepCopy

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

func (*BigQueryDatasetAccessList) DeepCopyInto

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

func (*BigQueryDatasetAccessList) DeepCopyObject

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

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

type BigQueryDatasetAccessSpec

type BigQueryDatasetAccessSpec struct {
	/* Immutable. Grants all resources of particular types in a particular dataset read access to the current dataset. */
	// +optional
	Dataset *DatasetaccessDataset `json:"dataset,omitempty"`

	/* Immutable. A unique ID for this dataset, without the project name. The ID
	must contain only letters (a-z, A-Z), numbers (0-9), or
	underscores (_). The maximum length is 1,024 characters. */
	DatasetId string `json:"datasetId"`

	/* Immutable. A domain to grant access to. Any users signed in with the
	domain specified will be granted the specified access. */
	// +optional
	Domain *string `json:"domain,omitempty"`

	/* Immutable. An email address of a Google Group to grant access to. */
	// +optional
	GroupByEmail *string `json:"groupByEmail,omitempty"`

	/* Immutable. Some other type of member that appears in the IAM Policy but isn't a user,
	group, domain, or special group. For example: 'allUsers'. */
	// +optional
	IamMember *string `json:"iamMember,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The routine 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"`

	/* Immutable. Describes the rights granted to the user specified by the other
	member of the access object. Basic, predefined, and custom roles are
	supported. Predefined roles that have equivalent basic roles are
	swapped by the API to their basic counterparts, and will show a diff
	post-create. See
	[official docs](https://cloud.google.com/bigquery/docs/access-control). */
	// +optional
	Role *string `json:"role,omitempty"`

	/* Immutable. A special group to grant access to. Possible values include:


	* 'projectOwners': Owners of the enclosing project.


	* 'projectReaders': Readers of the enclosing project.


	* 'projectWriters': Writers of the enclosing project.


	* 'allAuthenticatedUsers': All authenticated BigQuery users. */
	// +optional
	SpecialGroup *string `json:"specialGroup,omitempty"`

	/* Immutable. An email address of a user to grant access to. For example:
	fred@example.com. */
	// +optional
	UserByEmail *string `json:"userByEmail,omitempty"`

	/* Immutable. A view from a different dataset to grant access to. Queries
	executed against that view will have read access to tables in
	this dataset. The role field is not required when this field is
	set. If that view is updated by any user, access to the view
	needs to be granted again via an update operation. */
	// +optional
	View *DatasetaccessView `json:"view,omitempty"`
}

func (*BigQueryDatasetAccessSpec) DeepCopy

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

func (*BigQueryDatasetAccessSpec) DeepCopyInto

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

type BigQueryDatasetAccessStatus

type BigQueryDatasetAccessStatus struct {
	/* Conditions represent the latest available observations of the
	   BigQueryDatasetAccess's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* If true, represents that that the iam_member in the config was translated to a different member type by the API, and is stored in state as a different member type. */
	// +optional
	ApiUpdatedMember *bool `json:"apiUpdatedMember,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 (*BigQueryDatasetAccessStatus) DeepCopy

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

func (*BigQueryDatasetAccessStatus) DeepCopyInto

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

type DatasetaccessDataset

type DatasetaccessDataset struct {
	/* Immutable. The ID of the dataset containing this table. */
	DatasetId string `json:"datasetId"`

	/* Immutable. The ID of the project containing this table. */
	ProjectId string `json:"projectId"`
}

func (*DatasetaccessDataset) DeepCopy

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

func (*DatasetaccessDataset) DeepCopyInto

func (in *DatasetaccessDataset) DeepCopyInto(out *DatasetaccessDataset)

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

type DatasetaccessView

type DatasetaccessView struct {
	/* Immutable. The ID of the dataset containing this table. */
	DatasetId string `json:"datasetId"`

	/* Immutable. The ID of the project containing this table. */
	ProjectId string `json:"projectId"`

	/* Immutable. The ID of the table. The ID must contain only letters (a-z,
	A-Z), numbers (0-9), or underscores (_). The maximum length
	is 1,024 characters. */
	TableId string `json:"tableId"`
}

func (*DatasetaccessView) DeepCopy

func (in *DatasetaccessView) DeepCopy() *DatasetaccessView

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

func (*DatasetaccessView) DeepCopyInto

func (in *DatasetaccessView) DeepCopyInto(out *DatasetaccessView)

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