Interface UpdateLoggingConfigRequestOrBuilder (2.48.0)

public interface UpdateLoggingConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLoggingConfig()

public abstract LoggingConfig getLoggingConfig()

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

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

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LoggingConfig

The loggingConfig.

getLoggingConfigOrBuilder()

public abstract LoggingConfigOrBuilder getLoggingConfigOrBuilder()

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

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

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LoggingConfigOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasLoggingConfig()

public abstract boolean hasLoggingConfig()

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

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

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the loggingConfig field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.