Google Cloud Deploy V1 Client - Class CustomTarget (0.15.0)

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
NameDescription
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
TypeDescription
string

setCustomTargetType

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this