Interface AddRuleRegionSecurityPolicyRequestOrBuilder (1.54.0)

public interface AddRuleRegionSecurityPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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
Type Description
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
Type Description
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
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

getValidateOnly()

public abstract boolean getValidateOnly()

If true, the request will not be committed.

optional bool validate_only = 242744629;

Returns
Type Description
boolean

The validateOnly.

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.

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.