Compute V1 Client - Class SecurityPolicyReference (1.13.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ security_policy string

getSecurityPolicy

Generated from protobuf field optional string security_policy = 171082513;

Returns
TypeDescription
string

hasSecurityPolicy

clearSecurityPolicy

setSecurityPolicy

Generated from protobuf field optional string security_policy = 171082513;

Parameter
NameDescription
var string
Returns
TypeDescription
$this