Package com.google.cloud.compute.v1
Interface AddRuleRegionSecurityPolicyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AddRuleRegionSecurityPolicyRequest,AddRuleRegionSecurityPolicyRequest.Builder
@Generated
public interface AddRuleRegionSecurityPolicyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionProject 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 requestbooleanIf true, the request will not be committed.booleanThe body resource for this requestbooleanIf 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
-
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]; -
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.
-