File tree Expand file tree Collapse file tree 6 files changed +24
-24
lines changed
datacatalog/cloud-client/src
main/java/com/example/datacatalog
test/java/com/example/datacatalog Expand file tree Collapse file tree 6 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 1919// [START datacatalog_create_entry_group_tag]
2020
2121import 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 ;
2626import java .io .IOException ;
2727
2828public class CreateEntryGroup {
Original file line number Diff line number Diff line change 1919// [START datacatalog_create_fileset_tag]
2020
2121import 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 ;
3030import java .io .IOException ;
3131
3232public class CreateFilesetEntry {
Original file line number Diff line number Diff line change 1717package com .example .datacatalog ;
1818
1919// [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 ;
2323
2424public class LookupEntryBigQueryDataset {
2525
Original file line number Diff line number Diff line change 1616
1717package com .example .datacatalog ;
1818
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 ;
2222
2323public class LookupEntryBigQueryTable {
2424
Original file line number Diff line number Diff line change 1616
1717package com .example .datacatalog ;
1818
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 ;
2222
2323public class LookupEntryPubSubTopic {
2424
Original file line number Diff line number Diff line change 1919import static org .junit .Assert .assertThat ;
2020import static org .junit .Assert .fail ;
2121
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 ;
2525import java .io .ByteArrayOutputStream ;
2626import java .io .PrintStream ;
2727import java .util .ArrayList ;
You can’t perform that action at this time.
0 commit comments