Skip to content

Commit eccac50

Browse files
committed
Move files out of api directory
Change date to 2019 Remove unused args
1 parent f847b2b commit eccac50

28 files changed

+48
-73
lines changed
File renamed without changes.
File renamed without changes.

bigtable/api/phpunit.xml.dist renamed to bigtable/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
xml version="1.0" encoding="UTF-8"?>
22
bigtable/api/src/create_cluster.php renamed to bigtable/src/create_cluster.php
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/create_dev_instance.php renamed to bigtable/src/create_dev_instance.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/create_family_gc_intersection.php renamed to bigtable/src/create_family_gc_intersection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/create_family_gc_max_age.php renamed to bigtable/src/create_family_gc_max_age.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/create_family_gc_max_versions.php renamed to bigtable/src/create_family_gc_max_versions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/create_family_gc_nested.php renamed to bigtable/src/create_family_gc_nested.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/create_family_gc_union.php renamed to bigtable/src/create_family_gc_union.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/create_production_instance.php renamed to bigtable/src/create_production_instance.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/create_table.php renamed to bigtable/src/create_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/delete_cluster.php renamed to bigtable/src/delete_cluster.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/delete_family.php renamed to bigtable/src/delete_family.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/delete_instance.php renamed to bigtable/src/delete_instance.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/delete_table.php renamed to bigtable/src/delete_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/hw_create_table.php renamed to bigtable/src/hw_create_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

bigtable/api/src/hw_get_with_filter.php renamed to bigtable/src/hw_get_with_filter.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer
@@ -33,18 +33,12 @@
3333
// [START bigtable_hw_get_with_filter]
3434

3535
use Google\Cloud\Bigtable\BigtableClient;
36-
use Google\Cloud\Bigtable\Table;
37-
use Google\Cloud\Bigtable\Admin\V2\Cluster;
38-
use Google\Cloud\Bigtable\Admin\V2\StorageType;
39-
use Google\ApiCore\ApiException;
4036
use Google\Cloud\Bigtable\V2\RowFilter;
4137

4238
/** Uncomment and populate these variables in your code */
4339
// $project_id = 'The Google project ID';
4440
// $instance_id = 'The Bigtable instance ID';
45-
// $cluster_id = 'The Bigtable cluster ID';
4641
// $table_id = 'The Bigtable table ID';
47-
// $location_id = 'The Bigtable region ID';
4842

4943

5044
// Connect to an existing table with an existing instance.

bigtable/api/src/hw_scan_all.php renamed to bigtable/src/hw_scan_all.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer
@@ -32,19 +32,13 @@
3232

3333
// [START bigtable_hw_scan_all]
3434

35-
use Google\Cloud\Bigtable\Admin\V2\StorageType;
36-
use Google\Cloud\Bigtable\Admin\V2\Cluster;
3735
use Google\Cloud\Bigtable\BigtableClient;
38-
use Google\Cloud\Bigtable\Mutations;
39-
use Google\ApiCore\ApiException;
40-
use Google\Cloud\Bigtable\Table;
36+
4137

4238
/** Uncomment and populate these variables in your code */
4339
// $project_id = 'The Google project ID';
4440
// $instance_id = 'The Bigtable instance ID';
45-
// $cluster_id = 'The Bigtable cluster ID';
4641
// $table_id = 'The Bigtable table ID';
47-
// $location_id = 'The Bigtable region ID';
4842

4943

5044
// Connect to an existing table with an existing instance.

bigtable/api/src/hw_write_rows.php renamed to bigtable/src/hw_write_rows.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer
@@ -32,19 +32,13 @@
3232

3333
// [START bigtable_hw_write_rows]
3434

35-
use Google\Cloud\Bigtable\Admin\V2\StorageType;
36-
use Google\Cloud\Bigtable\Admin\V2\Cluster;
3735
use Google\Cloud\Bigtable\BigtableClient;
3836
use Google\Cloud\Bigtable\Mutations;
39-
use Google\ApiCore\ApiException;
40-
use Google\Cloud\Bigtable\Table;
4137

4238
/** Uncomment and populate these variables in your code */
4339
// $project_id = 'The Google project ID';
4440
// $instance_id = 'The Bigtable instance ID';
45-
// $cluster_id = 'The Bigtable cluster ID';
4641
// $table_id = 'The Bigtable table ID';
47-
// $location_id = 'The Bigtable region ID';
4842

4943

5044
// Connect to an existing table with an existing instance.

bigtable/api/src/list_column_families.php renamed to bigtable/src/list_column_families.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22

33
/**
4-
* Copyright 2018 Google LLC.
4+
* Copyright 2019 Google LLC.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
/**
2020
* For instructions on how to run the full sample:
2121
*
22-
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/api/README.md
22+
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigtable/README.md
2323
*/
2424

2525
// Include Google Cloud dependendencies using Composer

0 commit comments

Comments
 (0)