Interface PatchRuleSecurityPolicyRequestOrBuilder (1.53.0)

public interface PatchRuleSecurityPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPriority()

public abstract int getPriority()

The priority of the rule to patch.

optional int32 priority = 445151652;

Returns
Type Description
int

The priority.

getProject()

public abstract String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Returns
Type Description
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];

Returns
Type Description
ByteString

The bytes for project.

getSecurityPolicy()

public abstract String getSecurityPolicy()

Name of the security policy to update.

string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The securityPolicy.

getSecurityPolicyBytes()

public abstract ByteString getSecurityPolicyBytes()

Name of the security policy to update.

string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for securityPolicy.

getSecurityPolicyRuleResource()

public abstract SecurityPolicyRule getSecurityPolicyRuleResource()

The body resource for this request

.google.cloud.compute.v1.SecurityPolicyRule security_policy_rule_resource = 402693443 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityPolicyRule

The securityPolicyRuleResource.

getSecurityPolicyRuleResourceOrBuilder()

public abstract SecurityPolicyRuleOrBuilder getSecurityPolicyRuleResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.SecurityPolicyRule security_policy_rule_resource = 402693443 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityPolicyRuleOrBuilder

getUpdateMask()

public abstract String getUpdateMask()

Indicates fields to be cleared as part of this request.

optional string update_mask = 500079778;

Returns
Type Description
String

The updateMask.

getUpdateMaskBytes()

public abstract ByteString getUpdateMaskBytes()

Indicates fields to be cleared as part of this request.

optional string update_mask = 500079778;

Returns
Type Description
ByteString

The bytes for updateMask.

getValidateOnly()

public abstract boolean getValidateOnly()

If true, the request will not be committed.

optional bool validate_only = 242744629;

Returns
Type Description
boolean

The validateOnly.

hasPriority()

public abstract boolean hasPriority()

The priority of the rule to patch.

optional int32 priority = 445151652;

Returns
Type Description
boolean

Whether the priority field is set.

hasSecurityPolicyRuleResource()

public abstract boolean hasSecurityPolicyRuleResource()

The body resource for this request

.google.cloud.compute.v1.SecurityPolicyRule security_policy_rule_resource = 402693443 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityPolicyRuleResource field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates fields to be cleared as part of this request.

optional string update_mask = 500079778;

Returns
Type Description
boolean

Whether the updateMask field is set.

hasValidateOnly()

public abstract boolean hasValidateOnly()

If true, the request will not be committed.

optional bool validate_only = 242744629;

Returns
Type Description
boolean

Whether the validateOnly field is set.