Package com.google.cloud.compute.v1
Interface AddRuleSecurityPolicyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AddRuleSecurityPolicyRequest,AddRuleSecurityPolicyRequest.Builder
public interface AddRuleSecurityPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetProject()Project ID for this request.com.google.protobuf.ByteStringgetProjectBytes()Project ID for this request.StringgetSecurityPolicy()Name of the security policy to update.com.google.protobuf.ByteStringgetSecurityPolicyBytes()Name of the security policy to update.SecurityPolicyRulegetSecurityPolicyRuleResource()The body resource for this requestSecurityPolicyRuleOrBuildergetSecurityPolicyRuleResourceOrBuilder()The body resource for this requestbooleangetValidateOnly()If true, the request will not be committed.booleanhasSecurityPolicyRuleResource()The body resource for this requestbooleanhasValidateOnly()If true, the request will not be committed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
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.
-
-