Compute V1 Client - Class SecurityPolicyReference (1.20.0)

Reference documentation and code samples for the Compute V1 Client class SecurityPolicyReference.

Generated from protobuf message google.cloud.compute.v1.SecurityPolicyReference

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ security_policy string

getSecurityPolicy

Generated from protobuf field optional string security_policy = 171082513;

Returns
Type Description
string

hasSecurityPolicy

clearSecurityPolicy

setSecurityPolicy

Generated from protobuf field optional string security_policy = 171082513;

Parameter
Name Description
var string
Returns
Type Description
$this