File tree 8 files changed +30
-30
lines changed
main/java/com/google/cloud/storage/storagetransfer/samples
test/java/com/google/cloud/storage/storagetransfer/samples/test
8 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 41
41
<dependency >
42
42
<groupId >com.google.apis</groupId >
43
43
<artifactId >google-api-services-storagetransfer</artifactId >
44
- <version >v1-rev1 -1.20 .0</version >
44
+ <version >v1-rev8 -1.22 .0</version >
45
45
</dependency >
46
46
47
47
<!-- Test Dependencies -->
Original file line number Diff line number Diff line change 16
16
// [START all]
17
17
package com .google .cloud .storage .storagetransfer .samples ;
18
18
19
- import com .google .api .services .storagetransfer .Storagetransfer ;
20
- import com .google .api .services .storagetransfer .model .AwsAccessKey ;
21
- import com .google .api .services .storagetransfer .model .AwsS3Data ;
22
- import com .google .api .services .storagetransfer .model .Date ;
23
- import com .google .api .services .storagetransfer .model .GcsData ;
24
- import com .google .api .services .storagetransfer .model .Schedule ;
25
- import com .google .api .services .storagetransfer .model .TimeOfDay ;
26
- import com .google .api .services .storagetransfer .model .TransferJob ;
27
- import com .google .api .services .storagetransfer .model .TransferSpec ;
19
+ import com .google .api .services .storagetransfer .v1 . Storagetransfer ;
20
+ import com .google .api .services .storagetransfer .v1 . model .AwsAccessKey ;
21
+ import com .google .api .services .storagetransfer .v1 . model .AwsS3Data ;
22
+ import com .google .api .services .storagetransfer .v1 . model .Date ;
23
+ import com .google .api .services .storagetransfer .v1 . model .GcsData ;
24
+ import com .google .api .services .storagetransfer .v1 . model .Schedule ;
25
+ import com .google .api .services .storagetransfer .v1 . model .TimeOfDay ;
26
+ import com .google .api .services .storagetransfer .v1 . model .TransferJob ;
27
+ import com .google .api .services .storagetransfer .v1 . model .TransferSpec ;
28
28
29
29
import java .io .IOException ;
30
30
import java .io .PrintStream ;
Original file line number Diff line number Diff line change 16
16
// [START all]
17
17
package com .google .cloud .storage .storagetransfer .samples ;
18
18
19
- import com .google .api .services .storagetransfer .Storagetransfer ;
20
- import com .google .api .services .storagetransfer .model .Date ;
21
- import com .google .api .services .storagetransfer .model .GcsData ;
22
- import com .google .api .services .storagetransfer .model .ObjectConditions ;
23
- import com .google .api .services .storagetransfer .model .Schedule ;
24
- import com .google .api .services .storagetransfer .model .TimeOfDay ;
25
- import com .google .api .services .storagetransfer .model .TransferJob ;
26
- import com .google .api .services .storagetransfer .model .TransferOptions ;
27
- import com .google .api .services .storagetransfer .model .TransferSpec ;
19
+ import com .google .api .services .storagetransfer .v1 . Storagetransfer ;
20
+ import com .google .api .services .storagetransfer .v1 . model .Date ;
21
+ import com .google .api .services .storagetransfer .v1 . model .GcsData ;
22
+ import com .google .api .services .storagetransfer .v1 . model .ObjectConditions ;
23
+ import com .google .api .services .storagetransfer .v1 . model .Schedule ;
24
+ import com .google .api .services .storagetransfer .v1 . model .TimeOfDay ;
25
+ import com .google .api .services .storagetransfer .v1 . model .TransferJob ;
26
+ import com .google .api .services .storagetransfer .v1 . model .TransferOptions ;
27
+ import com .google .api .services .storagetransfer .v1 . model .TransferSpec ;
28
28
29
29
import java .io .IOException ;
30
30
import java .io .PrintStream ;
Original file line number Diff line number Diff line change 16
16
// [START all]
17
17
package com .google .cloud .storage .storagetransfer .samples ;
18
18
19
- import com .google .api .services .storagetransfer .Storagetransfer ;
20
- import com .google .api .services .storagetransfer .model .ListOperationsResponse ;
19
+ import com .google .api .services .storagetransfer .v1 . Storagetransfer ;
20
+ import com .google .api .services .storagetransfer .v1 . model .ListOperationsResponse ;
21
21
22
22
import java .io .IOException ;
23
23
import java .util .logging .Logger ;
Original file line number Diff line number Diff line change 21
21
import com .google .api .client .http .HttpRequestInitializer ;
22
22
import com .google .api .client .http .HttpTransport ;
23
23
import com .google .api .client .json .JsonFactory ;
24
- import com .google .api .services .storagetransfer .Storagetransfer ;
25
- import com .google .api .services .storagetransfer .StoragetransferScopes ;
24
+ import com .google .api .services .storagetransfer .v1 . Storagetransfer ;
25
+ import com .google .api .services .storagetransfer .v1 . StoragetransferScopes ;
26
26
import com .google .common .base .Preconditions ;
27
27
28
28
import java .io .IOException ;
Original file line number Diff line number Diff line change 16
16
// [START all]
17
17
package com .google .cloud .storage .storagetransfer .samples ;
18
18
19
- import com .google .api .services .storagetransfer .model .Date ;
20
- import com .google .api .services .storagetransfer .model .TimeOfDay ;
19
+ import com .google .api .services .storagetransfer .v1 . model .Date ;
20
+ import com .google .api .services .storagetransfer .v1 . model .TimeOfDay ;
21
21
22
22
/**
23
23
* Utility methods for creating TransferJobs.
Original file line number Diff line number Diff line change 19
19
import static org .mockito .Mockito .verify ;
20
20
import static org .mockito .Mockito .when ;
21
21
22
- import com .google .api .services .storagetransfer .Storagetransfer ;
23
- import com .google .api .services .storagetransfer .Storagetransfer .TransferOperations ;
24
- import com .google .api .services .storagetransfer .Storagetransfer .TransferOperations .List ;
22
+ import com .google .api .services .storagetransfer .v1 . Storagetransfer ;
23
+ import com .google .api .services .storagetransfer .v1 . Storagetransfer .TransferOperations ;
24
+ import com .google .api .services .storagetransfer .v1 . Storagetransfer .TransferOperations .List ;
25
25
import com .google .cloud .storage .storagetransfer .samples .RequestChecker ;
26
26
27
27
import org .junit .Test ;
Original file line number Diff line number Diff line change 18
18
19
19
import static com .google .common .truth .Truth .assertThat ;
20
20
21
- import com .google .api .services .storagetransfer .model .Date ;
22
- import com .google .api .services .storagetransfer .model .TimeOfDay ;
21
+ import com .google .api .services .storagetransfer .v1 . model .Date ;
22
+ import com .google .api .services .storagetransfer .v1 . model .TimeOfDay ;
23
23
import com .google .cloud .storage .storagetransfer .samples .TransferJobUtils ;
24
24
25
25
import org .junit .Test ;
You can’t perform that action at this time.
0 commit comments