Google Cloud Ai Platform V1 Client - Class UpdateScheduleRequest (1.2.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UpdateScheduleRequest.

Request message for ScheduleService.UpdateSchedule.

Generated from protobuf message google.cloud.aiplatform.v1.UpdateScheduleRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ schedule Google\Cloud\AIPlatform\V1\Schedule

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied: * The scheduled request type cannot be changed. * The non-empty fields cannot be unset. * The output_only fields will be ignored if specified.

↳ update_mask Google\Protobuf\FieldMask

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

getSchedule

Required. The Schedule which replaces the resource on the server.

The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.
Returns
Type Description
Google\Cloud\AIPlatform\V1\Schedule|null

hasSchedule

clearSchedule

setSchedule

Required. The Schedule which replaces the resource on the server.

The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.
Parameter
Name Description
var Google\Cloud\AIPlatform\V1\Schedule
Returns
Type Description
$this

getUpdateMask

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

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

static::build

Parameters
Name Description
schedule Google\Cloud\AIPlatform\V1\Schedule

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.
updateMask Google\Protobuf\FieldMask

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

Returns
Type Description
Google\Cloud\AIPlatform\V1\UpdateScheduleRequest