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

Commit 6c74c1c

Browse files
1 parent f62b132 commit 6c74c1c

File tree

7 files changed

+33
-33
lines changed

7 files changed

+33
-33
lines changed

google/cloud/monitoring_v3/services/metric_service/async_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,9 +1021,9 @@ async def sample_list_time_series():
10211021
The format is:
10221022
10231023
```
1024-
                    projects/[PROJECT_ID_OR_NUMBER]
1025-
                    organizations/[ORGANIZATION_ID]
1026-
                    folders/[FOLDER_ID]
1024+
            projects/[PROJECT_ID_OR_NUMBER]
1025+
            organizations/[ORGANIZATION_ID]
1026+
            folders/[FOLDER_ID]
10271027
```
10281028
10291029
This corresponds to the ``name`` field
@@ -1038,8 +1038,8 @@ async def sample_list_time_series():
10381038
information. For example:
10391039
10401040
```
1041-
                    metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
1042-
                        metric.labels.instance_name = "my-instance-name"
1041+
            metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
1042+
                metric.labels.instance_name = "my-instance-name"
10431043
```
10441044
10451045
This corresponds to the ``filter`` field

google/cloud/monitoring_v3/services/metric_service/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,9 +1229,9 @@ def sample_list_time_series():
12291229
The format is:
12301230
12311231
```
1232-
                    projects/[PROJECT_ID_OR_NUMBER]
1233-
                    organizations/[ORGANIZATION_ID]
1234-
                    folders/[FOLDER_ID]
1232+
            projects/[PROJECT_ID_OR_NUMBER]
1233+
            organizations/[ORGANIZATION_ID]
1234+
            folders/[FOLDER_ID]
12351235
```
12361236
12371237
This corresponds to the ``name`` field
@@ -1246,8 +1246,8 @@ def sample_list_time_series():
12461246
information. For example:
12471247
12481248
```
1249-
                    metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
1250-
                        metric.labels.instance_name = "my-instance-name"
1249+
            metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
1250+
                metric.labels.instance_name = "my-instance-name"
12511251
```
12521252
12531253
This corresponds to the ``filter`` field

google/cloud/monitoring_v3/services/service_monitoring_service/async_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,8 @@ async def sample_list_services():
512512
or a Monitoring Workspace. The formats are:
513513
514514
```
515-
                    projects/[PROJECT_ID_OR_NUMBER]
516-
                    workspaces/[HOST_PROJECT_ID_OR_NUMBER]
515+
            projects/[PROJECT_ID_OR_NUMBER]
516+
            workspaces/[HOST_PROJECT_ID_OR_NUMBER]
517517
```
518518
519519
This corresponds to the ``parent`` field
@@ -1103,8 +1103,8 @@ async def sample_list_service_level_objectives():
11031103
The formats are:
11041104
11051105
```
1106-
                    projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
1107-
                    workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
1106+
            projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
1107+
            workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
11081108
```
11091109
11101110
This corresponds to the ``parent`` field

google/cloud/monitoring_v3/services/service_monitoring_service/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,8 @@ def sample_list_services():
736736
or a Monitoring Workspace. The formats are:
737737
738738
```
739-
                    projects/[PROJECT_ID_OR_NUMBER]
740-
                    workspaces/[HOST_PROJECT_ID_OR_NUMBER]
739+
            projects/[PROJECT_ID_OR_NUMBER]
740+
            workspaces/[HOST_PROJECT_ID_OR_NUMBER]
741741
```
742742
743743
This corresponds to the ``parent`` field

google/cloud/monitoring_v3/types/metric_service.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ class ListTimeSeriesRequest(proto.Message):
300300
format is:
301301
302302
```
303-
                projects/[PROJECT_ID_OR_NUMBER]
304-
                organizations/[ORGANIZATION_ID]
305-
                folders/[FOLDER_ID]
303+
            projects/[PROJECT_ID_OR_NUMBER]
304+
            organizations/[ORGANIZATION_ID]
305+
            folders/[FOLDER_ID]
306306
```
307307
filter (str):
308308
Required. A `monitoring
@@ -313,8 +313,8 @@ class ListTimeSeriesRequest(proto.Message):
313313
For example:
314314
315315
```
316-
                metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
317-
                    metric.labels.instance_name = "my-instance-name".
316+
            metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
317+
                metric.labels.instance_name = "my-instance-name".
318318
```
319319
interval (google.cloud.monitoring_v3.types.TimeInterval):
320320
Required. The time interval for which results

google/cloud/monitoring_v3/types/service_service.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,16 @@ class ListServicesRequest(proto.Message):
106106
filter currently supports the following fields:
107107
108108
```
109-
                - `identifier_case`
110-
                - `app_engine.module_id`
111-
                - `cloud_endpoints.service` (reserved for future use)
112-
                - `mesh_istio.mesh_uid`
113-
                - `mesh_istio.service_namespace`
114-
                - `mesh_istio.service_name`
115-
                - `cluster_istio.location` (deprecated)
116-
                - `cluster_istio.cluster_name` (deprecated)
117-
                - `cluster_istio.service_namespace` (deprecated)
118-
                - `cluster_istio.service_name` (deprecated)
109+
            - `identifier_case`
110+
            - `app_engine.module_id`
111+
            - `cloud_endpoints.service` (reserved for future use)
112+
            - `mesh_istio.mesh_uid`
113+
            - `mesh_istio.service_namespace`
114+
            - `mesh_istio.service_name`
115+
            - `cluster_istio.location` (deprecated)
116+
            - `cluster_istio.cluster_name` (deprecated)
117+
            - `cluster_istio.service_namespace` (deprecated)
118+
            - `cluster_istio.service_name` (deprecated)
119119
```
120120
121121
``identifier_case`` refers to which option in the identifier

google/cloud/monitoring_v3/types/snooze_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ class ListSnoozesRequest(proto.Message):
8282
For example:
8383
8484
```
85-
                interval.start_time > "2022-03-11T00:00:00-08:00" AND
86-
                    interval.end_time < "2022-03-12T00:00:00-08:00"
85+
            interval.start_time > "2022-03-11T00:00:00-08:00" AND
86+
                interval.end_time < "2022-03-12T00:00:00-08:00"
8787
```
8888
page_size (int):
8989
Optional. The maximum number of results to return for a

0 commit comments

Comments
 (0)