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: 17 Imported by: 0

Documentation

Overview

+kcc:proto=google.cloud.bigquery.connection.v1

+kubebuilder:object:generate=true +groupName=bigqueryconnection.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "bigqueryconnection.cnrm.cloud.google.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var BigQueryConnectionConnectionGVK = GroupVersion.WithKind("BigQueryConnectionConnection")

Functions

This section is empty.

Types

type AwsAccessRole

type AwsAccessRole struct {
	// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
	//  Connection.
	IamRoleID *string `json:"iamRoleID,omitempty"`

	// A unique Google-owned and Google-generated identity for the Connection.
	//  This identity will be used to access the user's AWS IAM Role.
	Identity *string `json:"identity,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.AwsAccessRole

func (*AwsAccessRole) DeepCopy

func (in *AwsAccessRole) DeepCopy() *AwsAccessRole

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

func (*AwsAccessRole) DeepCopyInto

func (in *AwsAccessRole) DeepCopyInto(out *AwsAccessRole)

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

type AwsAccessRoleSpec added in v1.124.0

type AwsAccessRoleSpec struct {
	// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
	//  Connection.
	// +required
	IamRoleID *string `json:"iamRoleID,omitempty"`
}

func (*AwsAccessRoleSpec) DeepCopy added in v1.124.0

func (in *AwsAccessRoleSpec) DeepCopy() *AwsAccessRoleSpec

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

func (*AwsAccessRoleSpec) DeepCopyInto added in v1.124.0

func (in *AwsAccessRoleSpec) DeepCopyInto(out *AwsAccessRoleSpec)

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

type AwsAccessRoleStatus added in v1.124.0

type AwsAccessRoleStatus struct {
	// A unique Google-owned and Google-generated identity for the Connection.
	//  This identity will be used to access the user's AWS IAM Role.
	Identity *string `json:"identity,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.AwsAccessRole

func (*AwsAccessRoleStatus) DeepCopy added in v1.124.0

func (in *AwsAccessRoleStatus) DeepCopy() *AwsAccessRoleStatus

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

func (*AwsAccessRoleStatus) DeepCopyInto added in v1.124.0

func (in *AwsAccessRoleStatus) DeepCopyInto(out *AwsAccessRoleStatus)

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

type AwsCrossAccountRole

type AwsCrossAccountRole struct {
	// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
	//  Connection.
	IamRoleID *string `json:"iamRoleID,omitempty"`

	// Output only. Google-owned AWS IAM User for a Connection.
	IamUserID *string `json:"iamUserID,omitempty"`

	// Output only. A Google-generated id for representing Connection’s identity
	//  in AWS. External Id is also used for preventing the Confused Deputy
	//  Problem. See
	//  https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html
	ExternalID *string `json:"externalID,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.AwsCrossAccountRole

func (*AwsCrossAccountRole) DeepCopy

func (in *AwsCrossAccountRole) DeepCopy() *AwsCrossAccountRole

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

func (*AwsCrossAccountRole) DeepCopyInto

func (in *AwsCrossAccountRole) DeepCopyInto(out *AwsCrossAccountRole)

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

type AwsProperties

type AwsProperties struct {
	// Authentication using Google owned AWS IAM user's access key to assume
	//  into customer's AWS IAM Role.
	//  Deprecated, do not use.
	CrossAccountRole *AwsCrossAccountRole `json:"crossAccountRole,omitempty"`

	// Authentication using Google owned service account to assume into
	//  customer's AWS IAM Role.
	AccessRole *AwsAccessRole `json:"accessRole,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.AwsProperties

func (*AwsProperties) DeepCopy

func (in *AwsProperties) DeepCopy() *AwsProperties

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

func (*AwsProperties) DeepCopyInto

func (in *AwsProperties) DeepCopyInto(out *AwsProperties)

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

type AwsPropertiesSpec added in v1.124.0

type AwsPropertiesSpec struct {
	// Authentication using Google owned service account to assume into
	//  customer's AWS IAM Role.
	// +required
	AccessRole *AwsAccessRoleSpec `json:"accessRole,omitempty"`
}

func (*AwsPropertiesSpec) DeepCopy added in v1.124.0

func (in *AwsPropertiesSpec) DeepCopy() *AwsPropertiesSpec

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

func (*AwsPropertiesSpec) DeepCopyInto added in v1.124.0

func (in *AwsPropertiesSpec) DeepCopyInto(out *AwsPropertiesSpec)

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

type AwsPropertiesStatus added in v1.124.0

type AwsPropertiesStatus struct {
	AccessRole *AwsAccessRoleStatus `json:"accessRole,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.AwsProperties

func (*AwsPropertiesStatus) DeepCopy added in v1.124.0

func (in *AwsPropertiesStatus) DeepCopy() *AwsPropertiesStatus

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

func (*AwsPropertiesStatus) DeepCopyInto added in v1.124.0

func (in *AwsPropertiesStatus) DeepCopyInto(out *AwsPropertiesStatus)

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

type AzureProperties

type AzureProperties struct {
	// Output only. The name of the Azure Active Directory Application.
	Application *string `json:"application,omitempty"`

	// Output only. The client id of the Azure Active Directory Application.
	ClientID *string `json:"clientID,omitempty"`

	// Output only. The object id of the Azure Active Directory Application.
	ObjectID *string `json:"objectID,omitempty"`

	// The id of customer's directory that host the data.
	CustomerTenantID *string `json:"customerTenantID,omitempty"`

	// The URL user will be redirected to after granting consent during connection
	//  setup.
	RedirectUri *string `json:"redirectUri,omitempty"`

	// The client ID of the user's Azure Active Directory Application used for a
	//  federated connection.
	FederatedApplicationClientID *string `json:"federatedApplicationClientID,omitempty"`

	// Output only. A unique Google-owned and Google-generated identity for the
	//  Connection. This identity will be used to access the user's Azure Active
	//  Directory Application.
	Identity *string `json:"identity,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.AzureProperties

func (*AzureProperties) DeepCopy

func (in *AzureProperties) DeepCopy() *AzureProperties

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

func (*AzureProperties) DeepCopyInto

func (in *AzureProperties) DeepCopyInto(out *AzureProperties)

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

type AzurePropertiesSpec added in v1.124.0

type AzurePropertiesSpec struct {
	// The id of customer's directory that host the data.
	// +required
	CustomerTenantID *string `json:"customerTenantID,omitempty"`

	// The client ID of the user's Azure Active Directory Application used for a
	//  federated connection.
	FederatedApplicationClientID *string `json:"federatedApplicationClientID,omitempty"`
}

func (*AzurePropertiesSpec) DeepCopy added in v1.124.0

func (in *AzurePropertiesSpec) DeepCopy() *AzurePropertiesSpec

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

func (*AzurePropertiesSpec) DeepCopyInto added in v1.124.0

func (in *AzurePropertiesSpec) DeepCopyInto(out *AzurePropertiesSpec)

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

type AzurePropertiesStatus added in v1.124.0

type AzurePropertiesStatus struct {
	// The name of the Azure Active Directory Application.
	Application *string `json:"application,omitempty"`

	// The client id of the Azure Active Directory Application.
	ClientID *string `json:"clientID,omitempty"`

	// The object id of the Azure Active Directory Application.
	ObjectID *string `json:"objectID,omitempty"`

	// The URL user will be redirected to after granting consent during connection
	//  setup.
	RedirectUri *string `json:"redirectUri,omitempty"`

	// A unique Google-owned and Google-generated identity for the
	//  Connection. This identity will be used to access the user's Azure Active
	//  Directory Application.
	Identity *string `json:"identity,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.AzureProperties

func (*AzurePropertiesStatus) DeepCopy added in v1.124.0

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

func (*AzurePropertiesStatus) DeepCopyInto added in v1.124.0

func (in *AzurePropertiesStatus) DeepCopyInto(out *AzurePropertiesStatus)

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

type BigQueryConnectionConnection

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

	Spec   BigQueryConnectionConnectionSpec   `json:"spec,omitempty"`
	Status BigQueryConnectionConnectionStatus `json:"status,omitempty"`
}

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

func (*BigQueryConnectionConnection) DeepCopy

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

func (*BigQueryConnectionConnection) DeepCopyInto

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

func (*BigQueryConnectionConnection) DeepCopyObject

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

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

type BigQueryConnectionConnectionList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object BigQueryConnectionConnectionList contains a list of BigQueryConnectionConnection

func (*BigQueryConnectionConnectionList) DeepCopy

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

func (*BigQueryConnectionConnectionList) DeepCopyInto

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

func (*BigQueryConnectionConnectionList) DeepCopyObject

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

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

type BigQueryConnectionConnectionObservedState

type BigQueryConnectionConnectionObservedState struct {
	Aws *AwsPropertiesStatus `json:"aws,omitempty"`

	Azure *AzurePropertiesStatus `json:"azure,omitempty"`

	CloudResource *CloudResourcePropertiesStatus `json:"cloudResource,omitempty"`

	CloudSQL *CloudSqlPropertiesStatus `json:"cloudSQL,omitempty"`

	Spark *SparkPropertiesStatus `json:"spark,omitempty"`

	// The display name for the connection.
	FriendlyName *string `json:"friendlyName,omitempty"`

	// The description for the connection.
	Description *string `json:"description,omitempty"`

	// Output only. True, if credential is configured for this connection.
	HasCredential *bool `json:"hasCredential,omitempty"`
}

BigQueryConnectionConnectionSpec defines the desired state of BigQueryConnectionConnection +kcc:proto=google.cloud.bigquery.connection.v1.Connection

func (*BigQueryConnectionConnectionObservedState) DeepCopy

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

func (*BigQueryConnectionConnectionObservedState) DeepCopyInto

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

type BigQueryConnectionConnectionRef

type BigQueryConnectionConnectionRef struct {
	// A reference to an externally managed BigQueryConnectionConnection resource.
	// Should be in the format `projects/<projectID>/locations/<location>/connections/<connectionID>`.
	External string `json:"external,omitempty"`

	// The `name` of a `BigQueryConnectionConnection` resource.
	Name string `json:"name,omitempty"`
	// The `namespace` of a `BigQueryConnectionConnection` resource.
	Namespace string `json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

BigQueryConnectionConnectionRef defines the resource reference to BigQueryConnectionConnection, which "External" field holds the GCP identifier for the KRM object.

func NewBigQueryConnectionConnectionRef added in v1.124.0

func NewBigQueryConnectionConnectionRef(ctx context.Context, reader client.Reader, obj *BigQueryConnectionConnection) (*BigQueryConnectionConnectionRef, error)

NewBigQueryConnectionConnectionRef builds a BigQueryConnectionConnectionRef from the ConfigConnector BigQueryConnectionConnection object.

func (*BigQueryConnectionConnectionRef) DeepCopy

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

func (*BigQueryConnectionConnectionRef) DeepCopyInto

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

func (*BigQueryConnectionConnectionRef) NormalizedExternal added in v1.124.0

func (r *BigQueryConnectionConnectionRef) NormalizedExternal(ctx context.Context, reader client.Reader, othernamespace string) (string, error)

NormalizedExternal provision the "External" value. If the "External" comes from the ConfigConnector object, it has to acquire or reconcile with the GCP resource already.

func (*BigQueryConnectionConnectionRef) Parent

type BigQueryConnectionConnectionSpec

type BigQueryConnectionConnectionSpec struct {
	Parent `json:",inline"`

	// Immutable. Optional.
	// The BigQuery Connection ID used for resource creation or acquisition.
	// For creation: If specified, this value is used as the connection ID. If not provided, a UUID will be generated and assigned as the connection ID.
	// For acquisition: This field must be provided to identify the connection resource to acquire.
	ResourceID *string `json:"resourceID,omitempty"`

	// User provided display name for the connection.
	FriendlyName *string `json:"friendlyName,omitempty"`

	// User provided description.
	Description *string `json:"description,omitempty"`

	// Cloud SQL properties.
	CloudSQLSpec *CloudSqlPropertiesSpec `json:"cloudSQL,omitempty"`

	// Amazon Web Services (AWS) properties.
	AwsSpec *AwsPropertiesSpec `json:"aws,omitempty"`

	// Azure properties.
	AzureSpec *AzurePropertiesSpec `json:"azure,omitempty"`

	// Use Cloud Resource properties.
	CloudResourceSpec *CloudResourcePropertiesSpec `json:"cloudResource,omitempty"`

	// Cloud Spanner properties.
	CloudSpannerSpec *CloudSpannerPropertiesSpec `json:"cloudSpanner,omitempty"`

	// Spark properties.
	SparkSpec *SparkPropertiesSpec `json:"spark,omitempty"`
}

BigQueryConnectionConnectionSpec defines the desired state to connect BigQuery to external resources +kcc:proto=google.cloud.bigquery.connection.v1.Connection

func (*BigQueryConnectionConnectionSpec) DeepCopy

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

func (*BigQueryConnectionConnectionSpec) DeepCopyInto

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

type BigQueryConnectionConnectionStatus

type BigQueryConnectionConnectionStatus struct {
	/* Conditions represent the latest available observations of the
	   object'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.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	// A unique specifier for the BigQueryConnectionConnection resource in GCP.
	ExternalRef *string `json:"externalRef,omitempty"`

	// ObservedState is the state of the resource as most recently observed in GCP.
	ObservedState *BigQueryConnectionConnectionObservedState `json:"observedState,omitempty"`
}

BigQueryConnectionConnectionStatus defines the config connector machine state of BigQueryConnectionConnection

func (*BigQueryConnectionConnectionStatus) DeepCopy

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

func (*BigQueryConnectionConnectionStatus) DeepCopyInto

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

type CloudResourceProperties

type CloudResourceProperties struct {
	// Output only. The account ID of the service created for the purpose of this
	//  connection.
	//
	//  The service account does not have any permissions associated with it
	//  when it is created. After creation, customers delegate permissions
	//  to the service account. When the connection is used in the context of an
	//  operation in BigQuery, the service account will be used to connect to the
	//  desired resources in GCP.
	//
	//  The account ID is in the form of:
	//    <service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
	ServiceAccountID *string `json:"serviceAccountID,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.CloudResourceProperties

func (*CloudResourceProperties) DeepCopy

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

func (*CloudResourceProperties) DeepCopyInto

func (in *CloudResourceProperties) DeepCopyInto(out *CloudResourceProperties)

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

type CloudResourcePropertiesSpec

type CloudResourcePropertiesSpec struct{}

func (*CloudResourcePropertiesSpec) DeepCopy

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

func (*CloudResourcePropertiesSpec) DeepCopyInto

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

type CloudResourcePropertiesStatus

type CloudResourcePropertiesStatus struct {
	//  The account ID of the service created for the purpose of this
	//  connection.
	//
	//  The service account does not have any permissions associated with it
	//  when it is created. After creation, customers delegate permissions
	//  to the service account. When the connection is used in the context of an
	//  operation in BigQuery, the service account will be used to connect to the
	//  desired resources in GCP.
	//
	//  The account ID is in the form of:
	//    <service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
	ServiceAccountID *string `json:"serviceAccountID,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.CloudResourceProperties

func (*CloudResourcePropertiesStatus) DeepCopy

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

func (*CloudResourcePropertiesStatus) DeepCopyInto

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

type CloudSpannerProperties

type CloudSpannerProperties struct {
	// Cloud Spanner database in the form `project/instance/database'
	Database *string `json:"database,omitempty"`

	// If parallelism should be used when reading from Cloud Spanner
	UseParallelism *bool `json:"useParallelism,omitempty"`

	// Allows setting max parallelism per query when executing on Spanner
	//  independent compute resources. If unspecified, default values of
	//  parallelism are chosen that are dependent on the Cloud Spanner instance
	//  configuration.
	//
	//  REQUIRES: `use_parallelism` must be set.
	//  REQUIRES: Either `use_data_boost` or `use_serverless_analytics` must be
	//  set.
	MaxParallelism *int32 `json:"maxParallelism,omitempty"`

	// If the serverless analytics service should be used to read data from Cloud
	//  Spanner.
	//  Note: `use_parallelism` must be set when using serverless analytics.
	UseServerlessAnalytics *bool `json:"useServerlessAnalytics,omitempty"`

	// If set, the request will be executed via Spanner independent compute
	//  resources.
	//  REQUIRES: `use_parallelism` must be set.
	//
	//  NOTE: `use_serverless_analytics` will be deprecated. Prefer
	//  `use_data_boost` over `use_serverless_analytics`.
	UseDataBoost *bool `json:"useDataBoost,omitempty"`

	// Optional. Cloud Spanner database role for fine-grained access control.
	//  The Cloud Spanner admin should have provisioned the database role with
	//  appropriate permissions, such as `SELECT` and `INSERT`. Other users should
	//  only use roles provided by their Cloud Spanner admins.
	//
	//  For more details, see [About fine-grained access control]
	//  (https://cloud.google.com/spanner/docs/fgac-about).
	//
	//  REQUIRES: The database role name must start with a letter, and can only
	//  contain letters, numbers, and underscores.
	DatabaseRole *string `json:"databaseRole,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.CloudSpannerProperties

func (*CloudSpannerProperties) DeepCopy

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

func (*CloudSpannerProperties) DeepCopyInto

func (in *CloudSpannerProperties) DeepCopyInto(out *CloudSpannerProperties)

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

type CloudSpannerPropertiesSpec added in v1.124.0

type CloudSpannerPropertiesSpec struct {
	// Reference to a spanner database ID.
	// +required
	DatabaseRef *refv1beta1.SpannerDatabaseRef `json:"databaseRef,omitempty"`

	// If parallelism should be used when reading from Cloud Spanner
	UseParallelism *bool `json:"useParallelism,omitempty"`

	// Allows setting max parallelism per query when executing on Spanner
	//  independent compute resources. If unspecified, default values of
	//  parallelism are chosen that are dependent on the Cloud Spanner instance
	//  configuration.
	//
	//  REQUIRES: `use_parallelism` must be set.
	//  REQUIRES: Either `use_data_boost` or `use_serverless_analytics` must be
	//  set.
	MaxParallelism *int32 `json:"maxParallelism,omitempty"`

	// If the serverless analytics service should be used to read data from Cloud
	//  Spanner.
	//  Note: `use_parallelism` must be set when using serverless analytics.
	UseServerlessAnalytics *bool `json:"useServerlessAnalytics,omitempty"`

	// If set, the request will be executed via Spanner independent compute
	//  resources.
	//  REQUIRES: `use_parallelism` must be set.
	//
	//  NOTE: `use_serverless_analytics` will be deprecated. Prefer
	//  `use_data_boost` over `use_serverless_analytics`.
	UseDataBoost *bool `json:"useDataBoost,omitempty"`

	// Optional. Cloud Spanner database role for fine-grained access control.
	//  The Cloud Spanner admin should have provisioned the database role with
	//  appropriate permissions, such as `SELECT` and `INSERT`. Other users should
	//  only use roles provided by their Cloud Spanner admins.
	//
	//  For more details, see [About fine-grained access control]
	//  (https://cloud.google.com/spanner/docs/fgac-about).
	//
	//  REQUIRES: The database role name must start with a letter, and can only
	//  contain letters, numbers, and underscores.
	DatabaseRole *string `json:"databaseRole,omitempty"`
}

func (*CloudSpannerPropertiesSpec) DeepCopy added in v1.124.0

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

func (*CloudSpannerPropertiesSpec) DeepCopyInto added in v1.124.0

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

type CloudSqlCredential

type CloudSqlCredential struct {
	// The Kubernetes Secret object that stores the "username" and "password" information.
	// The Secret type has to be `kubernetes.io/basic-auth`.
	SecretRef *refsv1beta1secret.BasicAuthSecretRef `json:"secretRef,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.CloudSqlCredential

func (*CloudSqlCredential) DeepCopy

func (in *CloudSqlCredential) DeepCopy() *CloudSqlCredential

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

func (*CloudSqlCredential) DeepCopyInto

func (in *CloudSqlCredential) DeepCopyInto(out *CloudSqlCredential)

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

type CloudSqlProperties

type CloudSqlProperties struct {
	// Cloud SQL instance ID in the form `project:location:instance`.
	InstanceID *string `json:"instanceID,omitempty"`

	// Database name.
	Database *string `json:"database,omitempty"`

	// Type of the Cloud SQL database.
	Type *string `json:"type,omitempty"`

	// Input only. Cloud SQL credential.
	Credential *CloudSqlCredential `json:"credential,omitempty"`

	// Output only. The account ID of the service used for the purpose of this
	//  connection.
	//
	//  When the connection is used in the context of an operation in
	//  BigQuery, this service account will serve as the identity being used for
	//  connecting to the CloudSQL instance specified in this connection.
	ServiceAccountID *string `json:"serviceAccountID,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.CloudSqlProperties

func (*CloudSqlProperties) DeepCopy

func (in *CloudSqlProperties) DeepCopy() *CloudSqlProperties

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

func (*CloudSqlProperties) DeepCopyInto

func (in *CloudSqlProperties) DeepCopyInto(out *CloudSqlProperties)

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

type CloudSqlPropertiesSpec added in v1.124.0

type CloudSqlPropertiesSpec struct {
	// Reference to the Cloud SQL instance ID.
	// +required
	InstanceRef *refv1beta1.SQLInstanceRef `json:"instanceRef,omitempty"`

	// Reference to the SQL Database.
	// +required
	DatabaseRef *refv1beta1.SQLDatabaseRef `json:"databaseRef,omitempty"`

	// Type of the Cloud SQL database.
	// +required
	Type *string `json:"type,omitempty"`

	// Cloud SQL credential.
	// +required
	Credential *CloudSqlCredential `json:"credential,omitempty"`
}

func (*CloudSqlPropertiesSpec) DeepCopy added in v1.124.0

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

func (*CloudSqlPropertiesSpec) DeepCopyInto added in v1.124.0

func (in *CloudSqlPropertiesSpec) DeepCopyInto(out *CloudSqlPropertiesSpec)

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

type CloudSqlPropertiesStatus added in v1.124.0

type CloudSqlPropertiesStatus struct {
	// The account ID of the service used for the purpose of this connection.
	//
	//  When the connection is used in the context of an operation in
	//  BigQuery, this service account will serve as the identity being used for
	//  connecting to the CloudSQL instance specified in this connection.
	ServiceAccountID *string `json:"serviceAccountID,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.CloudSqlProperties

func (*CloudSqlPropertiesStatus) DeepCopy added in v1.124.0

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

func (*CloudSqlPropertiesStatus) DeepCopyInto added in v1.124.0

func (in *CloudSqlPropertiesStatus) DeepCopyInto(out *CloudSqlPropertiesStatus)

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

type Connection

type Connection struct {
	// The resource name of the connection in the form of:
	//  `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name *string `json:"name,omitempty"`

	// User provided display name for the connection.
	FriendlyName *string `json:"friendlyName,omitempty"`

	// User provided description.
	Description *string `json:"description,omitempty"`

	// Cloud SQL properties.
	CloudSql *CloudSqlProperties `json:"cloudSql,omitempty"`

	// Amazon Web Services (AWS) properties.
	Aws *AwsProperties `json:"aws,omitempty"`

	// Azure properties.
	Azure *AzureProperties `json:"azure,omitempty"`

	// Cloud Spanner properties.
	CloudSpanner *CloudSpannerProperties `json:"cloudSpanner,omitempty"`

	// Cloud Resource properties.
	CloudResource *CloudResourceProperties `json:"cloudResource,omitempty"`

	// Spark properties.
	Spark *SparkProperties `json:"spark,omitempty"`

	// Optional. Salesforce DataCloud properties. This field is intended for
	//  use only by Salesforce partner projects. This field contains properties
	//  for your Salesforce DataCloud connection.
	SalesforceDataCloud *SalesforceDataCloudProperties `json:"salesforceDataCloud,omitempty"`

	// Output only. The creation timestamp of the connection.
	CreationTime *int64 `json:"creationTime,omitempty"`

	// Output only. The last update timestamp of the connection.
	LastModifiedTime *int64 `json:"lastModifiedTime,omitempty"`

	// Output only. True, if credential is configured for this connection.
	HasCredential *bool `json:"hasCredential,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.Connection

func (*Connection) DeepCopy

func (in *Connection) DeepCopy() *Connection

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

func (*Connection) DeepCopyInto

func (in *Connection) DeepCopyInto(out *Connection)

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

type MetastoreServiceConfig

type MetastoreServiceConfig struct {
	// Optional. Resource name of an existing Dataproc Metastore service.
	//
	//  Example:
	//
	//  * `projects/[project_id]/locations/[region]/services/[service_id]`
	MetastoreService *string `json:"metastoreService,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.MetastoreServiceConfig

func (*MetastoreServiceConfig) DeepCopy

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

func (*MetastoreServiceConfig) DeepCopyInto

func (in *MetastoreServiceConfig) DeepCopyInto(out *MetastoreServiceConfig)

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

type MetastoreServiceConfigSpec added in v1.124.0

type MetastoreServiceConfigSpec struct {
	// Optional. Resource name of an existing Dataproc Metastore service.
	//
	//  Example:
	//
	//  * `projects/[project_id]/locations/[region]/services/[service_id]`
	MetastoreServiceRef *refv1beta1.MetastoreServiceRef `json:"metastoreServiceRef,omitempty"`
}

func (*MetastoreServiceConfigSpec) DeepCopy added in v1.124.0

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

func (*MetastoreServiceConfigSpec) DeepCopyInto added in v1.124.0

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

type Parent

type Parent struct {
	// +required
	ProjectRef *refv1beta1.ProjectRef `json:"projectRef"`

	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Location field is immutable"
	// Immutable.
	// +required
	Location string `json:"location"`
}

func (*Parent) DeepCopy

func (in *Parent) DeepCopy() *Parent

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

func (*Parent) DeepCopyInto

func (in *Parent) DeepCopyInto(out *Parent)

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

type SalesforceDataCloudProperties

type SalesforceDataCloudProperties struct {
	// The URL to the user's Salesforce DataCloud instance.
	InstanceUri *string `json:"instanceUri,omitempty"`

	// Output only. A unique Google-owned and Google-generated service account
	//  identity for the connection.
	Identity *string `json:"identity,omitempty"`

	// The ID of the user's Salesforce tenant.
	TenantID *string `json:"tenantID,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties

func (*SalesforceDataCloudProperties) DeepCopy

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

func (*SalesforceDataCloudProperties) DeepCopyInto

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

type SparkHistoryServerConfig

type SparkHistoryServerConfig struct {
	// Optional. Resource name of an existing Dataproc Cluster to act as a Spark
	//  History Server for the connection.
	//
	//  Example:
	//
	//  * `projects/[project_id]/regions/[region]/clusters/[cluster_name]`
	DataprocCluster *string `json:"dataprocCluster,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.SparkHistoryServerConfig

func (*SparkHistoryServerConfig) DeepCopy

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

func (*SparkHistoryServerConfig) DeepCopyInto

func (in *SparkHistoryServerConfig) DeepCopyInto(out *SparkHistoryServerConfig)

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

type SparkHistoryServerConfigSpec added in v1.124.0

type SparkHistoryServerConfigSpec struct {
	// Optional. Resource name of an existing Dataproc Cluster to act as a Spark
	//  History Server for the connection.
	//
	//  Example:
	//
	//  * `projects/[project_id]/regions/[region]/clusters/[cluster_name]`
	DataprocClusterRef *refv1beta1.DataprocClusterRef `json:"dataprocClusterRef,omitempty"`
}

func (*SparkHistoryServerConfigSpec) DeepCopy added in v1.124.0

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

func (*SparkHistoryServerConfigSpec) DeepCopyInto added in v1.124.0

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

type SparkProperties

type SparkProperties struct {
	// Output only. The account ID of the service created for the purpose of this
	//  connection.
	//
	//  The service account does not have any permissions associated with it when
	//  it is created. After creation, customers delegate permissions to the
	//  service account. When the connection is used in the context of a stored
	//  procedure for Apache Spark in BigQuery, the service account is used to
	//  connect to the desired resources in Google Cloud.
	//
	//  The account ID is in the form of:
	//  bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.iam.gserviceaccount.com
	ServiceAccountID *string `json:"serviceAccountID,omitempty"`

	// Optional. Dataproc Metastore Service configuration for the connection.
	MetastoreServiceConfig *MetastoreServiceConfig `json:"metastoreServiceConfig,omitempty"`

	// Optional. Spark History Server configuration for the connection.
	SparkHistoryServerConfig *SparkHistoryServerConfig `json:"sparkHistoryServerConfig,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.SparkProperties

func (*SparkProperties) DeepCopy

func (in *SparkProperties) DeepCopy() *SparkProperties

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

func (*SparkProperties) DeepCopyInto

func (in *SparkProperties) DeepCopyInto(out *SparkProperties)

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

type SparkPropertiesSpec added in v1.124.0

type SparkPropertiesSpec struct {
	// Optional. Dataproc Metastore Service configuration for the connection.
	MetastoreService *MetastoreServiceConfigSpec `json:"metastoreService,omitempty"`

	// Optional. Spark History Server configuration for the connection.
	SparkHistoryServer *SparkHistoryServerConfigSpec `json:"sparkHistoryServer,omitempty"`
}

func (*SparkPropertiesSpec) DeepCopy added in v1.124.0

func (in *SparkPropertiesSpec) DeepCopy() *SparkPropertiesSpec

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

func (*SparkPropertiesSpec) DeepCopyInto added in v1.124.0

func (in *SparkPropertiesSpec) DeepCopyInto(out *SparkPropertiesSpec)

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

type SparkPropertiesStatus added in v1.124.0

type SparkPropertiesStatus struct {
	//  The account ID of the service created for the purpose of this
	//  connection.
	//
	//  The service account does not have any permissions associated with it when
	//  it is created. After creation, customers delegate permissions to the
	//  service account. When the connection is used in the context of a stored
	//  procedure for Apache Spark in BigQuery, the service account is used to
	//  connect to the desired resources in Google Cloud.
	//
	//  The account ID is in the form of:
	//  bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.iam.gserviceaccount.com
	ServiceAccountID *string `json:"serviceAccountID,omitempty"`
}

+kcc:proto=google.cloud.bigquery.connection.v1.SparkProperties

func (*SparkPropertiesStatus) DeepCopy added in v1.124.0

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

func (*SparkPropertiesStatus) DeepCopyInto added in v1.124.0

func (in *SparkPropertiesStatus) DeepCopyInto(out *SparkPropertiesStatus)

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