Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2839)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Oct 25, 2024
1 parent 343ae0e commit 37b271e
Show file tree
Hide file tree
Showing 34 changed files with 3,106 additions and 1,768 deletions.
101 changes: 98 additions & 3 deletions chromemanagement/v1/chromemanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,12 +591,12 @@
"type": "string"
},
"filter": {
"description": "Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions",
"description": "Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions * risk_score",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions",
"description": "Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions * risk_score",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1172,7 +1172,7 @@
}
}
},
"revision": "20241003",
"revision": "20241022",
"rootUrl": "https://chromemanagement.googleapis.com/",
"schemas": {
"GoogleChromeManagementV1AndroidAppInfo": {
Expand Down Expand Up @@ -2849,6 +2849,11 @@
},
"readOnly": true,
"type": "array"
},
"riskAssessment": {
"$ref": "GoogleChromeManagementV1RiskAssessmentData",
"description": "Output only. If available, the risk assessment data about this extension.",
"readOnly": true
}
},
"type": "object"
Expand Down Expand Up @@ -3419,6 +3424,96 @@
},
"type": "object"
},
"GoogleChromeManagementV1RiskAssessment": {
"description": "Risk assessment for a Chrome extension.",
"id": "GoogleChromeManagementV1RiskAssessment",
"properties": {
"assessment": {
"description": "Risk assessment for the extension. Currently, this is a numerical value, and higher values denote higher risk.",
"type": "string"
},
"detailsUrl": {
"description": "A URL that a user can navigate to for more information about the risk assessment.",
"type": "string"
},
"version": {
"description": "The version of the extension that this assessment applies to.",
"type": "string"
}
},
"type": "object"
},
"GoogleChromeManagementV1RiskAssessmentData": {
"description": "Risk assessment data about an extension/app.",
"id": "GoogleChromeManagementV1RiskAssessmentData",
"properties": {
"entries": {
"description": "Individual risk assessments.",
"items": {
"$ref": "GoogleChromeManagementV1RiskAssessmentEntry"
},
"type": "array"
},
"overallRiskLevel": {
"description": "Overall assessed risk level across all entries. This will be the highest risk level from all entries.",
"enum": [
"RISK_LEVEL_UNSPECIFIED",
"RISK_LEVEL_LOW",
"RISK_LEVEL_MEDIUM",
"RISK_LEVEL_HIGH"
],
"enumDescriptions": [
"Risk level not specified.",
"Extension that represents a low risk.",
"Extension that represents a medium risk.",
"Extension that represents a high risk."
],
"type": "string"
}
},
"type": "object"
},
"GoogleChromeManagementV1RiskAssessmentEntry": {
"description": "One risk assessment entry.",
"id": "GoogleChromeManagementV1RiskAssessmentEntry",
"properties": {
"provider": {
"description": "The risk assessment provider from which this entry comes from.",
"enum": [
"RISK_ASSESSMENT_PROVIDER_UNSPECIFIED",
"RISK_ASSESSMENT_PROVIDER_CRXCAVATOR",
"RISK_ASSESSMENT_PROVIDER_SPIN_AI"
],
"enumDescriptions": [
"Default value when no provider is specified.",
"CRXcavator.",
"Spin.Ai."
],
"type": "string"
},
"riskAssessment": {
"$ref": "GoogleChromeManagementV1RiskAssessment",
"description": "The details of the provider's risk assessment."
},
"riskLevel": {
"description": "The bucketed risk level for the risk assessment.",
"enum": [
"RISK_LEVEL_UNSPECIFIED",
"RISK_LEVEL_LOW",
"RISK_LEVEL_MEDIUM",
"RISK_LEVEL_HIGH"
],
"enumDescriptions": [
"Risk level not specified.",
"Extension that represents a low risk.",
"Extension that represents a medium risk.",
"Extension that represents a high risk."
],
"type": "string"
}
},
"type": "object"
},
"GoogleChromeManagementV1RuntimeCountersReport": {
"description": "Runtime counters retrieved from CPU. Currently the runtime counters telemetry is only supported by Intel vPro PSR on Gen 14+.",
"id": "GoogleChromeManagementV1RuntimeCountersReport",
Expand Down
108 changes: 106 additions & 2 deletions chromemanagement/v1/chromemanagement-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 37b271e

Please # to comment.