Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/google/cloud/storage/__init__.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-09-25 06:17 +0000

1# Copyright 2014 Google LLC 

2# 

3# Licensed under the Apache License, Version 2.0 (the "License"); 

4# you may not use this file except in compliance with the License. 

5# You may obtain a copy of the License at 

6# 

7# http://www.apache.org/licenses/LICENSE-2.0 

8# 

9# Unless required by applicable law or agreed to in writing, software 

10# distributed under the License is distributed on an "AS IS" BASIS, 

11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

12# See the License for the specific language governing permissions and 

13# limitations under the License. 

14 

15"""Shortcut methods for getting set up with Google Cloud Storage. 

16 

17You'll typically use these to get started with the API: 

18 

19.. literalinclude:: snippets.py 

20 :start-after: START storage_get_started 

21 :end-before: END storage_get_started 

22 :dedent: 4 

23 

24The main concepts with this API are: 

25 

26- :class:`~google.cloud.storage.bucket.Bucket` which represents a particular 

27 bucket (akin to a mounted disk on a computer). 

28 

29- :class:`~google.cloud.storage.blob.Blob` which represents a pointer to a 

30 particular entity in Cloud Storage (akin to a file path on a remote 

31 machine). 

32""" 

33 

34from google.cloud.storage.version import __version__ 

35from google.cloud.storage.batch import Batch 

36from google.cloud.storage.blob import Blob 

37from google.cloud.storage.bucket import Bucket 

38from google.cloud.storage.client import Client 

39 

40 

41__all__ = ["__version__", "Batch", "Blob", "Bucket", "Client"]