Class: Google::Apis::ClouddeployV1::CustomTarget

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb

Overview

Information specifying a Custom Target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomTarget

Returns a new instance of CustomTarget.



1303
1304
1305
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1303

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#custom_target_typeString

Required. The name of the CustomTargetType. Format must be projects/project/ locations/location/customTargetTypes/custom_target_type`. Corresponds to the JSON propertycustomTargetType`

Returns:

  • (String)


1301
1302
1303
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1301

def custom_target_type
  @custom_target_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1308
1309
1310
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1308

def update!(**args)
  @custom_target_type = args[:custom_target_type] if args.key?(:custom_target_type)
end