Class: Google::Apis::SpannerV1::Scan

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

Overview

Scan is a structure which describes Cloud Key Visualizer scan information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Scan

Returns a new instance of Scan.



3956
3957
3958
# File 'lib/google/apis/spanner_v1/classes.rb', line 3956

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

Instance Attribute Details

#detailsHash<String,Object>

Additional information provided by the implementer. Corresponds to the JSON property details

Returns:

  • (Hash<String,Object>)


3931
3932
3933
# File 'lib/google/apis/spanner_v1/classes.rb', line 3931

def details
  @details
end

#end_timeString

The upper bound for when the scan is defined. Corresponds to the JSON property endTime

Returns:

  • (String)


3936
3937
3938
# File 'lib/google/apis/spanner_v1/classes.rb', line 3936

def end_time
  @end_time
end

#nameString

The unique name of the scan, specific to the Database service implementing this interface. Corresponds to the JSON property name

Returns:

  • (String)


3942
3943
3944
# File 'lib/google/apis/spanner_v1/classes.rb', line 3942

def name
  @name
end

#scan_dataGoogle::Apis::SpannerV1::ScanData

ScanData contains Cloud Key Visualizer scan data used by the caller to construct a visualization. Corresponds to the JSON property scanData



3948
3949
3950
# File 'lib/google/apis/spanner_v1/classes.rb', line 3948

def scan_data
  @scan_data
end

#start_timeString

A range of time (inclusive) for when the scan is defined. The lower bound for when the scan is defined. Corresponds to the JSON property startTime

Returns:

  • (String)


3954
3955
3956
# File 'lib/google/apis/spanner_v1/classes.rb', line 3954

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3961
3962
3963
3964
3965
3966
3967
# File 'lib/google/apis/spanner_v1/classes.rb', line 3961

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