Interface UpdateSourceRequestOrBuilder (2.45.0)

public interface UpdateSourceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSource()

public abstract Source getSource()

Required. The source resource to update.

.google.cloud.securitycenter.v2.Source source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Source

The source.

getSourceOrBuilder()

public abstract SourceOrBuilder getSourceOrBuilder()

Required. The source resource to update.

.google.cloud.securitycenter.v2.Source source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SourceOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The FieldMask to use when updating the source resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The FieldMask to use when updating the source resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasSource()

public abstract boolean hasSource()

Required. The source resource to update.

.google.cloud.securitycenter.v2.Source source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the source field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The FieldMask to use when updating the source resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.