mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update all json files; make some fixes to make it work at all
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "See, edit, configure, and delete your Google Cloud Platform data"
|
||||
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -139,7 +139,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists insights for a Cloud project. Requires the recommender.*.list IAM permission for the specified insight type.",
|
||||
"description": "Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified insight type.",
|
||||
"flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.billingAccounts.locations.insightTypes.insights.list",
|
||||
@@ -148,7 +148,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: state Eg: `state:\"DISMISSED\" or state:\"ACTIVE\"",
|
||||
"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)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -164,7 +164,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: 1. `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 2. `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 3. `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 4. `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.",
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.",
|
||||
"location": "path",
|
||||
"pattern": "^billingAccounts/[^/]+/locations/[^/]+/insightTypes/[^/]+$",
|
||||
"required": true,
|
||||
@@ -241,7 +241,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists recommendations for a Cloud project. Requires the recommender.*.list IAM permission for the specified recommender.",
|
||||
"description": "Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified recommender.",
|
||||
"flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.billingAccounts.locations.recommenders.recommendations.list",
|
||||
@@ -250,7 +250,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: state_info.state Eg: `state_info.state:\"DISMISSED\" or state_info.state:\"FAILED\"",
|
||||
"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)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -266,7 +266,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: 1. `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 2. `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 3. `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 4. `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.",
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.",
|
||||
"location": "path",
|
||||
"pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+$",
|
||||
"required": true,
|
||||
@@ -407,7 +407,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists insights for a Cloud project. Requires the recommender.*.list IAM permission for the specified insight type.",
|
||||
"description": "Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified insight type.",
|
||||
"flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.folders.locations.insightTypes.insights.list",
|
||||
@@ -416,7 +416,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: state Eg: `state:\"DISMISSED\" or state:\"ACTIVE\"",
|
||||
"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)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -432,7 +432,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: 1. `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 2. `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 3. `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 4. `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.",
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.",
|
||||
"location": "path",
|
||||
"pattern": "^folders/[^/]+/locations/[^/]+/insightTypes/[^/]+$",
|
||||
"required": true,
|
||||
@@ -509,7 +509,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists recommendations for a Cloud project. Requires the recommender.*.list IAM permission for the specified recommender.",
|
||||
"description": "Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified recommender.",
|
||||
"flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.folders.locations.recommenders.recommendations.list",
|
||||
@@ -518,7 +518,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: state_info.state Eg: `state_info.state:\"DISMISSED\" or state_info.state:\"FAILED\"",
|
||||
"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)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -534,7 +534,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: 1. `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 2. `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 3. `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 4. `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.",
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.",
|
||||
"location": "path",
|
||||
"pattern": "^folders/[^/]+/locations/[^/]+/recommenders/[^/]+$",
|
||||
"required": true,
|
||||
@@ -646,6 +646,72 @@
|
||||
"locations": {
|
||||
"resources": {
|
||||
"insightTypes": {
|
||||
"methods": {
|
||||
"config": {
|
||||
"description": "Updates an InsightTypeConfig change. This will create a new revision of the config.",
|
||||
"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/insightTypes/{insightTypesId}/config",
|
||||
"httpMethod": "POST",
|
||||
"id": "recommender.organizations.locations.insightTypes.config",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+/locations/[^/]+/insightTypes/[^/]+/config$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "The list of fields to be updated.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"validateOnly": {
|
||||
"description": "If true, validate the request and preview the change, but do not actually update it.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}",
|
||||
"request": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightTypeConfig"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightTypeConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"getConfig": {
|
||||
"description": "Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.",
|
||||
"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/insightTypes/{insightTypesId}/config",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.organizations.locations.insightTypes.getConfig",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. Name of the InsightTypeConfig to get. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` * `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config`",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+/locations/[^/]+/insightTypes/[^/]+/config$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightTypeConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"insights": {
|
||||
"methods": {
|
||||
@@ -675,7 +741,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists insights for a Cloud project. Requires the recommender.*.list IAM permission for the specified insight type.",
|
||||
"description": "Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified insight type.",
|
||||
"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.organizations.locations.insightTypes.insights.list",
|
||||
@@ -684,7 +750,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: state Eg: `state:\"DISMISSED\" or state:\"ACTIVE\"",
|
||||
"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)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -700,7 +766,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: 1. `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 2. `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 3. `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 4. `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.",
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+/locations/[^/]+/insightTypes/[^/]+$",
|
||||
"required": true,
|
||||
@@ -748,6 +814,72 @@
|
||||
}
|
||||
},
|
||||
"recommenders": {
|
||||
"methods": {
|
||||
"config": {
|
||||
"description": "Updates a Recommender Config. This will create a new revision of the config.",
|
||||
"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/recommenders/{recommendersId}/config",
|
||||
"httpMethod": "POST",
|
||||
"id": "recommender.organizations.locations.recommenders.config",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+/locations/[^/]+/recommenders/[^/]+/config$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "The list of fields to be updated.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"validateOnly": {
|
||||
"description": "If true, validate the request and preview the change, but do not actually update it.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}",
|
||||
"request": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommenderConfig"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommenderConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"getConfig": {
|
||||
"description": "Gets the requested Recommender Config. There is only one instance of the config for each Recommender.",
|
||||
"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/recommenders/{recommendersId}/config",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.organizations.locations.recommenders.getConfig",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. Name of the Recommendation Config to get. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config`",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+/locations/[^/]+/recommenders/[^/]+/config$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommenderConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"recommendations": {
|
||||
"methods": {
|
||||
@@ -777,7 +909,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists recommendations for a Cloud project. Requires the recommender.*.list IAM permission for the specified recommender.",
|
||||
"description": "Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified recommender.",
|
||||
"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.organizations.locations.recommenders.recommendations.list",
|
||||
@@ -786,7 +918,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: state_info.state Eg: `state_info.state:\"DISMISSED\" or state_info.state:\"FAILED\"",
|
||||
"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)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -802,7 +934,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: 1. `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 2. `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 3. `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 4. `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.",
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.",
|
||||
"location": "path",
|
||||
"pattern": "^organizations/[^/]+/locations/[^/]+/recommenders/[^/]+$",
|
||||
"required": true,
|
||||
@@ -914,6 +1046,72 @@
|
||||
"locations": {
|
||||
"resources": {
|
||||
"insightTypes": {
|
||||
"methods": {
|
||||
"getConfig": {
|
||||
"description": "Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/insightTypes/{insightTypesId}/config",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.projects.locations.insightTypes.getConfig",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. Name of the InsightTypeConfig to get. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` * `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config`",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/insightTypes/[^/]+/config$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightTypeConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"updateConfig": {
|
||||
"description": "Updates an InsightTypeConfig change. This will create a new revision of the config.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/insightTypes/{insightTypesId}/config",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "recommender.projects.locations.insightTypes.updateConfig",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/insightTypes/[^/]+/config$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "The list of fields to be updated.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"validateOnly": {
|
||||
"description": "If true, validate the request and preview the change, but do not actually update it.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}",
|
||||
"request": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightTypeConfig"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightTypeConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"insights": {
|
||||
"methods": {
|
||||
@@ -943,7 +1141,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists insights for a Cloud project. Requires the recommender.*.list IAM permission for the specified insight type.",
|
||||
"description": "Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified insight type.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.projects.locations.insightTypes.insights.list",
|
||||
@@ -952,7 +1150,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: state Eg: `state:\"DISMISSED\" or state:\"ACTIVE\"",
|
||||
"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)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -968,7 +1166,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: 1. `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 2. `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 3. `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` 4. `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.",
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/insightTypes/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1016,6 +1214,72 @@
|
||||
}
|
||||
},
|
||||
"recommenders": {
|
||||
"methods": {
|
||||
"getConfig": {
|
||||
"description": "Gets the requested Recommender Config. There is only one instance of the config for each Recommender.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/recommenders/{recommendersId}/config",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.projects.locations.recommenders.getConfig",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. Name of the Recommendation Config to get. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config`",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/recommenders/[^/]+/config$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}",
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommenderConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"updateConfig": {
|
||||
"description": "Updates a Recommender Config. This will create a new revision of the config.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/recommenders/{recommendersId}/config",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "recommender.projects.locations.recommenders.updateConfig",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/recommenders/[^/]+/config$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "The list of fields to be updated.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"validateOnly": {
|
||||
"description": "If true, validate the request and preview the change, but do not actually update it.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+name}",
|
||||
"request": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommenderConfig"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommenderConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"recommendations": {
|
||||
"methods": {
|
||||
@@ -1045,7 +1309,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists recommendations for a Cloud project. Requires the recommender.*.list IAM permission for the specified recommender.",
|
||||
"description": "Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified recommender.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations",
|
||||
"httpMethod": "GET",
|
||||
"id": "recommender.projects.locations.recommenders.recommendations.list",
|
||||
@@ -1054,7 +1318,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "Filter expression to restrict the recommendations returned. Supported filter fields: state_info.state Eg: `state_info.state:\"DISMISSED\" or state_info.state:\"FAILED\"",
|
||||
"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)",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1070,7 +1334,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: 1. `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 2. `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 3. `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` 4. `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.",
|
||||
"description": "Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/recommenders/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1178,7 +1442,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20210319",
|
||||
"revision": "20220228",
|
||||
"rootUrl": "https://recommender.googleapis.com/",
|
||||
"schemas": {
|
||||
"GoogleCloudRecommenderV1beta1CostProjection": {
|
||||
@@ -1187,7 +1451,7 @@
|
||||
"properties": {
|
||||
"cost": {
|
||||
"$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."
|
||||
"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."
|
||||
},
|
||||
"duration": {
|
||||
"description": "Duration for which this cost applies.",
|
||||
@@ -1208,20 +1472,30 @@
|
||||
"COST",
|
||||
"SECURITY",
|
||||
"PERFORMANCE",
|
||||
"MANAGEABILITY"
|
||||
"MANAGEABILITY",
|
||||
"SUSTAINABILITY"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default unspecified category. Don't use directly.",
|
||||
"Indicates a potential increase or decrease in cost.",
|
||||
"Indicates a potential increase or decrease in security.",
|
||||
"Indicates a potential increase or decrease in performance.",
|
||||
"Indicates a potential increase or decrease in manageability."
|
||||
"Indicates a potential increase or decrease in manageability.",
|
||||
"Indicates a potential increase or decrease in sustainability."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"costProjection": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1CostProjection",
|
||||
"description": "Use with CategoryType.COST"
|
||||
},
|
||||
"securityProjection": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1SecurityProjection",
|
||||
"description": "Use with CategoryType.SECURITY"
|
||||
},
|
||||
"sustainabilityProjection": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1SustainabilityProjection",
|
||||
"description": "Use with CategoryType.SUSTAINABILITY"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1289,6 +1563,24 @@
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"severity": {
|
||||
"description": "Insight's severity.",
|
||||
"enum": [
|
||||
"SEVERITY_UNSPECIFIED",
|
||||
"LOW",
|
||||
"MEDIUM",
|
||||
"HIGH",
|
||||
"CRITICAL"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Insight has unspecified severity.",
|
||||
"Insight has low severity.",
|
||||
"Insight has medium severity.",
|
||||
"Insight has high severity.",
|
||||
"Insight has critical severity."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"stateInfo": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightStateInfo",
|
||||
"description": "Information state and metadata."
|
||||
@@ -1344,6 +1636,61 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1InsightTypeConfig": {
|
||||
"description": "Configuration for an InsightType.",
|
||||
"id": "GoogleCloudRecommenderV1beta1InsightTypeConfig",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.",
|
||||
"type": "object"
|
||||
},
|
||||
"displayName": {
|
||||
"description": "A user-settable field to provide a human-readable name to be used in user interfaces.",
|
||||
"type": "string"
|
||||
},
|
||||
"etag": {
|
||||
"description": "Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.",
|
||||
"type": "string"
|
||||
},
|
||||
"insightTypeGenerationConfig": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig",
|
||||
"description": "InsightTypeGenerationConfig which configures the generation of insights for this insight type."
|
||||
},
|
||||
"name": {
|
||||
"description": "Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config",
|
||||
"type": "string"
|
||||
},
|
||||
"revisionId": {
|
||||
"description": "Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateTime": {
|
||||
"description": "Last time when the config was updated.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig": {
|
||||
"description": "A configuration to customize the generation of insights. Eg, customizing the lookback period considered when generating a insight.",
|
||||
"id": "GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig",
|
||||
"properties": {
|
||||
"params": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1ListInsightsResponse": {
|
||||
"description": "Response to the `ListInsights` method.",
|
||||
"id": "GoogleCloudRecommenderV1beta1ListInsightsResponse",
|
||||
@@ -1410,7 +1757,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex /^a-z0-9{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.",
|
||||
"description": "State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex `/^a-z0-9{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
@@ -1428,7 +1775,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex /^a-z0-9{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.",
|
||||
"description": "State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex `/^a-z0-9{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
@@ -1446,7 +1793,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex /^a-z0-9{0,62}$/. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.",
|
||||
"description": "State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex `/^a-z0-9{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
@@ -1457,7 +1804,7 @@
|
||||
"id": "GoogleCloudRecommenderV1beta1Operation",
|
||||
"properties": {
|
||||
"action": {
|
||||
"description": "Type of this operation. Contains one of 'and', 'remove', 'replace', 'move', 'copy', 'test' and 'custom' operations. This field is case-insensitive and always populated.",
|
||||
"description": "Type of this operation. Contains one of 'add', 'remove', 'replace', 'move', 'copy', 'test' and 'custom' operations. This field is case-insensitive and always populated.",
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
@@ -1468,7 +1815,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "any"
|
||||
},
|
||||
"description": "Set of filters to apply if `path` refers to array elements or nested array elements in order to narrow down to a single unique element that is being tested/modified. This is intended to be an exact match per filter. To perform advanced matching, use path_value_matchers. * Example: { \"/versions/*/name\" : \"it-123\" \"/versions/*/targetSize/percent\": 20 } * Example: { \"/bindings/*/role\": \"roles/owner\" \"/bindings/*/condition\" : null } * Example: { \"/bindings/*/role\": \"roles/owner\" \"/bindings/*/members/*\" : [\"x@example.com\", \"y@example.com\"] } When both path_filters and path_value_matchers are set, an implicit AND must be performed.",
|
||||
"description": "Set of filters to apply if `path` refers to array elements or nested array elements in order to narrow down to a single unique element that is being tested/modified. This is intended to be an exact match per filter. To perform advanced matching, use path_value_matchers. * Example: ``` { \"/versions/*/name\" : \"it-123\" \"/versions/*/targetSize/percent\": 20 } ``` * Example: ``` { \"/bindings/*/role\": \"roles/owner\" \"/bindings/*/condition\" : null } ``` * Example: ``` { \"/bindings/*/role\": \"roles/owner\" \"/bindings/*/members/*\" : [\"x@example.com\", \"y@example.com\"] } ``` When both path_filters and path_value_matchers are set, an implicit AND must be performed.",
|
||||
"type": "object"
|
||||
},
|
||||
"pathValueMatchers": {
|
||||
@@ -1562,6 +1909,24 @@
|
||||
"$ref": "GoogleCloudRecommenderV1beta1Impact",
|
||||
"description": "The primary impact that this recommendation can have while trying to optimize for one category."
|
||||
},
|
||||
"priority": {
|
||||
"description": "Recommendation's priority.",
|
||||
"enum": [
|
||||
"PRIORITY_UNSPECIFIED",
|
||||
"P4",
|
||||
"P3",
|
||||
"P2",
|
||||
"P1"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Recommendation has unspecified priority.",
|
||||
"Recommendation has P4 priority (lowest priority).",
|
||||
"Recommendation has P3 priority (second lowest priority).",
|
||||
"Recommendation has P2 priority (second highest priority).",
|
||||
"Recommendation has P1 priority (highest priority)."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"recommenderSubtype": {
|
||||
"description": "Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = \"google.iam.policy.Recommender\", recommender_subtype can be one of \"REMOVE_ROLE\"/\"REPLACE_ROLE\"",
|
||||
"type": "string"
|
||||
@@ -1569,6 +1934,10 @@
|
||||
"stateInfo": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommendationStateInfo",
|
||||
"description": "Information for state. Contains state and metadata."
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1583,6 +1952,14 @@
|
||||
"$ref": "GoogleCloudRecommenderV1beta1OperationGroup"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"overview": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "Condensed overview information about the recommendation.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1632,6 +2009,93 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1RecommenderConfig": {
|
||||
"description": "Configuration for a Recommender.",
|
||||
"id": "GoogleCloudRecommenderV1beta1RecommenderConfig",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.",
|
||||
"type": "object"
|
||||
},
|
||||
"displayName": {
|
||||
"description": "A user-settable field to provide a human-readable name to be used in user interfaces.",
|
||||
"type": "string"
|
||||
},
|
||||
"etag": {
|
||||
"description": "Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config",
|
||||
"type": "string"
|
||||
},
|
||||
"recommenderGenerationConfig": {
|
||||
"$ref": "GoogleCloudRecommenderV1beta1RecommenderGenerationConfig",
|
||||
"description": "RecommenderGenerationConfig which configures the Generation of recommendations for this recommender."
|
||||
},
|
||||
"revisionId": {
|
||||
"description": "Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateTime": {
|
||||
"description": "Last time when the config was updated.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1RecommenderGenerationConfig": {
|
||||
"description": "A Configuration to customize the generation of recommendations. Eg, customizing the lookback period considered when generating a recommendation.",
|
||||
"id": "GoogleCloudRecommenderV1beta1RecommenderGenerationConfig",
|
||||
"properties": {
|
||||
"params": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "Parameters for this RecommenderGenerationConfig. These configs can be used by or are applied to all subtypes.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1SecurityProjection": {
|
||||
"description": "Contains various ways of describing the impact on Security.",
|
||||
"id": "GoogleCloudRecommenderV1beta1SecurityProjection",
|
||||
"properties": {
|
||||
"details": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "This field can be used by the recommender to define details specific to security impact.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1SustainabilityProjection": {
|
||||
"description": "Contains metadata about how much sustainability a recommendation can save or incur.",
|
||||
"id": "GoogleCloudRecommenderV1beta1SustainabilityProjection",
|
||||
"properties": {
|
||||
"duration": {
|
||||
"description": "Duration for which this sustanability applies.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"kgCO2e": {
|
||||
"description": "Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).",
|
||||
"format": "double",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudRecommenderV1beta1ValueMatcher": {
|
||||
"description": "Contains various matching options for values for a GCP resource field.",
|
||||
"id": "GoogleCloudRecommenderV1beta1ValueMatcher",
|
||||
|
||||
Reference in New Issue
Block a user