Class ProjectsResource.LocationsResource.CachedContentsResource
The "cachedContents" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.CachedContentsResource
Constructors
CachedContentsResource(IClientService)
Constructs a new resource.
Declaration
public CachedContentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudAiplatformV1beta1CachedContent, string)
Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage.
Declaration
public virtual ProjectsResource.LocationsResource.CachedContentsResource.CreateRequest Create(GoogleCloudAiplatformV1beta1CachedContent body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudAiplatformV1beta1CachedContent | body | The body of the request. |
string | parent | Required. The parent resource where the cached content will be created |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CachedContentsResource.CreateRequest |
Delete(string)
Deletes cached content
Declaration
public virtual ProjectsResource.LocationsResource.CachedContentsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name referring to the cached content |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CachedContentsResource.DeleteRequest |
Get(string)
Gets cached content configurations
Declaration
public virtual ProjectsResource.LocationsResource.CachedContentsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name referring to the cached content |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CachedContentsResource.GetRequest |
List(string)
Lists cached contents in a project
Declaration
public virtual ProjectsResource.LocationsResource.CachedContentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of cached contents. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CachedContentsResource.ListRequest |
Patch(GoogleCloudAiplatformV1beta1CachedContent, string)
Updates cached content configurations
Declaration
public virtual ProjectsResource.LocationsResource.CachedContentsResource.PatchRequest Patch(GoogleCloudAiplatformV1beta1CachedContent body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudAiplatformV1beta1CachedContent | body | The body of the request. |
string | name | Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CachedContentsResource.PatchRequest |