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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#151)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
parthea committed Jun 8, 2021
1 parent 976ac3e commit ffa4b1f
Show file tree
Hide file tree
Showing 100 changed files with 5,142 additions and 3,745 deletions.
1 change: 0 additions & 1 deletion docs/monitoring_v3/alert_policy_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ AlertPolicyService
:members:
:inherited-members:


.. automodule:: google.cloud.monitoring_v3.services.alert_policy_service.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/monitoring_v3/group_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ GroupService
:members:
:inherited-members:


.. automodule:: google.cloud.monitoring_v3.services.group_service.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/monitoring_v3/metric_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ MetricService
:members:
:inherited-members:


.. automodule:: google.cloud.monitoring_v3.services.metric_service.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/monitoring_v3/notification_channel_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ NotificationChannelService
:members:
:inherited-members:


.. automodule:: google.cloud.monitoring_v3.services.notification_channel_service.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/monitoring_v3/query_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ QueryService
:members:
:inherited-members:


.. automodule:: google.cloud.monitoring_v3.services.query_service.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/monitoring_v3/service_monitoring_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ServiceMonitoringService
:members:
:inherited-members:


.. automodule:: google.cloud.monitoring_v3.services.service_monitoring_service.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/monitoring_v3/uptime_check_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ UptimeCheckService
:members:
:inherited-members:


.. automodule:: google.cloud.monitoring_v3.services.uptime_check_service.pagers
:members:
:inherited-members:
198 changes: 99 additions & 99 deletions google/cloud/monitoring/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,44 +14,45 @@
# limitations under the License.
#

