Methods
create(cachedContent, parent)
Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage.
Parameters:
Name | Type | Description |
---|---|---|
cachedContent |
||
parent |
Required. The parent resource where the cached content will be created. |
delete(name)
Deletes cached content.
Parameters:
Name | Type | Description |
---|---|---|
name |
Required. The resource name referring to the cached content. |
get(name)
Gets cached content configurations.
Parameters:
Name | Type | Description |
---|---|---|
name |
Required. The resource name referring to the cached content. |
list(pageSize, pageToken)
Lists cached contents in a project.
Parameters:
Name | Type | Description |
---|---|---|
pageSize |
Optional. The maximum number of cached contents to return. The service may return fewer than this value. If unspecified, some default (under maximum) number of items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
|
pageToken |
Optional. A page token, received from a previous |
update(updateMask, name)
Updates cached content configurations
Parameters:
Name | Type | Description |
---|---|---|
updateMask |
Required. The list of fields to update. Format: google-fieldmask. See https://cloud.google.com/docs/discovery/type-format |
|
name |
project |
Immutable. Identifier. The server-generated resource name of the cached content Format: projects//locations/{location}/cachedContents/{cached_content}. |