Compute V1 Client - Class FirewallPoliciesListAssociationsResponse (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ associations array<Google\Cloud\Compute\V1\FirewallPolicyAssociation>

A list of associations.

↳ kind string

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

getAssociations

A list of associations.

Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAssociations

A list of associations.

Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\FirewallPolicyAssociation>
Returns
TypeDescription
$this

getKind

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

Generated from protobuf field optional string kind = 3292052;

Returns
TypeDescription
string

hasKind

clearKind

setKind

[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.

Generated from protobuf field optional string kind = 3292052;

Parameter
NameDescription
var string
Returns
TypeDescription
$this