class Google::Apis::NetworkmanagementV1beta1::ConnectivityTest

A Connectivity Test for a network reachability analysis.

Attributes

create_time[RW]

Output only. The time the test was created. Corresponds to the JSON property `createTime` @return [String]

description[RW]

The user-supplied description of the Connectivity Test. Maximum of 512 characters. Corresponds to the JSON property `description` @return [String]

destination[RW]

Source or destination of the Connectivity Test. Corresponds to the JSON property `destination` @return [Google::Apis::NetworkmanagementV1beta1::Endpoint]

display_name[RW]

Output only. The display name of a Connectivity Test. Corresponds to the JSON property `displayName` @return [String]

labels[RW]

Resource labels to represent user-provided metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]

name[RW]

Required. Unique name of the resource using the form: `projects/`project_id`/ locations/global/connectivityTests/`test“ Corresponds to the JSON property `name` @return [String]

probing_details[RW]

Results of active probing from the last run of the test. Corresponds to the JSON property `probingDetails` @return [Google::Apis::NetworkmanagementV1beta1::ProbingDetails]

protocol[RW]

IP Protocol of the test. When not provided, “TCP” is assumed. Corresponds to the JSON property `protocol` @return [String]

reachability_details[RW]

Results of the configuration analysis from the last run of the test. Corresponds to the JSON property `reachabilityDetails` @return [Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails]

source[RW]

Source or destination of the Connectivity Test. Corresponds to the JSON property `source` @return [Google::Apis::NetworkmanagementV1beta1::Endpoint]

update_time[RW]

Output only. The time the test's configuration was updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 322
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 327
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @destination = args[:destination] if args.key?(:destination)
  @display_name = args[:display_name] if args.key?(:display_name)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @probing_details = args[:probing_details] if args.key?(:probing_details)
  @protocol = args[:protocol] if args.key?(:protocol)
  @reachability_details = args[:reachability_details] if args.key?(:reachability_details)
  @related_projects = args[:related_projects] if args.key?(:related_projects)
  @source = args[:source] if args.key?(:source)
  @update_time = args[:update_time] if args.key?(:update_time)
end