Interface UpdateTargetSiteRequestOrBuilder (0.50.0)

public interface UpdateTargetSiteRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTargetSite()

public abstract TargetSite getTargetSite()

Required. The target site to update. If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

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

.google.cloud.discoveryengine.v1.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TargetSite

The targetSite.

getTargetSiteOrBuilder()

public abstract TargetSiteOrBuilder getTargetSiteOrBuilder()

Required. The target site to update. If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

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

.google.cloud.discoveryengine.v1.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TargetSiteOrBuilder

hasTargetSite()

public abstract boolean hasTargetSite()

Required. The target site to update. If the caller does not have permission to update the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

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

.google.cloud.discoveryengine.v1.TargetSite target_site = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the targetSite field is set.