Class: Google::Apis::NetworkmanagementV1beta1::ProbingDetails

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

Overview

The details of probing from the latest run.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProbingDetails

Returns a new instance of ProbingDetails.



1390
1391
1392
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1390

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

Instance Attribute Details

#abort_causeString

Causes that the probing was aborted. Corresponds to the JSON property abortCause

Returns:

  • (String)


1346
1347
1348
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1346

def abort_cause
  @abort_cause
end

#endpoint_infoGoogle::Apis::NetworkmanagementV1beta1::EndpointInfo

For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model. Corresponds to the JSON property endpointInfo



1353
1354
1355
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1353

def endpoint_info
  @endpoint_info
end

#errorGoogle::Apis::NetworkmanagementV1beta1::Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Corresponds to the JSON property error



1363
1364
1365
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1363

def error
  @error
end

#probing_latencyGoogle::Apis::NetworkmanagementV1beta1::LatencyDistribution

Describes measured latency distribution. Corresponds to the JSON property probingLatency



1368
1369
1370
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1368

def probing_latency
  @probing_latency
end

#resultString

The overall reachability result of the test. Corresponds to the JSON property result

Returns:

  • (String)


1373
1374
1375
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1373

def result
  @result
end

#sent_probe_countFixnum

Number of probes sent. Corresponds to the JSON property sentProbeCount

Returns:

  • (Fixnum)


1378
1379
1380
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1378

def sent_probe_count
  @sent_probe_count
end

#successful_probe_countFixnum

Number of probes that reached destination. Corresponds to the JSON property successfulProbeCount

Returns:

  • (Fixnum)


1383
1384
1385
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1383

def successful_probe_count
  @successful_probe_count
end

#verify_timeString

The time the reachability state was verified. Corresponds to the JSON property verifyTime

Returns:

  • (String)


1388
1389
1390
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1388

def verify_time
  @verify_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1395

def update!(**args)
  @abort_cause = args[:abort_cause] if args.key?(:abort_cause)
  @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
  @error = args[:error] if args.key?(:error)
  @probing_latency = args[:probing_latency] if args.key?(:probing_latency)
  @result = args[:result] if args.key?(:result)
  @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
  @successful_probe_count = args[:successful_probe_count] if args.key?(:successful_probe_count)
  @verify_time = args[:verify_time] if args.key?(:verify_time)
end