Google Cloud Deploy V1 Client - Class CustomTarget (0.18.1)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class CustomTarget.

Information specifying a Custom Target.

Generated from protobuf message google.cloud.deploy.v1.CustomTarget

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_target_type string

Required. The name of the CustomTargetType. Format must be projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}.

getCustomTargetType

Required. The name of the CustomTargetType. Format must be projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}.

Returns
Type Description
string

setCustomTargetType

Required. The name of the CustomTargetType. Format must be projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}.

Parameter
Name Description
var string
Returns
Type Description
$this