File tree 6 files changed +24
-24
lines changed
main/java/com/example/datacatalog
test/java/com/example/datacatalog
6 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 19
19
// [START datacatalog_create_entry_group_tag]
20
20
21
21
import com .google .api .gax .rpc .AlreadyExistsException ;
22
- import com .google .cloud .datacatalog .v1beta1 .CreateEntryGroupRequest ;
23
- import com .google .cloud .datacatalog .v1beta1 .DataCatalogClient ;
24
- import com .google .cloud .datacatalog .v1beta1 .EntryGroup ;
25
- import com .google .cloud .datacatalog .v1beta1 .LocationName ;
22
+ import com .google .cloud .datacatalog .v1 .CreateEntryGroupRequest ;
23
+ import com .google .cloud .datacatalog .v1 .DataCatalogClient ;
24
+ import com .google .cloud .datacatalog .v1 .EntryGroup ;
25
+ import com .google .cloud .datacatalog .v1 .LocationName ;
26
26
import java .io .IOException ;
27
27
28
28
public class CreateEntryGroup {
Original file line number Diff line number Diff line change 19
19
// [START datacatalog_create_fileset_tag]
20
20
21
21
import com .google .api .gax .rpc .AlreadyExistsException ;
22
- import com .google .cloud .datacatalog .v1beta1 .ColumnSchema ;
23
- import com .google .cloud .datacatalog .v1beta1 .CreateEntryRequest ;
24
- import com .google .cloud .datacatalog .v1beta1 .DataCatalogClient ;
25
- import com .google .cloud .datacatalog .v1beta1 .Entry ;
26
- import com .google .cloud .datacatalog .v1beta1 .EntryGroupName ;
27
- import com .google .cloud .datacatalog .v1beta1 .EntryType ;
28
- import com .google .cloud .datacatalog .v1beta1 .GcsFilesetSpec ;
29
- import com .google .cloud .datacatalog .v1beta1 .Schema ;
22
+ import com .google .cloud .datacatalog .v1 .ColumnSchema ;
23
+ import com .google .cloud .datacatalog .v1 .CreateEntryRequest ;
24
+ import com .google .cloud .datacatalog .v1 .DataCatalogClient ;
25
+ import com .google .cloud .datacatalog .v1 .Entry ;
26
+ import com .google .cloud .datacatalog .v1 .EntryGroupName ;
27
+ import com .google .cloud .datacatalog .v1 .EntryType ;
28
+ import com .google .cloud .datacatalog .v1 .GcsFilesetSpec ;
29
+ import com .google .cloud .datacatalog .v1 .Schema ;
30
30
import java .io .IOException ;
31
31
32
32
public class CreateFilesetEntry {
Original file line number Diff line number Diff line change 17
17
package com .example .datacatalog ;
18
18
19
19
// [START datacatalog_bigquery_lookup_dataset]
20
- import com .google .cloud .datacatalog .v1beta1 .DataCatalogClient ;
21
- import com .google .cloud .datacatalog .v1beta1 .Entry ;
22
- import com .google .cloud .datacatalog .v1beta1 .LookupEntryRequest ;
20
+ import com .google .cloud .datacatalog .v1 .DataCatalogClient ;
21
+ import com .google .cloud .datacatalog .v1 .Entry ;
22
+ import com .google .cloud .datacatalog .v1 .LookupEntryRequest ;
23
23
24
24
public class LookupEntryBigQueryDataset {
25
25
Original file line number Diff line number Diff line change 16
16
17
17
package com .example .datacatalog ;
18
18
19
- import com .google .cloud .datacatalog .v1beta1 .DataCatalogClient ;
20
- import com .google .cloud .datacatalog .v1beta1 .Entry ;
21
- import com .google .cloud .datacatalog .v1beta1 .LookupEntryRequest ;
19
+ import com .google .cloud .datacatalog .v1 .DataCatalogClient ;
20
+ import com .google .cloud .datacatalog .v1 .Entry ;
21
+ import com .google .cloud .datacatalog .v1 .LookupEntryRequest ;
22
22
23
23
public class LookupEntryBigQueryTable {
24
24
Original file line number Diff line number Diff line change 16
16
17
17
package com .example .datacatalog ;
18
18
19
- import com .google .cloud .datacatalog .v1beta1 .DataCatalogClient ;
20
- import com .google .cloud .datacatalog .v1beta1 .Entry ;
21
- import com .google .cloud .datacatalog .v1beta1 .LookupEntryRequest ;
19
+ import com .google .cloud .datacatalog .v1 .DataCatalogClient ;
20
+ import com .google .cloud .datacatalog .v1 .Entry ;
21
+ import com .google .cloud .datacatalog .v1 .LookupEntryRequest ;
22
22
23
23
public class LookupEntryPubSubTopic {
24
24
Original file line number Diff line number Diff line change 19
19
import static org .junit .Assert .assertThat ;
20
20
import static org .junit .Assert .fail ;
21
21
22
- import com .google .cloud .datacatalog .v1beta1 .DataCatalogClient ;
23
- import com .google .cloud .datacatalog .v1beta1 .EntryGroupName ;
24
- import com .google .cloud .datacatalog .v1beta1 .EntryName ;
22
+ import com .google .cloud .datacatalog .v1 .DataCatalogClient ;
23
+ import com .google .cloud .datacatalog .v1 .EntryGroupName ;
24
+ import com .google .cloud .datacatalog .v1 .EntryName ;
25
25
import java .io .ByteArrayOutputStream ;
26
26
import java .io .PrintStream ;
27
27
import java .util .ArrayList ;
You can’t perform that action at this time.
0 commit comments