From 661c0cd94ebd1cc0967e58a5653b13f447f764f9 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 10 Jul 2023 09:32:24 -0400 Subject: [PATCH 01/12] chore: Update gapic-generator-python to v1.11.2 (#547) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update gapic-generator-python to v1.11.2 PiperOrigin-RevId: 546510849 Source-Link: https://github.com/googleapis/googleapis/commit/736073ad9a9763a170eceaaa54519bcc0ea55a5e Source-Link: https://github.com/googleapis/googleapis-gen/commit/deb64e8ec19d141e31089fe932b3a997ad541c4d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGViNjRlOGVjMTlkMTQxZTMxMDg5ZmU5MzJiM2E5OTdhZDU0MWM0ZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- google/cloud/monitoring/__init__.py | 2 +- google/cloud/monitoring_v3/__init__.py | 2 +- google/cloud/monitoring_v3/services/__init__.py | 2 +- .../monitoring_v3/services/alert_policy_service/__init__.py | 2 +- .../monitoring_v3/services/alert_policy_service/async_client.py | 2 +- .../cloud/monitoring_v3/services/alert_policy_service/client.py | 2 +- .../cloud/monitoring_v3/services/alert_policy_service/pagers.py | 2 +- .../services/alert_policy_service/transports/__init__.py | 2 +- .../services/alert_policy_service/transports/base.py | 2 +- .../services/alert_policy_service/transports/grpc.py | 2 +- .../services/alert_policy_service/transports/grpc_asyncio.py | 2 +- google/cloud/monitoring_v3/services/group_service/__init__.py | 2 +- .../cloud/monitoring_v3/services/group_service/async_client.py | 2 +- google/cloud/monitoring_v3/services/group_service/client.py | 2 +- google/cloud/monitoring_v3/services/group_service/pagers.py | 2 +- .../monitoring_v3/services/group_service/transports/__init__.py | 2 +- .../monitoring_v3/services/group_service/transports/base.py | 2 +- .../monitoring_v3/services/group_service/transports/grpc.py | 2 +- .../services/group_service/transports/grpc_asyncio.py | 2 +- google/cloud/monitoring_v3/services/metric_service/__init__.py | 2 +- .../cloud/monitoring_v3/services/metric_service/async_client.py | 2 +- google/cloud/monitoring_v3/services/metric_service/client.py | 2 +- google/cloud/monitoring_v3/services/metric_service/pagers.py | 2 +- .../services/metric_service/transports/__init__.py | 2 +- .../monitoring_v3/services/metric_service/transports/base.py | 2 +- .../monitoring_v3/services/metric_service/transports/grpc.py | 2 +- .../services/metric_service/transports/grpc_asyncio.py | 2 +- .../services/notification_channel_service/__init__.py | 2 +- .../services/notification_channel_service/async_client.py | 2 +- .../services/notification_channel_service/client.py | 2 +- .../services/notification_channel_service/pagers.py | 2 +- .../notification_channel_service/transports/__init__.py | 2 +- .../services/notification_channel_service/transports/base.py | 2 +- .../services/notification_channel_service/transports/grpc.py | 2 +- .../notification_channel_service/transports/grpc_asyncio.py | 2 +- google/cloud/monitoring_v3/services/query_service/__init__.py | 2 +- .../cloud/monitoring_v3/services/query_service/async_client.py | 2 +- google/cloud/monitoring_v3/services/query_service/client.py | 2 +- google/cloud/monitoring_v3/services/query_service/pagers.py | 2 +- .../monitoring_v3/services/query_service/transports/__init__.py | 2 +- .../monitoring_v3/services/query_service/transports/base.py | 2 +- .../monitoring_v3/services/query_service/transports/grpc.py | 2 +- .../services/query_service/transports/grpc_asyncio.py | 2 +- .../services/service_monitoring_service/__init__.py | 2 +- .../services/service_monitoring_service/async_client.py | 2 +- .../monitoring_v3/services/service_monitoring_service/client.py | 2 +- .../monitoring_v3/services/service_monitoring_service/pagers.py | 2 +- .../services/service_monitoring_service/transports/__init__.py | 2 +- .../services/service_monitoring_service/transports/base.py | 2 +- .../services/service_monitoring_service/transports/grpc.py | 2 +- .../service_monitoring_service/transports/grpc_asyncio.py | 2 +- google/cloud/monitoring_v3/services/snooze_service/__init__.py | 2 +- .../cloud/monitoring_v3/services/snooze_service/async_client.py | 2 +- google/cloud/monitoring_v3/services/snooze_service/client.py | 2 +- google/cloud/monitoring_v3/services/snooze_service/pagers.py | 2 +- .../services/snooze_service/transports/__init__.py | 2 +- .../monitoring_v3/services/snooze_service/transports/base.py | 2 +- .../monitoring_v3/services/snooze_service/transports/grpc.py | 2 +- .../services/snooze_service/transports/grpc_asyncio.py | 2 +- .../monitoring_v3/services/uptime_check_service/__init__.py | 2 +- .../monitoring_v3/services/uptime_check_service/async_client.py | 2 +- .../cloud/monitoring_v3/services/uptime_check_service/client.py | 2 +- .../cloud/monitoring_v3/services/uptime_check_service/pagers.py | 2 +- .../services/uptime_check_service/transports/__init__.py | 2 +- .../services/uptime_check_service/transports/base.py | 2 +- .../services/uptime_check_service/transports/grpc.py | 2 +- .../services/uptime_check_service/transports/grpc_asyncio.py | 2 +- google/cloud/monitoring_v3/types/__init__.py | 2 +- google/cloud/monitoring_v3/types/alert.py | 2 +- google/cloud/monitoring_v3/types/alert_service.py | 2 +- google/cloud/monitoring_v3/types/common.py | 2 +- google/cloud/monitoring_v3/types/dropped_labels.py | 2 +- google/cloud/monitoring_v3/types/group.py | 2 +- google/cloud/monitoring_v3/types/group_service.py | 2 +- google/cloud/monitoring_v3/types/metric.py | 2 +- google/cloud/monitoring_v3/types/metric_service.py | 2 +- google/cloud/monitoring_v3/types/mutation_record.py | 2 +- google/cloud/monitoring_v3/types/notification.py | 2 +- google/cloud/monitoring_v3/types/notification_service.py | 2 +- google/cloud/monitoring_v3/types/query_service.py | 2 +- google/cloud/monitoring_v3/types/service.py | 2 +- google/cloud/monitoring_v3/types/service_service.py | 2 +- google/cloud/monitoring_v3/types/snooze.py | 2 +- google/cloud/monitoring_v3/types/snooze_service.py | 2 +- google/cloud/monitoring_v3/types/span_context.py | 2 +- google/cloud/monitoring_v3/types/uptime.py | 2 +- google/cloud/monitoring_v3/types/uptime_service.py | 2 +- ..._generated_alert_policy_service_create_alert_policy_async.py | 2 +- ...3_generated_alert_policy_service_create_alert_policy_sync.py | 2 +- ..._generated_alert_policy_service_delete_alert_policy_async.py | 2 +- ...3_generated_alert_policy_service_delete_alert_policy_sync.py | 2 +- ..._v3_generated_alert_policy_service_get_alert_policy_async.py | 2 +- ...g_v3_generated_alert_policy_service_get_alert_policy_sync.py | 2 +- ..._generated_alert_policy_service_list_alert_policies_async.py | 2 +- ...3_generated_alert_policy_service_list_alert_policies_sync.py | 2 +- ..._generated_alert_policy_service_update_alert_policy_async.py | 2 +- ...3_generated_alert_policy_service_update_alert_policy_sync.py | 2 +- .../monitoring_v3_generated_group_service_create_group_async.py | 2 +- .../monitoring_v3_generated_group_service_create_group_sync.py | 2 +- .../monitoring_v3_generated_group_service_delete_group_async.py | 2 +- .../monitoring_v3_generated_group_service_delete_group_sync.py | 2 +- .../monitoring_v3_generated_group_service_get_group_async.py | 2 +- .../monitoring_v3_generated_group_service_get_group_sync.py | 2 +- ...oring_v3_generated_group_service_list_group_members_async.py | 2 +- ...toring_v3_generated_group_service_list_group_members_sync.py | 2 +- .../monitoring_v3_generated_group_service_list_groups_async.py | 2 +- .../monitoring_v3_generated_group_service_list_groups_sync.py | 2 +- .../monitoring_v3_generated_group_service_update_group_async.py | 2 +- .../monitoring_v3_generated_group_service_update_group_sync.py | 2 +- ...3_generated_metric_service_create_metric_descriptor_async.py | 2 +- ...v3_generated_metric_service_create_metric_descriptor_sync.py | 2 +- ...generated_metric_service_create_service_time_series_async.py | 2 +- ..._generated_metric_service_create_service_time_series_sync.py | 2 +- ...ring_v3_generated_metric_service_create_time_series_async.py | 2 +- ...oring_v3_generated_metric_service_create_time_series_sync.py | 2 +- ...3_generated_metric_service_delete_metric_descriptor_async.py | 2 +- ...v3_generated_metric_service_delete_metric_descriptor_sync.py | 2 +- ...g_v3_generated_metric_service_get_metric_descriptor_async.py | 2 +- ...ng_v3_generated_metric_service_get_metric_descriptor_sync.py | 2 +- ...ed_metric_service_get_monitored_resource_descriptor_async.py | 2 +- ...ted_metric_service_get_monitored_resource_descriptor_sync.py | 2 +- ...v3_generated_metric_service_list_metric_descriptors_async.py | 2 +- ..._v3_generated_metric_service_list_metric_descriptors_sync.py | 2 +- ..._metric_service_list_monitored_resource_descriptors_async.py | 2 +- ...d_metric_service_list_monitored_resource_descriptors_sync.py | 2 +- ...toring_v3_generated_metric_service_list_time_series_async.py | 2 +- ...itoring_v3_generated_metric_service_list_time_series_sync.py | 2 +- ...ication_channel_service_create_notification_channel_async.py | 2 +- ...fication_channel_service_create_notification_channel_sync.py | 2 +- ...ication_channel_service_delete_notification_channel_async.py | 2 +- ...fication_channel_service_delete_notification_channel_sync.py | 2 +- ...tification_channel_service_get_notification_channel_async.py | 2 +- ...channel_service_get_notification_channel_descriptor_async.py | 2 +- ..._channel_service_get_notification_channel_descriptor_sync.py | 2 +- ...otification_channel_service_get_notification_channel_sync.py | 2 +- ..._service_get_notification_channel_verification_code_async.py | 2 +- ...l_service_get_notification_channel_verification_code_sync.py | 2 +- ...annel_service_list_notification_channel_descriptors_async.py | 2 +- ...hannel_service_list_notification_channel_descriptors_sync.py | 2 +- ...fication_channel_service_list_notification_channels_async.py | 2 +- ...ification_channel_service_list_notification_channels_sync.py | 2 +- ...service_send_notification_channel_verification_code_async.py | 2 +- ..._service_send_notification_channel_verification_code_sync.py | 2 +- ...ication_channel_service_update_notification_channel_async.py | 2 +- ...fication_channel_service_update_notification_channel_sync.py | 2 +- ...ication_channel_service_verify_notification_channel_async.py | 2 +- ...fication_channel_service_verify_notification_channel_sync.py | 2 +- ...toring_v3_generated_query_service_query_time_series_async.py | 2 +- ...itoring_v3_generated_query_service_query_time_series_sync.py | 2 +- ...generated_service_monitoring_service_create_service_async.py | 2 +- ...e_monitoring_service_create_service_level_objective_async.py | 2 +- ...ce_monitoring_service_create_service_level_objective_sync.py | 2 +- ..._generated_service_monitoring_service_create_service_sync.py | 2 +- ...generated_service_monitoring_service_delete_service_async.py | 2 +- ...e_monitoring_service_delete_service_level_objective_async.py | 2 +- ...ce_monitoring_service_delete_service_level_objective_sync.py | 2 +- ..._generated_service_monitoring_service_delete_service_sync.py | 2 +- ...v3_generated_service_monitoring_service_get_service_async.py | 2 +- ...vice_monitoring_service_get_service_level_objective_async.py | 2 +- ...rvice_monitoring_service_get_service_level_objective_sync.py | 2 +- ..._v3_generated_service_monitoring_service_get_service_sync.py | 2 +- ...ce_monitoring_service_list_service_level_objectives_async.py | 2 +- ...ice_monitoring_service_list_service_level_objectives_sync.py | 2 +- ..._generated_service_monitoring_service_list_services_async.py | 2 +- ...3_generated_service_monitoring_service_list_services_sync.py | 2 +- ...generated_service_monitoring_service_update_service_async.py | 2 +- ...e_monitoring_service_update_service_level_objective_async.py | 2 +- ...ce_monitoring_service_update_service_level_objective_sync.py | 2 +- ..._generated_service_monitoring_service_update_service_sync.py | 2 +- ...onitoring_v3_generated_snooze_service_create_snooze_async.py | 2 +- ...monitoring_v3_generated_snooze_service_create_snooze_sync.py | 2 +- .../monitoring_v3_generated_snooze_service_get_snooze_async.py | 2 +- .../monitoring_v3_generated_snooze_service_get_snooze_sync.py | 2 +- ...monitoring_v3_generated_snooze_service_list_snoozes_async.py | 2 +- .../monitoring_v3_generated_snooze_service_list_snoozes_sync.py | 2 +- ...onitoring_v3_generated_snooze_service_update_snooze_async.py | 2 +- ...monitoring_v3_generated_snooze_service_update_snooze_sync.py | 2 +- ...ted_uptime_check_service_create_uptime_check_config_async.py | 2 +- ...ated_uptime_check_service_create_uptime_check_config_sync.py | 2 +- ...ted_uptime_check_service_delete_uptime_check_config_async.py | 2 +- ...ated_uptime_check_service_delete_uptime_check_config_sync.py | 2 +- ...erated_uptime_check_service_get_uptime_check_config_async.py | 2 +- ...nerated_uptime_check_service_get_uptime_check_config_sync.py | 2 +- ...ated_uptime_check_service_list_uptime_check_configs_async.py | 2 +- ...rated_uptime_check_service_list_uptime_check_configs_sync.py | 2 +- ...enerated_uptime_check_service_list_uptime_check_ips_async.py | 2 +- ...generated_uptime_check_service_list_uptime_check_ips_sync.py | 2 +- ...ted_uptime_check_service_update_uptime_check_config_async.py | 2 +- ...ated_uptime_check_service_update_uptime_check_config_sync.py | 2 +- .../snippet_metadata_google.monitoring.v3.json | 2 +- scripts/fixup_monitoring_v3_keywords.py | 2 +- tests/__init__.py | 2 +- tests/unit/__init__.py | 2 +- tests/unit/gapic/__init__.py | 2 +- tests/unit/gapic/monitoring_v3/__init__.py | 2 +- tests/unit/gapic/monitoring_v3/test_alert_policy_service.py | 2 +- tests/unit/gapic/monitoring_v3/test_group_service.py | 2 +- tests/unit/gapic/monitoring_v3/test_metric_service.py | 2 +- .../gapic/monitoring_v3/test_notification_channel_service.py | 2 +- tests/unit/gapic/monitoring_v3/test_query_service.py | 2 +- .../unit/gapic/monitoring_v3/test_service_monitoring_service.py | 2 +- tests/unit/gapic/monitoring_v3/test_snooze_service.py | 2 +- tests/unit/gapic/monitoring_v3/test_uptime_check_service.py | 2 +- 203 files changed, 203 insertions(+), 203 deletions(-) diff --git a/google/cloud/monitoring/__init__.py b/google/cloud/monitoring/__init__.py index 8d0c4b59..da630c1b 100644 --- a/google/cloud/monitoring/__init__.py +++ b/google/cloud/monitoring/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/__init__.py b/google/cloud/monitoring_v3/__init__.py index 8d5521f1..e79553de 100644 --- a/google/cloud/monitoring_v3/__init__.py +++ b/google/cloud/monitoring_v3/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/__init__.py b/google/cloud/monitoring_v3/services/__init__.py index e8e1c384..89a37dc9 100644 --- a/google/cloud/monitoring_v3/services/__init__.py +++ b/google/cloud/monitoring_v3/services/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/__init__.py b/google/cloud/monitoring_v3/services/alert_policy_service/__init__.py index 2116e540..cba72942 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/__init__.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/async_client.py b/google/cloud/monitoring_v3/services/alert_policy_service/async_client.py index 04a41a1b..2cc4a1a6 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/async_client.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/client.py b/google/cloud/monitoring_v3/services/alert_policy_service/client.py index 6a529842..e48176a6 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/client.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/pagers.py b/google/cloud/monitoring_v3/services/alert_policy_service/pagers.py index fecd4820..52062113 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/pagers.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/transports/__init__.py b/google/cloud/monitoring_v3/services/alert_policy_service/transports/__init__.py index 93860b74..49ee286f 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/transports/__init__.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/transports/base.py b/google/cloud/monitoring_v3/services/alert_policy_service/transports/base.py index a7059c7f..587915e9 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/transports/base.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc.py b/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc.py index 38df436c..53cf41ba 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc_asyncio.py index 72b80b6e..7db73f8e 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/group_service/__init__.py b/google/cloud/monitoring_v3/services/group_service/__init__.py index 5ab2b892..90e3e8fc 100644 --- a/google/cloud/monitoring_v3/services/group_service/__init__.py +++ b/google/cloud/monitoring_v3/services/group_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/group_service/async_client.py b/google/cloud/monitoring_v3/services/group_service/async_client.py index fa354323..1b6fe431 100644 --- a/google/cloud/monitoring_v3/services/group_service/async_client.py +++ b/google/cloud/monitoring_v3/services/group_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/group_service/client.py b/google/cloud/monitoring_v3/services/group_service/client.py index a1105029..0081e306 100644 --- a/google/cloud/monitoring_v3/services/group_service/client.py +++ b/google/cloud/monitoring_v3/services/group_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/group_service/pagers.py b/google/cloud/monitoring_v3/services/group_service/pagers.py index a8d96322..2861dde9 100644 --- a/google/cloud/monitoring_v3/services/group_service/pagers.py +++ b/google/cloud/monitoring_v3/services/group_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/group_service/transports/__init__.py b/google/cloud/monitoring_v3/services/group_service/transports/__init__.py index 795fa20d..ace6bbc5 100644 --- a/google/cloud/monitoring_v3/services/group_service/transports/__init__.py +++ b/google/cloud/monitoring_v3/services/group_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/group_service/transports/base.py b/google/cloud/monitoring_v3/services/group_service/transports/base.py index fee17266..05bd3fe2 100644 --- a/google/cloud/monitoring_v3/services/group_service/transports/base.py +++ b/google/cloud/monitoring_v3/services/group_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/group_service/transports/grpc.py b/google/cloud/monitoring_v3/services/group_service/transports/grpc.py index bae90bc0..f1a085f7 100644 --- a/google/cloud/monitoring_v3/services/group_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/group_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/group_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/group_service/transports/grpc_asyncio.py index 5e73cf98..3f8f525d 100644 --- a/google/cloud/monitoring_v3/services/group_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/group_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/metric_service/__init__.py b/google/cloud/monitoring_v3/services/metric_service/__init__.py index 49d23167..4cba91ed 100644 --- a/google/cloud/monitoring_v3/services/metric_service/__init__.py +++ b/google/cloud/monitoring_v3/services/metric_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/metric_service/async_client.py b/google/cloud/monitoring_v3/services/metric_service/async_client.py index f6ead681..062189d4 100644 --- a/google/cloud/monitoring_v3/services/metric_service/async_client.py +++ b/google/cloud/monitoring_v3/services/metric_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/metric_service/client.py b/google/cloud/monitoring_v3/services/metric_service/client.py index 1158352e..40a45471 100644 --- a/google/cloud/monitoring_v3/services/metric_service/client.py +++ b/google/cloud/monitoring_v3/services/metric_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/metric_service/pagers.py b/google/cloud/monitoring_v3/services/metric_service/pagers.py index 3bcd99e2..b337003d 100644 --- a/google/cloud/monitoring_v3/services/metric_service/pagers.py +++ b/google/cloud/monitoring_v3/services/metric_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/metric_service/transports/__init__.py b/google/cloud/monitoring_v3/services/metric_service/transports/__init__.py index e1d5e667..b54c4328 100644 --- a/google/cloud/monitoring_v3/services/metric_service/transports/__init__.py +++ b/google/cloud/monitoring_v3/services/metric_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/metric_service/transports/base.py b/google/cloud/monitoring_v3/services/metric_service/transports/base.py index 0c7bfc6e..51a35720 100644 --- a/google/cloud/monitoring_v3/services/metric_service/transports/base.py +++ b/google/cloud/monitoring_v3/services/metric_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/metric_service/transports/grpc.py b/google/cloud/monitoring_v3/services/metric_service/transports/grpc.py index d8bb6457..898d6c38 100644 --- a/google/cloud/monitoring_v3/services/metric_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/metric_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/metric_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/metric_service/transports/grpc_asyncio.py index 6bb1bec2..5eb83f37 100644 --- a/google/cloud/monitoring_v3/services/metric_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/metric_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/__init__.py b/google/cloud/monitoring_v3/services/notification_channel_service/__init__.py index 67fffb25..0a849027 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/__init__.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/async_client.py b/google/cloud/monitoring_v3/services/notification_channel_service/async_client.py index 68e098b1..e4302969 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/async_client.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/client.py b/google/cloud/monitoring_v3/services/notification_channel_service/client.py index daff40ee..f0bebd9e 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/client.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/pagers.py b/google/cloud/monitoring_v3/services/notification_channel_service/pagers.py index aa8a3887..ec268a9a 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/pagers.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/transports/__init__.py b/google/cloud/monitoring_v3/services/notification_channel_service/transports/__init__.py index c45c5b8a..126145e3 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/transports/__init__.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/transports/base.py b/google/cloud/monitoring_v3/services/notification_channel_service/transports/base.py index 914074eb..0e9b70e0 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/transports/base.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc.py b/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc.py index ebe382eb..8eaaa79b 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py index 9a0e4059..2cd15495 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/query_service/__init__.py b/google/cloud/monitoring_v3/services/query_service/__init__.py index 8a5a1a9c..554c9550 100644 --- a/google/cloud/monitoring_v3/services/query_service/__init__.py +++ b/google/cloud/monitoring_v3/services/query_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/query_service/async_client.py b/google/cloud/monitoring_v3/services/query_service/async_client.py index ce314ea2..e5a5dc4b 100644 --- a/google/cloud/monitoring_v3/services/query_service/async_client.py +++ b/google/cloud/monitoring_v3/services/query_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/query_service/client.py b/google/cloud/monitoring_v3/services/query_service/client.py index 02f7a6df..f54f6a59 100644 --- a/google/cloud/monitoring_v3/services/query_service/client.py +++ b/google/cloud/monitoring_v3/services/query_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/query_service/pagers.py b/google/cloud/monitoring_v3/services/query_service/pagers.py index d44db766..ca657dd6 100644 --- a/google/cloud/monitoring_v3/services/query_service/pagers.py +++ b/google/cloud/monitoring_v3/services/query_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/query_service/transports/__init__.py b/google/cloud/monitoring_v3/services/query_service/transports/__init__.py index 896dfeb1..b8e14cca 100644 --- a/google/cloud/monitoring_v3/services/query_service/transports/__init__.py +++ b/google/cloud/monitoring_v3/services/query_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/query_service/transports/base.py b/google/cloud/monitoring_v3/services/query_service/transports/base.py index e60ced7c..ae1f1ee4 100644 --- a/google/cloud/monitoring_v3/services/query_service/transports/base.py +++ b/google/cloud/monitoring_v3/services/query_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/query_service/transports/grpc.py b/google/cloud/monitoring_v3/services/query_service/transports/grpc.py index 2e85015e..65be31c1 100644 --- a/google/cloud/monitoring_v3/services/query_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/query_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/query_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/query_service/transports/grpc_asyncio.py index 55620ee7..61c80d1b 100644 --- a/google/cloud/monitoring_v3/services/query_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/query_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/service_monitoring_service/__init__.py b/google/cloud/monitoring_v3/services/service_monitoring_service/__init__.py index 775fda5c..294ee48e 100644 --- a/google/cloud/monitoring_v3/services/service_monitoring_service/__init__.py +++ b/google/cloud/monitoring_v3/services/service_monitoring_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/service_monitoring_service/async_client.py b/google/cloud/monitoring_v3/services/service_monitoring_service/async_client.py index 1e9f1bd2..be30c943 100644 --- a/google/cloud/monitoring_v3/services/service_monitoring_service/async_client.py +++ b/google/cloud/monitoring_v3/services/service_monitoring_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/service_monitoring_service/client.py b/google/cloud/monitoring_v3/services/service_monitoring_service/client.py index f90892c5..7578d2ed 100644 --- a/google/cloud/monitoring_v3/services/service_monitoring_service/client.py +++ b/google/cloud/monitoring_v3/services/service_monitoring_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/service_monitoring_service/pagers.py b/google/cloud/monitoring_v3/services/service_monitoring_service/pagers.py index 987b2e86..340996e6 100644 --- a/google/cloud/monitoring_v3/services/service_monitoring_service/pagers.py +++ b/google/cloud/monitoring_v3/services/service_monitoring_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/service_monitoring_service/transports/__init__.py b/google/cloud/monitoring_v3/services/service_monitoring_service/transports/__init__.py index 2a5440ea..edebee08 100644 --- a/google/cloud/monitoring_v3/services/service_monitoring_service/transports/__init__.py +++ b/google/cloud/monitoring_v3/services/service_monitoring_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/service_monitoring_service/transports/base.py b/google/cloud/monitoring_v3/services/service_monitoring_service/transports/base.py index dbc5ca5e..1506fbf9 100644 --- a/google/cloud/monitoring_v3/services/service_monitoring_service/transports/base.py +++ b/google/cloud/monitoring_v3/services/service_monitoring_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc.py b/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc.py index d0fe7ae2..c179b0bb 100644 --- a/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc_asyncio.py index b718fccc..eb507937 100644 --- a/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/snooze_service/__init__.py b/google/cloud/monitoring_v3/services/snooze_service/__init__.py index c750b0ce..f08c0798 100644 --- a/google/cloud/monitoring_v3/services/snooze_service/__init__.py +++ b/google/cloud/monitoring_v3/services/snooze_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/snooze_service/async_client.py b/google/cloud/monitoring_v3/services/snooze_service/async_client.py index cfb677a8..c335ec22 100644 --- a/google/cloud/monitoring_v3/services/snooze_service/async_client.py +++ b/google/cloud/monitoring_v3/services/snooze_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/snooze_service/client.py b/google/cloud/monitoring_v3/services/snooze_service/client.py index 14b265b9..45ee4c7a 100644 --- a/google/cloud/monitoring_v3/services/snooze_service/client.py +++ b/google/cloud/monitoring_v3/services/snooze_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/snooze_service/pagers.py b/google/cloud/monitoring_v3/services/snooze_service/pagers.py index 6dc25b15..658e37ae 100644 --- a/google/cloud/monitoring_v3/services/snooze_service/pagers.py +++ b/google/cloud/monitoring_v3/services/snooze_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/snooze_service/transports/__init__.py b/google/cloud/monitoring_v3/services/snooze_service/transports/__init__.py index 41113c93..13442f29 100644 --- a/google/cloud/monitoring_v3/services/snooze_service/transports/__init__.py +++ b/google/cloud/monitoring_v3/services/snooze_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/snooze_service/transports/base.py b/google/cloud/monitoring_v3/services/snooze_service/transports/base.py index 827548b6..95ba8574 100644 --- a/google/cloud/monitoring_v3/services/snooze_service/transports/base.py +++ b/google/cloud/monitoring_v3/services/snooze_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/snooze_service/transports/grpc.py b/google/cloud/monitoring_v3/services/snooze_service/transports/grpc.py index 32f2a6a4..34a66b9d 100644 --- a/google/cloud/monitoring_v3/services/snooze_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/snooze_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/snooze_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/snooze_service/transports/grpc_asyncio.py index 9f8946fa..fd44e1dc 100644 --- a/google/cloud/monitoring_v3/services/snooze_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/snooze_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/uptime_check_service/__init__.py b/google/cloud/monitoring_v3/services/uptime_check_service/__init__.py index fd938eee..99dfd214 100644 --- a/google/cloud/monitoring_v3/services/uptime_check_service/__init__.py +++ b/google/cloud/monitoring_v3/services/uptime_check_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/uptime_check_service/async_client.py b/google/cloud/monitoring_v3/services/uptime_check_service/async_client.py index eeb8195e..613a21b5 100644 --- a/google/cloud/monitoring_v3/services/uptime_check_service/async_client.py +++ b/google/cloud/monitoring_v3/services/uptime_check_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/uptime_check_service/client.py b/google/cloud/monitoring_v3/services/uptime_check_service/client.py index 87dfac96..0d4a05a3 100644 --- a/google/cloud/monitoring_v3/services/uptime_check_service/client.py +++ b/google/cloud/monitoring_v3/services/uptime_check_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/uptime_check_service/pagers.py b/google/cloud/monitoring_v3/services/uptime_check_service/pagers.py index 76724b86..db598033 100644 --- a/google/cloud/monitoring_v3/services/uptime_check_service/pagers.py +++ b/google/cloud/monitoring_v3/services/uptime_check_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/uptime_check_service/transports/__init__.py b/google/cloud/monitoring_v3/services/uptime_check_service/transports/__init__.py index 9505fb5e..08d9436d 100644 --- a/google/cloud/monitoring_v3/services/uptime_check_service/transports/__init__.py +++ b/google/cloud/monitoring_v3/services/uptime_check_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/uptime_check_service/transports/base.py b/google/cloud/monitoring_v3/services/uptime_check_service/transports/base.py index e9c2091d..c765fbc3 100644 --- a/google/cloud/monitoring_v3/services/uptime_check_service/transports/base.py +++ b/google/cloud/monitoring_v3/services/uptime_check_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc.py b/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc.py index 3751442c..d03ae140 100644 --- a/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc_asyncio.py index 6889c16d..2e19ee64 100644 --- a/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/__init__.py b/google/cloud/monitoring_v3/types/__init__.py index c9524827..bdc70371 100644 --- a/google/cloud/monitoring_v3/types/__init__.py +++ b/google/cloud/monitoring_v3/types/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/alert.py b/google/cloud/monitoring_v3/types/alert.py index 9c969586..d01a2d27 100644 --- a/google/cloud/monitoring_v3/types/alert.py +++ b/google/cloud/monitoring_v3/types/alert.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/alert_service.py b/google/cloud/monitoring_v3/types/alert_service.py index 9f634c85..58f9c1cd 100644 --- a/google/cloud/monitoring_v3/types/alert_service.py +++ b/google/cloud/monitoring_v3/types/alert_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/common.py b/google/cloud/monitoring_v3/types/common.py index fa6715b6..53776216 100644 --- a/google/cloud/monitoring_v3/types/common.py +++ b/google/cloud/monitoring_v3/types/common.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/dropped_labels.py b/google/cloud/monitoring_v3/types/dropped_labels.py index 460d8b3f..93d1bd0d 100644 --- a/google/cloud/monitoring_v3/types/dropped_labels.py +++ b/google/cloud/monitoring_v3/types/dropped_labels.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/group.py b/google/cloud/monitoring_v3/types/group.py index bd09098c..e6e82074 100644 --- a/google/cloud/monitoring_v3/types/group.py +++ b/google/cloud/monitoring_v3/types/group.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/group_service.py b/google/cloud/monitoring_v3/types/group_service.py index 0305beec..4196a2bf 100644 --- a/google/cloud/monitoring_v3/types/group_service.py +++ b/google/cloud/monitoring_v3/types/group_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/metric.py b/google/cloud/monitoring_v3/types/metric.py index 0fe120fb..14c22788 100644 --- a/google/cloud/monitoring_v3/types/metric.py +++ b/google/cloud/monitoring_v3/types/metric.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/metric_service.py b/google/cloud/monitoring_v3/types/metric_service.py index e7d49919..7c245f3c 100644 --- a/google/cloud/monitoring_v3/types/metric_service.py +++ b/google/cloud/monitoring_v3/types/metric_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/mutation_record.py b/google/cloud/monitoring_v3/types/mutation_record.py index faf306d0..8fb9e8fd 100644 --- a/google/cloud/monitoring_v3/types/mutation_record.py +++ b/google/cloud/monitoring_v3/types/mutation_record.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/notification.py b/google/cloud/monitoring_v3/types/notification.py index c283cd3a..8ff93683 100644 --- a/google/cloud/monitoring_v3/types/notification.py +++ b/google/cloud/monitoring_v3/types/notification.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/notification_service.py b/google/cloud/monitoring_v3/types/notification_service.py index 1bbe4c19..66c93b35 100644 --- a/google/cloud/monitoring_v3/types/notification_service.py +++ b/google/cloud/monitoring_v3/types/notification_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/query_service.py b/google/cloud/monitoring_v3/types/query_service.py index 6fea046e..b494c95c 100644 --- a/google/cloud/monitoring_v3/types/query_service.py +++ b/google/cloud/monitoring_v3/types/query_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/service.py b/google/cloud/monitoring_v3/types/service.py index 51a0282d..669e3e0d 100644 --- a/google/cloud/monitoring_v3/types/service.py +++ b/google/cloud/monitoring_v3/types/service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/service_service.py b/google/cloud/monitoring_v3/types/service_service.py index 5e04832f..9d025f60 100644 --- a/google/cloud/monitoring_v3/types/service_service.py +++ b/google/cloud/monitoring_v3/types/service_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/snooze.py b/google/cloud/monitoring_v3/types/snooze.py index 58ae9fd8..4f1f5b8d 100644 --- a/google/cloud/monitoring_v3/types/snooze.py +++ b/google/cloud/monitoring_v3/types/snooze.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/snooze_service.py b/google/cloud/monitoring_v3/types/snooze_service.py index 7cba4953..faa1dfa3 100644 --- a/google/cloud/monitoring_v3/types/snooze_service.py +++ b/google/cloud/monitoring_v3/types/snooze_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/span_context.py b/google/cloud/monitoring_v3/types/span_context.py index 77601b3c..026b7fd9 100644 --- a/google/cloud/monitoring_v3/types/span_context.py +++ b/google/cloud/monitoring_v3/types/span_context.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/uptime.py b/google/cloud/monitoring_v3/types/uptime.py index 46cd8fcf..4627271d 100644 --- a/google/cloud/monitoring_v3/types/uptime.py +++ b/google/cloud/monitoring_v3/types/uptime.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/monitoring_v3/types/uptime_service.py b/google/cloud/monitoring_v3/types/uptime_service.py index 0242960d..c2e8e876 100644 --- a/google/cloud/monitoring_v3/types/uptime_service.py +++ b/google/cloud/monitoring_v3/types/uptime_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_create_alert_policy_async.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_create_alert_policy_async.py index 6086110b..388a1324 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_create_alert_policy_async.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_create_alert_policy_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_create_alert_policy_sync.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_create_alert_policy_sync.py index e01f0ce4..f121ca93 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_create_alert_policy_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_create_alert_policy_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_delete_alert_policy_async.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_delete_alert_policy_async.py index e1b35652..ee365c7e 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_delete_alert_policy_async.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_delete_alert_policy_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_delete_alert_policy_sync.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_delete_alert_policy_sync.py index 9e245fcc..efa85ec5 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_delete_alert_policy_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_delete_alert_policy_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_get_alert_policy_async.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_get_alert_policy_async.py index 41b7c4ae..b056b44d 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_get_alert_policy_async.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_get_alert_policy_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_get_alert_policy_sync.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_get_alert_policy_sync.py index a9ee89a2..1db11b80 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_get_alert_policy_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_get_alert_policy_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_list_alert_policies_async.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_list_alert_policies_async.py index 75808ccd..1a51c682 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_list_alert_policies_async.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_list_alert_policies_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_list_alert_policies_sync.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_list_alert_policies_sync.py index e58f6024..c2aa1881 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_list_alert_policies_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_list_alert_policies_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_update_alert_policy_async.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_update_alert_policy_async.py index 1aa197f6..ad1e2ebb 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_update_alert_policy_async.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_update_alert_policy_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_update_alert_policy_sync.py b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_update_alert_policy_sync.py index a9160b78..88489b2b 100644 --- a/samples/generated_samples/monitoring_v3_generated_alert_policy_service_update_alert_policy_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_alert_policy_service_update_alert_policy_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_create_group_async.py b/samples/generated_samples/monitoring_v3_generated_group_service_create_group_async.py index 0b958456..442a1060 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_create_group_async.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_create_group_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_create_group_sync.py b/samples/generated_samples/monitoring_v3_generated_group_service_create_group_sync.py index 51225e3c..147d2c75 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_create_group_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_create_group_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_delete_group_async.py b/samples/generated_samples/monitoring_v3_generated_group_service_delete_group_async.py index 00544970..58e50412 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_delete_group_async.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_delete_group_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_delete_group_sync.py b/samples/generated_samples/monitoring_v3_generated_group_service_delete_group_sync.py index 13c7fa2a..812a2038 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_delete_group_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_delete_group_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_get_group_async.py b/samples/generated_samples/monitoring_v3_generated_group_service_get_group_async.py index b1aab892..434d219d 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_get_group_async.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_get_group_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_get_group_sync.py b/samples/generated_samples/monitoring_v3_generated_group_service_get_group_sync.py index 49e476fb..364ae58c 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_get_group_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_get_group_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_list_group_members_async.py b/samples/generated_samples/monitoring_v3_generated_group_service_list_group_members_async.py index e45571c1..5984890b 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_list_group_members_async.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_list_group_members_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_list_group_members_sync.py b/samples/generated_samples/monitoring_v3_generated_group_service_list_group_members_sync.py index b302ec65..0f638482 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_list_group_members_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_list_group_members_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_list_groups_async.py b/samples/generated_samples/monitoring_v3_generated_group_service_list_groups_async.py index 58a541cf..ba987741 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_list_groups_async.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_list_groups_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_list_groups_sync.py b/samples/generated_samples/monitoring_v3_generated_group_service_list_groups_sync.py index cd516eca..60032db3 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_list_groups_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_list_groups_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_update_group_async.py b/samples/generated_samples/monitoring_v3_generated_group_service_update_group_async.py index 13317dad..15d11667 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_update_group_async.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_update_group_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_group_service_update_group_sync.py b/samples/generated_samples/monitoring_v3_generated_group_service_update_group_sync.py index 1a5bdc84..aea1549e 100644 --- a/samples/generated_samples/monitoring_v3_generated_group_service_update_group_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_group_service_update_group_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_create_metric_descriptor_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_create_metric_descriptor_async.py index ac52b0af..ff28f4f8 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_create_metric_descriptor_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_create_metric_descriptor_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_create_metric_descriptor_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_create_metric_descriptor_sync.py index 425dd9fb..e9148fef 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_create_metric_descriptor_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_create_metric_descriptor_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_create_service_time_series_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_create_service_time_series_async.py index 6b20a7a5..7c094812 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_create_service_time_series_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_create_service_time_series_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_create_service_time_series_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_create_service_time_series_sync.py index 68a76921..658df424 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_create_service_time_series_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_create_service_time_series_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_create_time_series_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_create_time_series_async.py index 98e60c05..4f7bf02a 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_create_time_series_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_create_time_series_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_create_time_series_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_create_time_series_sync.py index 3c78ce1c..1cfb8c1f 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_create_time_series_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_create_time_series_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_delete_metric_descriptor_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_delete_metric_descriptor_async.py index 2cec78c9..9f0e88e4 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_delete_metric_descriptor_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_delete_metric_descriptor_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_delete_metric_descriptor_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_delete_metric_descriptor_sync.py index 92c99cf9..0b925a5a 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_delete_metric_descriptor_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_delete_metric_descriptor_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_get_metric_descriptor_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_get_metric_descriptor_async.py index 300f7a5d..522d18cd 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_get_metric_descriptor_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_get_metric_descriptor_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_get_metric_descriptor_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_get_metric_descriptor_sync.py index 46763363..7f562c22 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_get_metric_descriptor_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_get_metric_descriptor_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_get_monitored_resource_descriptor_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_get_monitored_resource_descriptor_async.py index fb51531f..13c988b3 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_get_monitored_resource_descriptor_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_get_monitored_resource_descriptor_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_get_monitored_resource_descriptor_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_get_monitored_resource_descriptor_sync.py index 8920c790..ef77253f 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_get_monitored_resource_descriptor_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_get_monitored_resource_descriptor_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_list_metric_descriptors_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_list_metric_descriptors_async.py index 08c8d838..bfedabae 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_list_metric_descriptors_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_list_metric_descriptors_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_list_metric_descriptors_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_list_metric_descriptors_sync.py index 31d03e32..0bade30b 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_list_metric_descriptors_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_list_metric_descriptors_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_list_monitored_resource_descriptors_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_list_monitored_resource_descriptors_async.py index d773435a..4ba12bb0 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_list_monitored_resource_descriptors_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_list_monitored_resource_descriptors_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_list_monitored_resource_descriptors_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_list_monitored_resource_descriptors_sync.py index 33fec385..06839ebe 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_list_monitored_resource_descriptors_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_list_monitored_resource_descriptors_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_list_time_series_async.py b/samples/generated_samples/monitoring_v3_generated_metric_service_list_time_series_async.py index 0acd8e9d..cbd80d63 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_list_time_series_async.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_list_time_series_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_metric_service_list_time_series_sync.py b/samples/generated_samples/monitoring_v3_generated_metric_service_list_time_series_sync.py index 896be2f0..918d9dd8 100644 --- a/samples/generated_samples/monitoring_v3_generated_metric_service_list_time_series_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_metric_service_list_time_series_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_create_notification_channel_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_create_notification_channel_async.py index 34ca9c4b..7281b1d9 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_create_notification_channel_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_create_notification_channel_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_create_notification_channel_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_create_notification_channel_sync.py index 2c2120a7..9309de7d 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_create_notification_channel_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_create_notification_channel_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_delete_notification_channel_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_delete_notification_channel_async.py index d3258a57..341a9524 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_delete_notification_channel_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_delete_notification_channel_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_delete_notification_channel_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_delete_notification_channel_sync.py index 3548f54d..22a759ba 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_delete_notification_channel_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_delete_notification_channel_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_async.py index 5b359c2a..43e4361c 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_descriptor_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_descriptor_async.py index 622ec952..ec38ecc0 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_descriptor_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_descriptor_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_descriptor_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_descriptor_sync.py index a6171e8c..fc70075d 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_descriptor_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_descriptor_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_sync.py index 517adad9..793d0405 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_verification_code_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_verification_code_async.py index 80cefe90..7921fe26 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_verification_code_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_verification_code_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_verification_code_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_verification_code_sync.py index ed917396..1b860a95 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_verification_code_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_get_notification_channel_verification_code_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channel_descriptors_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channel_descriptors_async.py index 98fe7526..f43746e3 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channel_descriptors_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channel_descriptors_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channel_descriptors_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channel_descriptors_sync.py index e3dc263c..8c8b5780 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channel_descriptors_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channel_descriptors_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channels_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channels_async.py index b8b78c03..e7a030c4 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channels_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channels_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channels_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channels_sync.py index 974dda24..b5222c9a 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channels_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_list_notification_channels_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_send_notification_channel_verification_code_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_send_notification_channel_verification_code_async.py index 1e55dad0..208748ad 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_send_notification_channel_verification_code_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_send_notification_channel_verification_code_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_send_notification_channel_verification_code_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_send_notification_channel_verification_code_sync.py index 9d6ff3fb..435eec3d 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_send_notification_channel_verification_code_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_send_notification_channel_verification_code_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_update_notification_channel_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_update_notification_channel_async.py index 060d6389..a461484c 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_update_notification_channel_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_update_notification_channel_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_update_notification_channel_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_update_notification_channel_sync.py index 022003b3..ec3990d5 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_update_notification_channel_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_update_notification_channel_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_verify_notification_channel_async.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_verify_notification_channel_async.py index d569cbeb..9158cae3 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_verify_notification_channel_async.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_verify_notification_channel_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_verify_notification_channel_sync.py b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_verify_notification_channel_sync.py index 909745e2..9d88d1cf 100644 --- a/samples/generated_samples/monitoring_v3_generated_notification_channel_service_verify_notification_channel_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_notification_channel_service_verify_notification_channel_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_query_service_query_time_series_async.py b/samples/generated_samples/monitoring_v3_generated_query_service_query_time_series_async.py index fea426a8..0ec8b3c0 100644 --- a/samples/generated_samples/monitoring_v3_generated_query_service_query_time_series_async.py +++ b/samples/generated_samples/monitoring_v3_generated_query_service_query_time_series_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_query_service_query_time_series_sync.py b/samples/generated_samples/monitoring_v3_generated_query_service_query_time_series_sync.py index b5de5097..d2f63d6b 100644 --- a/samples/generated_samples/monitoring_v3_generated_query_service_query_time_series_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_query_service_query_time_series_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_async.py index 3557df63..8caef0bd 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_level_objective_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_level_objective_async.py index b7132dfa..7c90dce0 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_level_objective_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_level_objective_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_level_objective_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_level_objective_sync.py index 07a1dafc..108cf5f8 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_level_objective_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_level_objective_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_sync.py index 4da88964..429cd076 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_create_service_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_async.py index 1040f02b..0b15e3c4 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_level_objective_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_level_objective_async.py index d9deb48a..24a916f4 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_level_objective_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_level_objective_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_level_objective_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_level_objective_sync.py index 9ebce604..59eb4875 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_level_objective_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_level_objective_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_sync.py index 3d2c73d9..e0b2a06f 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_delete_service_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_async.py index 38d50663..507d0a36 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_level_objective_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_level_objective_async.py index faa4453d..656b26ef 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_level_objective_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_level_objective_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_level_objective_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_level_objective_sync.py index ef2dfa62..4056f77a 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_level_objective_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_level_objective_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_sync.py index 02c9bd2f..c6a03863 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_get_service_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_service_level_objectives_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_service_level_objectives_async.py index a3979220..baadeb4c 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_service_level_objectives_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_service_level_objectives_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_service_level_objectives_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_service_level_objectives_sync.py index 2cdcfb87..f793db0b 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_service_level_objectives_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_service_level_objectives_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_services_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_services_async.py index ba174f5e..d6dc4283 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_services_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_services_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_services_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_services_sync.py index fedeb68e..d4240ff7 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_services_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_list_services_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_async.py index 4aec6f8b..bd24f819 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_level_objective_async.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_level_objective_async.py index 31b9d3f7..d0fcbd22 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_level_objective_async.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_level_objective_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_level_objective_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_level_objective_sync.py index 518e53b1..bc161936 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_level_objective_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_level_objective_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_sync.py b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_sync.py index fff6a9a1..ce0f5329 100644 --- a/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_service_monitoring_service_update_service_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_snooze_service_create_snooze_async.py b/samples/generated_samples/monitoring_v3_generated_snooze_service_create_snooze_async.py index 7b1564d1..e95696b2 100644 --- a/samples/generated_samples/monitoring_v3_generated_snooze_service_create_snooze_async.py +++ b/samples/generated_samples/monitoring_v3_generated_snooze_service_create_snooze_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_snooze_service_create_snooze_sync.py b/samples/generated_samples/monitoring_v3_generated_snooze_service_create_snooze_sync.py index 8f364237..6c07e390 100644 --- a/samples/generated_samples/monitoring_v3_generated_snooze_service_create_snooze_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_snooze_service_create_snooze_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_snooze_service_get_snooze_async.py b/samples/generated_samples/monitoring_v3_generated_snooze_service_get_snooze_async.py index 80ac6c8f..8f04fe53 100644 --- a/samples/generated_samples/monitoring_v3_generated_snooze_service_get_snooze_async.py +++ b/samples/generated_samples/monitoring_v3_generated_snooze_service_get_snooze_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_snooze_service_get_snooze_sync.py b/samples/generated_samples/monitoring_v3_generated_snooze_service_get_snooze_sync.py index bd8bb388..2d76342e 100644 --- a/samples/generated_samples/monitoring_v3_generated_snooze_service_get_snooze_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_snooze_service_get_snooze_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_snooze_service_list_snoozes_async.py b/samples/generated_samples/monitoring_v3_generated_snooze_service_list_snoozes_async.py index b7e78eaf..45c876a0 100644 --- a/samples/generated_samples/monitoring_v3_generated_snooze_service_list_snoozes_async.py +++ b/samples/generated_samples/monitoring_v3_generated_snooze_service_list_snoozes_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_snooze_service_list_snoozes_sync.py b/samples/generated_samples/monitoring_v3_generated_snooze_service_list_snoozes_sync.py index bb6c504a..f4628f8a 100644 --- a/samples/generated_samples/monitoring_v3_generated_snooze_service_list_snoozes_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_snooze_service_list_snoozes_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_snooze_service_update_snooze_async.py b/samples/generated_samples/monitoring_v3_generated_snooze_service_update_snooze_async.py index 37c43908..c3e87a63 100644 --- a/samples/generated_samples/monitoring_v3_generated_snooze_service_update_snooze_async.py +++ b/samples/generated_samples/monitoring_v3_generated_snooze_service_update_snooze_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_snooze_service_update_snooze_sync.py b/samples/generated_samples/monitoring_v3_generated_snooze_service_update_snooze_sync.py index 154c2915..e26ee257 100644 --- a/samples/generated_samples/monitoring_v3_generated_snooze_service_update_snooze_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_snooze_service_update_snooze_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_create_uptime_check_config_async.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_create_uptime_check_config_async.py index c739d8d1..e3716016 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_create_uptime_check_config_async.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_create_uptime_check_config_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_create_uptime_check_config_sync.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_create_uptime_check_config_sync.py index d8e7e4fe..6f9f1e2f 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_create_uptime_check_config_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_create_uptime_check_config_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_delete_uptime_check_config_async.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_delete_uptime_check_config_async.py index 95b60323..1ce4f1e4 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_delete_uptime_check_config_async.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_delete_uptime_check_config_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_delete_uptime_check_config_sync.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_delete_uptime_check_config_sync.py index fa481f71..a684388b 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_delete_uptime_check_config_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_delete_uptime_check_config_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_get_uptime_check_config_async.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_get_uptime_check_config_async.py index 14d54fa6..7496072a 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_get_uptime_check_config_async.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_get_uptime_check_config_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_get_uptime_check_config_sync.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_get_uptime_check_config_sync.py index fa33cedd..7c24c82c 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_get_uptime_check_config_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_get_uptime_check_config_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_configs_async.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_configs_async.py index 4ec62954..273075b4 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_configs_async.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_configs_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_configs_sync.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_configs_sync.py index edef20e2..eed7e526 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_configs_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_configs_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_ips_async.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_ips_async.py index a3219739..c5b5b3ea 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_ips_async.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_ips_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_ips_sync.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_ips_sync.py index 433a70b1..014d85ed 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_ips_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_list_uptime_check_ips_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_update_uptime_check_config_async.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_update_uptime_check_config_async.py index d0e5d360..272fd1c9 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_update_uptime_check_config_async.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_update_uptime_check_config_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_update_uptime_check_config_sync.py b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_update_uptime_check_config_sync.py index c8b04241..c8a8816b 100644 --- a/samples/generated_samples/monitoring_v3_generated_uptime_check_service_update_uptime_check_config_sync.py +++ b/samples/generated_samples/monitoring_v3_generated_uptime_check_service_update_uptime_check_config_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/snippet_metadata_google.monitoring.v3.json b/samples/generated_samples/snippet_metadata_google.monitoring.v3.json index 583fc6c7..04888a5f 100644 --- a/samples/generated_samples/snippet_metadata_google.monitoring.v3.json +++ b/samples/generated_samples/snippet_metadata_google.monitoring.v3.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-monitoring", - "version": "2.15.1" + "version": "0.1.0" }, "snippets": [ { diff --git a/scripts/fixup_monitoring_v3_keywords.py b/scripts/fixup_monitoring_v3_keywords.py index 60275b44..5644b774 100644 --- a/scripts/fixup_monitoring_v3_keywords.py +++ b/scripts/fixup_monitoring_v3_keywords.py @@ -1,6 +1,6 @@ #! /usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/__init__.py b/tests/__init__.py index e8e1c384..89a37dc9 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index e8e1c384..89a37dc9 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/__init__.py b/tests/unit/gapic/__init__.py index e8e1c384..89a37dc9 100644 --- a/tests/unit/gapic/__init__.py +++ b/tests/unit/gapic/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/__init__.py b/tests/unit/gapic/monitoring_v3/__init__.py index e8e1c384..89a37dc9 100644 --- a/tests/unit/gapic/monitoring_v3/__init__.py +++ b/tests/unit/gapic/monitoring_v3/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/test_alert_policy_service.py b/tests/unit/gapic/monitoring_v3/test_alert_policy_service.py index 87968c16..1011c6f5 100644 --- a/tests/unit/gapic/monitoring_v3/test_alert_policy_service.py +++ b/tests/unit/gapic/monitoring_v3/test_alert_policy_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/test_group_service.py b/tests/unit/gapic/monitoring_v3/test_group_service.py index dc7908f8..041dbd4c 100644 --- a/tests/unit/gapic/monitoring_v3/test_group_service.py +++ b/tests/unit/gapic/monitoring_v3/test_group_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/test_metric_service.py b/tests/unit/gapic/monitoring_v3/test_metric_service.py index 22cb780b..bb34076b 100644 --- a/tests/unit/gapic/monitoring_v3/test_metric_service.py +++ b/tests/unit/gapic/monitoring_v3/test_metric_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/test_notification_channel_service.py b/tests/unit/gapic/monitoring_v3/test_notification_channel_service.py index 6ac83041..87d1699a 100644 --- a/tests/unit/gapic/monitoring_v3/test_notification_channel_service.py +++ b/tests/unit/gapic/monitoring_v3/test_notification_channel_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/test_query_service.py b/tests/unit/gapic/monitoring_v3/test_query_service.py index 2df43ed3..132f652e 100644 --- a/tests/unit/gapic/monitoring_v3/test_query_service.py +++ b/tests/unit/gapic/monitoring_v3/test_query_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/test_service_monitoring_service.py b/tests/unit/gapic/monitoring_v3/test_service_monitoring_service.py index 09a81789..d253d947 100644 --- a/tests/unit/gapic/monitoring_v3/test_service_monitoring_service.py +++ b/tests/unit/gapic/monitoring_v3/test_service_monitoring_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/test_snooze_service.py b/tests/unit/gapic/monitoring_v3/test_snooze_service.py index 59e4573f..e19939c4 100644 --- a/tests/unit/gapic/monitoring_v3/test_snooze_service.py +++ b/tests/unit/gapic/monitoring_v3/test_snooze_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/monitoring_v3/test_uptime_check_service.py b/tests/unit/gapic/monitoring_v3/test_uptime_check_service.py index fc4bdae9..3f4dc1c3 100644 --- a/tests/unit/gapic/monitoring_v3/test_uptime_check_service.py +++ b/tests/unit/gapic/monitoring_v3/test_uptime_check_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. From ff0da461bddf3b3ff01f3587463a47e8ece7bdcc Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 10 Jul 2023 15:14:46 -0400 Subject: [PATCH 02/12] chore: Update gapic-generator-python to v1.11.3 (#548) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update gapic-generator-python to v1.11.3 PiperOrigin-RevId: 546899192 Source-Link: https://github.com/googleapis/googleapis/commit/e6b16918b98fe1a35f725b56537354f22b6cdc48 Source-Link: https://github.com/googleapis/googleapis-gen/commit/0b3917c421cbda7fcb67092e16c33f3ea46f4bc7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGIzOTE3YzQyMWNiZGE3ZmNiNjcwOTJlMTZjMzNmM2VhNDZmNGJjNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .../monitoring_v3/types/metric_service.py | 5 ++- google/cloud/monitoring_v3/types/service.py | 40 ++++++++++--------- google/cloud/monitoring_v3/types/uptime.py | 3 +- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/google/cloud/monitoring_v3/types/metric_service.py b/google/cloud/monitoring_v3/types/metric_service.py index 7c245f3c..d39c3345 100644 --- a/google/cloud/monitoring_v3/types/metric_service.py +++ b/google/cloud/monitoring_v3/types/metric_service.py @@ -349,8 +349,9 @@ class ListTimeSeriesRequest(proto.Message): May only be specified if ``aggregation`` is specified. order_by (str): Unsupported: must be left blank. The points - in each time series are currently returned in - reverse time order (most recent to oldest). + in each time series are + currently returned in reverse time order (most + recent to oldest). view (google.cloud.monitoring_v3.types.ListTimeSeriesRequest.TimeSeriesView): Required. Specifies which information is returned about the time series. diff --git a/google/cloud/monitoring_v3/types/service.py b/google/cloud/monitoring_v3/types/service.py index 669e3e0d..8bb2e503 100644 --- a/google/cloud/monitoring_v3/types/service.py +++ b/google/cloud/monitoring_v3/types/service.py @@ -526,29 +526,31 @@ class BasicSli(proto.Message): Attributes: method (MutableSequence[str]): OPTIONAL: The set of RPCs to which this SLI - is relevant. Telemetry from other methods will - not be used to calculate performance for this - SLI. If omitted, this SLI applies to all the - Service's methods. For service types that don't - support breaking down by method, setting this - field will result in an error. + is relevant. Telemetry from + other methods will not be used to calculate + performance for this SLI. If omitted, this SLI + applies to all the Service's methods. For + service types that don't support breaking down + by method, setting this field will result in an + error. location (MutableSequence[str]): OPTIONAL: The set of locations to which this - SLI is relevant. Telemetry from other locations - will not be used to calculate performance for - this SLI. If omitted, this SLI applies to all - locations in which the Service has activity. For - service types that don't support breaking down - by location, setting this field will result in - an error. + SLI is relevant. Telemetry + from other locations will not be used to + calculate performance for this SLI. If omitted, + this SLI applies to all locations in which the + Service has activity. For service types that + don't support breaking down by location, setting + this field will result in an error. version (MutableSequence[str]): OPTIONAL: The set of API versions to which - this SLI is relevant. Telemetry from other API - versions will not be used to calculate - performance for this SLI. If omitted, this SLI - applies to all API versions. For service types - that don't support breaking down by version, - setting this field will result in an error. + this SLI is relevant. Telemetry + from other API versions will not be used to + calculate performance for this SLI. If omitted, + this SLI applies to all API versions. For + service types that don't support breaking down + by version, setting this field will result in an + error. availability (google.cloud.monitoring_v3.types.BasicSli.AvailabilityCriteria): Good service is defined to be the count of requests made to this service that return diff --git a/google/cloud/monitoring_v3/types/uptime.py b/google/cloud/monitoring_v3/types/uptime.py index 4627271d..7e3c88d1 100644 --- a/google/cloud/monitoring_v3/types/uptime.py +++ b/google/cloud/monitoring_v3/types/uptime.py @@ -54,7 +54,8 @@ class UptimeCheckRegion(proto.Enum): the continent of South America. ASIA_PACIFIC (4): Allows checks to run from locations within - the Asia Pacific area (ex: Singapore). + the Asia Pacific area (ex: + Singapore). USA_OREGON (5): Allows checks to run from locations within the western United States of America From e3e6876252dce7867c9999dc91e885a9c38bf2e2 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 14 Jul 2023 10:22:10 -0400 Subject: [PATCH 03/12] chore: Update gapic-generator-python to v1.11.4 (#549) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update gapic-generator-python to v1.11.4 PiperOrigin-RevId: 547897126 Source-Link: https://github.com/googleapis/googleapis/commit/c09c75e087d8f9a2d466b4aaad7dd2926b5ead5a Source-Link: https://github.com/googleapis/googleapis-gen/commit/45e0ec4343517cd0aa66b5ca64232a1802c2f945 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDVlMGVjNDM0MzUxN2NkMGFhNjZiNWNhNjQyMzJhMTgwMmMyZjk0NSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- google/cloud/monitoring_v3/types/uptime.py | 1 + 1 file changed, 1 insertion(+) diff --git a/google/cloud/monitoring_v3/types/uptime.py b/google/cloud/monitoring_v3/types/uptime.py index 7e3c88d1..6e3ad60e 100644 --- a/google/cloud/monitoring_v3/types/uptime.py +++ b/google/cloud/monitoring_v3/types/uptime.py @@ -55,6 +55,7 @@ class UptimeCheckRegion(proto.Enum): ASIA_PACIFIC (4): Allows checks to run from locations within the Asia Pacific area (ex: + Singapore). USA_OREGON (5): Allows checks to run from locations within From fed7be4867ab9c0ecb719793f81fc35c51e010bc Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:52:59 -0400 Subject: [PATCH 04/12] build(deps): [autoapprove] bump cryptography from 41.0.0 to 41.0.2 (#551) Source-Link: https://github.com/googleapis/synthtool/commit/d6103f4a3540ba60f633a9e25c37ec5fe7e6286d Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:39f0f3f2be02ef036e297e376fe3b6256775576da8a6ccb1d5eeb80f4c8bf8fb Co-authored-by: Owl Bot --- .flake8 | 2 +- .github/.OwlBot.lock.yaml | 4 +-- .github/auto-label.yaml | 2 +- .kokoro/build.sh | 2 +- .kokoro/docker/docs/Dockerfile | 2 +- .kokoro/populate-secrets.sh | 2 +- .kokoro/publish-docs.sh | 2 +- .kokoro/release.sh | 2 +- .kokoro/requirements.txt | 44 +++++++++++++++------------- .kokoro/test-samples-against-head.sh | 2 +- .kokoro/test-samples-impl.sh | 2 +- .kokoro/test-samples.sh | 2 +- .kokoro/trampoline.sh | 2 +- .kokoro/trampoline_v2.sh | 2 +- .pre-commit-config.yaml | 2 +- .trampolinerc | 4 +-- MANIFEST.in | 2 +- README.rst | 27 +++++++++-------- docs/conf.py | 2 +- noxfile.py | 3 +- scripts/decrypt-secrets.sh | 2 +- scripts/readme-gen/readme_gen.py | 18 ++++++------ setup.cfg | 2 +- 23 files changed, 69 insertions(+), 65 deletions(-) diff --git a/.flake8 b/.flake8 index 2e438749..87f6e408 100644 --- a/.flake8 +++ b/.flake8 @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 98994f47..ae4a522b 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:2d816f26f728ac8b24248741e7d4c461c09764ef9f7be3684d557c9632e46dbd -# created: 2023-06-28T17:03:33.371210701Z + digest: sha256:39f0f3f2be02ef036e297e376fe3b6256775576da8a6ccb1d5eeb80f4c8bf8fb +# created: 2023-07-17T15:20:13.819193964Z diff --git a/.github/auto-label.yaml b/.github/auto-label.yaml index 41bff0b5..b2016d11 100644 --- a/.github/auto-label.yaml +++ b/.github/auto-label.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/build.sh b/.kokoro/build.sh index cb3ebc45..ba9d0f34 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/docker/docs/Dockerfile b/.kokoro/docker/docs/Dockerfile index f8137d0a..8e39a2cc 100644 --- a/.kokoro/docker/docs/Dockerfile +++ b/.kokoro/docker/docs/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/populate-secrets.sh b/.kokoro/populate-secrets.sh index f5251425..6f397214 100755 --- a/.kokoro/populate-secrets.sh +++ b/.kokoro/populate-secrets.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC. +# Copyright 2023 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/publish-docs.sh b/.kokoro/publish-docs.sh index 1c4d6237..9eafe0be 100755 --- a/.kokoro/publish-docs.sh +++ b/.kokoro/publish-docs.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/release.sh b/.kokoro/release.sh index 32aafa08..8659a8f9 100755 --- a/.kokoro/release.sh +++ b/.kokoro/release.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index c7929db6..67d70a11 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -113,26 +113,30 @@ commonmark==0.9.1 \ --hash=sha256:452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60 \ --hash=sha256:da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9 # via rich -cryptography==41.0.0 \ - --hash=sha256:0ddaee209d1cf1f180f1efa338a68c4621154de0afaef92b89486f5f96047c55 \ - --hash=sha256:14754bcdae909d66ff24b7b5f166d69340ccc6cb15731670435efd5719294895 \ - --hash=sha256:344c6de9f8bda3c425b3a41b319522ba3208551b70c2ae00099c205f0d9fd3be \ - --hash=sha256:34d405ea69a8b34566ba3dfb0521379b210ea5d560fafedf9f800a9a94a41928 \ - --hash=sha256:3680248309d340fda9611498a5319b0193a8dbdb73586a1acf8109d06f25b92d \ - --hash=sha256:3c5ef25d060c80d6d9f7f9892e1d41bb1c79b78ce74805b8cb4aa373cb7d5ec8 \ - --hash=sha256:4ab14d567f7bbe7f1cdff1c53d5324ed4d3fc8bd17c481b395db224fb405c237 \ - --hash=sha256:5c1f7293c31ebc72163a9a0df246f890d65f66b4a40d9ec80081969ba8c78cc9 \ - --hash=sha256:6b71f64beeea341c9b4f963b48ee3b62d62d57ba93eb120e1196b31dc1025e78 \ - --hash=sha256:7d92f0248d38faa411d17f4107fc0bce0c42cae0b0ba5415505df72d751bf62d \ - --hash=sha256:8362565b3835ceacf4dc8f3b56471a2289cf51ac80946f9087e66dc283a810e0 \ - --hash=sha256:84a165379cb9d411d58ed739e4af3396e544eac190805a54ba2e0322feb55c46 \ - --hash=sha256:88ff107f211ea696455ea8d911389f6d2b276aabf3231bf72c8853d22db755c5 \ - --hash=sha256:9f65e842cb02550fac96536edb1d17f24c0a338fd84eaf582be25926e993dde4 \ - --hash=sha256:a4fc68d1c5b951cfb72dfd54702afdbbf0fb7acdc9b7dc4301bbf2225a27714d \ - --hash=sha256:b7f2f5c525a642cecad24ee8670443ba27ac1fab81bba4cc24c7b6b41f2d0c75 \ - --hash=sha256:b846d59a8d5a9ba87e2c3d757ca019fa576793e8758174d3868aecb88d6fc8eb \ - --hash=sha256:bf8fc66012ca857d62f6a347007e166ed59c0bc150cefa49f28376ebe7d992a2 \ - --hash=sha256:f5d0bf9b252f30a31664b6f64432b4730bb7038339bd18b1fafe129cfc2be9be +cryptography==41.0.2 \ + --hash=sha256:01f1d9e537f9a15b037d5d9ee442b8c22e3ae11ce65ea1f3316a41c78756b711 \ + --hash=sha256:079347de771f9282fbfe0e0236c716686950c19dee1b76240ab09ce1624d76d7 \ + --hash=sha256:182be4171f9332b6741ee818ec27daff9fb00349f706629f5cbf417bd50e66fd \ + --hash=sha256:192255f539d7a89f2102d07d7375b1e0a81f7478925b3bc2e0549ebf739dae0e \ + --hash=sha256:2a034bf7d9ca894720f2ec1d8b7b5832d7e363571828037f9e0c4f18c1b58a58 \ + --hash=sha256:342f3767e25876751e14f8459ad85e77e660537ca0a066e10e75df9c9e9099f0 \ + --hash=sha256:439c3cc4c0d42fa999b83ded80a9a1fb54d53c58d6e59234cfe97f241e6c781d \ + --hash=sha256:49c3222bb8f8e800aead2e376cbef687bc9e3cb9b58b29a261210456a7783d83 \ + --hash=sha256:674b669d5daa64206c38e507808aae49904c988fa0a71c935e7006a3e1e83831 \ + --hash=sha256:7a9a3bced53b7f09da251685224d6a260c3cb291768f54954e28f03ef14e3766 \ + --hash=sha256:7af244b012711a26196450d34f483357e42aeddb04128885d95a69bd8b14b69b \ + --hash=sha256:7d230bf856164de164ecb615ccc14c7fc6de6906ddd5b491f3af90d3514c925c \ + --hash=sha256:84609ade00a6ec59a89729e87a503c6e36af98ddcd566d5f3be52e29ba993182 \ + --hash=sha256:9a6673c1828db6270b76b22cc696f40cde9043eb90373da5c2f8f2158957f42f \ + --hash=sha256:9b6d717393dbae53d4e52684ef4f022444fc1cce3c48c38cb74fca29e1f08eaa \ + --hash=sha256:9c3fe6534d59d071ee82081ca3d71eed3210f76ebd0361798c74abc2bcf347d4 \ + --hash=sha256:a719399b99377b218dac6cf547b6ec54e6ef20207b6165126a280b0ce97e0d2a \ + --hash=sha256:b332cba64d99a70c1e0836902720887fb4529ea49ea7f5462cf6640e095e11d2 \ + --hash=sha256:d124682c7a23c9764e54ca9ab5b308b14b18eba02722b8659fb238546de83a76 \ + --hash=sha256:d73f419a56d74fef257955f51b18d046f3506270a5fd2ac5febbfa259d6c0fa5 \ + --hash=sha256:f0dc40e6f7aa37af01aba07277d3d64d5a03dc66d682097541ec4da03cc140ee \ + --hash=sha256:f14ad275364c8b4e525d018f6716537ae7b6d369c094805cae45300847e0894f \ + --hash=sha256:f772610fe364372de33d76edcd313636a25684edb94cee53fd790195f5989d14 # via # gcp-releasetool # secretstorage diff --git a/.kokoro/test-samples-against-head.sh b/.kokoro/test-samples-against-head.sh index ba3a707b..63ac41df 100755 --- a/.kokoro/test-samples-against-head.sh +++ b/.kokoro/test-samples-against-head.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/test-samples-impl.sh b/.kokoro/test-samples-impl.sh index 2c6500ca..5a0f5fab 100755 --- a/.kokoro/test-samples-impl.sh +++ b/.kokoro/test-samples-impl.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2021 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/test-samples.sh b/.kokoro/test-samples.sh index 11c042d3..50b35a48 100755 --- a/.kokoro/test-samples.sh +++ b/.kokoro/test-samples.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/trampoline.sh b/.kokoro/trampoline.sh index f39236e9..d85b1f26 100755 --- a/.kokoro/trampoline.sh +++ b/.kokoro/trampoline.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2017 Google Inc. +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.kokoro/trampoline_v2.sh b/.kokoro/trampoline_v2.sh index 4af6cdc2..59a7cf3a 100755 --- a/.kokoro/trampoline_v2.sh +++ b/.kokoro/trampoline_v2.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5405cc8f..9e3898fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -# Copyright 2021 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.trampolinerc b/.trampolinerc index 0eee72ab..a7dfeb42 100644 --- a/.trampolinerc +++ b/.trampolinerc @@ -1,4 +1,4 @@ -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Template for .trampolinerc - # Add required env vars here. required_envvars+=( ) diff --git a/MANIFEST.in b/MANIFEST.in index e783f4c6..e0a66705 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/README.rst b/README.rst index 4a1dbdac..1eaf3f59 100644 --- a/README.rst +++ b/README.rst @@ -36,21 +36,24 @@ In order to use this library, you first need to go through the following steps: Installation ~~~~~~~~~~~~ -Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to -create isolated Python environments. The basic problem it addresses is one of -dependencies and versions, and indirectly permissions. +Install this library in a virtual environment using `venv`_. `venv`_ is a tool that +creates isolated Python environments. These isolated environments can have separate +versions of Python packages, which allows you to isolate one project's dependencies +from the dependencies of other projects. -With `virtualenv`_, it's possible to install this library without needing system +With `venv`_, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies. -.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/ +.. _`venv`: https://docs.python.org/3/library/venv.html Code samples and snippets ~~~~~~~~~~~~~~~~~~~~~~~~~ -Code samples and snippets live in the `samples/` folder. +Code samples and snippets live in the `samples/`_ folder. + +.. _samples/: https://github.com/googleapis/python-monitoring/tree/main/samples Supported Python Versions @@ -77,10 +80,9 @@ Mac/Linux .. code-block:: console - pip install virtualenv - virtualenv + python3 -m venv source /bin/activate - /bin/pip install google-cloud-monitoring + pip install google-cloud-monitoring Windows @@ -88,10 +90,9 @@ Windows .. code-block:: console - pip install virtualenv - virtualenv - \Scripts\activate - \Scripts\pip.exe install google-cloud-monitoring + py -m venv + .\\Scripts\activate + pip install google-cloud-monitoring Next Steps ~~~~~~~~~~ diff --git a/docs/conf.py b/docs/conf.py index 9059cfd2..12f642fd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2021 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/noxfile.py b/noxfile.py index 50dd27a4..28150caa 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2018 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -403,6 +403,7 @@ def prerelease_deps(session): "python", "-c", "import google.protobuf; print(google.protobuf.__version__)" ) session.run("python", "-c", "import grpc; print(grpc.__version__)") + session.run("python", "-c", "import google.auth; print(google.auth.__version__)") session.run("py.test", "tests/unit") diff --git a/scripts/decrypt-secrets.sh b/scripts/decrypt-secrets.sh index 21f6d2a2..0018b421 100755 --- a/scripts/decrypt-secrets.sh +++ b/scripts/decrypt-secrets.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2015 Google Inc. All rights reserved. +# Copyright 2023 Google LLC All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/scripts/readme-gen/readme_gen.py b/scripts/readme-gen/readme_gen.py index 91b59676..1acc1198 100644 --- a/scripts/readme-gen/readme_gen.py +++ b/scripts/readme-gen/readme_gen.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2016 Google Inc +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,17 +33,17 @@ autoescape=True, ) -README_TMPL = jinja_env.get_template('README.tmpl.rst') +README_TMPL = jinja_env.get_template("README.tmpl.rst") def get_help(file): - return subprocess.check_output(['python', file, '--help']).decode() + return subprocess.check_output(["python", file, "--help"]).decode() def main(): parser = argparse.ArgumentParser() - parser.add_argument('source') - parser.add_argument('--destination', default='README.rst') + parser.add_argument("source") + parser.add_argument("--destination", default="README.rst") args = parser.parse_args() @@ -51,9 +51,9 @@ def main(): root = os.path.dirname(source) destination = os.path.join(root, args.destination) - jinja_env.globals['get_help'] = get_help + jinja_env.globals["get_help"] = get_help - with io.open(source, 'r') as f: + with io.open(source, "r") as f: config = yaml.load(f) # This allows get_help to execute in the right directory. @@ -61,9 +61,9 @@ def main(): output = README_TMPL.render(config) - with io.open(destination, 'w') as f: + with io.open(destination, "w") as f: f.write(output) -if __name__ == '__main__': +if __name__ == "__main__": main() diff --git a/setup.cfg b/setup.cfg index c3a2b39f..05235008 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2020 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. From c4d46041294023815fd2efd2a94094d61c87a3b3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 21 Jul 2023 09:17:12 -0400 Subject: [PATCH 05/12] build(deps): [autoapprove] bump pygments from 2.13.0 to 2.15.0 (#553) Source-Link: https://github.com/googleapis/synthtool/commit/eaef28efd179e6eeb9f4e9bf697530d074a6f3b9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f8ca7655fa8a449cadcabcbce4054f593dcbae7aeeab34aa3fcc8b5cf7a93c9e Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- .kokoro/requirements.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index ae4a522b..17c21d96 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:39f0f3f2be02ef036e297e376fe3b6256775576da8a6ccb1d5eeb80f4c8bf8fb -# created: 2023-07-17T15:20:13.819193964Z + digest: sha256:f8ca7655fa8a449cadcabcbce4054f593dcbae7aeeab34aa3fcc8b5cf7a93c9e +# created: 2023-07-21T02:12:46.49799314Z diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index 67d70a11..b563eb28 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -396,9 +396,9 @@ pycparser==2.21 \ --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 # via cffi -pygments==2.13.0 \ - --hash=sha256:56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1 \ - --hash=sha256:f643f331ab57ba3c9d89212ee4a2dabc6e94f117cf4eefde99a0574720d14c42 +pygments==2.15.0 \ + --hash=sha256:77a3299119af881904cd5ecd1ac6a66214b6e9bed1f2db16993b54adede64094 \ + --hash=sha256:f7e36cffc4c517fbc252861b9a6e4644ca0e5abadf9a113c72d1358ad09b9500 # via # readme-renderer # rich From b3d967e68fdd1953dbdf99cdb4b116b9bca4a0f7 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 27 Jul 2023 05:48:31 -0400 Subject: [PATCH 06/12] build(deps): [autoapprove] bump certifi from 2022.12.7 to 2023.7.22 (#555) Source-Link: https://github.com/googleapis/synthtool/commit/395d53adeeacfca00b73abf197f65f3c17c8f1e9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:6c1cbc75c74b8bdd71dada2fa1677e9d6d78a889e9a70ee75b93d1d0543f96e1 Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- .kokoro/requirements.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 17c21d96..0ddd0e4d 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:f8ca7655fa8a449cadcabcbce4054f593dcbae7aeeab34aa3fcc8b5cf7a93c9e -# created: 2023-07-21T02:12:46.49799314Z + digest: sha256:6c1cbc75c74b8bdd71dada2fa1677e9d6d78a889e9a70ee75b93d1d0543f96e1 +# created: 2023-07-25T21:01:10.396410762Z diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index b563eb28..76d9bba0 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -20,9 +20,9 @@ cachetools==5.2.0 \ --hash=sha256:6a94c6402995a99c3970cc7e4884bb60b4a8639938157eeed436098bf9831757 \ --hash=sha256:f9f17d2aec496a9aa6b76f53e3b614c965223c061982d434d160f930c698a9db # via google-auth -certifi==2022.12.7 \ - --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ - --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 +certifi==2023.7.22 \ + --hash=sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082 \ + --hash=sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9 # via requests cffi==1.15.1 \ --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ From ad5c9c554e588ff4cbee12a0d939713fea76b538 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 16:32:25 -0400 Subject: [PATCH 07/12] chore: [autoapprove] Pin flake8 version (#556) Source-Link: https://github.com/googleapis/synthtool/commit/0ddbff8012e47cde4462fe3f9feab01fbc4cdfd6 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:bced5ca77c4dda0fd2f5d845d4035fc3c5d3d6b81f245246a36aee114970082b Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- .pre-commit-config.yaml | 2 +- noxfile.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 0ddd0e4d..d71329cc 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:6c1cbc75c74b8bdd71dada2fa1677e9d6d78a889e9a70ee75b93d1d0543f96e1 -# created: 2023-07-25T21:01:10.396410762Z + digest: sha256:bced5ca77c4dda0fd2f5d845d4035fc3c5d3d6b81f245246a36aee114970082b +# created: 2023-08-01T17:41:45.434027321Z diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e3898fd..19409cbd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,6 +26,6 @@ repos: hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 3.9.2 + rev: 6.1.0 hooks: - id: flake8 diff --git a/noxfile.py b/noxfile.py index 28150caa..4584e746 100644 --- a/noxfile.py +++ b/noxfile.py @@ -25,6 +25,7 @@ import nox +FLAKE8_VERSION = "flake8==6.1.0" BLACK_VERSION = "black==22.3.0" ISORT_VERSION = "isort==5.10.1" LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] @@ -85,7 +86,7 @@ def lint(session): Returns a failure if the linters find linting errors or sufficiently serious code quality issues. """ - session.install("flake8", BLACK_VERSION) + session.install(FLAKE8_VERSION, BLACK_VERSION) session.run( "black", "--check", From ee7d24c6d25a1b3b792c98f50e6e930c405f4fc4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 3 Aug 2023 10:39:08 -0400 Subject: [PATCH 08/12] build: [autoapprove] bump cryptography from 41.0.2 to 41.0.3 (#558) Source-Link: https://github.com/googleapis/synthtool/commit/352b9d4c068ce7c05908172af128b294073bf53c Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:3e3800bb100af5d7f9e810d48212b37812c1856d20ffeafb99ebe66461b61fc7 Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- .kokoro/requirements.txt | 48 +++++++++++++++++++-------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index d71329cc..a3da1b0d 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:bced5ca77c4dda0fd2f5d845d4035fc3c5d3d6b81f245246a36aee114970082b -# created: 2023-08-01T17:41:45.434027321Z + digest: sha256:3e3800bb100af5d7f9e810d48212b37812c1856d20ffeafb99ebe66461b61fc7 +# created: 2023-08-02T10:53:29.114535628Z diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index 76d9bba0..029bd342 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -113,30 +113,30 @@ commonmark==0.9.1 \ --hash=sha256:452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60 \ --hash=sha256:da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9 # via rich -cryptography==41.0.2 \ - --hash=sha256:01f1d9e537f9a15b037d5d9ee442b8c22e3ae11ce65ea1f3316a41c78756b711 \ - --hash=sha256:079347de771f9282fbfe0e0236c716686950c19dee1b76240ab09ce1624d76d7 \ - --hash=sha256:182be4171f9332b6741ee818ec27daff9fb00349f706629f5cbf417bd50e66fd \ - --hash=sha256:192255f539d7a89f2102d07d7375b1e0a81f7478925b3bc2e0549ebf739dae0e \ - --hash=sha256:2a034bf7d9ca894720f2ec1d8b7b5832d7e363571828037f9e0c4f18c1b58a58 \ - --hash=sha256:342f3767e25876751e14f8459ad85e77e660537ca0a066e10e75df9c9e9099f0 \ - --hash=sha256:439c3cc4c0d42fa999b83ded80a9a1fb54d53c58d6e59234cfe97f241e6c781d \ - --hash=sha256:49c3222bb8f8e800aead2e376cbef687bc9e3cb9b58b29a261210456a7783d83 \ - --hash=sha256:674b669d5daa64206c38e507808aae49904c988fa0a71c935e7006a3e1e83831 \ - --hash=sha256:7a9a3bced53b7f09da251685224d6a260c3cb291768f54954e28f03ef14e3766 \ - --hash=sha256:7af244b012711a26196450d34f483357e42aeddb04128885d95a69bd8b14b69b \ - --hash=sha256:7d230bf856164de164ecb615ccc14c7fc6de6906ddd5b491f3af90d3514c925c \ - --hash=sha256:84609ade00a6ec59a89729e87a503c6e36af98ddcd566d5f3be52e29ba993182 \ - --hash=sha256:9a6673c1828db6270b76b22cc696f40cde9043eb90373da5c2f8f2158957f42f \ - --hash=sha256:9b6d717393dbae53d4e52684ef4f022444fc1cce3c48c38cb74fca29e1f08eaa \ - --hash=sha256:9c3fe6534d59d071ee82081ca3d71eed3210f76ebd0361798c74abc2bcf347d4 \ - --hash=sha256:a719399b99377b218dac6cf547b6ec54e6ef20207b6165126a280b0ce97e0d2a \ - --hash=sha256:b332cba64d99a70c1e0836902720887fb4529ea49ea7f5462cf6640e095e11d2 \ - --hash=sha256:d124682c7a23c9764e54ca9ab5b308b14b18eba02722b8659fb238546de83a76 \ - --hash=sha256:d73f419a56d74fef257955f51b18d046f3506270a5fd2ac5febbfa259d6c0fa5 \ - --hash=sha256:f0dc40e6f7aa37af01aba07277d3d64d5a03dc66d682097541ec4da03cc140ee \ - --hash=sha256:f14ad275364c8b4e525d018f6716537ae7b6d369c094805cae45300847e0894f \ - --hash=sha256:f772610fe364372de33d76edcd313636a25684edb94cee53fd790195f5989d14 +cryptography==41.0.3 \ + --hash=sha256:0d09fb5356f975974dbcb595ad2d178305e5050656affb7890a1583f5e02a306 \ + --hash=sha256:23c2d778cf829f7d0ae180600b17e9fceea3c2ef8b31a99e3c694cbbf3a24b84 \ + --hash=sha256:3fb248989b6363906827284cd20cca63bb1a757e0a2864d4c1682a985e3dca47 \ + --hash=sha256:41d7aa7cdfded09b3d73a47f429c298e80796c8e825ddfadc84c8a7f12df212d \ + --hash=sha256:42cb413e01a5d36da9929baa9d70ca90d90b969269e5a12d39c1e0d475010116 \ + --hash=sha256:4c2f0d35703d61002a2bbdcf15548ebb701cfdd83cdc12471d2bae80878a4207 \ + --hash=sha256:4fd871184321100fb400d759ad0cddddf284c4b696568204d281c902fc7b0d81 \ + --hash=sha256:5259cb659aa43005eb55a0e4ff2c825ca111a0da1814202c64d28a985d33b087 \ + --hash=sha256:57a51b89f954f216a81c9d057bf1a24e2f36e764a1ca9a501a6964eb4a6800dd \ + --hash=sha256:652627a055cb52a84f8c448185922241dd5217443ca194d5739b44612c5e6507 \ + --hash=sha256:67e120e9a577c64fe1f611e53b30b3e69744e5910ff3b6e97e935aeb96005858 \ + --hash=sha256:6af1c6387c531cd364b72c28daa29232162010d952ceb7e5ca8e2827526aceae \ + --hash=sha256:6d192741113ef5e30d89dcb5b956ef4e1578f304708701b8b73d38e3e1461f34 \ + --hash=sha256:7efe8041897fe7a50863e51b77789b657a133c75c3b094e51b5e4b5cec7bf906 \ + --hash=sha256:84537453d57f55a50a5b6835622ee405816999a7113267739a1b4581f83535bd \ + --hash=sha256:8f09daa483aedea50d249ef98ed500569841d6498aa9c9f4b0531b9964658922 \ + --hash=sha256:95dd7f261bb76948b52a5330ba5202b91a26fbac13ad0e9fc8a3ac04752058c7 \ + --hash=sha256:a74fbcdb2a0d46fe00504f571a2a540532f4c188e6ccf26f1f178480117b33c4 \ + --hash=sha256:a983e441a00a9d57a4d7c91b3116a37ae602907a7618b882c8013b5762e80574 \ + --hash=sha256:ab8de0d091acbf778f74286f4989cf3d1528336af1b59f3e5d2ebca8b5fe49e1 \ + --hash=sha256:aeb57c421b34af8f9fe830e1955bf493a86a7996cc1338fe41b30047d16e962c \ + --hash=sha256:ce785cf81a7bdade534297ef9e490ddff800d956625020ab2ec2780a556c313e \ + --hash=sha256:d0d651aa754ef58d75cec6edfbd21259d93810b73f6ec246436a21b7841908de # via # gcp-releasetool # secretstorage From 218e67818d7a19e45bd1521adb3cea76efb3f541 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 15:11:34 -0700 Subject: [PATCH 09/12] feat: Added support for retriggering notifications in AlertPolicy (#560) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Minor formatting chore: Update gapic-generator-python to v1.11.5 build: Update rules_python to 0.24.0 PiperOrigin-RevId: 563436317 Source-Link: https://github.com/googleapis/googleapis/commit/42fd37b18d706f6f51f52f209973b3b2c28f509a Source-Link: https://github.com/googleapis/googleapis-gen/commit/280264ca02fb9316b4237a96d0af1a2343a81a56 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Added support for retriggering notifications in AlertPolicy feat: Added support for forecast options in AlertPolicy feat: Added support for promQL condition type in AlertPolicy PiperOrigin-RevId: 564411592 Source-Link: https://github.com/googleapis/googleapis/commit/babab51d7d23ed1b95a2d9daff59012220f56e08 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b282e012db0f0036bff22300d3fc101d258baca7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjI4MmUwMTJkYjBmMDAzNmJmZjIyMzAwZDNmYzEwMWQyNThiYWNhNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .../alert_policy_service/async_client.py | 15 + .../services/alert_policy_service/client.py | 15 + .../alert_policy_service/transports/grpc.py | 15 + .../transports/grpc_asyncio.py | 15 + .../async_client.py | 24 +- .../notification_channel_service/client.py | 24 +- .../transports/grpc.py | 24 +- .../transports/grpc_asyncio.py | 24 +- google/cloud/monitoring_v3/types/alert.py | 271 +++++++++++++++++- .../monitoring_v3/types/metric_service.py | 5 +- google/cloud/monitoring_v3/types/service.py | 40 ++- google/cloud/monitoring_v3/types/snooze.py | 2 +- google/cloud/monitoring_v3/types/uptime.py | 4 +- 13 files changed, 431 insertions(+), 47 deletions(-) diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/async_client.py b/google/cloud/monitoring_v3/services/alert_policy_service/async_client.py index 2cc4a1a6..03cd2b30 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/async_client.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/async_client.py @@ -499,6 +499,11 @@ async def create_alert_policy( ) -> alert.AlertPolicy: r"""Creates a new alerting policy. + Design your application to single-thread API calls that + modify the state of alerting policies in a single + project. This includes calls to CreateAlertPolicy, + DeleteAlertPolicy and UpdateAlertPolicy. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a @@ -629,6 +634,11 @@ async def delete_alert_policy( ) -> None: r"""Deletes an alerting policy. + Design your application to single-thread API calls that + modify the state of alerting policies in a single + project. This includes calls to CreateAlertPolicy, + DeleteAlertPolicy and UpdateAlertPolicy. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a @@ -737,6 +747,11 @@ async def update_alert_policy( current alerting policy by specifying the fields to be updated via ``updateMask``. Returns the updated alerting policy. + Design your application to single-thread API calls that modify + the state of alerting policies in a single project. This + includes calls to CreateAlertPolicy, DeleteAlertPolicy and + UpdateAlertPolicy. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/client.py b/google/cloud/monitoring_v3/services/alert_policy_service/client.py index e48176a6..645fea91 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/client.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/client.py @@ -718,6 +718,11 @@ def create_alert_policy( ) -> alert.AlertPolicy: r"""Creates a new alerting policy. + Design your application to single-thread API calls that + modify the state of alerting policies in a single + project. This includes calls to CreateAlertPolicy, + DeleteAlertPolicy and UpdateAlertPolicy. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a @@ -848,6 +853,11 @@ def delete_alert_policy( ) -> None: r"""Deletes an alerting policy. + Design your application to single-thread API calls that + modify the state of alerting policies in a single + project. This includes calls to CreateAlertPolicy, + DeleteAlertPolicy and UpdateAlertPolicy. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a @@ -947,6 +957,11 @@ def update_alert_policy( current alerting policy by specifying the fields to be updated via ``updateMask``. Returns the updated alerting policy. + Design your application to single-thread API calls that modify + the state of alerting policies in a single project. This + includes calls to CreateAlertPolicy, DeleteAlertPolicy and + UpdateAlertPolicy. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc.py b/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc.py index 53cf41ba..ae5bc16c 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc.py @@ -303,6 +303,11 @@ def create_alert_policy( Creates a new alerting policy. + Design your application to single-thread API calls that + modify the state of alerting policies in a single + project. This includes calls to CreateAlertPolicy, + DeleteAlertPolicy and UpdateAlertPolicy. + Returns: Callable[[~.CreateAlertPolicyRequest], ~.AlertPolicy]: @@ -329,6 +334,11 @@ def delete_alert_policy( Deletes an alerting policy. + Design your application to single-thread API calls that + modify the state of alerting policies in a single + project. This includes calls to CreateAlertPolicy, + DeleteAlertPolicy and UpdateAlertPolicy. + Returns: Callable[[~.DeleteAlertPolicyRequest], ~.Empty]: @@ -358,6 +368,11 @@ def update_alert_policy( current alerting policy by specifying the fields to be updated via ``updateMask``. Returns the updated alerting policy. + Design your application to single-thread API calls that modify + the state of alerting policies in a single project. This + includes calls to CreateAlertPolicy, DeleteAlertPolicy and + UpdateAlertPolicy. + Returns: Callable[[~.UpdateAlertPolicyRequest], ~.AlertPolicy]: diff --git a/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc_asyncio.py index 7db73f8e..e4bc9f97 100644 --- a/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/alert_policy_service/transports/grpc_asyncio.py @@ -308,6 +308,11 @@ def create_alert_policy( Creates a new alerting policy. + Design your application to single-thread API calls that + modify the state of alerting policies in a single + project. This includes calls to CreateAlertPolicy, + DeleteAlertPolicy and UpdateAlertPolicy. + Returns: Callable[[~.CreateAlertPolicyRequest], Awaitable[~.AlertPolicy]]: @@ -334,6 +339,11 @@ def delete_alert_policy( Deletes an alerting policy. + Design your application to single-thread API calls that + modify the state of alerting policies in a single + project. This includes calls to CreateAlertPolicy, + DeleteAlertPolicy and UpdateAlertPolicy. + Returns: Callable[[~.DeleteAlertPolicyRequest], Awaitable[~.Empty]]: @@ -365,6 +375,11 @@ def update_alert_policy( current alerting policy by specifying the fields to be updated via ``updateMask``. Returns the updated alerting policy. + Design your application to single-thread API calls that modify + the state of alerting policies in a single project. This + includes calls to CreateAlertPolicy, DeleteAlertPolicy and + UpdateAlertPolicy. + Returns: Callable[[~.UpdateAlertPolicyRequest], Awaitable[~.AlertPolicy]]: diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/async_client.py b/google/cloud/monitoring_v3/services/notification_channel_service/async_client.py index e4302969..2c84148f 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/async_client.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/async_client.py @@ -513,8 +513,10 @@ async def list_notification_channels( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), ) -> pagers.ListNotificationChannelsAsyncPager: - r"""Lists the notification channels that have been - created for the project. + r"""Lists the notification channels that have been created for the + project. To list the types of notification channels that are + supported, use the ``ListNotificationChannelDescriptors`` + method. .. code-block:: python @@ -782,6 +784,12 @@ async def create_notification_channel( single notification endpoint such as an email address, SMS number, or PagerDuty service. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a @@ -913,6 +921,12 @@ async def update_notification_channel( r"""Updates a notification channel. Fields not specified in the field mask remain unchanged. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a @@ -1033,6 +1047,12 @@ async def delete_notification_channel( ) -> None: r"""Deletes a notification channel. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/client.py b/google/cloud/monitoring_v3/services/notification_channel_service/client.py index f0bebd9e..a8183528 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/client.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/client.py @@ -733,8 +733,10 @@ def list_notification_channels( timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), ) -> pagers.ListNotificationChannelsPager: - r"""Lists the notification channels that have been - created for the project. + r"""Lists the notification channels that have been created for the + project. To list the types of notification channels that are + supported, use the ``ListNotificationChannelDescriptors`` + method. .. code-block:: python @@ -988,6 +990,12 @@ def create_notification_channel( single notification endpoint such as an email address, SMS number, or PagerDuty service. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a @@ -1123,6 +1131,12 @@ def update_notification_channel( r"""Updates a notification channel. Fields not specified in the field mask remain unchanged. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a @@ -1247,6 +1261,12 @@ def delete_notification_channel( ) -> None: r"""Deletes a notification channel. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + .. code-block:: python # This snippet has been automatically generated and should be regarded as a diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc.py b/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc.py index 8eaaa79b..9f8ee376 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc.py @@ -309,8 +309,10 @@ def list_notification_channels( ]: r"""Return a callable for the list notification channels method over gRPC. - Lists the notification channels that have been - created for the project. + Lists the notification channels that have been created for the + project. To list the types of notification channels that are + supported, use the ``ListNotificationChannelDescriptors`` + method. Returns: Callable[[~.ListNotificationChannelsRequest], @@ -378,6 +380,12 @@ def create_notification_channel( single notification endpoint such as an email address, SMS number, or PagerDuty service. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + Returns: Callable[[~.CreateNotificationChannelRequest], ~.NotificationChannel]: @@ -408,6 +416,12 @@ def update_notification_channel( Updates a notification channel. Fields not specified in the field mask remain unchanged. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + Returns: Callable[[~.UpdateNotificationChannelRequest], ~.NotificationChannel]: @@ -436,6 +450,12 @@ def delete_notification_channel( Deletes a notification channel. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + Returns: Callable[[~.DeleteNotificationChannelRequest], ~.Empty]: diff --git a/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py b/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py index 2cd15495..09370b02 100644 --- a/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py +++ b/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py @@ -314,8 +314,10 @@ def list_notification_channels( ]: r"""Return a callable for the list notification channels method over gRPC. - Lists the notification channels that have been - created for the project. + Lists the notification channels that have been created for the + project. To list the types of notification channels that are + supported, use the ``ListNotificationChannelDescriptors`` + method. Returns: Callable[[~.ListNotificationChannelsRequest], @@ -383,6 +385,12 @@ def create_notification_channel( single notification endpoint such as an email address, SMS number, or PagerDuty service. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + Returns: Callable[[~.CreateNotificationChannelRequest], Awaitable[~.NotificationChannel]]: @@ -413,6 +421,12 @@ def update_notification_channel( Updates a notification channel. Fields not specified in the field mask remain unchanged. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + Returns: Callable[[~.UpdateNotificationChannelRequest], Awaitable[~.NotificationChannel]]: @@ -442,6 +456,12 @@ def delete_notification_channel( Deletes a notification channel. + Design your application to single-thread API calls that + modify the state of notification channels in a single + project. This includes calls to + CreateNotificationChannel, DeleteNotificationChannel and + UpdateNotificationChannel. + Returns: Callable[[~.DeleteNotificationChannelRequest], Awaitable[~.Empty]]: diff --git a/google/cloud/monitoring_v3/types/alert.py b/google/cloud/monitoring_v3/types/alert.py index d01a2d27..58bf3507 100644 --- a/google/cloud/monitoring_v3/types/alert.py +++ b/google/cloud/monitoring_v3/types/alert.py @@ -56,12 +56,19 @@ class AlertPolicy(proto.Message): method, do not include the ``name`` field in the alerting policy passed as part of the request. display_name (str): - A short name or phrase used to identify the - policy in dashboards, notifications, and - incidents. To avoid confusion, don't use the - same display name for multiple policies in the - same project. The name is limited to 512 Unicode - characters. + A short name or phrase used to identify the policy in + dashboards, notifications, and incidents. To avoid + confusion, don't use the same display name for multiple + policies in the same project. The name is limited to 512 + Unicode characters. + + The convention for the display_name of a + PrometheusQueryLanguageCondition is "{rule group + name}/{alert name}", where the {rule group name} and {alert + name} should be taken from the corresponding Prometheus + configuration file. This convention is not enforced. In any + case the display_name is not a unique key of the + AlertPolicy. documentation (google.cloud.monitoring_v3.types.AlertPolicy.Documentation): Documentation that is included with notifications and incidents related to this @@ -80,13 +87,23 @@ class AlertPolicy(proto.Message): is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter. + + Note that Prometheus {alert name} is a `valid Prometheus + label + names `__, + whereas Prometheus {rule group} is an unrestricted UTF-8 + string. This means that they cannot be stored as-is in user + labels, because they may contain characters that are not + allowed in user-label values. conditions (MutableSequence[google.cloud.monitoring_v3.types.AlertPolicy.Condition]): A list of conditions for the policy. The conditions are combined by AND or OR according to the ``combiner`` field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions. If ``condition_time_series_query_language`` is - present, it must be the only ``condition``. + present, it must be the only ``condition``. If + ``condition_monitoring_query_language`` is present, it must + be the only ``condition``. combiner (google.cloud.monitoring_v3.types.AlertPolicy.ConditionCombinerType): How to combine the results of multiple conditions to determine if an incident should be opened. If @@ -103,9 +120,9 @@ class AlertPolicy(proto.Message): that strips it out. validity (google.rpc.status_pb2.Status): Read-only description of how the alert policy - is invalid. OK if the alert policy is valid. If - not OK, the alert policy will not generate - incidents. + is invalid. This field is only set when the + alert policy is invalid. An invalid alert policy + will not generate incidents. notification_channels (MutableSequence[str]): Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when @@ -166,7 +183,7 @@ class Documentation(proto.Message): Attributes: content (str): - The text of the documentation, interpreted according to + The body of the documentation, interpreted according to ``mime_type``. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller. This text can @@ -177,6 +194,23 @@ class Documentation(proto.Message): value ``"text/markdown"`` is supported. See `Markdown `__ for more information. + subject (str): + Optional. The subject line of the notification. The subject + line may not exceed 10,240 bytes. In notifications generated + by this policy, the contents of the subject line after + variable expansion will be truncated to 255 bytes or shorter + at the latest UTF-8 character boundary. The 255-byte limit + is recommended by `this + thread `__. + It is both the limit imposed by some third-party ticketing + products and it is common to define textual fields in + databases as VARCHAR(255). + + The contents of the subject line can be `templatized by + using + variables `__. + If this field is missing or empty, a default subject line + will be generated. """ content: str = proto.Field( @@ -187,6 +221,10 @@ class Documentation(proto.Message): proto.STRING, number=2, ) + subject: str = proto.Field( + proto.STRING, + number=3, + ) class Condition(proto.Message): r"""A condition is a true/false test that determines when an @@ -257,6 +295,11 @@ class Condition(proto.Message): A condition that uses the Monitoring Query Language to define alerts. + This field is a member of `oneof`_ ``condition``. + condition_prometheus_query_language (google.cloud.monitoring_v3.types.AlertPolicy.Condition.PrometheusQueryLanguageCondition): + A condition that uses the Prometheus query + language to define alerts. + This field is a member of `oneof`_ ``condition``. """ @@ -377,6 +420,12 @@ class MetricThreshold(proto.Message): ``denominator_aggregations`` fields must use the same alignment period and produce time series that have the same periodicity and labels. + forecast_options (google.cloud.monitoring_v3.types.AlertPolicy.Condition.MetricThreshold.ForecastOptions): + When this field is present, the ``MetricThreshold`` + condition forecasts whether the time series is predicted to + violate the threshold within the ``forecast_horizon``. When + this field is not set, the ``MetricThreshold`` tests the + current value of the timeseries against the threshold. comparison (google.cloud.monitoring_v3.types.ComparisonType): The comparison to apply between the time series (indicated by ``filter`` and ``aggregation``) and the threshold @@ -415,6 +464,26 @@ class MetricThreshold(proto.Message): data stops arriving. """ + class ForecastOptions(proto.Message): + r"""Options used when forecasting the time series and testing + the predicted value against the threshold. + + Attributes: + forecast_horizon (google.protobuf.duration_pb2.Duration): + Required. The length of time into the future to forecast + whether a time series will violate the threshold. If the + predicted value is found to violate the threshold, and the + violation is observed in all forecasts made for the + configured ``duration``, then the time series is considered + to be failing. + """ + + forecast_horizon: duration_pb2.Duration = proto.Field( + proto.MESSAGE, + number=1, + message=duration_pb2.Duration, + ) + filter: str = proto.Field( proto.STRING, number=2, @@ -435,6 +504,11 @@ class MetricThreshold(proto.Message): number=10, message=common.Aggregation, ) + forecast_options: "AlertPolicy.Condition.MetricThreshold.ForecastOptions" = proto.Field( + proto.MESSAGE, + number=12, + message="AlertPolicy.Condition.MetricThreshold.ForecastOptions", + ) comparison: common.ComparisonType = proto.Field( proto.ENUM, number=4, @@ -626,6 +700,134 @@ class MonitoringQueryLanguageCondition(proto.Message): ) ) + class PrometheusQueryLanguageCondition(proto.Message): + r"""A condition type that allows alert policies to be defined using + `Prometheus Query Language + (PromQL) `__. + + The PrometheusQueryLanguageCondition message contains information + from a Prometheus alerting rule and its associated rule group. + + A Prometheus alerting rule is described + `here `__. + The semantics of a Prometheus alerting rule is described + `here `__. + + A Prometheus rule group is described + `here `__. + The semantics of a Prometheus rule group is described + `here `__. + + Because Cloud Alerting has no representation of a Prometheus rule + group resource, we must embed the information of the parent rule + group inside each of the conditions that refer to it. We must also + update the contents of all Prometheus alerts in case the information + of their rule group changes. + + The PrometheusQueryLanguageCondition protocol buffer combines the + information of the corresponding rule group and alerting rule. The + structure of the PrometheusQueryLanguageCondition protocol buffer + does NOT mimic the structure of the Prometheus rule group and + alerting rule YAML declarations. The + PrometheusQueryLanguageCondition protocol buffer may change in the + future to support future rule group and/or alerting rule features. + There are no new such features at the present time (2023-06-26). + + Attributes: + query (str): + Required. The PromQL expression to evaluate. + Every evaluation cycle this expression is + evaluated at the current time, and all resultant + time series become pending/firing alerts. This + field must not be empty. + duration (google.protobuf.duration_pb2.Duration): + Optional. Alerts are considered firing once + their PromQL expression was evaluated to be + "true" for this long. Alerts whose PromQL + expression was not evaluated to be "true" for + long enough are considered pending. + Must be a non-negative duration or missing. + This field is optional. Its default value is + zero. + evaluation_interval (google.protobuf.duration_pb2.Duration): + Optional. How often this rule should be + evaluated. Must be a positive multiple of 30 + seconds or missing. This field is optional. Its + default value is 30 seconds. If this + PrometheusQueryLanguageCondition was generated + from a Prometheus alerting rule, then this value + should be taken from the enclosing rule group. + labels (MutableMapping[str, str]): + Optional. Labels to add to or overwrite in the PromQL query + result. Label names `must be + valid `__. + Label values can be `templatized by using + variables `__. + The only available variable names are the names of the + labels in the PromQL result, including "**name**" and + "value". "labels" may be empty. + rule_group (str): + Optional. The rule group name of this alert + in the corresponding Prometheus configuration + file. + + Some external tools may require this field to be + populated correctly in order to refer to the + original Prometheus configuration file. The rule + group name and the alert name are necessary to + update the relevant AlertPolicies in case the + definition of the rule group changes in the + future. + + This field is optional. If this field is not + empty, then it must contain a valid UTF-8 + string. + This field may not exceed 2048 Unicode + characters in length. + alert_rule (str): + Optional. The alerting rule name of this alert in the + corresponding Prometheus configuration file. + + Some external tools may require this field to be populated + correctly in order to refer to the original Prometheus + configuration file. The rule group name and the alert name + are necessary to update the relevant AlertPolicies in case + the definition of the rule group changes in the future. + + This field is optional. If this field is not empty, then it + must be a `valid Prometheus label + name `__. + This field may not exceed 2048 Unicode characters in length. + """ + + query: str = proto.Field( + proto.STRING, + number=1, + ) + duration: duration_pb2.Duration = proto.Field( + proto.MESSAGE, + number=2, + message=duration_pb2.Duration, + ) + evaluation_interval: duration_pb2.Duration = proto.Field( + proto.MESSAGE, + number=3, + message=duration_pb2.Duration, + ) + labels: MutableMapping[str, str] = proto.MapField( + proto.STRING, + proto.STRING, + number=4, + ) + rule_group: str = proto.Field( + proto.STRING, + number=5, + ) + alert_rule: str = proto.Field( + proto.STRING, + number=6, + ) + name: str = proto.Field( proto.STRING, number=12, @@ -658,6 +860,12 @@ class MonitoringQueryLanguageCondition(proto.Message): oneof="condition", message="AlertPolicy.Condition.MonitoringQueryLanguageCondition", ) + condition_prometheus_query_language: "AlertPolicy.Condition.PrometheusQueryLanguageCondition" = proto.Field( + proto.MESSAGE, + number=21, + oneof="condition", + message="AlertPolicy.Condition.PrometheusQueryLanguageCondition", + ) class AlertStrategy(proto.Message): r"""Control over how the notification channels in @@ -673,6 +881,9 @@ class AlertStrategy(proto.Message): If an alert policy that was active has no data for this long, any open incidents will close + notification_channel_strategy (MutableSequence[google.cloud.monitoring_v3.types.AlertPolicy.AlertStrategy.NotificationChannelStrategy]): + Control how notifications will be sent out, + on a per-channel basis. """ class NotificationRateLimit(proto.Message): @@ -690,6 +901,37 @@ class NotificationRateLimit(proto.Message): message=duration_pb2.Duration, ) + class NotificationChannelStrategy(proto.Message): + r"""Control over how the notification channels in + ``notification_channels`` are notified when this alert fires, on a + per-channel basis. + + Attributes: + notification_channel_names (MutableSequence[str]): + The full REST resource name for the notification channels + that these settings apply to. Each of these correspond to + the name field in one of the NotificationChannel objects + referenced in the notification_channels field of this + AlertPolicy. The format is: + + :: + + projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] + renotify_interval (google.protobuf.duration_pb2.Duration): + The frequency at which to send reminder + notifications for open incidents. + """ + + notification_channel_names: MutableSequence[str] = proto.RepeatedField( + proto.STRING, + number=1, + ) + renotify_interval: duration_pb2.Duration = proto.Field( + proto.MESSAGE, + number=2, + message=duration_pb2.Duration, + ) + notification_rate_limit: "AlertPolicy.AlertStrategy.NotificationRateLimit" = ( proto.Field( proto.MESSAGE, @@ -702,6 +944,13 @@ class NotificationRateLimit(proto.Message): number=3, message=duration_pb2.Duration, ) + notification_channel_strategy: MutableSequence[ + "AlertPolicy.AlertStrategy.NotificationChannelStrategy" + ] = proto.RepeatedField( + proto.MESSAGE, + number=4, + message="AlertPolicy.AlertStrategy.NotificationChannelStrategy", + ) name: str = proto.Field( proto.STRING, diff --git a/google/cloud/monitoring_v3/types/metric_service.py b/google/cloud/monitoring_v3/types/metric_service.py index d39c3345..7c245f3c 100644 --- a/google/cloud/monitoring_v3/types/metric_service.py +++ b/google/cloud/monitoring_v3/types/metric_service.py @@ -349,9 +349,8 @@ class ListTimeSeriesRequest(proto.Message): May only be specified if ``aggregation`` is specified. order_by (str): Unsupported: must be left blank. The points - in each time series are - currently returned in reverse time order (most - recent to oldest). + in each time series are currently returned in + reverse time order (most recent to oldest). view (google.cloud.monitoring_v3.types.ListTimeSeriesRequest.TimeSeriesView): Required. Specifies which information is returned about the time series. diff --git a/google/cloud/monitoring_v3/types/service.py b/google/cloud/monitoring_v3/types/service.py index 8bb2e503..669e3e0d 100644 --- a/google/cloud/monitoring_v3/types/service.py +++ b/google/cloud/monitoring_v3/types/service.py @@ -526,31 +526,29 @@ class BasicSli(proto.Message): Attributes: method (MutableSequence[str]): OPTIONAL: The set of RPCs to which this SLI - is relevant. Telemetry from - other methods will not be used to calculate - performance for this SLI. If omitted, this SLI - applies to all the Service's methods. For - service types that don't support breaking down - by method, setting this field will result in an - error. + is relevant. Telemetry from other methods will + not be used to calculate performance for this + SLI. If omitted, this SLI applies to all the + Service's methods. For service types that don't + support breaking down by method, setting this + field will result in an error. location (MutableSequence[str]): OPTIONAL: The set of locations to which this - SLI is relevant. Telemetry - from other locations will not be used to - calculate performance for this SLI. If omitted, - this SLI applies to all locations in which the - Service has activity. For service types that - don't support breaking down by location, setting - this field will result in an error. + SLI is relevant. Telemetry from other locations + will not be used to calculate performance for + this SLI. If omitted, this SLI applies to all + locations in which the Service has activity. For + service types that don't support breaking down + by location, setting this field will result in + an error. version (MutableSequence[str]): OPTIONAL: The set of API versions to which - this SLI is relevant. Telemetry - from other API versions will not be used to - calculate performance for this SLI. If omitted, - this SLI applies to all API versions. For - service types that don't support breaking down - by version, setting this field will result in an - error. + this SLI is relevant. Telemetry from other API + versions will not be used to calculate + performance for this SLI. If omitted, this SLI + applies to all API versions. For service types + that don't support breaking down by version, + setting this field will result in an error. availability (google.cloud.monitoring_v3.types.BasicSli.AvailabilityCriteria): Good service is defined to be the count of requests made to this service that return diff --git a/google/cloud/monitoring_v3/types/snooze.py b/google/cloud/monitoring_v3/types/snooze.py index 4f1f5b8d..c0ead05c 100644 --- a/google/cloud/monitoring_v3/types/snooze.py +++ b/google/cloud/monitoring_v3/types/snooze.py @@ -73,7 +73,7 @@ class Criteria(proto.Message): projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] - There is a limit of 10 policies per snooze. This limit is + There is a limit of 16 policies per snooze. This limit is checked during snooze creation. """ diff --git a/google/cloud/monitoring_v3/types/uptime.py b/google/cloud/monitoring_v3/types/uptime.py index 6e3ad60e..4627271d 100644 --- a/google/cloud/monitoring_v3/types/uptime.py +++ b/google/cloud/monitoring_v3/types/uptime.py @@ -54,9 +54,7 @@ class UptimeCheckRegion(proto.Enum): the continent of South America. ASIA_PACIFIC (4): Allows checks to run from locations within - the Asia Pacific area (ex: - - Singapore). + the Asia Pacific area (ex: Singapore). USA_OREGON (5): Allows checks to run from locations within the western United States of America From ff6da7b54b1b0f3750c78467eeda2219f0e71bd4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 4 Oct 2023 16:04:18 -0700 Subject: [PATCH 10/12] chore: [autoapprove] bump cryptography from 41.0.3 to 41.0.4 (#563) Source-Link: https://github.com/googleapis/synthtool/commit/dede53ff326079b457cfb1aae5bbdc82cbb51dc3 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:fac304457974bb530cc5396abd4ab25d26a469cd3bc97cbfb18c8d4324c584eb Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- .gitignore | 1 + .kokoro/requirements.txt | 49 ++++++++++++++++++++------------------- 3 files changed, 28 insertions(+), 26 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index a3da1b0d..a9bdb1b7 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:3e3800bb100af5d7f9e810d48212b37812c1856d20ffeafb99ebe66461b61fc7 -# created: 2023-08-02T10:53:29.114535628Z + digest: sha256:fac304457974bb530cc5396abd4ab25d26a469cd3bc97cbfb18c8d4324c584eb +# created: 2023-10-02T21:31:03.517640371Z diff --git a/.gitignore b/.gitignore index b4243ced..d083ea1d 100644 --- a/.gitignore +++ b/.gitignore @@ -50,6 +50,7 @@ docs.metadata # Virtual environment env/ +venv/ # Test logs coverage.xml diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index 029bd342..96d593c8 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -113,30 +113,30 @@ commonmark==0.9.1 \ --hash=sha256:452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60 \ --hash=sha256:da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9 # via rich -cryptography==41.0.3 \ - --hash=sha256:0d09fb5356f975974dbcb595ad2d178305e5050656affb7890a1583f5e02a306 \ - --hash=sha256:23c2d778cf829f7d0ae180600b17e9fceea3c2ef8b31a99e3c694cbbf3a24b84 \ - --hash=sha256:3fb248989b6363906827284cd20cca63bb1a757e0a2864d4c1682a985e3dca47 \ - --hash=sha256:41d7aa7cdfded09b3d73a47f429c298e80796c8e825ddfadc84c8a7f12df212d \ - --hash=sha256:42cb413e01a5d36da9929baa9d70ca90d90b969269e5a12d39c1e0d475010116 \ - --hash=sha256:4c2f0d35703d61002a2bbdcf15548ebb701cfdd83cdc12471d2bae80878a4207 \ - --hash=sha256:4fd871184321100fb400d759ad0cddddf284c4b696568204d281c902fc7b0d81 \ - --hash=sha256:5259cb659aa43005eb55a0e4ff2c825ca111a0da1814202c64d28a985d33b087 \ - --hash=sha256:57a51b89f954f216a81c9d057bf1a24e2f36e764a1ca9a501a6964eb4a6800dd \ - --hash=sha256:652627a055cb52a84f8c448185922241dd5217443ca194d5739b44612c5e6507 \ - --hash=sha256:67e120e9a577c64fe1f611e53b30b3e69744e5910ff3b6e97e935aeb96005858 \ - --hash=sha256:6af1c6387c531cd364b72c28daa29232162010d952ceb7e5ca8e2827526aceae \ - --hash=sha256:6d192741113ef5e30d89dcb5b956ef4e1578f304708701b8b73d38e3e1461f34 \ - --hash=sha256:7efe8041897fe7a50863e51b77789b657a133c75c3b094e51b5e4b5cec7bf906 \ - --hash=sha256:84537453d57f55a50a5b6835622ee405816999a7113267739a1b4581f83535bd \ - --hash=sha256:8f09daa483aedea50d249ef98ed500569841d6498aa9c9f4b0531b9964658922 \ - --hash=sha256:95dd7f261bb76948b52a5330ba5202b91a26fbac13ad0e9fc8a3ac04752058c7 \ - --hash=sha256:a74fbcdb2a0d46fe00504f571a2a540532f4c188e6ccf26f1f178480117b33c4 \ - --hash=sha256:a983e441a00a9d57a4d7c91b3116a37ae602907a7618b882c8013b5762e80574 \ - --hash=sha256:ab8de0d091acbf778f74286f4989cf3d1528336af1b59f3e5d2ebca8b5fe49e1 \ - --hash=sha256:aeb57c421b34af8f9fe830e1955bf493a86a7996cc1338fe41b30047d16e962c \ - --hash=sha256:ce785cf81a7bdade534297ef9e490ddff800d956625020ab2ec2780a556c313e \ - --hash=sha256:d0d651aa754ef58d75cec6edfbd21259d93810b73f6ec246436a21b7841908de +cryptography==41.0.4 \ + --hash=sha256:004b6ccc95943f6a9ad3142cfabcc769d7ee38a3f60fb0dddbfb431f818c3a67 \ + --hash=sha256:047c4603aeb4bbd8db2756e38f5b8bd7e94318c047cfe4efeb5d715e08b49311 \ + --hash=sha256:0d9409894f495d465fe6fda92cb70e8323e9648af912d5b9141d616df40a87b8 \ + --hash=sha256:23a25c09dfd0d9f28da2352503b23e086f8e78096b9fd585d1d14eca01613e13 \ + --hash=sha256:2ed09183922d66c4ec5fdaa59b4d14e105c084dd0febd27452de8f6f74704143 \ + --hash=sha256:35c00f637cd0b9d5b6c6bd11b6c3359194a8eba9c46d4e875a3660e3b400005f \ + --hash=sha256:37480760ae08065437e6573d14be973112c9e6dcaf5f11d00147ee74f37a3829 \ + --hash=sha256:3b224890962a2d7b57cf5eeb16ccaafba6083f7b811829f00476309bce2fe0fd \ + --hash=sha256:5a0f09cefded00e648a127048119f77bc2b2ec61e736660b5789e638f43cc397 \ + --hash=sha256:5b72205a360f3b6176485a333256b9bcd48700fc755fef51c8e7e67c4b63e3ac \ + --hash=sha256:7e53db173370dea832190870e975a1e09c86a879b613948f09eb49324218c14d \ + --hash=sha256:7febc3094125fc126a7f6fb1f420d0da639f3f32cb15c8ff0dc3997c4549f51a \ + --hash=sha256:80907d3faa55dc5434a16579952ac6da800935cd98d14dbd62f6f042c7f5e839 \ + --hash=sha256:86defa8d248c3fa029da68ce61fe735432b047e32179883bdb1e79ed9bb8195e \ + --hash=sha256:8ac4f9ead4bbd0bc8ab2d318f97d85147167a488be0e08814a37eb2f439d5cf6 \ + --hash=sha256:93530900d14c37a46ce3d6c9e6fd35dbe5f5601bf6b3a5c325c7bffc030344d9 \ + --hash=sha256:9eeb77214afae972a00dee47382d2591abe77bdae166bda672fb1e24702a3860 \ + --hash=sha256:b5f4dfe950ff0479f1f00eda09c18798d4f49b98f4e2006d644b3301682ebdca \ + --hash=sha256:c3391bd8e6de35f6f1140e50aaeb3e2b3d6a9012536ca23ab0d9c35ec18c8a91 \ + --hash=sha256:c880eba5175f4307129784eca96f4e70b88e57aa3f680aeba3bab0e980b0f37d \ + --hash=sha256:cecfefa17042941f94ab54f769c8ce0fe14beff2694e9ac684176a2535bf9714 \ + --hash=sha256:e40211b4923ba5a6dc9769eab704bdb3fbb58d56c5b336d30996c24fcf12aadb \ + --hash=sha256:efc8ad4e6fc4f1752ebfb58aefece8b4e3c4cae940b0994d43649bdfce8d0d4f # via # gcp-releasetool # secretstorage @@ -382,6 +382,7 @@ protobuf==3.20.3 \ # gcp-docuploader # gcp-releasetool # google-api-core + # googleapis-common-protos pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba From 4d8225f0eafbc69b6cece674e0ec406e5c0209f3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 10:53:07 -0400 Subject: [PATCH 11/12] chore: [autoapprove] Update `black` and `isort` to latest versions (#565) Source-Link: https://github.com/googleapis/synthtool/commit/0c7b0333f44b2b7075447f43a121a12d15a7b76a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:08e34975760f002746b1d8c86fdc90660be45945ee6d9db914d1508acdf9a547 Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- .kokoro/requirements.txt | 6 +++--- .pre-commit-config.yaml | 2 +- noxfile.py | 34 ++++++++++++++++++---------------- 4 files changed, 24 insertions(+), 22 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index a9bdb1b7..dd98abbd 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:fac304457974bb530cc5396abd4ab25d26a469cd3bc97cbfb18c8d4324c584eb -# created: 2023-10-02T21:31:03.517640371Z + digest: sha256:08e34975760f002746b1d8c86fdc90660be45945ee6d9db914d1508acdf9a547 +# created: 2023-10-09T14:06:13.397766266Z diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index 96d593c8..0332d326 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -467,9 +467,9 @@ typing-extensions==4.4.0 \ --hash=sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa \ --hash=sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e # via -r requirements.in -urllib3==1.26.12 \ - --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ - --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 +urllib3==1.26.17 \ + --hash=sha256:24d6a242c28d29af46c3fae832c36db3bbebcc533dd1bb549172cd739c82df21 \ + --hash=sha256:94a757d178c9be92ef5539b8840d48dc9cf1b2709c9d6b588232a055c524458b # via # requests # twine diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 19409cbd..6a8e1695 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: end-of-file-fixer - id: check-yaml - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 23.7.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 diff --git a/noxfile.py b/noxfile.py index 4584e746..83bdc2cf 100644 --- a/noxfile.py +++ b/noxfile.py @@ -17,22 +17,24 @@ # Generated by synthtool. DO NOT EDIT! from __future__ import absolute_import + import os import pathlib import re import shutil +from typing import Dict, List import warnings import nox FLAKE8_VERSION = "flake8==6.1.0" -BLACK_VERSION = "black==22.3.0" -ISORT_VERSION = "isort==5.10.1" +BLACK_VERSION = "black[jupyter]==23.7.0" +ISORT_VERSION = "isort==5.11.0" LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] DEFAULT_PYTHON_VERSION = "3.8" -UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11"] +UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"] UNIT_TEST_STANDARD_DEPENDENCIES = [ "mock", "asyncmock", @@ -40,27 +42,27 @@ "pytest-cov", "pytest-asyncio", ] -UNIT_TEST_EXTERNAL_DEPENDENCIES = [] -UNIT_TEST_LOCAL_DEPENDENCIES = [] -UNIT_TEST_DEPENDENCIES = [] -UNIT_TEST_EXTRAS = [ +UNIT_TEST_EXTERNAL_DEPENDENCIES: List[str] = [] +UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = [] +UNIT_TEST_DEPENDENCIES: List[str] = [] +UNIT_TEST_EXTRAS: List[str] = [ "pandas", ] -UNIT_TEST_EXTRAS_BY_PYTHON = {} +UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} -SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"] -SYSTEM_TEST_STANDARD_DEPENDENCIES = [ +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"] +SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ "mock", "pytest", "google-cloud-testutils", ] -SYSTEM_TEST_EXTERNAL_DEPENDENCIES = [] -SYSTEM_TEST_LOCAL_DEPENDENCIES = [] -SYSTEM_TEST_DEPENDENCIES = [] -SYSTEM_TEST_EXTRAS = [ +SYSTEM_TEST_EXTERNAL_DEPENDENCIES: List[str] = [] +SYSTEM_TEST_LOCAL_DEPENDENCIES: List[str] = [] +SYSTEM_TEST_DEPENDENCIES: List[str] = [] +SYSTEM_TEST_EXTRAS: List[str] = [ "pandas", ] -SYSTEM_TEST_EXTRAS_BY_PYTHON = {} +SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() @@ -73,6 +75,7 @@ "lint_setup_py", "blacken", "docs", + "format", ] # Error if a python version is missing @@ -191,7 +194,6 @@ def unit(session): def install_systemtest_dependencies(session, *constraints): - # Use pre-release gRPC for system tests. # Exclude version 1.52.0rc1 which has a known issue. # See https://github.com/grpc/grpc/issues/32163 From 11f4376f6534e395c9eefe859d635dc95a360c58 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 09:56:50 -0700 Subject: [PATCH 12/12] chore(main): release 2.16.0 (#561) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 14 ++++++++++++++ google/cloud/monitoring/gapic_version.py | 2 +- google/cloud/monitoring_v3/gapic_version.py | 2 +- .../snippet_metadata_google.monitoring.v3.json | 2 +- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6abca04f..2f416052 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - ".": "2.15.1" + ".": "2.16.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e395c0dd..b4beee9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,20 @@ [1]: https://pypi.org/project/google-cloud-monitoring/#history +## [2.16.0](https://github.com/googleapis/python-monitoring/compare/v2.15.1...v2.16.0) (2023-10-09) + + +### Features + +* Added support for forecast options in AlertPolicy ([218e678](https://github.com/googleapis/python-monitoring/commit/218e67818d7a19e45bd1521adb3cea76efb3f541)) +* Added support for promQL condition type in AlertPolicy ([218e678](https://github.com/googleapis/python-monitoring/commit/218e67818d7a19e45bd1521adb3cea76efb3f541)) +* Added support for retriggering notifications in AlertPolicy ([218e678](https://github.com/googleapis/python-monitoring/commit/218e67818d7a19e45bd1521adb3cea76efb3f541)) + + +### Documentation + +* Minor formatting ([218e678](https://github.com/googleapis/python-monitoring/commit/218e67818d7a19e45bd1521adb3cea76efb3f541)) + ## [2.15.1](https://github.com/googleapis/python-monitoring/compare/v2.15.0...v2.15.1) (2023-07-04) diff --git a/google/cloud/monitoring/gapic_version.py b/google/cloud/monitoring/gapic_version.py index 505a42f1..a2303530 100644 --- a/google/cloud/monitoring/gapic_version.py +++ b/google/cloud/monitoring/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.15.1" # {x-release-please-version} +__version__ = "2.16.0" # {x-release-please-version} diff --git a/google/cloud/monitoring_v3/gapic_version.py b/google/cloud/monitoring_v3/gapic_version.py index 505a42f1..a2303530 100644 --- a/google/cloud/monitoring_v3/gapic_version.py +++ b/google/cloud/monitoring_v3/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.15.1" # {x-release-please-version} +__version__ = "2.16.0" # {x-release-please-version} diff --git a/samples/generated_samples/snippet_metadata_google.monitoring.v3.json b/samples/generated_samples/snippet_metadata_google.monitoring.v3.json index 04888a5f..9503e0f2 100644 --- a/samples/generated_samples/snippet_metadata_google.monitoring.v3.json +++ b/samples/generated_samples/snippet_metadata_google.monitoring.v3.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-monitoring", - "version": "0.1.0" + "version": "2.16.0" }, "snippets": [ {