Interface PatchRuleRegionSecurityPolicyRequestOrBuilder (1.51.0)

public interface PatchRuleRegionSecurityPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPriority()

public abstract int getPriority()

The priority of the rule to patch.

optional int32 priority = 445151652;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for project.

getRegion()

public abstract String getRegion()

Name of the region scoping this request.

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

Returns
TypeDescription
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

Name of the region scoping this request.

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

Returns
TypeDescription
ByteString

The bytes for region.

getSecurityPolicy()

public abstract String getSecurityPolicy()

Name of the security policy to update.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityPolicyRuleOrBuilder

getUpdateMask()

public abstract String getUpdateMask()

Indicates fields to be cleared as part of this request.

optional string update_mask = 500079778;

Returns
TypeDescription
String

The updateMask.

getUpdateMaskBytes()

public abstract ByteString getUpdateMaskBytes()

Indicates fields to be cleared as part of this request.

optional string update_mask = 500079778;

Returns
TypeDescription
ByteString

The bytes for updateMask.

getValidateOnly()

public abstract boolean getValidateOnly()

If true, the request will not be committed.

optional bool validate_only = 242744629;

Returns
TypeDescription
boolean

The validateOnly.

hasPriority()

public abstract boolean hasPriority()

The priority of the rule to patch.

optional int32 priority = 445151652;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the validateOnly field is set.