mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update all APIs
Like documented in the README ``` rm -f .api.deps .cli.deps && FETCH_APIS=1 make update-json -j8 ```
This commit is contained in:
@@ -214,7 +214,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -382,7 +382,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -451,7 +451,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of the recommendation.",
|
||||
"description": "Required. Name of the recommendation.",
|
||||
"location": "path",
|
||||
"pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
|
||||
"required": true,
|
||||
@@ -576,7 +576,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -678,7 +678,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -747,7 +747,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of the recommendation.",
|
||||
"description": "Required. Name of the recommendation.",
|
||||
"location": "path",
|
||||
"pattern": "^folders/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
|
||||
"required": true,
|
||||
@@ -938,7 +938,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1106,7 +1106,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1175,7 +1175,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of the recommendation.",
|
||||
"description": "Required. Name of the recommendation.",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1366,7 +1366,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1534,7 +1534,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1603,7 +1603,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of the recommendation.",
|
||||
"description": "Required. Name of the recommendation.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1686,7 +1686,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20230108",
|
||||
"revision": "20240226",
|
||||
"rootUrl": "https://recommender.googleapis.com/",
|
||||
"schemas": {
|
||||
"GoogleCloudRecommenderV1CostProjection": {
|
||||
@@ -1697,6 +1697,10 @@
|
||||
"$ref": "GoogleTypeMoney",
|
||||
"description": "An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units. A user's permissions may affect whether the cost is computed using list prices or custom contract prices."
|
||||
},
|
||||
"costInLocalCurrency": {
|
||||
"$ref": "GoogleTypeMoney",
|
||||
"description": "The approximate cost savings in the billing account's local currency."
|
||||
},
|
||||
"duration": {
|
||||
"description": "Duration for which this cost applies.",
|
||||
"format": "google-duration",
|
||||
@@ -1737,7 +1741,7 @@
|
||||
},
|
||||
"reliabilityProjection": {
|
||||
"$ref": "GoogleCloudRecommenderV1ReliabilityProjection",
|
||||
"description": "Use with CategoryType.RELAIBILITY"
|
||||
"description": "Use with CategoryType.RELIABILITY"
|
||||
},
|
||||
"securityProjection": {
|
||||
"$ref": "GoogleCloudRecommenderV1SecurityProjection",
|
||||
@@ -2200,6 +2204,13 @@
|
||||
"$ref": "GoogleCloudRecommenderV1RecommendationStateInfo",
|
||||
"description": "Information for state. Contains state and metadata."
|
||||
},
|
||||
"targetResources": {
|
||||
"description": "Fully qualified resource names that this recommendation is targeting.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"xorGroupId": {
|
||||
"description": "Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.",
|
||||
"type": "string"
|
||||
|
||||
@@ -108,6 +108,49 @@
|
||||
"billingAccounts": {
|
||||
"resources": {
|
||||
"locations": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists locations with recommendations or insights.",
|
||||
"flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.billingAccounts.locations.list",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource that owns the locations collection, if applicable.",
|
||||
"location": "path",
|
||||
"pattern": "^billingAccounts/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "The maximum number of results to return. If not set, the service selects a default.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}/locations",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudLocationListLocationsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"insightTypes": {
|
||||
"methods": {
|
||||
@@ -214,7 +257,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -382,7 +425,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -451,7 +494,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of the recommendation.",
|
||||
"description": "Required. Name of the recommendation.",
|
||||
"location": "path",
|
||||
"pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
|
||||
"required": true,
|
||||
@@ -536,6 +579,49 @@
|
||||
"folders": {
|
||||
"resources": {
|
||||
"locations": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists locations with recommendations or insights.",
|
||||
"flatPath": "v1beta1/folders/{foldersId}/locations",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.folders.locations.list",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource that owns the locations collection, if applicable.",
|
||||
"location": "path",
|
||||
"pattern": "^folders/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "The maximum number of results to return. If not set, the service selects a default.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}/locations",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudLocationListLocationsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"insightTypes": {
|
||||
"resources": {
|
||||
@@ -576,7 +662,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -678,7 +764,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -747,7 +833,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of the recommendation.",
|
||||
"description": "Required. Name of the recommendation.",
|
||||
"location": "path",
|
||||
"pattern": "^folders/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
|
||||
"required": true,
|
||||
@@ -829,9 +915,83 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"insightTypes": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists available InsightTypes. No IAM permissions are required.",
|
||||
"flatPath": "v1beta1/insightTypes",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.insightTypes.list",
|
||||
"parameterOrder": [],
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"description": "Optional. The number of InsightTypes to return per page. The service may return fewer than this value.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "Optional. A page token, received from a previous `ListRecommenders` call. Provide this to retrieve the subsequent page.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/insightTypes",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1ListInsightTypesResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"organizations": {
|
||||
"resources": {
|
||||
"locations": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists locations with recommendations or insights.",
|
||||
"flatPath": "v1beta1/organizations/{organizationsId}/locations",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.organizations.locations.list",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource that owns the locations collection, if applicable.",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "The maximum number of results to return. If not set, the service selects a default.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}/locations",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudLocationListLocationsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"insightTypes": {
|
||||
"methods": {
|
||||
@@ -938,7 +1098,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1106,7 +1266,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1175,7 +1335,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of the recommendation.",
|
||||
"description": "Required. Name of the recommendation.",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1260,6 +1420,49 @@
|
||||
"projects": {
|
||||
"resources": {
|
||||
"locations": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists locations with recommendations or insights.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.projects.locations.list",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource that owns the locations collection, if applicable.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "The maximum number of results to return. If not set, the service selects a default.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}/locations",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudLocationListLocationsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"insightTypes": {
|
||||
"methods": {
|
||||
@@ -1366,7 +1569,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1534,7 +1737,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: * `state_info.state` * `recommenderSubtype` * `priority` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1603,7 +1806,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of the recommendation.",
|
||||
"description": "Required. Name of the recommendation.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1684,11 +1887,94 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"recommenders": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists all available Recommenders. No IAM permissions are required.",
|
||||
"flatPath": "v1beta1/recommenders",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.recommenders.list",
|
||||
"parameterOrder": [],
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"description": "Optional. The number of RecommenderTypes to return per page. The service may return fewer than this value.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "Optional. A page token, received from a previous `ListRecommenders` call. Provide this to retrieve the subsequent page.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/recommenders",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1ListRecommendersResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20230108",
|
||||
"revision": "20240226",
|
||||
"rootUrl": "https://recommender.googleapis.com/",
|
||||
"schemas": {
|
||||
"GoogleCloudLocationListLocationsResponse": {
|
||||
"description": "The response message for Locations.ListLocations.",
|
||||
"id": "GoogleCloudLocationListLocationsResponse",
|
||||
"properties": {
|
||||
"locations": {
|
||||
"description": "A list of locations that matches the specified filter in the request.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudLocationLocation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "The standard List next-page token.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudLocationLocation": {
|
||||
"description": "A resource that represents a Google Cloud location.",
|
||||
"id": "GoogleCloudLocationLocation",
|
||||
"properties": {
|
||||
"displayName": {
|
||||
"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
|
||||
"type": "object"
|
||||
},
|
||||
"locationId": {
|
||||
"description": "The canonical id for this location. For example: `\"us-east1\"`.",
|
||||
"type": "string"
|
||||
},
|
||||
"metadata": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "Service-specific metadata. For example the available capacity at the given location.",
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1CostProjection": {
|
||||
"description": "Contains metadata about how much money a recommendation can save or incur.",
|
||||
"id": "GoogleCloudRecommenderV1beta1CostProjection",
|
||||
@@ -1697,10 +1983,28 @@
|
||||
"$ref": "GoogleTypeMoney",
|
||||
"description": "An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units. A user's permissions may affect whether the cost is computed using list prices or custom contract prices."
|
||||
},
|
||||
"costInLocalCurrency": {
|
||||
"$ref": "GoogleTypeMoney",
|
||||
"description": "The approximate cost savings in the billing account's local currency."
|
||||
},
|
||||
"duration": {
|
||||
"description": "Duration for which this cost applies.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"pricingType": {
|
||||
"description": "How the cost is calculated.",
|
||||
"enum": [
|
||||
"PRICING_TYPE_UNSPECIFIED",
|
||||
"LIST_PRICE",
|
||||
"CUSTOM_PRICE"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default pricing type.",
|
||||
"The price listed by GCP for all customers.",
|
||||
"A price derived from past usage and billing."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1890,6 +2194,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1InsightType": {
|
||||
"description": "The type of insight.",
|
||||
"id": "GoogleCloudRecommenderV1beta1InsightType",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The insight_type's name in format insightTypes/{insight_type} eg: insightTypes/google.iam.policy.Insight",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1InsightTypeConfig": {
|
||||
"description": "Configuration for an InsightType.",
|
||||
"id": "GoogleCloudRecommenderV1beta1InsightTypeConfig",
|
||||
@@ -1945,6 +2260,24 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1ListInsightTypesResponse": {
|
||||
"description": "Response for the `ListInsightTypes` method. Next ID: 3",
|
||||
"id": "GoogleCloudRecommenderV1beta1ListInsightTypesResponse",
|
||||
"properties": {
|
||||
"insightTypes": {
|
||||
"description": "The set of recommenders available",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightType"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1ListInsightsResponse": {
|
||||
"description": "Response to the `ListInsights` method.",
|
||||
"id": "GoogleCloudRecommenderV1beta1ListInsightsResponse",
|
||||
@@ -1981,6 +2314,24 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1ListRecommendersResponse": {
|
||||
"description": "Response for the `ListRecommender` method. Next ID: 3",
|
||||
"id": "GoogleCloudRecommenderV1beta1ListRecommendersResponse",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
|
||||
"type": "string"
|
||||
},
|
||||
"recommenders": {
|
||||
"description": "The set of recommenders available",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommenderType"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest": {
|
||||
"description": "Request for the `MarkInsightAccepted` method.",
|
||||
"id": "GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest",
|
||||
@@ -2200,6 +2551,13 @@
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommendationStateInfo",
|
||||
"description": "Information for state. Contains state and metadata."
|
||||
},
|
||||
"targetResources": {
|
||||
"description": "Fully qualified resource names that this recommendation is targeting.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"xorGroupId": {
|
||||
"description": "Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.",
|
||||
"type": "string"
|
||||
@@ -2329,6 +2687,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1RecommenderType": {
|
||||
"description": "The type of a recommender.",
|
||||
"id": "GoogleCloudRecommenderV1beta1RecommenderType",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The recommender's name in format RecommenderTypes/{recommender_type} eg: recommenderTypes/google.iam.policy.Recommender",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1ReliabilityProjection": {
|
||||
"description": "Contains information on the impact of a reliability recommendation.",
|
||||
"id": "GoogleCloudRecommenderV1beta1ReliabilityProjection",
|
||||
|
||||
Reference in New Issue
Block a user