Skip to content

Commit

Permalink
feat(workloadmanager): update the api
Browse files Browse the repository at this point in the history
#### workloadmanager:v1

The following keys were deleted:
- schemas.SapDiscoveryResource.properties.resourceState.type (Total Keys: 1)

The following keys were added:
- schemas.Insight.properties.sqlserverValidation.$ref (Total Keys: 1)
- schemas.SqlserverValidation (Total Keys: 11)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent 789ea52 commit bd5f9c1
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/workloadmanager_v1.projects.locations.html
Expand Up @@ -126,7 +126,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -158,7 +158,7 @@ <h3>Method Details</h3>

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
14 changes: 12 additions & 2 deletions docs/dyn/workloadmanager_v1.projects.locations.insights.html
Expand Up @@ -108,7 +108,6 @@ <h3>Method Details</h3>
&quot;A String&quot;,
],
&quot;resourceKind&quot;: &quot;A String&quot;, # ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
&quot;resourceState&quot;: &quot;A String&quot;, # Indicates whether this is a new, updated, or missing resource.
&quot;resourceType&quot;: &quot;A String&quot;, # The type of this resource.
&quot;resourceUri&quot;: &quot;A String&quot;, # URI of the resource, includes project, location, and name.
&quot;updateTime&quot;: &quot;A String&quot;, # Unix timestamp of when this resource last had its discovery data updated.
Expand All @@ -126,7 +125,6 @@ <h3>Method Details</h3>
&quot;A String&quot;,
],
&quot;resourceKind&quot;: &quot;A String&quot;, # ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
&quot;resourceState&quot;: &quot;A String&quot;, # Indicates whether this is a new, updated, or missing resource.
&quot;resourceType&quot;: &quot;A String&quot;, # The type of this resource.
&quot;resourceUri&quot;: &quot;A String&quot;, # URI of the resource, includes project, location, and name.
&quot;updateTime&quot;: &quot;A String&quot;, # Unix timestamp of when this resource last had its discovery data updated.
Expand Down Expand Up @@ -154,6 +152,18 @@ <h3>Method Details</h3>
],
},
&quot;sentTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
&quot;sqlserverValidation&quot;: { # A presentation of SQLServer workload insight. The schema of SqlServer workloads validation related data. # The insights data for the sqlserver workload validation.
&quot;agentVersion&quot;: &quot;A String&quot;, # The agent version collected this data point
&quot;validationDetails&quot;: [ # A list of SqlServer validation metrics data.
{ # Message describing the Sqlserver validation metrics.
&quot;details&quot;: { # The pairs of metrics data: field name &amp; field value.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;instanceId&quot;: &quot;A String&quot;, # The instance id where the ValidationDetail is generated from
&quot;type&quot;: &quot;A String&quot;, # The Sqlserver system that the validation data is from.
},
],
},
},
&quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
}
Expand Down
78 changes: 56 additions & 22 deletions googleapiclient/discovery_cache/documents/workloadmanager.v1.json
Expand Up @@ -702,7 +702,7 @@
}
}
},
"revision": "20230406",
"revision": "20230503",
"rootUrl": "https://workloadmanager.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
Expand Down Expand Up @@ -913,6 +913,10 @@
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"sqlserverValidation": {
"$ref": "SqlserverValidation",
"description": "The insights data for the sqlserver workload validation."
}
},
"type": "object"
Expand Down Expand Up @@ -1058,7 +1062,7 @@
"type": "object"
},
"Location": {
"description": "A resource that represents Google Cloud Platform location.",
"description": "A resource that represents a Google Cloud location.",
"id": "Location",
"properties": {
"displayName": {
Expand Down Expand Up @@ -1414,26 +1418,6 @@
"description": "ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.",
"type": "string"
},
"resourceState": {
"description": "Indicates whether this is a new, updated, or missing resource.",
"enum": [
"RESOURCE_STATE_UNSPECIFIED",
"ADDED",
"UPDATED",
"REMOVED",
"REPLACED",
"MISSING"
],
"enumDescriptions": [
"Undefined resource state",
"Resource was added this cycle",
"Resource already discovered, just updated this cycle",
"Resource already discovered, but has been explicitly removed this cycle",
"Resource already discovered, but has been replaced by a new resource this cycle",
"Resource already discovered, but is missing or unresponsive this cycle"
],
"type": "string"
},
"resourceType": {
"description": "The type of this resource.",
"enum": [
Expand Down Expand Up @@ -1521,6 +1505,56 @@
},
"type": "object"
},
"SqlserverValidation": {
"description": "A presentation of SQLServer workload insight. The schema of SqlServer workloads validation related data.",
"id": "SqlserverValidation",
"properties": {
"agentVersion": {
"description": "The agent version collected this data point",
"type": "string"
},
"validationDetails": {
"description": "A list of SqlServer validation metrics data.",
"items": {
"$ref": "SqlserverValidationValidationDetail"
},
"type": "array"
}
},
"type": "object"
},
"SqlserverValidationValidationDetail": {
"description": "Message describing the Sqlserver validation metrics.",
"id": "SqlserverValidationValidationDetail",
"properties": {
"details": {
"additionalProperties": {
"type": "string"
},
"description": "The pairs of metrics data: field name & field 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"
],
"enumDescriptions": [
"Unspecified type.",
"The Sqlserver system named OS",
"The Sqlserver system named DB"
],
"type": "string"
}
},
"type": "object"
},
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "Status",
Expand Down

0 comments on commit bd5f9c1

Please sign in to comment.