Class: Google::Apis::ComputeAlpha::ResourceStatusAcceleratorStatusPassedScan

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourceStatusAcceleratorStatusPassedScan

Returns a new instance of ResourceStatusAcceleratorStatusPassedScan.



60882
60883
60884
# File 'lib/google/apis/compute_alpha/classes.rb', line 60882

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

Instance Attribute Details

#end_timeString

The end time of the passed scan inRFC3339 text format. Corresponds to the JSON property endTime

Returns:

  • (String)


60865
60866
60867
# File 'lib/google/apis/compute_alpha/classes.rb', line 60865

def end_time
  @end_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


60870
60871
60872
# File 'lib/google/apis/compute_alpha/classes.rb', line 60870

def name
  @name
end

#start_timeString

The start time of the passed scan inRFC3339 text format. Corresponds to the JSON property startTime

Returns:

  • (String)


60875
60876
60877
# File 'lib/google/apis/compute_alpha/classes.rb', line 60875

def start_time
  @start_time
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


60880
60881
60882
# File 'lib/google/apis/compute_alpha/classes.rb', line 60880

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60887
60888
60889
60890
60891
60892
# File 'lib/google/apis/compute_alpha/classes.rb', line 60887

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @name = args[:name] if args.key?(:name)
  @start_time = args[:start_time] if args.key?(:start_time)
  @version = args[:version] if args.key?(:version)
end