Skip to content

Commit cda65dc

Browse files
authored
chore: librarian update image pull request: 20260213T192444Z (#1084)
feat: update image to us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:a38add811f7f139d6a385b22d283ad09ef305b8cf50382ef62f0ce690787f021
1 parent 77b5713 commit cda65dc

File tree

25 files changed

+99
-66
lines changed

25 files changed

+99
-66
lines changed

packages/google-cloud-logging/.librarian/state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:e7cc6823efb073a8a26e7cefdd869f12ec228abfbd2a44aa9a7eacc284023677
1+
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:a38add811f7f139d6a385b22d283ad09ef305b8cf50382ef62f0ce690787f021
22
libraries:
33
- id: google-cloud-logging
44
version: 3.13.0

packages/google-cloud-logging/google/cloud/logging_v2/services/config_service_v2/async_client.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@
4646
except AttributeError: # pragma: NO COVER
4747
OptionalRetry = Union[retries.AsyncRetry, object, None] # type: ignore
4848

49-
from google.api_core import operation # type: ignore
50-
from google.api_core import operation_async # type: ignore
5149
from google.cloud.logging_v2.services.config_service_v2 import pagers
5250
from google.cloud.logging_v2.types import logging_config
5351
from google.longrunning import operations_pb2 # type: ignore
54-
from google.protobuf import empty_pb2 # type: ignore
55-
from google.protobuf import field_mask_pb2 # type: ignore
56-
from google.protobuf import timestamp_pb2 # type: ignore
52+
import google.api_core.operation as operation # type: ignore
53+
import google.api_core.operation_async as operation_async # type: ignore
54+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
55+
import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore
56+
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
5757
from .transports.base import ConfigServiceV2Transport, DEFAULT_CLIENT_INFO
5858
from .transports.grpc_asyncio import ConfigServiceV2GrpcAsyncIOTransport
5959
from .client import ConfigServiceV2Client
@@ -136,7 +136,10 @@ def from_service_account_info(cls, info: dict, *args, **kwargs):
136136
Returns:
137137
ConfigServiceV2AsyncClient: The constructed client.
138138
"""
139-
return ConfigServiceV2Client.from_service_account_info.__func__(ConfigServiceV2AsyncClient, info, *args, **kwargs) # type: ignore
139+
sa_info_func = (
140+
ConfigServiceV2Client.from_service_account_info.__func__ # type: ignore
141+
)
142+
return sa_info_func(ConfigServiceV2AsyncClient, info, *args, **kwargs)
140143

141144
@classmethod
142145
def from_service_account_file(cls, filename: str, *args, **kwargs):
@@ -152,7 +155,10 @@ def from_service_account_file(cls, filename: str, *args, **kwargs):
152155
Returns:
153156
ConfigServiceV2AsyncClient: The constructed client.
154157
"""
155-
return ConfigServiceV2Client.from_service_account_file.__func__(ConfigServiceV2AsyncClient, filename, *args, **kwargs) # type: ignore
158+
sa_file_func = (
159+
ConfigServiceV2Client.from_service_account_file.__func__ # type: ignore
160+
)
161+
return sa_file_func(ConfigServiceV2AsyncClient, filename, *args, **kwargs)
156162

157163
from_service_account_json = from_service_account_file
158164

packages/google-cloud-logging/google/cloud/logging_v2/services/config_service_v2/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@
6262

6363
_LOGGER = std_logging.getLogger(__name__)
6464

65-
from google.api_core import operation # type: ignore
66-
from google.api_core import operation_async # type: ignore
6765
from google.cloud.logging_v2.services.config_service_v2 import pagers
6866
from google.cloud.logging_v2.types import logging_config
6967
from google.longrunning import operations_pb2 # type: ignore
70-
from google.protobuf import empty_pb2 # type: ignore
71-
from google.protobuf import field_mask_pb2 # type: ignore
72-
from google.protobuf import timestamp_pb2 # type: ignore
68+
import google.api_core.operation as operation # type: ignore
69+
import google.api_core.operation_async as operation_async # type: ignore
70+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
71+
import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore
72+
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
7373
from .transports.base import ConfigServiceV2Transport, DEFAULT_CLIENT_INFO
7474
from .transports.grpc import ConfigServiceV2GrpcTransport
7575
from .transports.grpc_asyncio import ConfigServiceV2GrpcAsyncIOTransport

packages/google-cloud-logging/google/cloud/logging_v2/services/config_service_v2/transports/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
from google.cloud.logging_v2.types import logging_config
3232
from google.longrunning import operations_pb2 # type: ignore
33-
from google.protobuf import empty_pb2 # type: ignore
33+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
3434

3535
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
3636
gapic_version=package_version.__version__

packages/google-cloud-logging/google/cloud/logging_v2/services/config_service_v2/transports/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
from google.cloud.logging_v2.types import logging_config
3535
from google.longrunning import operations_pb2 # type: ignore
36-
from google.protobuf import empty_pb2 # type: ignore
36+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
3737
from .base import ConfigServiceV2Transport, DEFAULT_CLIENT_INFO
3838

3939
try:

packages/google-cloud-logging/google/cloud/logging_v2/services/config_service_v2/transports/grpc_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
from google.cloud.logging_v2.types import logging_config
3838
from google.longrunning import operations_pb2 # type: ignore
39-
from google.protobuf import empty_pb2 # type: ignore
39+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
4040
from .base import ConfigServiceV2Transport, DEFAULT_CLIENT_INFO
4141
from .grpc import ConfigServiceV2GrpcTransport
4242

packages/google-cloud-logging/google/cloud/logging_v2/services/logging_service_v2/async_client.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
except AttributeError: # pragma: NO COVER
5050
OptionalRetry = Union[retries.AsyncRetry, object, None] # type: ignore
5151

52-
from google.api import monitored_resource_pb2 # type: ignore
5352
from google.cloud.logging_v2.services.logging_service_v2 import pagers
5453
from google.cloud.logging_v2.types import log_entry
5554
from google.cloud.logging_v2.types import logging
5655
from google.longrunning import operations_pb2 # type: ignore
56+
import google.api.monitored_resource_pb2 as monitored_resource_pb2 # type: ignore
5757
from .transports.base import LoggingServiceV2Transport, DEFAULT_CLIENT_INFO
5858
from .transports.grpc_asyncio import LoggingServiceV2GrpcAsyncIOTransport
5959
from .client import LoggingServiceV2Client
@@ -120,7 +120,10 @@ def from_service_account_info(cls, info: dict, *args, **kwargs):
120120
Returns:
121121
LoggingServiceV2AsyncClient: The constructed client.
122122
"""
123-
return LoggingServiceV2Client.from_service_account_info.__func__(LoggingServiceV2AsyncClient, info, *args, **kwargs) # type: ignore
123+
sa_info_func = (
124+
LoggingServiceV2Client.from_service_account_info.__func__ # type: ignore
125+
)
126+
return sa_info_func(LoggingServiceV2AsyncClient, info, *args, **kwargs)
124127

125128
@classmethod
126129
def from_service_account_file(cls, filename: str, *args, **kwargs):
@@ -136,7 +139,10 @@ def from_service_account_file(cls, filename: str, *args, **kwargs):
136139
Returns:
137140
LoggingServiceV2AsyncClient: The constructed client.
138141
"""
139-
return LoggingServiceV2Client.from_service_account_file.__func__(LoggingServiceV2AsyncClient, filename, *args, **kwargs) # type: ignore
142+
sa_file_func = (
143+
LoggingServiceV2Client.from_service_account_file.__func__ # type: ignore
144+
)
145+
return sa_file_func(LoggingServiceV2AsyncClient, filename, *args, **kwargs)
140146

141147
from_service_account_json = from_service_account_file
142148

packages/google-cloud-logging/google/cloud/logging_v2/services/logging_service_v2/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@
6464

6565
_LOGGER = std_logging.getLogger(__name__)
6666

67-
from google.api import monitored_resource_pb2 # type: ignore
6867
from google.cloud.logging_v2.services.logging_service_v2 import pagers
6968
from google.cloud.logging_v2.types import log_entry
7069
from google.cloud.logging_v2.types import logging
7170
from google.longrunning import operations_pb2 # type: ignore
71+
import google.api.monitored_resource_pb2 as monitored_resource_pb2 # type: ignore
7272
from .transports.base import LoggingServiceV2Transport, DEFAULT_CLIENT_INFO
7373
from .transports.grpc import LoggingServiceV2GrpcTransport
7474
from .transports.grpc_asyncio import LoggingServiceV2GrpcAsyncIOTransport

packages/google-cloud-logging/google/cloud/logging_v2/services/logging_service_v2/pagers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
OptionalRetry = Union[retries.Retry, object, None] # type: ignore
3838
OptionalAsyncRetry = Union[retries_async.AsyncRetry, object, None] # type: ignore
3939

40-
from google.api import monitored_resource_pb2 # type: ignore
4140
from google.cloud.logging_v2.types import log_entry
4241
from google.cloud.logging_v2.types import logging
42+
import google.api.monitored_resource_pb2 as monitored_resource_pb2 # type: ignore
4343

4444

4545
class ListLogEntriesPager:

packages/google-cloud-logging/google/cloud/logging_v2/services/logging_service_v2/transports/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
from google.cloud.logging_v2.types import logging
3131
from google.longrunning import operations_pb2 # type: ignore
32-
from google.protobuf import empty_pb2 # type: ignore
32+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
3333

3434
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
3535
gapic_version=package_version.__version__

0 commit comments

Comments
 (0)