Skip to content

Commit

Permalink
feat: add direct controller for BigQueryDataset
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweim committed Oct 28, 2024
1 parent 4dc6917 commit 02cca79
Show file tree
Hide file tree
Showing 37 changed files with 129 additions and 1,187 deletions.
5 changes: 2 additions & 3 deletions apis/bigquery/v1beta1/bigquerydataset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var BigQueryDatasetGVK = GroupVersion.WithKind("BigQueryDataset")
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// BigQueryDatasetSpec defines the desired state of BigQueryDataset
// +kcc:proto=google.cloud.bigquery.v2.dataset
// +kcc:proto=google.cloud.bigquery.v2.Dataset
type BigQueryDatasetSpec struct {
// The BigQueryDataset name. If not given, the metadata.name will be used.
ResourceID *string `json:"resourceID,omitempty"`
Expand Down Expand Up @@ -102,8 +102,7 @@ type BigQueryDatasetSpec struct {
// set.
MaxTimeTravelHours *string `json:"maxTimeTravelHours,omitempty"`

// The project that this resource belongs to.
// required
// Optional. The project that this resource belongs to.
ProjectRef *refs.ProjectRef `json:"projectRef,omitempty"`

// Optional. Updates storage_billing_model for the dataset.
Expand Down
361 changes: 24 additions & 337 deletions apis/bigquery/v1beta1/types.generated.go

Large diffs are not rendered by default.

Loading

0 comments on commit 02cca79

Please sign in to comment.