Package com.google.cloud.compute.v1
Interface PatchRuleRegionSecurityPolicyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PatchRuleRegionSecurityPolicyRequest,PatchRuleRegionSecurityPolicyRequest.Builder
@Generated
public interface PatchRuleRegionSecurityPolicyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe priority of the rule to patch.Project ID for this request.com.google.protobuf.ByteStringProject ID for this request.Name of the region scoping this request.com.google.protobuf.ByteStringName of the region scoping this request.Name of the security policy to update.com.google.protobuf.ByteStringName of the security policy to update.The body resource for this requestThe body resource for this requestIndicates fields to be cleared as part of this request.com.google.protobuf.ByteStringIndicates fields to be cleared as part of this request.booleanIf true, the request will not be committed.booleanThe priority of the rule to patch.booleanThe body resource for this requestbooleanIndicates fields to be cleared as part of this request.booleanIf true, the request will not be committed.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPriority
boolean hasPriority()The priority of the rule to patch.
optional int32 priority = 445151652;- Returns:
- Whether the priority field is set.
-
getPriority
int getPriority()The priority of the rule to patch.
optional int32 priority = 445151652;- Returns:
- The priority.
-
getProject
String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];- Returns:
- The bytes for project.
-
getRegion
String getRegion()Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];- Returns:
- The bytes for region.
-
getSecurityPolicy
String getSecurityPolicy()Name of the security policy to update.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The securityPolicy.
-
getSecurityPolicyBytes
com.google.protobuf.ByteString getSecurityPolicyBytes()Name of the security policy to update.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for securityPolicy.
-
hasSecurityPolicyRuleResource
boolean hasSecurityPolicyRuleResource()The body resource for this request
.google.cloud.compute.v1.SecurityPolicyRule security_policy_rule_resource = 402693443 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the securityPolicyRuleResource field is set.
-
getSecurityPolicyRuleResource
SecurityPolicyRule getSecurityPolicyRuleResource()The body resource for this request
.google.cloud.compute.v1.SecurityPolicyRule security_policy_rule_resource = 402693443 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The securityPolicyRuleResource.
-
getSecurityPolicyRuleResourceOrBuilder
SecurityPolicyRuleOrBuilder getSecurityPolicyRuleResourceOrBuilder()The body resource for this request
.google.cloud.compute.v1.SecurityPolicyRule security_policy_rule_resource = 402693443 [(.google.api.field_behavior) = REQUIRED]; -
hasUpdateMask
boolean hasUpdateMask()Indicates fields to be cleared as part of this request.
optional string update_mask = 500079778;- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
String getUpdateMask()Indicates fields to be cleared as part of this request.
optional string update_mask = 500079778;- Returns:
- The updateMask.
-
getUpdateMaskBytes
com.google.protobuf.ByteString getUpdateMaskBytes()Indicates fields to be cleared as part of this request.
optional string update_mask = 500079778;- Returns:
- The bytes for updateMask.
-
hasValidateOnly
boolean hasValidateOnly()If true, the request will not be committed.
optional bool validate_only = 242744629;- Returns:
- Whether the validateOnly field is set.
-
getValidateOnly
boolean getValidateOnly()If true, the request will not be committed.
optional bool validate_only = 242744629;- Returns:
- The validateOnly.
-