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.



52819
52820
52821
# File 'lib/google/apis/compute_alpha/classes.rb', line 52819

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

Instance Attribute Details

#end_timeString

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

Returns:

  • (String)


52802
52803
52804
# File 'lib/google/apis/compute_alpha/classes.rb', line 52802

def end_time
  @end_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


52807
52808
52809
# File 'lib/google/apis/compute_alpha/classes.rb', line 52807

def name
  @name
end

#start_timeString

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

Returns:

  • (String)


52812
52813
52814
# File 'lib/google/apis/compute_alpha/classes.rb', line 52812

def start_time
  @start_time
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


52817
52818
52819
# File 'lib/google/apis/compute_alpha/classes.rb', line 52817

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



52824
52825
52826
52827
52828
52829
# File 'lib/google/apis/compute_alpha/classes.rb', line 52824

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