from google.cloud.monitoring_v3.services.alert_policy_service.async_client import (
AlertPolicyServiceAsyncClient,
)
from google.cloud.monitoring_v3.services.alert_policy_service.client import (
AlertPolicyServiceClient,
)
from google.cloud.monitoring_v3.services.group_service.async_client import (
GroupServiceAsyncClient,
from google.cloud.monitoring_v3.services.alert_policy_service.async_client import (
AlertPolicyServiceAsyncClient,
)
from google.cloud.monitoring_v3.services.group_service.client import GroupServiceClient
from google.cloud.monitoring_v3.services.metric_service.async_client import (
MetricServiceAsyncClient,
from google.cloud.monitoring_v3.services.group_service.async_client import (
GroupServiceAsyncClient,
)
from google.cloud.monitoring_v3.services.metric_service.client import (
MetricServiceClient,
)
from google.cloud.monitoring_v3.services.notification_channel_service.async_client import (
NotificationChannelServiceAsyncClient,
from google.cloud.monitoring_v3.services.metric_service.async_client import (
MetricServiceAsyncClient,
)
from google.cloud.monitoring_v3.services.notification_channel_service.client import (
NotificationChannelServiceClient,
)
from google.cloud.monitoring_v3.services.query_service.async_client import (
QueryServiceAsyncClient,
from google.cloud.monitoring_v3.services.notification_channel_service.async_client import (
NotificationChannelServiceAsyncClient,
)
from google.cloud.monitoring_v3.services.query_service.client import QueryServiceClient
from google.cloud.monitoring_v3.services.service_monitoring_service.async_client import (
ServiceMonitoringServiceAsyncClient,
from google.cloud.monitoring_v3.services.query_service.async_client import (
QueryServiceAsyncClient,
)
from google.cloud.monitoring_v3.services.service_monitoring_service.client import (
ServiceMonitoringServiceClient,
)
from google.cloud.monitoring_v3.services.uptime_check_service.async_client import (
UptimeCheckServiceAsyncClient,
from google.cloud.monitoring_v3.services.service_monitoring_service.async_client import (
ServiceMonitoringServiceAsyncClient,
)
from google.cloud.monitoring_v3.services.uptime_check_service.client import (
UptimeCheckServiceClient,
)
from google.cloud.monitoring_v3.services.uptime_check_service.async_client import (
UptimeCheckServiceAsyncClient,
)

from google.cloud.monitoring_v3.types.alert import AlertPolicy
from google.cloud.monitoring_v3.types.alert_service import CreateAlertPolicyRequest
from google.cloud.monitoring_v3.types.alert_service import DeleteAlertPolicyRequest
Expand All @@ -61,10 +61,10 @@
from google.cloud.monitoring_v3.types.alert_service import ListAlertPoliciesResponse
from google.cloud.monitoring_v3.types.alert_service import UpdateAlertPolicyRequest
from google.cloud.monitoring_v3.types.common import Aggregation
from google.cloud.monitoring_v3.types.common import ComparisonType
from google.cloud.monitoring_v3.types.common import ServiceTier
from google.cloud.monitoring_v3.types.common import TimeInterval
from google.cloud.monitoring_v3.types.common import TypedValue
from google.cloud.monitoring_v3.types.common import ComparisonType
from google.cloud.monitoring_v3.types.common import ServiceTier
from google.cloud.monitoring_v3.types.dropped_labels import DroppedLabels
from google.cloud.monitoring_v3.types.group import Group
from google.cloud.monitoring_v3.types.group_service import CreateGroupRequest
Expand Down Expand Up @@ -186,10 +186,10 @@
)
from google.cloud.monitoring_v3.types.service_service import UpdateServiceRequest
from google.cloud.monitoring_v3.types.span_context import SpanContext
from google.cloud.monitoring_v3.types.uptime import GroupResourceType
from google.cloud.monitoring_v3.types.uptime import InternalChecker
from google.cloud.monitoring_v3.types.uptime import UptimeCheckConfig
from google.cloud.monitoring_v3.types.uptime import UptimeCheckIp
from google.cloud.monitoring_v3.types.uptime import GroupResourceType
from google.cloud.monitoring_v3.types.uptime import UptimeCheckRegion
from google.cloud.monitoring_v3.types.uptime_service import (
CreateUptimeCheckConfigRequest,
Expand All @@ -211,114 +211,114 @@
)

__all__ = (
"Aggregation",
"AlertPolicy",
"AlertPolicyServiceAsyncClient",
"AlertPolicyServiceClient",
"BasicSli",
"ComparisonType",
"AlertPolicyServiceAsyncClient",
"GroupServiceClient",
"GroupServiceAsyncClient",
"MetricServiceClient",
"MetricServiceAsyncClient",
"NotificationChannelServiceClient",
"NotificationChannelServiceAsyncClient",
"QueryServiceClient",
"QueryServiceAsyncClient",
"ServiceMonitoringServiceClient",
"ServiceMonitoringServiceAsyncClient",
"UptimeCheckServiceClient",
"UptimeCheckServiceAsyncClient",
"AlertPolicy",
"CreateAlertPolicyRequest",
"CreateGroupRequest",
"CreateMetricDescriptorRequest",
"CreateNotificationChannelRequest",
"CreateServiceLevelObjectiveRequest",
"CreateServiceRequest",
"CreateTimeSeriesError",
"CreateTimeSeriesRequest",
"CreateTimeSeriesSummary",
"CreateUptimeCheckConfigRequest",
"DeleteAlertPolicyRequest",
"DeleteGroupRequest",
"DeleteMetricDescriptorRequest",
"DeleteNotificationChannelRequest",
"DeleteServiceLevelObjectiveRequest",
"DeleteServiceRequest",
"DeleteUptimeCheckConfigRequest",
"DistributionCut",
"DroppedLabels",
"GetAlertPolicyRequest",
"GetGroupRequest",
"GetMetricDescriptorRequest",
"GetMonitoredResourceDescriptorRequest",
"GetNotificationChannelDescriptorRequest",
"GetNotificationChannelRequest",
"GetNotificationChannelVerificationCodeRequest",
"GetNotificationChannelVerificationCodeResponse",
"GetServiceLevelObjectiveRequest",
"GetServiceRequest",
"GetUptimeCheckConfigRequest",
"Group",
"GroupResourceType",
"GroupServiceAsyncClient",
"GroupServiceClient",
"InternalChecker",
"LabelValue",
"ListAlertPoliciesRequest",
"ListAlertPoliciesResponse",
"UpdateAlertPolicyRequest",
"Aggregation",
"TimeInterval",
"TypedValue",
"ComparisonType",
"ServiceTier",
"DroppedLabels",
"Group",
"CreateGroupRequest",
"DeleteGroupRequest",
"GetGroupRequest",
"ListGroupMembersRequest",
"ListGroupMembersResponse",
"ListGroupsRequest",
"ListGroupsResponse",
"UpdateGroupRequest",
"LabelValue",
"Point",
"QueryError",
"TextLocator",
"TimeSeries",
"TimeSeriesData",
"TimeSeriesDescriptor",
"CreateMetricDescriptorRequest",
"CreateTimeSeriesError",
"CreateTimeSeriesRequest",
"CreateTimeSeriesSummary",
"DeleteMetricDescriptorRequest",
"GetMetricDescriptorRequest",
"GetMonitoredResourceDescriptorRequest",
"ListMetricDescriptorsRequest",
"ListMetricDescriptorsResponse",
"ListMonitoredResourceDescriptorsRequest",
"ListMonitoredResourceDescriptorsResponse",
"ListNotificationChannelDescriptorsRequest",
"ListNotificationChannelDescriptorsResponse",
"ListNotificationChannelsRequest",
"ListNotificationChannelsResponse",
"ListServiceLevelObjectivesRequest",
"ListServiceLevelObjectivesResponse",
"ListServicesRequest",
"ListServicesResponse",
"ListTimeSeriesRequest",
"ListTimeSeriesResponse",
"ListUptimeCheckConfigsRequest",
"ListUptimeCheckConfigsResponse",
"ListUptimeCheckIpsRequest",
"ListUptimeCheckIpsResponse",
"MetricServiceAsyncClient",
"MetricServiceClient",
"MutationRecord",
"NotificationChannel",
"NotificationChannelDescriptor",
"NotificationChannelServiceAsyncClient",
"NotificationChannelServiceClient",
"Point",
"QueryError",
"QueryErrorList",
"QueryServiceAsyncClient",
"QueryServiceClient",
"QueryTimeSeriesRequest",
"QueryTimeSeriesResponse",
"MutationRecord",
"NotificationChannel",
"NotificationChannelDescriptor",
"CreateNotificationChannelRequest",
"DeleteNotificationChannelRequest",
"GetNotificationChannelDescriptorRequest",
"GetNotificationChannelRequest",
"GetNotificationChannelVerificationCodeRequest",
"GetNotificationChannelVerificationCodeResponse",
"ListNotificationChannelDescriptorsRequest",
"ListNotificationChannelDescriptorsResponse",
"ListNotificationChannelsRequest",
"ListNotificationChannelsResponse",
"SendNotificationChannelVerificationCodeRequest",
"UpdateNotificationChannelRequest",
"VerifyNotificationChannelRequest",
"BasicSli",
"DistributionCut",
"Range",
"RequestBasedSli",
"SendNotificationChannelVerificationCodeRequest",
"Service",
"ServiceLevelIndicator",
"ServiceLevelObjective",
"ServiceMonitoringServiceAsyncClient",
"ServiceMonitoringServiceClient",
"ServiceTier",
"SpanContext",
"TextLocator",
"TimeInterval",
"TimeSeries",
"TimeSeriesData",
"TimeSeriesDescriptor",
"TimeSeriesRatio",
"TypedValue",
"UpdateAlertPolicyRequest",
"UpdateGroupRequest",
"UpdateNotificationChannelRequest",
"WindowsBasedSli",
"CreateServiceLevelObjectiveRequest",
"CreateServiceRequest",
"DeleteServiceLevelObjectiveRequest",
"DeleteServiceRequest",
"GetServiceLevelObjectiveRequest",
"GetServiceRequest",
"ListServiceLevelObjectivesRequest",
"ListServiceLevelObjectivesResponse",
"ListServicesRequest",
"ListServicesResponse",
"UpdateServiceLevelObjectiveRequest",
"UpdateServiceRequest",
"UpdateUptimeCheckConfigRequest",
"SpanContext",
"InternalChecker",
"UptimeCheckConfig",
"UptimeCheckIp",
"GroupResourceType",
"UptimeCheckRegion",
"UptimeCheckServiceAsyncClient",
"UptimeCheckServiceClient",
"VerifyNotificationChannelRequest",
"WindowsBasedSli",
"CreateUptimeCheckConfigRequest",
"DeleteUptimeCheckConfigRequest",
"GetUptimeCheckConfigRequest",
"ListUptimeCheckConfigsRequest",
"ListUptimeCheckConfigsResponse",
"ListUptimeCheckIpsRequest",
"ListUptimeCheckIpsResponse",
"UpdateUptimeCheckConfigRequest",
)
Loading

0 comments on commit ffa4b1f

Please sign in to comment.