Compute V1 Client - Class AllocationReservationSharingPolicy (1.27.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ service_share_type string

Sharing config for all Google Cloud services. Check the ServiceShareType enum for the list of possible values.

getServiceShareType

Sharing config for all Google Cloud services.

Check the ServiceShareType enum for the list of possible values.

Returns
Type Description
string

hasServiceShareType

clearServiceShareType

setServiceShareType

Sharing config for all Google Cloud services.

Check the ServiceShareType enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this