Interface UpdateAssistantRequestOrBuilder (0.90.0)

public interface UpdateAssistantRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssistant()

public abstract Assistant getAssistant()

Required. The Assistant to update.

The Assistant's name field is used to identify the Assistant to update. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}

If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the Assistant to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Assistant

The assistant.

getAssistantOrBuilder()

public abstract AssistantOrBuilder getAssistantOrBuilder()

Required. The Assistant to update.

The Assistant's name field is used to identify the Assistant to update. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}

If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the Assistant to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssistantOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The list of fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAssistant()

public abstract boolean hasAssistant()

Required. The Assistant to update.

The Assistant's name field is used to identify the Assistant to update. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}

If the caller does not have permission to update the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the Assistant to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1beta.Assistant assistant = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the assistant field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The list of fields to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.