Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit ffa4b1f

Browse files
authored
chore: upgrade gapic-generator-python to 0.46.3 (#151)
This PR is the result of manually running the following commands in order to pull in the latest changes from googleapis-gen which includes gapic generator version 0.46.3: 1. Download the latest docker image for owlbot-cli ``` docker pull gcr.io/repo-automation-bots/owlbot-cli:latest ``` 2. Run the owlbot-cli to copy the generated client from googleapis/googleapis-gen ``` docker run --rm --user $(id -u):$(id -g) -v $(pwd):/repo -w /repo gcr.io/repo-automation-bots/owlbot-cli:latest copy-code ``` 3. Download the latest docker image for owlbot-python ``` docker pull gcr.io/repo-automation-bots/owlbot-python:latest ``` 4. Run the post processor image ``` docker run --user $(id -u):$(id -g) --rm -v $(pwd):/repo -w /repo gcr.io/repo-automation-bots/owlbot-python:latest ``` Other features/fixes include: fix: add async client to %name_%version/init.py chore: add autogenerated snippets chore: remove auth, policy, and options from the reserved names list feat: support self-signed JWT flow for service accounts chore: enable GAPIC metadata generation chore: sort subpackages in %namespace/%name/init.py
1 parent 976ac3e commit ffa4b1f

File tree

100 files changed

+5142
-3745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+5142
-3745
lines changed

docs/monitoring_v3/alert_policy_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ AlertPolicyService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.monitoring_v3.services.alert_policy_service.pagers
109
:members:
1110
:inherited-members:

docs/monitoring_v3/group_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ GroupService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.monitoring_v3.services.group_service.pagers
109
:members:
1110
:inherited-members:

docs/monitoring_v3/metric_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ MetricService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.monitoring_v3.services.metric_service.pagers
109
:members:
1110
:inherited-members:

docs/monitoring_v3/notification_channel_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ NotificationChannelService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.monitoring_v3.services.notification_channel_service.pagers
109
:members:
1110
:inherited-members:

docs/monitoring_v3/query_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ QueryService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.monitoring_v3.services.query_service.pagers
109
:members:
1110
:inherited-members:

docs/monitoring_v3/service_monitoring_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ServiceMonitoringService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.monitoring_v3.services.service_monitoring_service.pagers
109
:members:
1110
:inherited-members:

docs/monitoring_v3/uptime_check_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ UptimeCheckService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.monitoring_v3.services.uptime_check_service.pagers
109
:members:
1110
:inherited-members:

google/cloud/monitoring/__init__.py

Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,44 +14,45 @@
1514
# limitations under the License.
1615
#
1716

18-
from google.cloud.monitoring_v3.services.alert_policy_service.async_client import (
19-
AlertPolicyServiceAsyncClient,
20-
)
2117
from google.cloud.monitoring_v3.services.alert_policy_service.client import (
2218
AlertPolicyServiceClient,
2319
)
24-
from google.cloud.monitoring_v3.services.group_service.async_client import (
25-
GroupServiceAsyncClient,
20+
from google.cloud.monitoring_v3.services.alert_policy_service.async_client import (
21+
AlertPolicyServiceAsyncClient,
2622
)
2723
from google.cloud.monitoring_v3.services.group_service.client import GroupServiceClient
28-
from google.cloud.monitoring_v3.services.metric_service.async_client import (
29-
MetricServiceAsyncClient,
24+
from google.cloud.monitoring_v3.services.group_service.async_client import (
25+
GroupServiceAsyncClient,
3026
)
3127
from google.cloud.monitoring_v3.services.metric_service.client import (
3228
MetricServiceClient,
3329
)
34-
from google.cloud.monitoring_v3.services.notification_channel_service.async_client import (
35-
NotificationChannelServiceAsyncClient,
30+
from google.cloud.monitoring_v3.services.metric_service.async_client import (
31+
MetricServiceAsyncClient,
3632
)
3733
from google.cloud.monitoring_v3.services.notification_channel_service.client import (
3834
NotificationChannelServiceClient,
3935
)
40-
from google.cloud.monitoring_v3.services.query_service.async_client import (
41-
QueryServiceAsyncClient,
36+
from google.cloud.monitoring_v3.services.notification_channel_service.async_client import (
37+
NotificationChannelServiceAsyncClient,
4238
)
4339
from google.cloud.monitoring_v3.services.query_service.client import QueryServiceClient
44-
from google.cloud.monitoring_v3.services.service_monitoring_service.async_client import (
45-
ServiceMonitoringServiceAsyncClient,
40+
from google.cloud.monitoring_v3.services.query_service.async_client import (
41+
QueryServiceAsyncClient,
4642
)
4743
from google.cloud.monitoring_v3.services.service_monitoring_service.client import (
4844
ServiceMonitoringServiceClient,
4945
)
50-
from google.cloud.monitoring_v3.services.uptime_check_service.async_client import (
51-
UptimeCheckServiceAsyncClient,
46+
from google.cloud.monitoring_v3.services.service_monitoring_service.async_client import (
47+
ServiceMonitoringServiceAsyncClient,
5248
)
5349
from google.cloud.monitoring_v3.services.uptime_check_service.client import (
5450
UptimeCheckServiceClient,
5551
)
52+
from google.cloud.monitoring_v3.services.uptime_check_service.async_client import (
53+
UptimeCheckServiceAsyncClient,
54+
)
55+
5656
from google.cloud.monitoring_v3.types.alert import AlertPolicy
5757
from google.cloud.monitoring_v3.types.alert_service import CreateAlertPolicyRequest
5858
from google.cloud.monitoring_v3.types.alert_service import DeleteAlertPolicyRequest
@@ -61,10 +61,10 @@
6161
from google.cloud.monitoring_v3.types.alert_service import ListAlertPoliciesResponse
6262
from google.cloud.monitoring_v3.types.alert_service import UpdateAlertPolicyRequest
6363
from google.cloud.monitoring_v3.types.common import Aggregation
64-
from google.cloud.monitoring_v3.types.common import ComparisonType
65-
from google.cloud.monitoring_v3.types.common import ServiceTier
6664
from google.cloud.monitoring_v3.types.common import TimeInterval
6765
from google.cloud.monitoring_v3.types.common import TypedValue
66+
from google.cloud.monitoring_v3.types.common import ComparisonType
67+
from google.cloud.monitoring_v3.types.common import ServiceTier
6868
from google.cloud.monitoring_v3.types.dropped_labels import DroppedLabels
6969
from google.cloud.monitoring_v3.types.group import Group
7070
from google.cloud.monitoring_v3.types.group_service import CreateGroupRequest
@@ -186,10 +186,10 @@
186186
)
187187
from google.cloud.monitoring_v3.types.service_service import UpdateServiceRequest
188188
from google.cloud.monitoring_v3.types.span_context import SpanContext
189-
from google.cloud.monitoring_v3.types.uptime import GroupResourceType
190189
from google.cloud.monitoring_v3.types.uptime import InternalChecker
191190
from google.cloud.monitoring_v3.types.uptime import UptimeCheckConfig
192191
from google.cloud.monitoring_v3.types.uptime import UptimeCheckIp
192+
from google.cloud.monitoring_v3.types.uptime import GroupResourceType
193193
from google.cloud.monitoring_v3.types.uptime import UptimeCheckRegion
194194
from google.cloud.monitoring_v3.types.uptime_service import (
195195
CreateUptimeCheckConfigRequest,
@@ -211,114 +211,114 @@
211211
)
212212

213213
__all__ = (
214-
"Aggregation",
215-
"AlertPolicy",
216-
"AlertPolicyServiceAsyncClient",
217214
"AlertPolicyServiceClient",
218-
"BasicSli",
219-
"ComparisonType",
215+
"AlertPolicyServiceAsyncClient",
216+
"GroupServiceClient",
217+
"GroupServiceAsyncClient",
218+
"MetricServiceClient",
219+
"MetricServiceAsyncClient",
220+
"NotificationChannelServiceClient",
221+
"NotificationChannelServiceAsyncClient",
222+
"QueryServiceClient",
223+
"QueryServiceAsyncClient",
224+
"ServiceMonitoringServiceClient",
225+
"ServiceMonitoringServiceAsyncClient",
226+
"UptimeCheckServiceClient",
227+
"UptimeCheckServiceAsyncClient",
228+
"AlertPolicy",
220229
"CreateAlertPolicyRequest",
221-
"CreateGroupRequest",
222-
"CreateMetricDescriptorRequest",
223-
"CreateNotificationChannelRequest",
224-
"CreateServiceLevelObjectiveRequest",
225-
"CreateServiceRequest",
226-
"CreateTimeSeriesError",
227-
"CreateTimeSeriesRequest",
228-
"CreateTimeSeriesSummary",
229-
"CreateUptimeCheckConfigRequest",
230230
"DeleteAlertPolicyRequest",
231-
"DeleteGroupRequest",
232-
"DeleteMetricDescriptorRequest",
233-
"DeleteNotificationChannelRequest",
234-
"DeleteServiceLevelObjectiveRequest",
235-
"DeleteServiceRequest",
236-
"DeleteUptimeCheckConfigRequest",
237-
"DistributionCut",
238-
"DroppedLabels",
239231
"GetAlertPolicyRequest",
240-
"GetGroupRequest",
241-
"GetMetricDescriptorRequest",
242-
"GetMonitoredResourceDescriptorRequest",
243-
"GetNotificationChannelDescriptorRequest",
244-
"GetNotificationChannelRequest",
245-
"GetNotificationChannelVerificationCodeRequest",
246-
"GetNotificationChannelVerificationCodeResponse",
247-
"GetServiceLevelObjectiveRequest",
248-
"GetServiceRequest",
249-
"GetUptimeCheckConfigRequest",
250-
"Group",
251-
"GroupResourceType",
252-
"GroupServiceAsyncClient",
253-
"GroupServiceClient",
254-
"InternalChecker",
255-
"LabelValue",
256232
"ListAlertPoliciesRequest",
257233
"ListAlertPoliciesResponse",
234+
"UpdateAlertPolicyRequest",
235+
"Aggregation",
236+
"TimeInterval",
237+
"TypedValue",
238+
"ComparisonType",
239+
"ServiceTier",
240+
"DroppedLabels",
241+
"Group",
242+
"CreateGroupRequest",
243+
"DeleteGroupRequest",
244+
"GetGroupRequest",
258245
"ListGroupMembersRequest",
259246
"ListGroupMembersResponse",
260247
"ListGroupsRequest",
261248
"ListGroupsResponse",
249+
"UpdateGroupRequest",
250+
"LabelValue",
251+
"Point",
252+
"QueryError",
253+
"TextLocator",
254+
"TimeSeries",
255+
"TimeSeriesData",
256+
"TimeSeriesDescriptor",
257+
"CreateMetricDescriptorRequest",
258+
"CreateTimeSeriesError",
259+
"CreateTimeSeriesRequest",
260+
"CreateTimeSeriesSummary",
261+
"DeleteMetricDescriptorRequest",
262+
"GetMetricDescriptorRequest",
263+
"GetMonitoredResourceDescriptorRequest",
262264
"ListMetricDescriptorsRequest",
263265
"ListMetricDescriptorsResponse",
264266
"ListMonitoredResourceDescriptorsRequest",
265267
"ListMonitoredResourceDescriptorsResponse",
266-
"ListNotificationChannelDescriptorsRequest",
267-
"ListNotificationChannelDescriptorsResponse",
268-
"ListNotificationChannelsRequest",
269-
"ListNotificationChannelsResponse",
270-
"ListServiceLevelObjectivesRequest",
271-
"ListServiceLevelObjectivesResponse",
272-
"ListServicesRequest",
273-
"ListServicesResponse",
274268
"ListTimeSeriesRequest",
275269
"ListTimeSeriesResponse",
276-
"ListUptimeCheckConfigsRequest",
277-
"ListUptimeCheckConfigsResponse",
278-
"ListUptimeCheckIpsRequest",
279-
"ListUptimeCheckIpsResponse",
280-
"MetricServiceAsyncClient",
281-
"MetricServiceClient",
282-
"MutationRecord",
283-
"NotificationChannel",
284-
"NotificationChannelDescriptor",
285-
"NotificationChannelServiceAsyncClient",
286-
"NotificationChannelServiceClient",
287-
"Point",
288-
"QueryError",
289270
"QueryErrorList",
290-
"QueryServiceAsyncClient",
291-
"QueryServiceClient",
292271
"QueryTimeSeriesRequest",
293272
"QueryTimeSeriesResponse",
273+
"MutationRecord",
274+
"NotificationChannel",
275+
"NotificationChannelDescriptor",
276+
"CreateNotificationChannelRequest",
277+
"DeleteNotificationChannelRequest",
278+
"GetNotificationChannelDescriptorRequest",
279+
"GetNotificationChannelRequest",
280+
"GetNotificationChannelVerificationCodeRequest",
281+
"GetNotificationChannelVerificationCodeResponse",
282+
"ListNotificationChannelDescriptorsRequest",
283+
"ListNotificationChannelDescriptorsResponse",
284+
"ListNotificationChannelsRequest",
285+
"ListNotificationChannelsResponse",
286+
"SendNotificationChannelVerificationCodeRequest",
287+
"UpdateNotificationChannelRequest",
288+
"VerifyNotificationChannelRequest",
289+
"BasicSli",
290+
"DistributionCut",
294291
"Range",
295292
"RequestBasedSli",
296-
"SendNotificationChannelVerificationCodeRequest",
297293
"Service",
298294
"ServiceLevelIndicator",
299295
"ServiceLevelObjective",
300-
"ServiceMonitoringServiceAsyncClient",
301-
"ServiceMonitoringServiceClient",
302-
"ServiceTier",
303-
"SpanContext",
304-
"TextLocator",
305-
"TimeInterval",
306-
"TimeSeries",
307-
"TimeSeriesData",
308-
"TimeSeriesDescriptor",
309296
"TimeSeriesRatio",
310-
"TypedValue",
311-
"UpdateAlertPolicyRequest",
312-
"UpdateGroupRequest",
313-
"UpdateNotificationChannelRequest",
297+
"WindowsBasedSli",
298+
"CreateServiceLevelObjectiveRequest",
299+
"CreateServiceRequest",
300+
"DeleteServiceLevelObjectiveRequest",
301+
"DeleteServiceRequest",
302+
"GetServiceLevelObjectiveRequest",
303+
"GetServiceRequest",
304+
"ListServiceLevelObjectivesRequest",
305+
"ListServiceLevelObjectivesResponse",
306+
"ListServicesRequest",
307+
"ListServicesResponse",
314308
"UpdateServiceLevelObjectiveRequest",
315309
"UpdateServiceRequest",
316-
"UpdateUptimeCheckConfigRequest",
310+
"SpanContext",
311+
"InternalChecker",
317312
"UptimeCheckConfig",
318313
"UptimeCheckIp",
314+
"GroupResourceType",
319315
"UptimeCheckRegion",
320-
"UptimeCheckServiceAsyncClient",
321-
"UptimeCheckServiceClient",
322-
"VerifyNotificationChannelRequest",
323-
"WindowsBasedSli",
316+
"CreateUptimeCheckConfigRequest",
317+
"DeleteUptimeCheckConfigRequest",
318+
"GetUptimeCheckConfigRequest",
319+
"ListUptimeCheckConfigsRequest",
320+
"ListUptimeCheckConfigsResponse",
321+
"ListUptimeCheckIpsRequest",
322+
"ListUptimeCheckIpsResponse",
323+
"UpdateUptimeCheckConfigRequest",
324324
)

0 commit comments

Comments
 (0)