diff --git a/workloadmanager/v1/workloadmanager-api.json b/workloadmanager/v1/workloadmanager-api.json index f8c3de0d093..e2d88fd5479 100644 --- a/workloadmanager/v1/workloadmanager-api.json +++ b/workloadmanager/v1/workloadmanager-api.json @@ -92,13 +92,13 @@ "location": "query", "type": "string" }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query", "type": "string" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "location": "query", "type": "string" } @@ -707,7 +707,7 @@ } } }, - "revision": "20230907", + "revision": "20231114", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1551,12 +1551,20 @@ "description": "A presentation of SAP workload insight. The schema of SAP workloads validation related data.", "id": "SapValidation", "properties": { + "projectId": { + "description": "Required. The project_id of the cloud project that the Insight data comes from.", + "type": "string" + }, "validationDetails": { "description": "Optional. A list of SAP validation metrics data.", "items": { "$ref": "SapValidationValidationDetail" }, "type": "array" + }, + "zone": { + "description": "Optional. The zone of the instance that the Insight data comes from.", + "type": "string" } }, "type": "object" @@ -1569,9 +1577,13 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. The pairs of metrics data: field name \u0026 field value.", + "description": "Optional. The pairs of metrics data: field name & field value.", "type": "object" }, + "isPresent": { + "description": "Optional. Was there a SAP system detected for this validation type.", + "type": "boolean" + }, "sapValidationType": { "description": "Optional. The SAP system that the validation data is from.", "enum": [ @@ -1773,4 +1785,4 @@ "title": "Workload Manager API", "version": "v1", "version_module": true -} \ No newline at end of file +} diff --git a/workloadmanager/v1/workloadmanager-gen.go b/workloadmanager/v1/workloadmanager-gen.go index ad353a1db60..7364d3c456d 100644 --- a/workloadmanager/v1/workloadmanager-gen.go +++ b/workloadmanager/v1/workloadmanager-gen.go @@ -1457,24 +1457,31 @@ func (s *SapDiscoveryResource) MarshalJSON() ([]byte, error) { // SapValidation: A presentation of SAP workload insight. The schema of // SAP workloads validation related data. type SapValidation struct { + // ProjectId: Required. The project_id of the cloud project that the + // Insight data comes from. + ProjectId string `json:"projectId,omitempty"` + // ValidationDetails: Optional. A list of SAP validation metrics data. ValidationDetails []*SapValidationValidationDetail `json:"validationDetails,omitempty"` - // ForceSendFields is a list of field names (e.g. "ValidationDetails") - // to unconditionally include in API requests. By default, fields with + // Zone: Optional. The zone of the instance that the Insight data comes + // from. + Zone string `json:"zone,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ProjectId") to + // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ValidationDetails") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "ProjectId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } @@ -1491,6 +1498,10 @@ type SapValidationValidationDetail struct { // value. Details map[string]string `json:"details,omitempty"` + // IsPresent: Optional. Was there a SAP system detected for this + // validation type. + IsPresent bool `json:"isPresent,omitempty"` + // SapValidationType: Optional. The SAP system that the validation data // is from. //