Google Cloud Gke Hub V1 Client - Class UpdateFleetRequest (1.3.0)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class UpdateFleetRequest.

Request message for the GkeHub.UpdateFleet method.

Generated from protobuf message google.cloud.gkehub.v1.UpdateFleetRequest

Namespace

Google \ Cloud \ GkeHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fleet Fleet

Required. The Fleet to update. The name field of the Fleet object identifies which fleet will be updated.

↳ update_mask Google\Protobuf\FieldMask

Required. The fields to be updated;

getFleet

Required. The Fleet to update.

The name field of the Fleet object identifies which fleet will be updated.

Returns
Type Description
Fleet|null

hasFleet

clearFleet

setFleet

Required. The Fleet to update.

The name field of the Fleet object identifies which fleet will be updated.

Parameter
Name Description
var Fleet
Returns
Type Description
$this

getUpdateMask

Required. The fields to be updated;

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The fields to be updated;

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
fleet Fleet

Required. The Fleet to update.

The name field of the Fleet object identifies which fleet will be updated.

updateMask Google\Protobuf\FieldMask

Required. The fields to be updated;

Returns
Type Description
UpdateFleetRequest