class Google::Apis::NetworkmanagementV1::ConnectivityTest
A Connectivity Test for a network reachability analysis.
Attributes
Output only. The time the test was created. Corresponds to the JSON property `createTime` @return [String]
The user-supplied description of the Connectivity Test. Maximum of 512 characters. Corresponds to the JSON property `description` @return [String]
Source or destination of the Connectivity Test. Corresponds to the JSON property `destination` @return [Google::Apis::NetworkmanagementV1::Endpoint]
Output only. The display name of a Connectivity Test. Corresponds to the JSON property `displayName` @return [String]
Resource labels to represent user-provided metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Required. Unique name of the resource using the form: `projects/`project_id`/ locations/global/connectivityTests/`test_id“ Corresponds to the JSON property `name` @return [String]
IP Protocol of the test. When not provided, “TCP” is assumed. Corresponds to the JSON property `protocol` @return [String]
Results of the configuration analysis from the last run of the test. Corresponds to the JSON property `reachabilityDetails` @return [Google::Apis::NetworkmanagementV1::ReachabilityDetails]
Source or destination of the Connectivity Test. Corresponds to the JSON property `source` @return [Google::Apis::NetworkmanagementV1::Endpoint]
Output only. The time the test's configuration was updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/networkmanagement_v1/classes.rb, line 317 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networkmanagement_v1/classes.rb, line 322 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) @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