feat(workloadmanager): update the api #### workloadmanager:v1 The following keys were deleted: - schemas.SqlserverValidationValidationDetail.properties.details (Total Keys: 2) - schemas.SqlserverValidationValidationDetail.properties.instanceId.type (Total Keys: 1) The following keys were added: - resources.projects.resources.locations.resources.rules.methods.list.parameters.customRulesBucket (Total Keys: 2) - schemas.Evaluation.properties.customRulesBucket.type (Total Keys: 1) - schemas.Insight.properties.instanceId.type (Total Keys: 1) - schemas.SqlserverValidationValidationDetail.properties.fields (Total Keys: 2)
diff --git a/docs/dyn/workloadmanager_v1.projects.locations.evaluations.html b/docs/dyn/workloadmanager_v1.projects.locations.evaluations.html index fab4944..226bd7a 100644 --- a/docs/dyn/workloadmanager_v1.projects.locations.evaluations.html +++ b/docs/dyn/workloadmanager_v1.projects.locations.evaluations.html
@@ -109,8 +109,9 @@ body: object, The request body. The object takes the form of: -{ # Message describing Evaluation object +{ # LINT.IfChange Message describing Evaluation object "createTime": "A String", # Output only. [Output only] Create time stamp + "customRulesBucket": "A String", # The Cloud Storage bucket name for custom rules. "description": "A String", # Description of the Evaluation "labels": { # Labels as key value pairs "a_key": "A String", @@ -133,7 +134,7 @@ ], }, "resourceStatus": { # Message describing resource status # Output only. [Output only] The updated rule ids if exist. - "rulesNewerVersions": [ # the new version of rule id if exists + "rulesNewerVersions": [ # Historical: Used before 2023-05-22 the new version of rule id if exists "A String", ], "state": "A String", # State of the resource @@ -144,7 +145,7 @@ "ruleVersions": [ # Output only. [Output only] The updated rule ids if exist. "A String", ], - "schedule": "A String", # crontab format schedule for scheduled evaluation, example: 0 */3 * * * + "schedule": "A String", # crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *", "updateTime": "A String", # Output only. [Output only] Update time stamp } @@ -193,8 +194,9 @@ Returns: An object of the form: - { # Message describing Evaluation object + { # LINT.IfChange Message describing Evaluation object "createTime": "A String", # Output only. [Output only] Create time stamp + "customRulesBucket": "A String", # The Cloud Storage bucket name for custom rules. "description": "A String", # Description of the Evaluation "labels": { # Labels as key value pairs "a_key": "A String", @@ -217,7 +219,7 @@ ], }, "resourceStatus": { # Message describing resource status # Output only. [Output only] The updated rule ids if exist. - "rulesNewerVersions": [ # the new version of rule id if exists + "rulesNewerVersions": [ # Historical: Used before 2023-05-22 the new version of rule id if exists "A String", ], "state": "A String", # State of the resource @@ -228,7 +230,7 @@ "ruleVersions": [ # Output only. [Output only] The updated rule ids if exist. "A String", ], - "schedule": "A String", # crontab format schedule for scheduled evaluation, example: 0 */3 * * * + "schedule": "A String", # crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *", "updateTime": "A String", # Output only. [Output only] Update time stamp }</pre> </div> @@ -253,8 +255,9 @@ { # Message for response to listing Evaluations "evaluations": [ # The list of Evaluation - { # Message describing Evaluation object + { # LINT.IfChange Message describing Evaluation object "createTime": "A String", # Output only. [Output only] Create time stamp + "customRulesBucket": "A String", # The Cloud Storage bucket name for custom rules. "description": "A String", # Description of the Evaluation "labels": { # Labels as key value pairs "a_key": "A String", @@ -277,7 +280,7 @@ ], }, "resourceStatus": { # Message describing resource status # Output only. [Output only] The updated rule ids if exist. - "rulesNewerVersions": [ # the new version of rule id if exists + "rulesNewerVersions": [ # Historical: Used before 2023-05-22 the new version of rule id if exists "A String", ], "state": "A String", # State of the resource @@ -288,7 +291,7 @@ "ruleVersions": [ # Output only. [Output only] The updated rule ids if exist. "A String", ], - "schedule": "A String", # crontab format schedule for scheduled evaluation, example: 0 */3 * * * + "schedule": "A String", # crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *", "updateTime": "A String", # Output only. [Output only] Update time stamp }, ],
diff --git a/docs/dyn/workloadmanager_v1.projects.locations.insights.html b/docs/dyn/workloadmanager_v1.projects.locations.insights.html index afb1452..b957a44 100644 --- a/docs/dyn/workloadmanager_v1.projects.locations.insights.html +++ b/docs/dyn/workloadmanager_v1.projects.locations.insights.html
@@ -97,7 +97,8 @@ { # Request for sending the data insights. "insight": { # A presentation of host resource usage where the workload runs. # Required. The metrics data details. - "sapDiscovery": { # The schema of SAP system discovery data. # The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. + "instanceId": "A String", # Required. The instance id where the insight is generated from + "sapDiscovery": { # LINT.IfChange The schema of SAP system discovery data. # The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. "applicationLayer": { # Message describing the system component. # An SAP system may run without an application layer. "applicationType": "A String", # The component is a SAP application. "databaseType": "A String", # The component is a SAP database. @@ -156,10 +157,9 @@ "agentVersion": "A String", # The agent version collected this data point "validationDetails": [ # A list of SqlServer validation metrics data. { # Message describing the Sqlserver validation metrics. - "details": { # The pairs of metrics data: field name & field value. + "fields": { # pairs of metrics data: column name & column value. "a_key": "A String", }, - "instanceId": "A String", # The instance id where the ValidationDetail is generated from "type": "A String", # The Sqlserver system that the validation data is from. }, ],
diff --git a/docs/dyn/workloadmanager_v1.projects.locations.rules.html b/docs/dyn/workloadmanager_v1.projects.locations.rules.html index 4eb90de..2570b02 100644 --- a/docs/dyn/workloadmanager_v1.projects.locations.rules.html +++ b/docs/dyn/workloadmanager_v1.projects.locations.rules.html
@@ -78,7 +78,7 @@ <code><a href="#close">close()</a></code></p> <p class="firstline">Close httplib2 connections.</p> <p class="toc_element"> - <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> + <code><a href="#list">list(parent, customRulesBucket=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> <p class="firstline">Lists rules in a given project.</p> <p class="toc_element"> <code><a href="#list_next">list_next()</a></code></p> @@ -90,11 +90,12 @@ </div> <div class="method"> - <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code> + <code class="details" id="list">list(parent, customRulesBucket=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code> <pre>Lists rules in a given project. Args: parent: string, Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions (required) + customRulesBucket: string, The Cloud Storage bucket name for custom rules. filter: string, Filter based on primary_category, secondary_category pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. pageToken: string, A token identifying a page of results the server should return.
diff --git a/googleapiclient/discovery_cache/documents/workloadmanager.v1.json b/googleapiclient/discovery_cache/documents/workloadmanager.v1.json index 4ce251f..2530450 100644 --- a/googleapiclient/discovery_cache/documents/workloadmanager.v1.json +++ b/googleapiclient/discovery_cache/documents/workloadmanager.v1.json
@@ -663,6 +663,11 @@ "parent" ], "parameters": { + "customRulesBucket": { + "description": "The Cloud Storage bucket name for custom rules.", + "location": "query", + "type": "string" + }, "filter": { "description": "Filter based on primary_category, secondary_category", "location": "query", @@ -702,7 +707,7 @@ } } }, - "revision": "20230503", + "revision": "20230605", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -718,7 +723,7 @@ "type": "object" }, "Evaluation": { - "description": "Message describing Evaluation object", + "description": "LINT.IfChange Message describing Evaluation object", "id": "Evaluation", "properties": { "createTime": { @@ -727,6 +732,10 @@ "readOnly": true, "type": "string" }, + "customRulesBucket": { + "description": "The Cloud Storage bucket name for custom rules.", + "type": "string" + }, "description": { "description": "Description of the Evaluation", "type": "string" @@ -767,7 +776,7 @@ "type": "array" }, "schedule": { - "description": "crontab format schedule for scheduled evaluation, example: 0 */3 * * *", + "description": "crontab format schedule for scheduled evaluation, currently only support the following schedule: \"0 */1 * * *\", \"0 */6 * * *\", \"0 */12 * * *\", \"0 0 */1 * *\", \"0 0 */7 * *\",", "type": "string" }, "updateTime": { @@ -900,6 +909,10 @@ "description": "A presentation of host resource usage where the workload runs.", "id": "Insight", "properties": { + "instanceId": { + "description": "Required. The instance id where the insight is generated from", + "type": "string" + }, "sapDiscovery": { "$ref": "SapDiscovery", "description": "The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes." @@ -1230,7 +1243,7 @@ "id": "ResourceStatus", "properties": { "rulesNewerVersions": { - "description": "the new version of rule id if exists", + "description": "Historical: Used before 2023-05-22 the new version of rule id if exists", "items": { "type": "string" }, @@ -1323,7 +1336,7 @@ "type": "object" }, "SapDiscovery": { - "description": "The schema of SAP system discovery data.", + "description": "LINT.IfChange The schema of SAP system discovery data.", "id": "SapDiscovery", "properties": { "applicationLayer": { @@ -1527,28 +1540,36 @@ "description": "Message describing the Sqlserver validation metrics.", "id": "SqlserverValidationValidationDetail", "properties": { - "details": { + "fields": { "additionalProperties": { "type": "string" }, - "description": "The pairs of metrics data: field name & field value.", + "description": " pairs of metrics data: column name & column value.", "type": "object" }, - "instanceId": { - "description": "The instance id where the ValidationDetail is generated from", - "type": "string" - }, "type": { "description": "The Sqlserver system that the validation data is from.", "enum": [ "SQLSERVER_VALIDATION_TYPE_UNSPECIFIED", "OS", - "DB" + "DB_LOG_DISK_SEPARATION", + "DB_MAX_PARALLELISM", + "DB_CXPACKET_WAITS", + "DB_TRANSACTION_LOG_HANDLING", + "DB_VIRTUAL_LOG_FILE_COUNT", + "DB_BUFFER_POOL_EXTENSION", + "DB_MAX_SERVER_MEMORY" ], "enumDescriptions": [ "Unspecified type.", "The Sqlserver system named OS", - "The Sqlserver system named DB" + "The LOG_DISK_SEPARATION table", + "The MAX_PARALLELISM table", + "The CXPACKET_WAITS table", + "The TRANSACTION_LOG_HANDLING table", + "The VIRTUAL_LOG_FILE_COUNT table", + "The BUFFER_POOL_EXTENSION table", + "The MAX_SERVER_MEMORY table" ], "type": "string" }