diff --git a/discovery/workloadmanager-v1.json b/discovery/workloadmanager-v1.json index 76b7c0ba63..2f4b9643f6 100644 --- a/discovery/workloadmanager-v1.json +++ b/discovery/workloadmanager-v1.json @@ -707,7 +707,7 @@ } } }, - "revision": "20230907", + "revision": "20231211", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1352,6 +1352,10 @@ "$ref": "SapDiscoveryMetadata", "description": "Optional. The metadata for SAP system discovery data." }, + "projectNumber": { + "description": "Optional. The GCP project number that this SapSystem belongs to.", + "type": "string" + }, "systemId": { "description": "Output only. A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system.", "readOnly": true, @@ -1377,6 +1381,13 @@ "$ref": "SapDiscoveryComponentDatabaseProperties", "description": "Optional. The component is a SAP database." }, + "haHosts": { + "description": "Optional. A list of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA.", + "items": { + "type": "string" + }, + "type": "array" + }, "hostProject": { "description": "Required. Pantheon Project in which the resources reside.", "type": "string" @@ -1391,6 +1402,20 @@ "sid": { "description": "Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers.", "type": "string" + }, + "topologyType": { + "description": "Optional. The detected topology of the component.", + "enum": [ + "TOPOLOGY_TYPE_UNSPECIFIED", + "TOPOLOGY_SCALE_UP", + "TOPOLOGY_SCALE_OUT" + ], + "enumDescriptions": [ + "Unspecified topology.", + "A scale-up single node system.", + "A scale-out multi-node system." + ], + "type": "string" } }, "type": "object" @@ -1399,6 +1424,10 @@ "description": "A set of properties describing an SAP Application layer.", "id": "SapDiscoveryComponentApplicationProperties", "properties": { + "abap": { + "description": "Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.", + "type": "boolean" + }, "applicationType": { "description": "Required. Type of the application. Netweaver, etc.", "enum": [ @@ -1415,6 +1444,10 @@ "description": "Optional. Resource URI of the recognized ASCS host of the application.", "type": "string" }, + "kernelVersion": { + "description": "Optional. Kernel version for Netweaver running in the system.", + "type": "string" + }, "nfsUri": { "description": "Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node.", "type": "string" @@ -1442,6 +1475,10 @@ ], "type": "string" }, + "databaseVersion": { + "description": "Optional. The version of the database software running in the system.", + "type": "string" + }, "primaryInstanceUri": { "description": "Required. URI of the recognized primary instance of the database.", "type": "string" @@ -1480,6 +1517,10 @@ "description": "Message describing a resource.", "id": "SapDiscoveryResource", "properties": { + "instanceProperties": { + "$ref": "SapDiscoveryResourceInstanceProperties", + "description": "Optional. A set of properties only applying to instance type resources." + }, "relatedResources": { "description": "Optional. A list of resource URIs related to this resource.", "items": { @@ -1547,16 +1588,42 @@ }, "type": "object" }, + "SapDiscoveryResourceInstanceProperties": { + "description": "A set of properties only present for an instance type resource", + "id": "SapDiscoveryResourceInstanceProperties", + "properties": { + "clusterInstances": { + "description": "Optional. A list of instance URIs that are part of a cluster with this one.", + "items": { + "type": "string" + }, + "type": "array" + }, + "virtualHostname": { + "description": "Optional. A virtual hostname of the instance if it has one.", + "type": "string" + } + }, + "type": "object" + }, "SapValidation": { "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" @@ -1572,6 +1639,10 @@ "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": [ diff --git a/src/apis/workloadmanager/v1.ts b/src/apis/workloadmanager/v1.ts index 156acfe7b9..ce46c19c6c 100644 --- a/src/apis/workloadmanager/v1.ts +++ b/src/apis/workloadmanager/v1.ts @@ -592,6 +592,10 @@ export namespace workloadmanager_v1 { * Optional. The metadata for SAP system discovery data. */ metadata?: Schema$SapDiscoveryMetadata; + /** + * Optional. The GCP project number that this SapSystem belongs to. + */ + projectNumber?: string | null; /** * Output only. A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system. */ @@ -613,6 +617,10 @@ export namespace workloadmanager_v1 { * Optional. The component is a SAP database. */ databaseProperties?: Schema$SapDiscoveryComponentDatabaseProperties; + /** + * Optional. A list of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA. + */ + haHosts?: string[] | null; /** * Required. Pantheon Project in which the resources reside. */ @@ -625,11 +633,19 @@ export namespace workloadmanager_v1 { * Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. */ sid?: string | null; + /** + * Optional. The detected topology of the component. + */ + topologyType?: string | null; } /** * A set of properties describing an SAP Application layer. */ export interface Schema$SapDiscoveryComponentApplicationProperties { + /** + * Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java. + */ + abap?: boolean | null; /** * Required. Type of the application. Netweaver, etc. */ @@ -638,6 +654,10 @@ export namespace workloadmanager_v1 { * Optional. Resource URI of the recognized ASCS host of the application. */ ascsUri?: string | null; + /** + * Optional. Kernel version for Netweaver running in the system. + */ + kernelVersion?: string | null; /** * Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. */ @@ -651,6 +671,10 @@ export namespace workloadmanager_v1 { * Required. Type of the database. HANA, DB2, etc. */ databaseType?: string | null; + /** + * Optional. The version of the database software running in the system. + */ + databaseVersion?: string | null; /** * Required. URI of the recognized primary instance of the database. */ @@ -685,6 +709,10 @@ export namespace workloadmanager_v1 { * Message describing a resource. */ export interface Schema$SapDiscoveryResource { + /** + * Optional. A set of properties only applying to instance type resources. + */ + instanceProperties?: Schema$SapDiscoveryResourceInstanceProperties; /** * Optional. A list of resource URIs related to this resource. */ @@ -706,14 +734,35 @@ export namespace workloadmanager_v1 { */ updateTime?: string | null; } + /** + * A set of properties only present for an instance type resource + */ + export interface Schema$SapDiscoveryResourceInstanceProperties { + /** + * Optional. A list of instance URIs that are part of a cluster with this one. + */ + clusterInstances?: string[] | null; + /** + * Optional. A virtual hostname of the instance if it has one. + */ + virtualHostname?: string | null; + } /** * A presentation of SAP workload insight. The schema of SAP workloads validation related data. */ export interface Schema$SapValidation { + /** + * Required. The project_id of the cloud project that the Insight data comes from. + */ + projectId?: string | null; /** * Optional. A list of SAP validation metrics data. */ validationDetails?: Schema$SapValidationValidationDetail[]; + /** + * Optional. The zone of the instance that the Insight data comes from. + */ + zone?: string | null; } /** * Message describing the SAP validation metrics. @@ -723,6 +772,10 @@ export namespace workloadmanager_v1 { * Optional. The pairs of metrics data: field name & field value. */ details?: {[key: string]: string} | null; + /** + * Optional. Was there a SAP system detected for this validation type. + */ + isPresent?: boolean | null; /** * Optional. The SAP system that the validation data is from. */