Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::CreateGatewaySecurityPolicyRequest.
Request used by the CreateGatewaySecurityPolicy method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#gateway_security_policy
def gateway_security_policy() -> ::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicy
Returns
- (::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicy) — Required. GatewaySecurityPolicy resource to be created.
#gateway_security_policy=
def gateway_security_policy=(value) -> ::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicy
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicy) — Required. GatewaySecurityPolicy resource to be created.
Returns
- (::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicy) — Required. GatewaySecurityPolicy resource to be created.
#gateway_security_policy_id
def gateway_security_policy_id() -> ::String
Returns
- (::String) — Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "gateway_security_policy1".
#gateway_security_policy_id=
def gateway_security_policy_id=(value) -> ::String
Parameter
- value (::String) — Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "gateway_security_policy1".
Returns
- (::String) — Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "gateway_security_policy1".
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent resource of the GatewaySecurityPolicy. Must be in the
format
projects/{project}/locations/{location}.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent resource of the GatewaySecurityPolicy. Must be in the
format
projects/{project}/locations/{location}.
Returns
-
(::String) — Required. The parent resource of the GatewaySecurityPolicy. Must be in the
format
projects/{project}/locations/{location}.