From e432a3ea3ef124cf730477b43c89b461576e0624 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 26 Mar 2024 07:08:36 +0000 Subject: [PATCH] feat(workloadmanager): update the api #### workloadmanager:v1 The following keys were deleted: - resources.projects.resources.locations.resources.workloadProfiles.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.workloadProfiles.methods.list (Total Keys: 19) - schemas.APILayerServer (Total Keys: 9) - schemas.AvailabilityGroup (Total Keys: 12) - schemas.BackendServer (Total Keys: 13) - schemas.CloudResource (Total Keys: 6) - schemas.Cluster (Total Keys: 7) - schemas.Database (Total Keys: 10) - schemas.FrontEndServer (Total Keys: 9) - schemas.Instance (Total Keys: 8) - schemas.Layer (Total Keys: 8) - schemas.ListWorkloadProfilesResponse (Total Keys: 9) - schemas.LoadBalancerServer (Total Keys: 6) - schemas.SapComponent (Total Keys: 10) - schemas.SapWorkload (Total Keys: 17) - schemas.SqlserverWorkload (Total Keys: 19) - schemas.ThreeTierWorkload (Total Keys: 14) - schemas.WorkloadProfile (Total Keys: 25) The following keys were added: - resources.projects.resources.locations.resources.evaluations.methods.delete.parameters.force (Total Keys: 2) - schemas.SapDiscoveryComponentDatabaseProperties.properties.databaseSid.type (Total Keys: 1) - schemas.WriteInsightRequest.properties.agentVersion.type (Total Keys: 1) --- ...ger_v1.projects.locations.evaluations.html | 5 +- ...workloadmanager_v1.projects.locations.html | 5 - ...anager_v1.projects.locations.insights.html | 11 + .../documents/workloadmanager.v1.json | 717 +----------------- 4 files changed, 45 insertions(+), 693 deletions(-) diff --git a/docs/dyn/workloadmanager_v1.projects.locations.evaluations.html b/docs/dyn/workloadmanager_v1.projects.locations.evaluations.html index 83bfcbdfea3..6d10c0c4e34 100644 --- a/docs/dyn/workloadmanager_v1.projects.locations.evaluations.html +++ b/docs/dyn/workloadmanager_v1.projects.locations.evaluations.html @@ -86,7 +86,7 @@

Instance Methods

create(parent, body=None, evaluationId=None, requestId=None, x__xgafv=None)

Creates a new Evaluation in a given project and location.

- delete(name, requestId=None, x__xgafv=None)

+ delete(name, force=None, requestId=None, x__xgafv=None)

Deletes a single Evaluation.

get(name, x__xgafv=None)

@@ -188,11 +188,12 @@

Method Details

- delete(name, requestId=None, x__xgafv=None) + delete(name, force=None, requestId=None, x__xgafv=None)
Deletes a single Evaluation.
 
 Args:
   name: string, Required. Name of the resource (required)
+  force: boolean, Optional. Followed the best practice from https://aip.dev/135#cascading-delete
   requestId: 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 after 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).
   x__xgafv: string, V1 error format.
     Allowed values
diff --git a/docs/dyn/workloadmanager_v1.projects.locations.html b/docs/dyn/workloadmanager_v1.projects.locations.html
index 5a6af86e1f0..ec408ae5321 100644
--- a/docs/dyn/workloadmanager_v1.projects.locations.html
+++ b/docs/dyn/workloadmanager_v1.projects.locations.html
@@ -94,11 +94,6 @@ 

Instance Methods

Returns the rules Resource.

-

- workloadProfiles() -

-

Returns the workloadProfiles Resource.

-

close()

Close httplib2 connections.

diff --git a/docs/dyn/workloadmanager_v1.projects.locations.insights.html b/docs/dyn/workloadmanager_v1.projects.locations.insights.html index c623750f6cc..22ac7499691 100644 --- a/docs/dyn/workloadmanager_v1.projects.locations.insights.html +++ b/docs/dyn/workloadmanager_v1.projects.locations.insights.html @@ -96,20 +96,25 @@

Method Details

