Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#3107 from jingyih/BigQueryData…
Browse files Browse the repository at this point in the history
…TransferConfig

chore: remove a sample for bigquerydatatransferconfig
  • Loading branch information
google-oss-prow[bot] authored Nov 6, 2024
2 parents a431e9d + 841e0a2 commit 91d1318
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 98 deletions.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/snippet/snippetgeneration/snippetgeneration.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var preferredSampleForResource = map[string]string{
"bigqueryjob": "query-bigquery-job",
"bigtableappprofile": "multicluster-bigtable-app-profile",
"bigtableinstance": "replicated-instance",
"bigquerydatatransferconfig": "bigquerydatatransferconfig-salesforce",
"bigquerydatatransferconfig": "bigquerydatatransferconfig-scheduledquery",
"billingbudgetsbudget": "calendar-budget",
"binaryauthorizationpolicy": "cluster-policy",
"certificatemanagercertificate": "self-managed-certificate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -646,50 +646,6 @@ observedState:

## Sample YAML(s)

### BigQueryDataTransferConfig Salesforce
```yaml
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: bigquerydatatransfer.cnrm.cloud.google.com/v1beta1
kind: BigQueryDataTransferConfig
metadata:
name: bigquerydatatransferconfig-sample-salesforce
spec:
projectRef:
# Replace ${PROJECT_ID?} with your project ID.
external: ${PROJECT_ID?}
location: us-central1
displayName: "example of big query data transfer config"
dataSourceID: "salesforce"
datasetRef:
name: bigquerydatatransferconfigdepsalesforce
params:
"connector.authentication.oauth.clientId": "client-id"
"connector.authentication.oauth.clientSecret": "client-secret"
"connector.authentication.oauth.myDomain": "MyDomainName"
"assets": "asset-a"
---
apiVersion: bigquery.cnrm.cloud.google.com/v1beta1
kind: BigQueryDataset
metadata:
name: bigquerydatatransferconfigdepsalesforce
spec:
friendlyName: bigquerydatatransferconfig-dep-salesforce
location: us-central1
```

### BigQueryDataTransferConfig Scheduledquery
```yaml
# Copyright 2024 Google LLC
Expand Down

0 comments on commit 91d1318

Please sign in to comment.