Show / Hide Table of Contents

Class ProjectsResource

The "projects" collection of methods.

Inheritance
object
ProjectsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource

Constructors

ProjectsResource(IClientService)

Constructs a new resource.

Declaration
public ProjectsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Locations

Gets the Locations resource.

Declaration
public virtual ProjectsResource.LocationsResource Locations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource

ModelGardenEula

Gets the ModelGardenEula resource.

Declaration
public virtual ProjectsResource.ModelGardenEulaResource ModelGardenEula { get; }
Property Value
Type Description
ProjectsResource.ModelGardenEulaResource

Methods

FetchPublisherModelConfig(string)

Fetches the configs of publisher models.

Declaration
public virtual ProjectsResource.FetchPublisherModelConfigRequest FetchPublisherModelConfig(string name)
Parameters
Type Name Description
string name

Required. The name of the publisher model, in the format of projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.

Returns
Type Description
ProjectsResource.FetchPublisherModelConfigRequest

GetCacheConfig(string)

Gets a GenAI cache config.

Declaration
public virtual ProjectsResource.GetCacheConfigRequest GetCacheConfig(string name)
Parameters
Type Name Description
string name

Required. Name of the cache config. Format: - projects/{project}/cacheConfig.

Returns
Type Description
ProjectsResource.GetCacheConfigRequest

SetPublisherModelConfig(GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest, string)

Sets (creates or updates) configs of publisher models. For example, sets the request/response logging config.

Declaration
public virtual ProjectsResource.SetPublisherModelConfigRequest SetPublisherModelConfig(GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest body, string name)
Parameters
Type Name Description
GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest body

The body of the request.

string name

Required. The name of the publisher model, in the format of projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.

Returns
Type Description
ProjectsResource.SetPublisherModelConfigRequest

UpdateCacheConfig(GoogleCloudAiplatformV1beta1CacheConfig, string)

Updates a cache config.

Declaration
public virtual ProjectsResource.UpdateCacheConfigRequest UpdateCacheConfig(GoogleCloudAiplatformV1beta1CacheConfig body, string name)
Parameters
Type Name Description
GoogleCloudAiplatformV1beta1CacheConfig body

The body of the request.

string name

Identifier. Name of the cache config. Format: - projects/{project}/cacheConfig.

Returns
Type Description
ProjectsResource.UpdateCacheConfigRequest
In this article
Back to top Generated by DocFX