Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were added: - resources.projects.resources.locations.resources.insights.methods.writeInsight (Total Keys: 12) - schemas.Insight (Total Keys: 7) - schemas.SapDiscovery (Total Keys: 31) - schemas.SapValidation (Total Keys: 9) - schemas.WriteInsightRequest (Total Keys: 4) - schemas.WriteInsightResponse (Total Keys: 2)
- Loading branch information
1 parent
ee942d9
commit 93f0e30
Showing
3 changed files
with
424 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
171 changes: 171 additions & 0 deletions
171
docs/dyn/workloadmanager_v1.projects.locations.insights.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
<html><body> | ||
<style> | ||
|
||
body, h1, h2, h3, div, span, p, pre, a { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-weight: inherit; | ||
font-style: inherit; | ||
font-size: 100%; | ||
font-family: inherit; | ||
vertical-align: baseline; | ||
} | ||
|
||
body { | ||
font-size: 13px; | ||
padding: 1em; | ||
} | ||
|
||
h1 { | ||
font-size: 26px; | ||
margin-bottom: 1em; | ||
} | ||
|
||
h2 { | ||
font-size: 24px; | ||
margin-bottom: 1em; | ||
} | ||
|
||
h3 { | ||
font-size: 20px; | ||
margin-bottom: 1em; | ||
margin-top: 1em; | ||
} | ||
|
||
pre, code { | ||
line-height: 1.5; | ||
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; | ||
} | ||
|
||
pre { | ||
margin-top: 0.5em; | ||
} | ||
|
||
h1, h2, h3, p { | ||
font-family: Arial, sans serif; | ||
} | ||
|
||
h1, h2, h3 { | ||
border-bottom: solid #CCC 1px; | ||
} | ||
|
||
.toc_element { | ||
margin-top: 0.5em; | ||
} | ||
|
||
.firstline { | ||
margin-left: 2 em; | ||
} | ||
|
||
.method { | ||
margin-top: 1em; | ||
border: solid 1px #CCC; | ||
padding: 1em; | ||
background: #EEE; | ||
} | ||
|
||
.details { | ||
font-weight: bold; | ||
font-size: 14px; | ||
} | ||
|
||
</style> | ||
|
||
<h1><a href="workloadmanager_v1.html">Workload Manager API</a> . <a href="workloadmanager_v1.projects.html">projects</a> . <a href="workloadmanager_v1.projects.locations.html">locations</a> . <a href="workloadmanager_v1.projects.locations.insights.html">insights</a></h1> | ||
<h2>Instance Methods</h2> | ||
<p class="toc_element"> | ||
<code><a href="#close">close()</a></code></p> | ||
<p class="firstline">Close httplib2 connections.</p> | ||
<p class="toc_element"> | ||
<code><a href="#writeInsight">writeInsight(location, body=None, x__xgafv=None)</a></code></p> | ||
<p class="firstline">Write the data insights to workload manager data warehouse.</p> | ||
<h3>Method Details</h3> | ||
<div class="method"> | ||
<code class="details" id="close">close()</code> | ||
<pre>Close httplib2 connections.</pre> | ||
</div> | ||
|
||
<div class="method"> | ||
<code class="details" id="writeInsight">writeInsight(location, body=None, x__xgafv=None)</code> | ||
<pre>Write the data insights to workload manager data warehouse. | ||
|
||
Args: | ||
location: string, Required. The GCP location. The format is: projects/{project}/locations/{location}. (required) | ||
body: object, The request body. | ||
The object takes the form of: | ||
|
||
{ # 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. | ||
"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. | ||
"hostProject": "A String", # Pantheon Project in which the resources reside. | ||
"resources": [ # The resources in a component. | ||
{ # Message describing a resource. | ||
"relatedResources": [ # A list of resource URIs related to this resource. | ||
"A String", | ||
], | ||
"resourceKind": "A String", # ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. | ||
"resourceType": "A String", # The type of this resource. | ||
"resourceUri": "A String", # URI of the resource, includes project, location, and name. | ||
"updateTime": "A String", # Unix timestamp of when this resource last had its discovery data updated. | ||
}, | ||
], | ||
"sid": "A String", # The sap identifier, used by the SAP software and helps differentiate systems for customers. | ||
}, | ||
"databaseLayer": { # Message describing the system component. # An SAP System must have a database. | ||
"applicationType": "A String", # The component is a SAP application. | ||
"databaseType": "A String", # The component is a SAP database. | ||
"hostProject": "A String", # Pantheon Project in which the resources reside. | ||
"resources": [ # The resources in a component. | ||
{ # Message describing a resource. | ||
"relatedResources": [ # A list of resource URIs related to this resource. | ||
"A String", | ||
], | ||
"resourceKind": "A String", # ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. | ||
"resourceType": "A String", # The type of this resource. | ||
"resourceUri": "A String", # URI of the resource, includes project, location, and name. | ||
"updateTime": "A String", # Unix timestamp of when this resource last had its discovery data updated. | ||
}, | ||
], | ||
"sid": "A String", # The sap identifier, used by the SAP software and helps differentiate systems for customers. | ||
}, | ||
"metadata": { # Message describing SAP discovery system metadata # The metadata for SAP system discovery data. | ||
"customerRegion": "A String", # Customer region string for customer's use. Does not represent GCP region. | ||
"definedSystem": "A String", # Customer defined, something like "E-commerce pre prod" | ||
"environmentType": "A String", # Should be "prod", "QA", "dev", "staging", etc. | ||
"sapProduct": "A String", # This sap product name | ||
}, | ||
"systemId": "A String", # A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system. | ||
"updateTime": "A String", # Unix timestamp this system has been updated last. | ||
}, | ||
"sapValidation": { # A presentation of SAP workload insight. The schema of SAP workloads validation related data. # The insights data for the sap workload validation. | ||
"validationDetails": [ # A list of SAP validation metrics data. | ||
{ # Message describing the SAP validation metrics. | ||
"details": { # The pairs of metrics data: field name & field value. | ||
"a_key": "A String", | ||
}, | ||
"sapValidationType": "A String", # The SAP system that the validation data is from. | ||
}, | ||
], | ||
}, | ||
"sentTime": "A String", # Output only. [Output only] Create time stamp | ||
}, | ||
"requestId": "A String", # 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 t he 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). | ||
} | ||
|
||
x__xgafv: string, V1 error format. | ||
Allowed values | ||
1 - v1 error format | ||
2 - v2 error format | ||
|
||
Returns: | ||
An object of the form: | ||
|
||
{ # The response for write insights request. | ||
}</pre> | ||
</div> | ||
|
||
</body></html> |
Oops, something went wrong.