Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 8 additions & 33 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,43 +1,18 @@
# -*- coding: utf-8 -*-
#
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Generated by synthtool. DO NOT EDIT!
[run]
branch = True
omit =
.nox/*
google/__init__.py
google/cloud/__init__.py
google/cloud/storage_v2/__init__.py
google/cloud/storage_v2/gapic_version.py

[report]
fail_under = 99
show_missing = True
omit =
.nox/*
.nox/*
.nox/*
.nox/*
.nox/*
google/cloud/storage/__init__.py
google/cloud/storage/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Ignore abstract methods
raise NotImplementedError
omit =
.nox/*
*/gapic/*.py
*/proto/*.py
*/core/*.py
*/site-packages/*.py
google/cloud/__init__.py
140 changes: 140 additions & 0 deletions google/cloud/storage_v2/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.storage_v2 import gapic_version as package_version

__version__ = package_version.__version__


from .services.storage import StorageClient
from .services.storage import StorageAsyncClient

from .types.storage import AppendObjectSpec
from .types.storage import BidiReadHandle
from .types.storage import BidiReadObjectError
from .types.storage import BidiReadObjectRedirectedError
from .types.storage import BidiReadObjectRequest
from .types.storage import BidiReadObjectResponse
from .types.storage import BidiReadObjectSpec
from .types.storage import BidiWriteHandle
from .types.storage import BidiWriteObjectRedirectedError
from .types.storage import BidiWriteObjectRequest
from .types.storage import BidiWriteObjectResponse
from .types.storage import Bucket
from .types.storage import BucketAccessControl
from .types.storage import CancelResumableWriteRequest
from .types.storage import CancelResumableWriteResponse
from .types.storage import ChecksummedData
from .types.storage import CommonObjectRequestParams
from .types.storage import ComposeObjectRequest
from .types.storage import ContentRange
from .types.storage import CreateBucketRequest
from .types.storage import CustomerEncryption
from .types.storage import DeleteBucketRequest
from .types.storage import DeleteObjectRequest
from .types.storage import GetBucketRequest
from .types.storage import GetObjectRequest
from .types.storage import ListBucketsRequest
from .types.storage import ListBucketsResponse
from .types.storage import ListObjectsRequest
from .types.storage import ListObjectsResponse
from .types.storage import LockBucketRetentionPolicyRequest
from .types.storage import MoveObjectRequest
from .types.storage import Object
from .types.storage import ObjectAccessControl
from .types.storage import ObjectChecksums
from .types.storage import ObjectContexts
from .types.storage import ObjectCustomContextPayload
from .types.storage import ObjectRangeData
from .types.storage import Owner
from .types.storage import ProjectTeam
from .types.storage import QueryWriteStatusRequest
from .types.storage import QueryWriteStatusResponse
from .types.storage import ReadObjectRequest
from .types.storage import ReadObjectResponse
from .types.storage import ReadRange
from .types.storage import ReadRangeError
from .types.storage import RestoreObjectRequest
from .types.storage import RewriteObjectRequest
from .types.storage import RewriteResponse
from .types.storage import ServiceConstants
from .types.storage import StartResumableWriteRequest
from .types.storage import StartResumableWriteResponse
from .types.storage import UpdateBucketRequest
from .types.storage import UpdateObjectRequest
from .types.storage import WriteObjectRequest
from .types.storage import WriteObjectResponse
from .types.storage import WriteObjectSpec

__all__ = (
"StorageAsyncClient",
"AppendObjectSpec",
"BidiReadHandle",
"BidiReadObjectError",
"BidiReadObjectRedirectedError",
"BidiReadObjectRequest",
"BidiReadObjectResponse",
"BidiReadObjectSpec",
"BidiWriteHandle",
"BidiWriteObjectRedirectedError",
"BidiWriteObjectRequest",
"BidiWriteObjectResponse",
"Bucket",
"BucketAccessControl",
"CancelResumableWriteRequest",
"CancelResumableWriteResponse",
"ChecksummedData",
"CommonObjectRequestParams",
"ComposeObjectRequest",
"ContentRange",
"CreateBucketRequest",
"CustomerEncryption",
"DeleteBucketRequest",
"DeleteObjectRequest",
"GetBucketRequest",
"GetObjectRequest",
"ListBucketsRequest",
"ListBucketsResponse",
"ListObjectsRequest",
"ListObjectsResponse",
"LockBucketRetentionPolicyRequest",
"MoveObjectRequest",
"Object",
"ObjectAccessControl",
"ObjectChecksums",
"ObjectContexts",
"ObjectCustomContextPayload",
"ObjectRangeData",
"Owner",
"ProjectTeam",
"QueryWriteStatusRequest",
"QueryWriteStatusResponse",
"ReadObjectRequest",
"ReadObjectResponse",
"ReadRange",
"ReadRangeError",
"RestoreObjectRequest",
"RewriteObjectRequest",
"RewriteResponse",
"ServiceConstants",
"StartResumableWriteRequest",
"StartResumableWriteResponse",
"StorageClient",
"UpdateBucketRequest",
"UpdateObjectRequest",
"WriteObjectRequest",
"WriteObjectResponse",
"WriteObjectSpec",
)
Loading