Documentation ¶
Overview ¶
+kcc:proto=google.cloud.bigquery.connection.v1
+kubebuilder:object:generate=true +groupName=bigqueryconnection.cnrm.cloud.google.com
Index ¶
- Variables
- func ResolveServiceAccountID(ctx context.Context, reader client.Reader, namespace string, ...) (string, error)
- type AwsAccessRole
- type AwsAccessRoleSpec
- type AwsAccessRoleStatus
- type AwsCrossAccountRole
- type AwsProperties
- type AwsPropertiesSpec
- type AwsPropertiesStatus
- type AzureProperties
- type AzurePropertiesSpec
- type AzurePropertiesStatus
- type BigQueryConnectionConnection
- type BigQueryConnectionConnectionList
- type BigQueryConnectionConnectionObservedState
- type BigQueryConnectionConnectionRef
- func (r *BigQueryConnectionConnectionRef) ConnectionID() (string, bool, error)
- func (in *BigQueryConnectionConnectionRef) DeepCopy() *BigQueryConnectionConnectionRef
- func (in *BigQueryConnectionConnectionRef) DeepCopyInto(out *BigQueryConnectionConnectionRef)
- func (r *BigQueryConnectionConnectionRef) NormalizedExternal(ctx context.Context, reader client.Reader, othernamespace string) (string, error)
- func (r *BigQueryConnectionConnectionRef) Parent() (string, error)
- type BigQueryConnectionConnectionSpec
- type BigQueryConnectionConnectionStatus
- type BigQueryConnectionServiceAccountRef
- type CloudResourceProperties
- type CloudResourcePropertiesSpec
- type CloudResourcePropertiesStatus
- type CloudSpannerProperties
- type CloudSpannerPropertiesSpec
- type CloudSqlCredential
- type CloudSqlProperties
- type CloudSqlPropertiesSpec
- type CloudSqlPropertiesStatus
- type Connection
- type MetastoreServiceConfig
- type MetastoreServiceConfigSpec
- type Parent
- type SalesforceDataCloudProperties
- type SparkHistoryServerConfig
- type SparkHistoryServerConfigSpec
- type SparkProperties
- type SparkPropertiesSpec
- type SparkPropertiesStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "bigqueryconnection.cnrm.cloud.google.com", Version: "v1beta1"} // 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 )
var BigQueryConnectionConnectionGVK = GroupVersion.WithKind("BigQueryConnectionConnection")
Functions ¶
func ResolveServiceAccountID ¶ added in v1.126.0
func ResolveServiceAccountID(ctx context.Context, reader client.Reader, namespace string, ref *BigQueryConnectionServiceAccountRef) (string, error)
ResolveServiceAccountID resolves the service account ID from a BigQueryConnection resource reference. Supported connection types are: cloudSQL, spark, and cloudResource. This function extracts the service account ID from the referenced BigQueryConnection resource based on the connection type.
Input parameters:
- namespace: Default namespace to use if not specified in the reference. This is usually the namespace of the resource referencing the BigQueryConnection
- ref: Reference to the BigQueryConnection (Name, Namespace, Type)
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 ¶
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 ¶
func (in *AwsAccessRoleSpec) DeepCopy() *AwsAccessRoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsAccessRoleSpec.
func (*AwsAccessRoleSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (in *AwsAccessRoleStatus) DeepCopy() *AwsAccessRoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsAccessRoleStatus.
func (*AwsAccessRoleStatus) DeepCopyInto ¶
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 ¶
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 ¶
func (in *AwsPropertiesSpec) DeepCopy() *AwsPropertiesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsPropertiesSpec.
func (*AwsPropertiesSpec) DeepCopyInto ¶
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 ¶
type AwsPropertiesStatus struct {
AccessRole *AwsAccessRoleStatus `json:"accessRole,omitempty"`
}
+kcc:proto=google.cloud.bigquery.connection.v1.AwsProperties
func (*AwsPropertiesStatus) DeepCopy ¶
func (in *AwsPropertiesStatus) DeepCopy() *AwsPropertiesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsPropertiesStatus.
func (*AwsPropertiesStatus) DeepCopyInto ¶
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 ¶
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 ¶
func (in *AzurePropertiesSpec) DeepCopy() *AzurePropertiesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzurePropertiesSpec.
func (*AzurePropertiesSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (in *AzurePropertiesStatus) DeepCopy() *AzurePropertiesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzurePropertiesStatus.
func (*AzurePropertiesStatus) DeepCopyInto ¶
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 ¶
func (in *BigQueryConnectionConnection) DeepCopy() *BigQueryConnectionConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnection.
func (*BigQueryConnectionConnection) DeepCopyInto ¶
func (in *BigQueryConnectionConnection) DeepCopyInto(out *BigQueryConnectionConnection)
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 ¶
func (in *BigQueryConnectionConnectionList) DeepCopy() *BigQueryConnectionConnectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnectionList.
func (*BigQueryConnectionConnectionList) DeepCopyInto ¶
func (in *BigQueryConnectionConnectionList) DeepCopyInto(out *BigQueryConnectionConnectionList)
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 ¶
func (in *BigQueryConnectionConnectionObservedState) DeepCopy() *BigQueryConnectionConnectionObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnectionObservedState.
func (*BigQueryConnectionConnectionObservedState) DeepCopyInto ¶
func (in *BigQueryConnectionConnectionObservedState) DeepCopyInto(out *BigQueryConnectionConnectionObservedState)
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"` }
BigQueryConnectionConnectionRef defines the resource reference to BigQueryConnectionConnection, which "External" field holds the GCP identifier for the KRM object.
func NewBigQueryConnectionConnectionRef ¶
func NewBigQueryConnectionConnectionRef(ctx context.Context, reader client.Reader, obj *BigQueryConnectionConnection) (*BigQueryConnectionConnectionRef, error)
NewBigQueryConnectionConnectionRef builds a BigQueryConnectionConnectionRef from the ConfigConnector BigQueryConnectionConnection object.
func (*BigQueryConnectionConnectionRef) ConnectionID ¶
func (r *BigQueryConnectionConnectionRef) ConnectionID() (string, bool, error)
ConnectionID returns the connection ID, a boolean indicating whether the connection ID is specified by user (or generated by service), and an error.
func (*BigQueryConnectionConnectionRef) DeepCopy ¶
func (in *BigQueryConnectionConnectionRef) DeepCopy() *BigQueryConnectionConnectionRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnectionRef.
func (*BigQueryConnectionConnectionRef) DeepCopyInto ¶
func (in *BigQueryConnectionConnectionRef) DeepCopyInto(out *BigQueryConnectionConnectionRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BigQueryConnectionConnectionRef) NormalizedExternal ¶
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 ¶
func (r *BigQueryConnectionConnectionRef) Parent() (string, error)
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 ¶
func (in *BigQueryConnectionConnectionSpec) DeepCopy() *BigQueryConnectionConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnectionSpec.
func (*BigQueryConnectionConnectionSpec) DeepCopyInto ¶
func (in *BigQueryConnectionConnectionSpec) DeepCopyInto(out *BigQueryConnectionConnectionSpec)
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 ¶
func (in *BigQueryConnectionConnectionStatus) DeepCopy() *BigQueryConnectionConnectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionConnectionStatus.
func (*BigQueryConnectionConnectionStatus) DeepCopyInto ¶
func (in *BigQueryConnectionConnectionStatus) DeepCopyInto(out *BigQueryConnectionConnectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BigQueryConnectionServiceAccountRef ¶ added in v1.126.0
type BigQueryConnectionServiceAccountRef struct { Namespace string `json:"namespace,omitempty"` Name string `json:"name"` // Type field specifies the connection type of the BigQueryConnectionConnection resource, whose service account is to be bound to the role. // +kubebuilder:validation:Enum=spark;cloudSQL;cloudResource Type string `json:"type"` }
BigQueryConnectionServiceAccountRef specifies a reference to a service account generated by the BigQueryConnectionConnection resource. Supported connection types are: cloudSQL, spark, and cloudResource.
func (*BigQueryConnectionServiceAccountRef) DeepCopy ¶ added in v1.126.0
func (in *BigQueryConnectionServiceAccountRef) DeepCopy() *BigQueryConnectionServiceAccountRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryConnectionServiceAccountRef.
func (*BigQueryConnectionServiceAccountRef) DeepCopyInto ¶ added in v1.126.0
func (in *BigQueryConnectionServiceAccountRef) DeepCopyInto(out *BigQueryConnectionServiceAccountRef)
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 ¶
func (in *CloudResourceProperties) DeepCopy() *CloudResourceProperties
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 ¶
func (in *CloudResourcePropertiesSpec) DeepCopy() *CloudResourcePropertiesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudResourcePropertiesSpec.
func (*CloudResourcePropertiesSpec) DeepCopyInto ¶
func (in *CloudResourcePropertiesSpec) DeepCopyInto(out *CloudResourcePropertiesSpec)
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 ¶
func (in *CloudResourcePropertiesStatus) DeepCopy() *CloudResourcePropertiesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudResourcePropertiesStatus.
func (*CloudResourcePropertiesStatus) DeepCopyInto ¶
func (in *CloudResourcePropertiesStatus) DeepCopyInto(out *CloudResourcePropertiesStatus)
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 ¶
func (in *CloudSpannerProperties) DeepCopy() *CloudSpannerProperties
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 ¶
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 ¶
func (in *CloudSpannerPropertiesSpec) DeepCopy() *CloudSpannerPropertiesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudSpannerPropertiesSpec.
func (*CloudSpannerPropertiesSpec) DeepCopyInto ¶
func (in *CloudSpannerPropertiesSpec) DeepCopyInto(out *CloudSpannerPropertiesSpec)
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 ¶
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 ¶
func (in *CloudSqlPropertiesSpec) DeepCopy() *CloudSqlPropertiesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudSqlPropertiesSpec.
func (*CloudSqlPropertiesSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (in *CloudSqlPropertiesStatus) DeepCopy() *CloudSqlPropertiesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudSqlPropertiesStatus.
func (*CloudSqlPropertiesStatus) DeepCopyInto ¶
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 ¶
func (in *MetastoreServiceConfig) DeepCopy() *MetastoreServiceConfig
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 ¶
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 ¶
func (in *MetastoreServiceConfigSpec) DeepCopy() *MetastoreServiceConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoreServiceConfigSpec.
func (*MetastoreServiceConfigSpec) DeepCopyInto ¶
func (in *MetastoreServiceConfigSpec) DeepCopyInto(out *MetastoreServiceConfigSpec)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parent.
func (*Parent) DeepCopyInto ¶
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 ¶
func (in *SalesforceDataCloudProperties) DeepCopy() *SalesforceDataCloudProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SalesforceDataCloudProperties.
func (*SalesforceDataCloudProperties) DeepCopyInto ¶
func (in *SalesforceDataCloudProperties) DeepCopyInto(out *SalesforceDataCloudProperties)
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 ¶
func (in *SparkHistoryServerConfig) DeepCopy() *SparkHistoryServerConfig
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 ¶
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 ¶
func (in *SparkHistoryServerConfigSpec) DeepCopy() *SparkHistoryServerConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkHistoryServerConfigSpec.
func (*SparkHistoryServerConfigSpec) DeepCopyInto ¶
func (in *SparkHistoryServerConfigSpec) DeepCopyInto(out *SparkHistoryServerConfigSpec)
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 ¶
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 ¶
func (in *SparkPropertiesSpec) DeepCopy() *SparkPropertiesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkPropertiesSpec.
func (*SparkPropertiesSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (in *SparkPropertiesStatus) DeepCopy() *SparkPropertiesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkPropertiesStatus.
func (*SparkPropertiesStatus) DeepCopyInto ¶
func (in *SparkPropertiesStatus) DeepCopyInto(out *SparkPropertiesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.