Skip to content

Commit fd753e6

Browse files
author
Shun Fan
committed
Add region tags to exclude the license
1 parent bb9c181 commit fd753e6

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

storage/storage_transfer/aws_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14+
# [START all]
1415
import json
1516
import logging
1617

@@ -66,3 +67,4 @@ def main():
6667

6768
if __name__ == '__main__':
6869
main()
70+
# [END all]

storage/storage_transfer/create_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14+
# [START all]
1415
import logging
1516

1617
from apiclient import discovery
@@ -25,3 +26,4 @@ def create_transfer_client():
2526
logging.getLogger().setLevel(logging.DEBUG)
2627
credentials = GoogleCredentials.get_application_default()
2728
return discovery.build('storagetransfer', 'v1', credentials=credentials)
29+
# [END all]

storage/storage_transfer/nearline_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14+
# [START all]
1415
import json
1516
import logging
1617

@@ -62,3 +63,4 @@ def main():
6263

6364
if __name__ == '__main__':
6465
main()
66+
# [END all]

storage/storage_transfer/transfer_check.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14+
# [START all]
1415
import json
1516
import logging
1617

@@ -42,3 +43,4 @@ def main():
4243

4344
if __name__ == '__main__':
4445
main()
46+
# [END all]

0 commit comments

Comments
 (0)