The object takes the form of: { # Request for sending the data insights. + "agentVersion": "A String", # Optional. The agent version collected this data point. "insight": { # A presentation of host resource usage where the workload runs. # Required. The metrics data details. "instanceId": "A String", # Required. The instance id where the insight is generated from "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. # Optional. An SAP system may run without an application layer. "applicationProperties": { # A set of properties describing an SAP Application layer. # Optional. The component is a SAP application. "abap": True or False, # Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java. + "appInstanceNumber": "A String", # Optional. Instance number of the SAP application instance. "applicationType": "A String", # Required. Type of the application. Netweaver, etc. + "ascsInstanceNumber": "A String", # Optional. Instance number of the ASCS instance. "ascsUri": "A String", # Optional. Resource URI of the recognized ASCS host of the application. "kernelVersion": "A String", # Optional. Kernel version for Netweaver running in the system. "nfsUri": "A String", # Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. }, "databaseProperties": { # A set of properties describing an SAP Database layer. # Optional. The component is a SAP database. + "databaseSid": "A String", # Optional. SID of the system database. "databaseType": "A String", # Required. Type of the database. HANA, DB2, etc. "databaseVersion": "A String", # Optional. The version of the database software running in the system. + "instanceNumber": "A String", # Optional. Instance number of the SAP instance. "primaryInstanceUri": "A String", # Required. URI of the recognized primary instance of the database. "sharedNfsUri": "A String", # Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node. }, @@ -123,6 +128,7 @@

Method Details

"clusterInstances": [ # Optional. A list of instance URIs that are part of a cluster with this one. "A String", ], + "instanceNumber": "A String", # Optional. The VM's instance number. "virtualHostname": "A String", # Optional. A virtual hostname of the instance if it has one. }, "relatedResources": [ # Optional. A list of resource URIs related to this resource. @@ -140,14 +146,18 @@

Method Details

"databaseLayer": { # Message describing the system component. # Required. An SAP System must have a database. "applicationProperties": { # A set of properties describing an SAP Application layer. # Optional. The component is a SAP application. "abap": True or False, # Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java. + "appInstanceNumber": "A String", # Optional. Instance number of the SAP application instance. "applicationType": "A String", # Required. Type of the application. Netweaver, etc. + "ascsInstanceNumber": "A String", # Optional. Instance number of the ASCS instance. "ascsUri": "A String", # Optional. Resource URI of the recognized ASCS host of the application. "kernelVersion": "A String", # Optional. Kernel version for Netweaver running in the system. "nfsUri": "A String", # Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. }, "databaseProperties": { # A set of properties describing an SAP Database layer. # Optional. The component is a SAP database. + "databaseSid": "A String", # Optional. SID of the system database. "databaseType": "A String", # Required. Type of the database. HANA, DB2, etc. "databaseVersion": "A String", # Optional. The version of the database software running in the system. + "instanceNumber": "A String", # Optional. Instance number of the SAP instance. "primaryInstanceUri": "A String", # Required. URI of the recognized primary instance of the database. "sharedNfsUri": "A String", # Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node. }, @@ -161,6 +171,7 @@

Method Details

"clusterInstances": [ # Optional. A list of instance URIs that are part of a cluster with this one. "A String", ], + "instanceNumber": "A String", # Optional. The VM's instance number. "virtualHostname": "A String", # Optional. A virtual hostname of the instance if it has one. }, "relatedResources": [ # Optional. A list of resource URIs related to this resource. diff --git a/googleapiclient/discovery_cache/documents/workloadmanager.v1.json b/googleapiclient/discovery_cache/documents/workloadmanager.v1.json index 752aec21568..0c3865eda44 100644 --- a/googleapiclient/discovery_cache/documents/workloadmanager.v1.json +++ b/googleapiclient/discovery_cache/documents/workloadmanager.v1.json @@ -226,6 +226,11 @@ "name" ], "parameters": { +"force": { +"description": "Optional. Followed the best practice from https://aip.dev/135#cascading-delete", +"location": "query", +"type": "boolean" +}, "name": { "description": "Required. Name of the resource", "location": "path", @@ -761,179 +766,15 @@ ] } } -}, -"workloadProfiles": { -"methods": { -"get": { -"description": "Gets details of a single workload.", -"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadProfiles/{workloadProfilesId}", -"httpMethod": "GET", -"id": "workloadmanager.projects.locations.workloadProfiles.get", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Required. Name of the resource", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/workloadProfiles/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1/{+name}", -"response": { -"$ref": "WorkloadProfile" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"list": { -"deprecated": true, -"description": "List workloads", -"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadProfiles", -"httpMethod": "GET", -"id": "workloadmanager.projects.locations.workloadProfiles.list", -"parameterOrder": [ -"parent" -], -"parameters": { -"filter": { -"description": "Optional. Filtering results", -"location": "query", -"type": "string" -}, -"pageSize": { -"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", -"format": "int32", -"location": "query", -"type": "integer" -}, -"pageToken": { -"description": "Optional. A token identifying a page of results the server should return.", -"location": "query", -"type": "string" -}, -"parent": { -"description": "Required. Parent value for ListWorkloadRequest", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1/{+parent}/workloadProfiles", -"response": { -"$ref": "ListWorkloadProfilesResponse" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] -} -} } } } } } }, -"revision": "20240228", +"revision": "20240322", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { -"APILayerServer": { -"description": "The API layer server", -"id": "APILayerServer", -"properties": { -"name": { -"description": "Output only. The api layer name", -"readOnly": true, -"type": "string" -}, -"osVersion": { -"description": "Output only. OS information", -"readOnly": true, -"type": "string" -}, -"resources": { -"description": "Output only. resources in the component", -"items": { -"$ref": "CloudResource" -}, -"readOnly": true, -"type": "array" -} -}, -"type": "object" -}, -"AvailabilityGroup": { -"description": "The availability groups for sqlserver", -"id": "AvailabilityGroup", -"properties": { -"databases": { -"description": "Output only. The databases", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -}, -"name": { -"description": "Output only. The availability group name", -"readOnly": true, -"type": "string" -}, -"primaryServer": { -"description": "Output only. The primary server", -"readOnly": true, -"type": "string" -}, -"secondaryServers": { -"description": "Output only. The secondary servers", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -} -}, -"type": "object" -}, -"BackendServer": { -"description": "The backend server", -"id": "BackendServer", -"properties": { -"backupFile": { -"description": "Output only. The backup file", -"readOnly": true, -"type": "string" -}, -"backupSchedule": { -"description": "Output only. The backup schedule", -"readOnly": true, -"type": "string" -}, -"name": { -"description": "Output only. The backend name", -"readOnly": true, -"type": "string" -}, -"osVersion": { -"description": "Output only. OS information", -"readOnly": true, -"type": "string" -}, -"resources": { -"description": "Output only. resources in the component", -"items": { -"$ref": "CloudResource" -}, -"readOnly": true, -"type": "array" -} -}, -"type": "object" -}, "BigQueryDestination": { "description": "Message describing big query destination", "id": "BigQueryDestination", @@ -955,98 +796,6 @@ "properties": {}, "type": "object" }, -"CloudResource": { -"description": "The resource on GCP", -"id": "CloudResource", -"properties": { -"kind": { -"description": "Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.", -"enum": [ -"RESOURCE_KIND_UNSPECIFIED", -"RESOURCE_KIND_INSTANCE", -"RESOURCE_KIND_DISK", -"RESOURCE_KIND_ADDRESS", -"RESOURCE_KIND_FILESTORE", -"RESOURCE_KIND_HEALTH_CHECK", -"RESOURCE_KIND_FORWARDING_RULE", -"RESOURCE_KIND_BACKEND_SERVICE", -"RESOURCE_KIND_SUBNETWORK", -"RESOURCE_KIND_NETWORK", -"RESOURCE_KIND_PUBLIC_ADDRESS", -"RESOURCE_KIND_INSTANCE_GROUP" -], -"enumDescriptions": [ -"Unspecified resource kind.", -"This is a compute instance.", -"This is a compute disk.", -"This is a compute address.", -"This is a filestore instance.", -"This is a compute health check.", -"This is a compute forwarding rule.", -"This is a compute backend service.", -"This is a compute subnetwork.", -"This is a compute network.", -"This is a public accessible IP Address.", -"This is a compute instance group." -], -"readOnly": true, -"type": "string" -}, -"name": { -"description": "Output only. resource name", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, -"Cluster": { -"description": "The cluster for sqlserver", -"id": "Cluster", -"properties": { -"nodes": { -"description": "Output only. The nodes", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -}, -"witnessServer": { -"description": "Output only. The witness server", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, -"Database": { -"description": "The database for sqlserver", -"id": "Database", -"properties": { -"backupFile": { -"description": "Output only. The backup file", -"readOnly": true, -"type": "string" -}, -"backupSchedule": { -"description": "Output only. The backup schedule", -"readOnly": true, -"type": "string" -}, -"hostVm": { -"description": "Output only. The host VM", -"readOnly": true, -"type": "string" -}, -"name": { -"description": "Output only. The database name", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -1226,31 +975,6 @@ }, "type": "object" }, -"FrontEndServer": { -"description": "The front end server", -"id": "FrontEndServer", -"properties": { -"name": { -"description": "Output only. The frontend name", -"readOnly": true, -"type": "string" -}, -"osVersion": { -"description": "Output only. OS information", -"readOnly": true, -"type": "string" -}, -"resources": { -"description": "Output only. resources in the component", -"items": { -"$ref": "CloudResource" -}, -"readOnly": true, -"type": "array" -} -}, -"type": "object" -}, "GceInstanceFilter": { "description": "Message describing compute engine instance filter", "id": "GceInstanceFilter", @@ -1294,81 +1018,6 @@ }, "type": "object" }, -"Instance": { -"description": "a vm instance", -"id": "Instance", -"properties": { -"name": { -"description": "Output only. name of the VM", -"readOnly": true, -"type": "string" -}, -"region": { -"description": "Output only. The location of the VM", -"readOnly": true, -"type": "string" -}, -"status": { -"description": "Output only. The state of the VM", -"enum": [ -"INSTANCESTATE_UNSPECIFIED", -"PROVISIONING", -"STAGING", -"RUNNING", -"STOPPING", -"STOPPED", -"TERMINATED", -"SUSPENDING", -"SUSPENDED", -"REPAIRING", -"DEPROVISIONING" -], -"enumDescriptions": [ -"The Status of the VM is unspecified", -"Resources are being allocated for the instance.", -"All required resources have been allocated and the instance is being started.", -"The instance is running.", -"The instance is currently stopping (either being deleted or killed).", -"The instance has stopped due to various reasons (user request, VM preemption, project freezing, etc.).", -"The instance has failed in some way.", -"The instance is suspending.", -"The instance is suspended.", -"The instance is in repair.", -"The instance is in de-provisioning state." -], -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, -"Layer": { -"description": "The database layer", -"id": "Layer", -"properties": { -"applicationType": { -"description": "the application layer", -"type": "string" -}, -"databaseType": { -"description": "Optional. the database layer", -"type": "string" -}, -"instances": { -"description": "Optional. instances in a layer", -"items": { -"$ref": "Instance" -}, -"type": "array" -}, -"sid": { -"description": "Output only. system identification of a layer", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, "ListEvaluationsResponse": { "description": "Message for response to listing Evaluations", "id": "ListEvaluationsResponse", @@ -1509,50 +1158,6 @@ }, "type": "object" }, -"ListWorkloadProfilesResponse": { -"description": "List workloadResponse returns a response with the list of workload overview", -"id": "ListWorkloadProfilesResponse", -"properties": { -"nextPageToken": { -"description": "Output only. A token identifying a page of results the server should return", -"readOnly": true, -"type": "string" -}, -"unreachable": { -"description": "Locations that could not be reached.", -"items": { -"type": "string" -}, -"type": "array" -}, -"workloadOverviews": { -"description": "Output only. The list of Workload Overview", -"items": { -"$ref": "WorkloadProfileOverview" -}, -"readOnly": true, -"type": "array" -} -}, -"type": "object" -}, -"LoadBalancerServer": { -"description": "The load balancer for sqlserver", -"id": "LoadBalancerServer", -"properties": { -"ip": { -"description": "Output only. The IP address", -"readOnly": true, -"type": "string" -}, -"vm": { -"description": "Output only. The VM name", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, "Location": { "description": "A resource that represents a Google Cloud location.", "id": "Location", @@ -1822,47 +1427,6 @@ }, "type": "object" }, -"SapComponent": { -"description": "The component of sap workload", -"id": "SapComponent", -"properties": { -"haHosts": { -"description": "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" -}, -"resources": { -"description": "Output only. resources in the component", -"items": { -"$ref": "CloudResource" -}, -"readOnly": true, -"type": "array" -}, -"sid": { -"description": "Output only. sid is the sap component identificator", -"readOnly": true, -"type": "string" -}, -"topologyType": { -"description": "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" -}, "SapDiscovery": { "description": "The schema of SAP system discovery data.", "id": "SapDiscovery", @@ -1959,6 +1523,10 @@ "description": "Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.", "type": "boolean" }, +"appInstanceNumber": { +"description": "Optional. Instance number of the SAP application instance.", +"type": "string" +}, "applicationType": { "description": "Required. Type of the application. Netweaver, etc.", "enum": [ @@ -1971,6 +1539,10 @@ ], "type": "string" }, +"ascsInstanceNumber": { +"description": "Optional. Instance number of the ASCS instance.", +"type": "string" +}, "ascsUri": { "description": "Optional. Resource URI of the recognized ASCS host of the application.", "type": "string" @@ -1990,6 +1562,10 @@ "description": "A set of properties describing an SAP Database layer.", "id": "SapDiscoveryComponentDatabaseProperties", "properties": { +"databaseSid": { +"description": "Optional. SID of the system database.", +"type": "string" +}, "databaseType": { "description": "Required. Type of the database. HANA, DB2, etc.", "enum": [ @@ -2010,6 +1586,10 @@ "description": "Optional. The version of the database software running in the system.", "type": "string" }, +"instanceNumber": { +"description": "Optional. Instance number of the SAP instance.", +"type": "string" +}, "primaryInstanceUri": { "description": "Required. URI of the recognized primary instance of the database.", "type": "string" @@ -2130,6 +1710,11 @@ }, "type": "array" }, +"instanceNumber": { +"description": "Optional. The VM's instance number.", +"format": "int64", +"type": "string" +}, "virtualHostname": { "description": "Optional. A virtual hostname of the instance if it has one.", "type": "string" @@ -2260,53 +1845,6 @@ }, "type": "object" }, -"SapWorkload": { -"description": "The body of sap workload", -"id": "SapWorkload", -"properties": { -"application": { -"$ref": "SapComponent", -"description": "Output only. the acsc componment", -"readOnly": true -}, -"database": { -"$ref": "SapComponent", -"description": "Output only. the database componment", -"readOnly": true -}, -"metadata": { -"additionalProperties": { -"type": "string" -}, -"description": "Output only. The metadata for SAP workload.", -"readOnly": true, -"type": "object" -} -}, -"type": "object" -}, -"SapWorkloadOverview": { -"description": "The overview of sap workload", -"id": "SapWorkloadOverview", -"properties": { -"appSid": { -"description": "Output only. The application SID", -"readOnly": true, -"type": "string" -}, -"dbSid": { -"description": "Output only. The database SID", -"readOnly": true, -"type": "string" -}, -"sapSystemId": { -"description": "Output only. The UUID for a SAP workload", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, "ScannedResource": { "description": "Message of scanned resource", "id": "ScannedResource", @@ -2410,59 +1948,6 @@ }, "type": "object" }, -"SqlserverWorkload": { -"description": "The body of sqlserver workload", -"id": "SqlserverWorkload", -"properties": { -"ags": { -"description": "Output only. The availability groups for sqlserver", -"items": { -"$ref": "AvailabilityGroup" -}, -"readOnly": true, -"type": "array" -}, -"cluster": { -"$ref": "Cluster", -"description": "Output only. The cluster for sqlserver", -"readOnly": true -}, -"databases": { -"description": "Output only. The databases for sqlserver", -"items": { -"$ref": "Database" -}, -"readOnly": true, -"type": "array" -}, -"loadBalancerServer": { -"$ref": "LoadBalancerServer", -"description": "Output only. The load balancer for sqlserver", -"readOnly": true -} -}, -"type": "object" -}, -"SqlserverWorkloadOverview": { -"description": "The overview of sqlserver workload", -"id": "SqlserverWorkloadOverview", -"properties": { -"availabilityGroup": { -"description": "Output only. The availability groups", -"items": { -"type": "string" -}, -"readOnly": true, -"type": "array" -}, -"sqlserverSystemId": { -"description": "Output only. The UUID for a Sqlserver workload", -"readOnly": true, -"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", @@ -2490,45 +1975,6 @@ }, "type": "object" }, -"ThreeTierWorkload": { -"description": "The body of three tier workload", -"id": "ThreeTierWorkload", -"properties": { -"apiLayer": { -"$ref": "APILayerServer", -"description": "Output only. The API layer for three tier workload", -"readOnly": true -}, -"backend": { -"$ref": "BackendServer", -"description": "Output only. The backend for three tier workload", -"readOnly": true -}, -"endpoint": { -"description": "Output only. the workload endpoint", -"readOnly": true, -"type": "string" -}, -"frontend": { -"$ref": "FrontEndServer", -"description": "Output only. The frontend for three tier workload", -"readOnly": true -} -}, -"type": "object" -}, -"ThreeTierWorkloadOverview": { -"description": "The overview of three tier workload", -"id": "ThreeTierWorkloadOverview", -"properties": { -"threeTierSystemId": { -"description": "Output only. The UUID for a three tier workload", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, "ViolationDetails": { "description": "Message describing the violdation in execution result", "id": "ViolationDetails", @@ -2551,115 +1997,14 @@ }, "type": "object" }, -"WorkloadProfile": { -"description": "workload resource", -"id": "WorkloadProfile", -"properties": { -"application": { -"$ref": "Layer", -"deprecated": true, -"description": "Optional. The application layer" -}, -"ascs": { -"$ref": "Layer", -"deprecated": true, -"description": "Optional. The ascs layer" -}, -"database": { -"$ref": "Layer", -"deprecated": true, -"description": "Optional. The database layer" -}, -"labels": { -"additionalProperties": { -"type": "string" -}, -"description": "Optional. such as name, description, version. More example can be found in deployment", -"type": "object" -}, -"name": { -"description": "Identifier. name of resource names have the form 'projects/{project_id}/workloads/{workload_id}'", -"type": "string" -}, -"refreshedTime": { -"description": "Required. time when the workload data was refreshed", -"format": "google-datetime", -"type": "string" -}, -"sapWorkload": { -"$ref": "SapWorkload", -"description": "The sap workload content" -}, -"sqlserverWorkload": { -"$ref": "SqlserverWorkload", -"description": "The sqlserver workload content" -}, -"state": { -"deprecated": true, -"description": "Output only. [output only] the current state if a a workload", -"enum": [ -"STATE_UNSPECIFIED", -"ACTIVE", -"DEPLOYING", -"DESTROYING", -"MAINTENANCE" -], -"enumDescriptions": [ -"unspecified", -"ACTIVE state", -"workload is in Deploying state", -"The workload is in Destroying state", -"The Workload is undermaintance" -], -"readOnly": true, -"type": "string" -}, -"threeTierWorkload": { -"$ref": "ThreeTierWorkload", -"description": "The 3 tier web app workload content" -}, -"workloadType": { -"description": "Required. The type of the workload", -"enum": [ -"WORKLOAD_TYPE_UNSPECIFIED", -"S4_HANA", -"SQL_SERVER", -"THREE_TIER_WEB_APP" -], -"enumDescriptions": [ -"unspecified workload type", -"running sap workload s4/hana", -"running sqlserver workload", -"running 3 tier web app workload" -], -"type": "string" -} -}, -"type": "object" -}, -"WorkloadProfileOverview": { -"description": "a workload profile overview", -"id": "WorkloadProfileOverview", -"properties": { -"sapWorkloadOverview": { -"$ref": "SapWorkloadOverview", -"description": "The sap workload overview" -}, -"sqlserverWorkloadOverview": { -"$ref": "SqlserverWorkloadOverview", -"description": "The sqlserver workload overview" -}, -"threeTierWorkloadOverview": { -"$ref": "ThreeTierWorkloadOverview", -"description": "The three tier workload overview" -} -}, -"type": "object" -}, "WriteInsightRequest": { "description": "Request for sending the data insights.", "id": "WriteInsightRequest", "properties": { +"agentVersion": { +"description": "Optional. The agent version collected this data point.", +"type": "string" +}, "insight": { "$ref": "Insight", "description": "Required. The metrics data details."