Class: Google::Apis::OndemandscanningV1::BuildDefinition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildDefinition

Returns a new instance of BuildDefinition.



336
337
338
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 336

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

Instance Attribute Details

#build_typeString

Corresponds to the JSON property buildType

Returns:

  • (String)


319
320
321
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 319

def build_type
  @build_type
end

#external_parametersHash<String,Object>

Corresponds to the JSON property externalParameters

Returns:

  • (Hash<String,Object>)


324
325
326
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 324

def external_parameters
  @external_parameters
end

#internal_parametersHash<String,Object>

Corresponds to the JSON property internalParameters

Returns:

  • (Hash<String,Object>)


329
330
331
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 329

def internal_parameters
  @internal_parameters
end

#resolved_dependenciesArray<Google::Apis::OndemandscanningV1::ResourceDescriptor>

Corresponds to the JSON property resolvedDependencies



334
335
336
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 334

def resolved_dependencies
  @resolved_dependencies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



341
342
343
344
345
346
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 341

def update!(**args)
  @build_type = args[:build_type] if args.key?(:build_type)
  @external_parameters = args[:external_parameters] if args.key?(:external_parameters)
  @internal_parameters = args[:internal_parameters] if args.key?(:internal_parameters)
  @resolved_dependencies = args[:resolved_dependencies] if args.key?(:resolved_dependencies)
end