Class: Google::Apis::ClouddeployV1::CustomTarget
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::CustomTarget
- 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
-
#custom_target_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomTarget
constructor
A new instance of CustomTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomTarget
Returns a new instance of CustomTarget.
1381 1382 1383 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1381 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_target_type ⇒ String
Required. The name of the CustomTargetType. Format must be projects/
project/
locations/
location/customTargetTypes/
custom_target_type`.
Corresponds to the JSON property
customTargetType`
1379 1380 1381 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1379 def custom_target_type @custom_target_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1386 1387 1388 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1386 def update!(**args) @custom_target_type = args[:custom_target_type] if args.key?(:custom_target_type) end |