Skip to content

Commit

Permalink
feat(cloudsearch): update the API
Browse files Browse the repository at this point in the history
#### cloudsearch:v1

The following keys were added:
- resources.settings.methods.getCustomer.description
- resources.settings.methods.getCustomer.flatPath
- resources.settings.methods.getCustomer.httpMethod
- resources.settings.methods.getCustomer.id
- resources.settings.methods.getCustomer.parameterOrder
- resources.settings.methods.getCustomer.path
- resources.settings.methods.getCustomer.response.$ref
- resources.settings.methods.getCustomer.scopes
- resources.settings.methods.updateCustomer.description
- resources.settings.methods.updateCustomer.flatPath
- resources.settings.methods.updateCustomer.httpMethod
- resources.settings.methods.updateCustomer.id
- resources.settings.methods.updateCustomer.parameterOrder
- resources.settings.methods.updateCustomer.parameters.updateMask.description
- resources.settings.methods.updateCustomer.parameters.updateMask.format
- resources.settings.methods.updateCustomer.parameters.updateMask.location
- resources.settings.methods.updateCustomer.parameters.updateMask.type
- resources.settings.methods.updateCustomer.path
- resources.settings.methods.updateCustomer.request.$ref
- resources.settings.methods.updateCustomer.response.$ref
- resources.settings.methods.updateCustomer.scopes
- schemas.CustomerSettings.description
- schemas.CustomerSettings.id
- schemas.CustomerSettings.properties.vpcSettings.$ref
- schemas.CustomerSettings.properties.vpcSettings.description
- schemas.CustomerSettings.type
- schemas.VPCSettings.id
- schemas.VPCSettings.properties.project.description
- schemas.VPCSettings.properties.project.type
- schemas.VPCSettings.type
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent b28cd60 commit 93d4108
Show file tree
Hide file tree
Showing 2 changed files with 373 additions and 1 deletion.
69 changes: 68 additions & 1 deletion discovery/cloudsearch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,52 @@
}
},
"settings": {
"methods": {
"getCustomer": {
"description": "Get customer settings. **Note:** This API requires an admin account to execute.",
"flatPath": "v1/settings/customer",
"httpMethod": "GET",
"id": "cloudsearch.settings.getCustomer",
"parameterOrder": [],
"parameters": {},
"path": "v1/settings/customer",
"response": {
"$ref": "CustomerSettings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud_search",
"https://www.googleapis.com/auth/cloud_search.settings",
"https://www.googleapis.com/auth/cloud_search.settings.indexing"
]
},
"updateCustomer": {
"description": "Update customer settings. **Note:** This API requires an admin account to execute.",
"flatPath": "v1/settings/customer",
"httpMethod": "PATCH",
"id": "cloudsearch.settings.updateCustomer",
"parameterOrder": [],
"parameters": {
"updateMask": {
"description": "Update mask to control which fields get updated. If you specify a field in the update_mask but don't specify its value here, that field will be cleared. If the mask is not present or empty, all fields will be updated. Currently supported field paths: vpc_settings and audit_logging_settings",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/settings/customer",
"request": {
"$ref": "CustomerSettings"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud_search",
"https://www.googleapis.com/auth/cloud_search.settings",
"https://www.googleapis.com/auth/cloud_search.settings.indexing"
]
}
},
"resources": {
"datasources": {
"methods": {
Expand Down Expand Up @@ -1870,7 +1916,7 @@
}
}
},
"revision": "20210301",
"revision": "20210322",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"BooleanOperatorOptions": {
Expand Down Expand Up @@ -1981,6 +2027,17 @@
},
"type": "object"
},
"CustomerSettings": {
"description": "Represents settings at a customer level.",
"id": "CustomerSettings",
"properties": {
"vpcSettings": {
"$ref": "VPCSettings",
"description": "VPC SC settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request."
}
},
"type": "object"
},
"CustomerUserStats": {
"id": "CustomerUserStats",
"properties": {
Expand Down Expand Up @@ -5056,6 +5113,16 @@
},
"type": "object"
},
"VPCSettings": {
"id": "VPCSettings",
"properties": {
"project": {
"description": "The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{project_id}",
"type": "string"
}
},
"type": "object"
},
"Value": {
"description": "Definition of a single value with generic type.",
"id": "Value",
Expand Down

0 comments on commit 93d4108

Please sign in to comment.