Skip to content

Commit 641da0d

Browse files
authored
Merge pull request #6 from cloudgraphdev/fix/CG-1215
CG-1215: fix(bigQuery): add labels in bigQueryDataset
2 parents b32f28c + 357524f commit 641da0d

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/services/bigQuery/schema.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ type gcpBigQueryDataset implements gcpBaseResource
136136
defaultPartitionExpirationMs: String @search(by: [hash, regexp])
137137
access: [gcpBigQueryDatasetAccess]
138138
creationTime: String @search(by: [hash, regexp])
139+
labels: [gcpRawLabel]
139140
lastModifiedTime: String @search(by: [hash, regexp])
140141
location: String @search(by: [hash, regexp])
141142
defaultEncryptionConfiguration: gcpBigQueryEncryptionConfiguration

src/services/label/schema.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ type gcpLabel implements gcpBaseResource @key(fields: "id") {
1010
secrets: [gcpSecret]
1111
storageBucket: [gcpStorageBucket]
1212
vmInstance: [gcpVmInstance]
13+
bigQueryDataset: [gcpBigQueryDataset]
1314
}
1415

1516
type gcpRawLabel

src/types/generated.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ export type GcpBigQueryDataset = GcpBaseResource & {
590590
description?: Maybe<Scalars['String']>;
591591
etag?: Maybe<Scalars['String']>;
592592
friendlyName?: Maybe<Scalars['String']>;
593+
labels?: Maybe<Array<Maybe<GcpRawLabel>>>;
593594
lastModifiedTime?: Maybe<Scalars['String']>;
594595
location?: Maybe<Scalars['String']>;
595596
project?: Maybe<Array<Maybe<GcpProject>>>;
@@ -1987,6 +1988,7 @@ export type GcpKmsKeyRing = GcpBaseResource & {
19871988

19881989
export type GcpLabel = GcpBaseResource & {
19891990
alertPolicy?: Maybe<Array<Maybe<GcpAlertPolicy>>>;
1991+
bigQueryDataset?: Maybe<Array<Maybe<GcpBigQueryDataset>>>;
19901992
cloudFunction?: Maybe<Array<Maybe<GcpCloudFunction>>>;
19911993
dnsManagedZone?: Maybe<Array<Maybe<GcpDnsManagedZone>>>;
19921994
id: Scalars['String'];

0 commit comments

Comments
 (0)