public interface UpdateContentPolicyRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContentPolicy()
public abstract ContentPolicy getContentPolicy()Required. The content_policy with new values for the relevant fields.
.google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContentPolicy |
The contentPolicy. |
getContentPolicyOrBuilder()
public abstract ContentPolicyOrBuilder getContentPolicyOrBuilder()Required. The content_policy with new values for the relevant fields.
.google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContentPolicyOrBuilder |
|
getName()
public abstract String getName() Required. Resource name in the format:
projects/{project}/locations/{location}/contentPolicies/{content_policy}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Required. Resource name in the format:
projects/{project}/locations/{location}/contentPolicies/{content_policy}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateMask()
public abstract FieldMask getUpdateMask()Optional. Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskOrBuilder()
public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasContentPolicy()
public abstract boolean hasContentPolicy()Required. The content_policy with new values for the relevant fields.
.google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the contentPolicy field is set. |
hasUpdateMask()
public abstract boolean hasUpdateMask()Optional. Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |