Commit c3ceeec
feat: Add samples for STS GAPIC client (GoogleCloudPlatform#7091)
* feat: Add samples for GAPIC client
* refactor(storagetransfer): Update region tags
* refactor(storagetransfer)!: Unify `storage-transfer` and `storage/transfer-service` as `storagetransfer`
* refactor(storagetransfer): Update region tags for apiary samples
Removes legacay `all` and `main` tags
* style(storagetransfer): Rename new sample file names to match existing names
Keeps things a bit more uniform
* docs(storagetransfer): Update copyright info for migrated files
* docs(storagetransfer): Update documentation for clarity
* docs(storagetransfer): Make `header-check` happy
* refactor(storagetransfer): Streamline quick start
* refactor(storagetransfer): Updates for `Python Sample Authoring Guide` conformance
* refactor(storagetransfer): Repair apiary import
* chore(storagetransfer): Fix copyright year
* test(storagetransfer): Disable `enforce_type_hints`
This folder has old samples that we don't want to heavily modify
* feat(storagetransfer): Add GAPIC retry sample
* refactor(storagetransfer): cleanup Duration import
* test(storagetransfer): Split up existing test file and add tests for GAPIC
* fix(storagetransfer): Correctly pass `retry` parameter
* feat(storagetransfer): Add create client samples
* feat(storagetransfer): Add GAPIC sample for `storagetransfer_transfer_check`
* refactor(storagetransfer): Get more info from `get_operation`
* refactor(storagetransfer): Use conventional style for argument flags
* test(storagetransfer): Import test reliability with `backoff`
* test(storagetransfer): Cleanup transfer jobs post-test
* test(storagetransfer): Add tests for `transfer_check`
* refactor(storagetransfer): Add `description` to match apiary client
* test(storagetransfer): Add tests for `nearline_request`
* feat(storagetransfer): Improve `TransferOperation` samples by deserializing the payload
* docs(storagetransfer): Clarifications
* style(storagetransfer): line break (80 char limit)
* test(storagetransfer): Source AWS secrets if available
* docs(storagetransfer): Update README input
Update input for consistency, although not necessarily used
* test(storagetransfer): Prepare and use shared, dynamic setup
Use shared config, dynamically prepare buckets
* test(storagetransfer): Add simple tests for create client
* refactor(storagetransfer): Add description to AWS request sample
* test(storagetransfer): Move `job_description` to shared test utility
* test(storagetransfer): Add tests for S3 -> GCS
* fix(storagetransfer): Correct `storagetransfer_create_transfer_client` region tag
* fix(storagetransfer): `BEGIN` -> `START`
* fix(storagetransfer): `BEGIN` -> `START`
* docs(storagetransfer): Typo
* feat(storagetransfer): Add `cloud-storage-dpes` and `python-samples-owners` to CODEOWNERS
* fix(storagetransfer): Correct shebang on apiary samples
* docs: Add comment for AWS secrets
* docs(storagetransfer): Fix product URL for README input
* refactor(storagetransfer): Remove generic `Exception` catch
* test(storagetransfer): Remove unnecessary `noxfile.py`
* docs(storagetransfer): Improve `create_client` test documentation
* docs(storagetransfer): Improve documentation on `aws-secrets.sh`
* docs(storagetransfer): Documentation updates
Co-authored-by: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com>1 parent 3ca114f commit c3ceeec
31 files changed
Lines changed: 1316 additions & 148 deletions
File tree
- .github
- .kokoro/tests
- storagetransfer
- storage/transfer_service
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
111 | | - | |
0 commit comments