Skip to content

Commit a43df17

Browse files
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were deleted: - schemas.SapDiscoveryComponent.properties.applicationType.type (Total Keys: 1) - schemas.SapDiscoveryComponent.properties.databaseType.type (Total Keys: 1) The following keys were added: - schemas.SapDiscoveryComponent.properties.applicationProperties.$ref (Total Keys: 1) - schemas.SapDiscoveryComponent.properties.databaseProperties.$ref (Total Keys: 1) - schemas.SapDiscoveryComponentApplicationProperties (Total Keys: 5) - schemas.SapDiscoveryComponentDatabaseProperties (Total Keys: 5)
1 parent 668c2fe commit a43df17

File tree

2 files changed

+88
-14
lines changed

2 files changed

+88
-14
lines changed

docs/dyn/workloadmanager_v1.projects.locations.insights.html

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,16 @@ <h3>Method Details</h3>
100100
&quot;instanceId&quot;: &quot;A String&quot;, # Required. The instance id where the insight is generated from
101101
&quot;sapDiscovery&quot;: { # 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.
102102
&quot;applicationLayer&quot;: { # Message describing the system component. # An SAP system may run without an application layer.
103-
&quot;applicationType&quot;: &quot;A String&quot;, # The component is a SAP application.
104-
&quot;databaseType&quot;: &quot;A String&quot;, # The component is a SAP database.
103+
&quot;applicationProperties&quot;: { # A set of properties describing an SAP Application layer. # Optional. The component is a SAP application.
104+
&quot;applicationType&quot;: &quot;A String&quot;, # Required. Type of the application. Netweaver, etc.
105+
&quot;ascsUri&quot;: &quot;A String&quot;, # Required. Resource URI of the recognized ASCS host of the application.
106+
&quot;nfsUri&quot;: &quot;A String&quot;, # Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node.
107+
},
108+
&quot;databaseProperties&quot;: { # A set of properties describing an SAP Database layer. # Optional. The component is a SAP database.
109+
&quot;databaseType&quot;: &quot;A String&quot;, # Required. Type of the database. HANA, DB2, etc.
110+
&quot;primaryInstanceUri&quot;: &quot;A String&quot;, # Required. URI of the recognized primary instance of the database.
111+
&quot;sharedNfsUri&quot;: &quot;A String&quot;, # Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node.
112+
},
105113
&quot;hostProject&quot;: &quot;A String&quot;, # Pantheon Project in which the resources reside.
106114
&quot;resources&quot;: [ # The resources in a component.
107115
{ # Message describing a resource.
@@ -117,8 +125,16 @@ <h3>Method Details</h3>
117125
&quot;sid&quot;: &quot;A String&quot;, # The sap identifier, used by the SAP software and helps differentiate systems for customers.
118126
},
119127
&quot;databaseLayer&quot;: { # Message describing the system component. # An SAP System must have a database.
120-
&quot;applicationType&quot;: &quot;A String&quot;, # The component is a SAP application.
121-
&quot;databaseType&quot;: &quot;A String&quot;, # The component is a SAP database.
128+
&quot;applicationProperties&quot;: { # A set of properties describing an SAP Application layer. # Optional. The component is a SAP application.
129+
&quot;applicationType&quot;: &quot;A String&quot;, # Required. Type of the application. Netweaver, etc.
130+
&quot;ascsUri&quot;: &quot;A String&quot;, # Required. Resource URI of the recognized ASCS host of the application.
131+
&quot;nfsUri&quot;: &quot;A String&quot;, # Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node.
132+
},
133+
&quot;databaseProperties&quot;: { # A set of properties describing an SAP Database layer. # Optional. The component is a SAP database.
134+
&quot;databaseType&quot;: &quot;A String&quot;, # Required. Type of the database. HANA, DB2, etc.
135+
&quot;primaryInstanceUri&quot;: &quot;A String&quot;, # Required. URI of the recognized primary instance of the database.
136+
&quot;sharedNfsUri&quot;: &quot;A String&quot;, # Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node.
137+
},
122138
&quot;hostProject&quot;: &quot;A String&quot;, # Pantheon Project in which the resources reside.
123139
&quot;resources&quot;: [ # The resources in a component.
124140
{ # Message describing a resource.

googleapiclient/discovery_cache/documents/workloadmanager.v1.json

Lines changed: 68 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@
707707
}
708708
}
709709
},
710-
"revision": "20230705",
710+
"revision": "20230710",
711711
"rootUrl": "https://workloadmanager.googleapis.com/",
712712
"schemas": {
713713
"CancelOperationRequest": {
@@ -1368,13 +1368,13 @@
13681368
"description": "Message describing the system component.",
13691369
"id": "SapDiscoveryComponent",
13701370
"properties": {
1371-
"applicationType": {
1372-
"description": "The component is a SAP application.",
1373-
"type": "string"
1371+
"applicationProperties": {
1372+
"$ref": "SapDiscoveryComponentApplicationProperties",
1373+
"description": "Optional. The component is a SAP application."
13741374
},
1375-
"databaseType": {
1376-
"description": "The component is a SAP database.",
1377-
"type": "string"
1375+
"databaseProperties": {
1376+
"$ref": "SapDiscoveryComponentDatabaseProperties",
1377+
"description": "Optional. The component is a SAP database."
13781378
},
13791379
"hostProject": {
13801380
"description": "Pantheon Project in which the resources reside.",
@@ -1394,6 +1394,64 @@
13941394
},
13951395
"type": "object"
13961396
},
1397+
"SapDiscoveryComponentApplicationProperties": {
1398+
"description": "A set of properties describing an SAP Application layer.",
1399+
"id": "SapDiscoveryComponentApplicationProperties",
1400+
"properties": {
1401+
"applicationType": {
1402+
"description": "Required. Type of the application. Netweaver, etc.",
1403+
"enum": [
1404+
"APPLICATION_TYPE_UNSPECIFIED",
1405+
"NETWEAVER"
1406+
],
1407+
"enumDescriptions": [
1408+
"Unspecified application type",
1409+
"SAP Netweaver"
1410+
],
1411+
"type": "string"
1412+
},
1413+
"ascsUri": {
1414+
"description": "Required. Resource URI of the recognized ASCS host of the application.",
1415+
"type": "string"
1416+
},
1417+
"nfsUri": {
1418+
"description": "Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node.",
1419+
"type": "string"
1420+
}
1421+
},
1422+
"type": "object"
1423+
},
1424+
"SapDiscoveryComponentDatabaseProperties": {
1425+
"description": "A set of properties describing an SAP Database layer.",
1426+
"id": "SapDiscoveryComponentDatabaseProperties",
1427+
"properties": {
1428+
"databaseType": {
1429+
"description": "Required. Type of the database. HANA, DB2, etc.",
1430+
"enum": [
1431+
"DATABASE_TYPE_UNSPECIFIED",
1432+
"HANA",
1433+
"MAX_DB",
1434+
"DB2"
1435+
],
1436+
"enumDescriptions": [
1437+
"Unspecified database type.",
1438+
"SAP HANA",
1439+
"SAP MAX_DB",
1440+
"IBM DB2"
1441+
],
1442+
"type": "string"
1443+
},
1444+
"primaryInstanceUri": {
1445+
"description": "Required. URI of the recognized primary instance of the database.",
1446+
"type": "string"
1447+
},
1448+
"sharedNfsUri": {
1449+
"description": "Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node.",
1450+
"type": "string"
1451+
}
1452+
},
1453+
"type": "object"
1454+
},
13971455
"SapDiscoveryMetadata": {
13981456
"description": "Message describing SAP discovery system metadata",
13991457
"id": "SapDiscoveryMetadata",
@@ -1464,9 +1522,9 @@
14641522
"description": "Required. The type of this resource.",
14651523
"enum": [
14661524
"RESOURCE_TYPE_UNSPECIFIED",
1467-
"COMPUTE",
1468-
"STORAGE",
1469-
"NETWORK"
1525+
"RESOURCE_TYPE_COMPUTE",
1526+
"RESOURCE_TYPE_STORAGE",
1527+
"RESOURCE_TYPE_NETWORK"
14701528
],
14711529
"enumDescriptions": [
14721530
"Undefined resource type.",

0 commit comments

Comments
 (0)