From d1ffbfc041f23f904cd8bc35a450871b2909473b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 29 Jun 2021 07:07:57 +0000 Subject: [PATCH] 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) --- ...ng_v3.services.serviceLevelObjectives.html | 18 ++++++++ .../documents/monitoring.v1.json | 37 +++++++++++++++- .../documents/monitoring.v3.json | 44 ++++++++++++++++++- 3 files changed, 97 insertions(+), 2 deletions(-) diff --git a/docs/dyn/monitoring_v3.services.serviceLevelObjectives.html b/docs/dyn/monitoring_v3.services.serviceLevelObjectives.html index be919fa3fa3..bc05437f8b2 100644 --- a/docs/dyn/monitoring_v3.services.serviceLevelObjectives.html +++ b/docs/dyn/monitoring_v3.services.serviceLevelObjectives.html @@ -199,6 +199,9 @@

Method Details

"windowPeriod": "A String", # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s. }, }, + "userLabels": { # 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. + "a_key": "A String", + }, } 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 @@

Method Details

"windowPeriod": "A String", # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s. }, }, + "userLabels": { # 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. + "a_key": "A String", + }, } @@ -428,6 +434,9 @@

Method Details

"windowPeriod": "A String", # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s. }, }, + "userLabels": { # 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. + "a_key": "A String", + }, } @@ -545,6 +554,9 @@

Method Details

"windowPeriod": "A String", # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s. }, }, + "userLabels": { # 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. + "a_key": "A String", + }, }, ], } @@ -662,6 +674,9 @@

Method Details

"windowPeriod": "A String", # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s. }, }, + "userLabels": { # 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. + "a_key": "A String", + }, } updateMask: string, A set of field paths defining which fields to use for the update. @@ -762,6 +777,9 @@

Method Details

"windowPeriod": "A String", # Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s. }, }, + "userLabels": { # 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. + "a_key": "A String", + }, } diff --git a/googleapiclient/discovery_cache/documents/monitoring.v1.json b/googleapiclient/discovery_cache/documents/monitoring.v1.json index a0035d7706d..7302bc65d33 100644 --- a/googleapiclient/discovery_cache/documents/monitoring.v1.json +++ b/googleapiclient/discovery_cache/documents/monitoring.v1.json @@ -285,7 +285,7 @@ } } }, - "revision": "20210606", + "revision": "20210618", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -742,6 +742,41 @@ }, "type": "object" }, + "OperationMetadata": { + "description": "Contains metadata for longrunning operation for the edit Metrics Scope endpoints.", + "id": "OperationMetadata", + "properties": { + "createTime": { + "description": "The time when the batch request was received.", + "format": "google-datetime", + "type": "string" + }, + "state": { + "description": "Current state of the batch operation.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATED", + "RUNNING", + "DONE", + "CANCELLED" + ], + "enumDescriptions": [ + "Invalid.", + "Request has been received.", + "Request is actively being processed.", + "The batch processing is done.", + "The batch processing was cancelled." + ], + "type": "string" + }, + "updateTime": { + "description": "The time when the operation result was last updated.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "Option": { "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.", "id": "Option", diff --git a/googleapiclient/discovery_cache/documents/monitoring.v3.json b/googleapiclient/discovery_cache/documents/monitoring.v3.json index 3e304336944..2c2f4e53265 100644 --- a/googleapiclient/discovery_cache/documents/monitoring.v3.json +++ b/googleapiclient/discovery_cache/documents/monitoring.v3.json @@ -2541,7 +2541,7 @@ } } }, - "revision": "20210606", + "revision": "20210618", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -4453,6 +4453,41 @@ }, "type": "object" }, + "OperationMetadata": { + "description": "Contains metadata for longrunning operation for the edit Metrics Scope endpoints.", + "id": "OperationMetadata", + "properties": { + "createTime": { + "description": "The time when the batch request was received.", + "format": "google-datetime", + "type": "string" + }, + "state": { + "description": "Current state of the batch operation.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATED", + "RUNNING", + "DONE", + "CANCELLED" + ], + "enumDescriptions": [ + "Invalid.", + "Request has been received.", + "Request is actively being processed.", + "The batch processing is done.", + "The batch processing was cancelled." + ], + "type": "string" + }, + "updateTime": { + "description": "The time when the operation result was last updated.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "Option": { "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.", "id": "Option", @@ -4748,6 +4783,13 @@ "serviceLevelIndicator": { "$ref": "ServiceLevelIndicator", "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." + }, + "userLabels": { + "additionalProperties": { + "type": "string" + }, + "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.", + "type": "object" } }, "type": "object"