Skip to content

Commit d1ffbfc

Browse files
feat(monitoring): update the api
#### monitoring:v1 The following keys were added: - schemas.OperationMetadata (Total Keys: 7) #### monitoring:v3 The following keys were added: - schemas.OperationMetadata (Total Keys: 7) - schemas.ServiceLevelObjective.properties.userLabels (Total Keys: 2)
1 parent cf54d56 commit d1ffbfc

File tree

3 files changed

+97
-2
lines changed

3 files changed

+97
-2
lines changed

docs/dyn/monitoring_v3.services.serviceLevelObjectives.html

+18
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ <h3>Method Details</h3>
199199
&quot;windowPeriod&quot;: &quot;A String&quot;, # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.
200200
},
201201
},
202+
&quot;userLabels&quot;: { # Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
203+
&quot;a_key&quot;: &quot;A String&quot;,
204+
},
202205
}
203206

204207
serviceLevelObjectiveId: string, Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern [a-z0-9\-]+
@@ -299,6 +302,9 @@ <h3>Method Details</h3>
299302
&quot;windowPeriod&quot;: &quot;A String&quot;, # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.
300303
},
301304
},
305+
&quot;userLabels&quot;: { # Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
306+
&quot;a_key&quot;: &quot;A String&quot;,
307+
},
302308
}</pre>
303309
</div>
304310

@@ -428,6 +434,9 @@ <h3>Method Details</h3>
428434
&quot;windowPeriod&quot;: &quot;A String&quot;, # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.
429435
},
430436
},
437+
&quot;userLabels&quot;: { # Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
438+
&quot;a_key&quot;: &quot;A String&quot;,
439+
},
431440
}</pre>
432441
</div>
433442

@@ -545,6 +554,9 @@ <h3>Method Details</h3>
545554
&quot;windowPeriod&quot;: &quot;A String&quot;, # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.
546555
},
547556
},
557+
&quot;userLabels&quot;: { # Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
558+
&quot;a_key&quot;: &quot;A String&quot;,
559+
},
548560
},
549561
],
550562
}</pre>
@@ -662,6 +674,9 @@ <h3>Method Details</h3>
662674
&quot;windowPeriod&quot;: &quot;A String&quot;, # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.
663675
},
664676
},
677+
&quot;userLabels&quot;: { # Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
678+
&quot;a_key&quot;: &quot;A String&quot;,
679+
},
665680
}
666681

667682
updateMask: string, A set of field paths defining which fields to use for the update.
@@ -762,6 +777,9 @@ <h3>Method Details</h3>
762777
&quot;windowPeriod&quot;: &quot;A String&quot;, # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.
763778
},
764779
},
780+
&quot;userLabels&quot;: { # Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
781+
&quot;a_key&quot;: &quot;A String&quot;,
782+
},
765783
}</pre>
766784
</div>
767785

googleapiclient/discovery_cache/documents/monitoring.v1.json

+36-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
}
286286
}
287287
},
288-
"revision": "20210606",
288+
"revision": "20210618",
289289
"rootUrl": "https://monitoring.googleapis.com/",
290290
"schemas": {
291291
"Aggregation": {
@@ -742,6 +742,41 @@
742742
},
743743
"type": "object"
744744
},
745+
"OperationMetadata": {
746+
"description": "Contains metadata for longrunning operation for the edit Metrics Scope endpoints.",
747+
"id": "OperationMetadata",
748+
"properties": {
749+
"createTime": {
750+
"description": "The time when the batch request was received.",
751+
"format": "google-datetime",
752+
"type": "string"
753+
},
754+
"state": {
755+
"description": "Current state of the batch operation.",
756+
"enum": [
757+
"STATE_UNSPECIFIED",
758+
"CREATED",
759+
"RUNNING",
760+
"DONE",
761+
"CANCELLED"
762+
],
763+
"enumDescriptions": [
764+
"Invalid.",
765+
"Request has been received.",
766+
"Request is actively being processed.",
767+
"The batch processing is done.",
768+
"The batch processing was cancelled."
769+
],
770+
"type": "string"
771+
},
772+
"updateTime": {
773+
"description": "The time when the operation result was last updated.",
774+
"format": "google-datetime",
775+
"type": "string"
776+
}
777+
},
778+
"type": "object"
779+
},
745780
"Option": {
746781
"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
747782
"id": "Option",

googleapiclient/discovery_cache/documents/monitoring.v3.json

+43-1
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,7 @@
25412541
}
25422542
}
25432543
},
2544-
"revision": "20210606",
2544+
"revision": "20210618",
25452545
"rootUrl": "https://monitoring.googleapis.com/",
25462546
"schemas": {
25472547
"Aggregation": {
@@ -4453,6 +4453,41 @@
44534453
},
44544454
"type": "object"
44554455
},
4456+
"OperationMetadata": {
4457+
"description": "Contains metadata for longrunning operation for the edit Metrics Scope endpoints.",
4458+
"id": "OperationMetadata",
4459+
"properties": {
4460+
"createTime": {
4461+
"description": "The time when the batch request was received.",
4462+
"format": "google-datetime",
4463+
"type": "string"
4464+
},
4465+
"state": {
4466+
"description": "Current state of the batch operation.",
4467+
"enum": [
4468+
"STATE_UNSPECIFIED",
4469+
"CREATED",
4470+
"RUNNING",
4471+
"DONE",
4472+
"CANCELLED"
4473+
],
4474+
"enumDescriptions": [
4475+
"Invalid.",
4476+
"Request has been received.",
4477+
"Request is actively being processed.",
4478+
"The batch processing is done.",
4479+
"The batch processing was cancelled."
4480+
],
4481+
"type": "string"
4482+
},
4483+
"updateTime": {
4484+
"description": "The time when the operation result was last updated.",
4485+
"format": "google-datetime",
4486+
"type": "string"
4487+
}
4488+
},
4489+
"type": "object"
4490+
},
44564491
"Option": {
44574492
"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.",
44584493
"id": "Option",
@@ -4748,6 +4783,13 @@
47484783
"serviceLevelIndicator": {
47494784
"$ref": "ServiceLevelIndicator",
47504785
"description": "The definition of good service, used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality."
4786+
},
4787+
"userLabels": {
4788+
"additionalProperties": {
4789+
"type": "string"
4790+
},
4791+
"description": "Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.",
4792+
"type": "object"
47514793
}
47524794
},
47534795
"type": "object"

0 commit comments

Comments
 (0)