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.



60045
60046
60047
# File 'lib/google/apis/compute_alpha/classes.rb', line 60045

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)


60028
60029
60030
# File 'lib/google/apis/compute_alpha/classes.rb', line 60028

def end_time
  @end_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


60033
60034
60035
# File 'lib/google/apis/compute_alpha/classes.rb', line 60033

def name
  @name
end

#start_timeString

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

Returns:

  • (String)


60038
60039
60040
# File 'lib/google/apis/compute_alpha/classes.rb', line 60038

def start_time
  @start_time
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


60043
60044
60045
# File 'lib/google/apis/compute_alpha/classes.rb', line 60043

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60050
60051
60052
60053
60054
60055
# File 'lib/google/apis/compute_alpha/classes.rb', line 60050

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