Class: Google::Apis::NetworkmanagementV1beta1::ConnectivityTest
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::ConnectivityTest
- 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
A Connectivity Test for a network reachability analysis.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
The user-supplied description of the Connectivity Test.
-
#destination ⇒ Google::Apis::NetworkmanagementV1beta1::Endpoint
Source or destination of the Connectivity Test.
-
#display_name ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Resource labels to represent user-provided metadata.
-
#name ⇒ String
Required.
-
#probing_details ⇒ Google::Apis::NetworkmanagementV1beta1::ProbingDetails
The details of probing from the latest run.
-
#protocol ⇒ String
IP Protocol of the test.
-
#reachability_details ⇒ Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails
The details of reachability state from the latest run.
-
#related_projects ⇒ Array<String>
Other projects that may be relevant for reachability analysis.
-
#source ⇒ Google::Apis::NetworkmanagementV1beta1::Endpoint
Source or destination of the Connectivity Test.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectivityTest
constructor
A new instance of ConnectivityTest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectivityTest
Returns a new instance of ConnectivityTest.
328 329 330 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 328 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time the test was created.
Corresponds to the JSON property createTime
268 269 270 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 268 def create_time @create_time end |
#description ⇒ String
The user-supplied description of the Connectivity Test. Maximum of 512
characters.
Corresponds to the JSON property description
274 275 276 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 274 def description @description end |
#destination ⇒ Google::Apis::NetworkmanagementV1beta1::Endpoint
Source or destination of the Connectivity Test.
Corresponds to the JSON property destination
279 280 281 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 279 def destination @destination end |
#display_name ⇒ String
Output only. The display name of a Connectivity Test.
Corresponds to the JSON property displayName
284 285 286 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 284 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Resource labels to represent user-provided metadata.
Corresponds to the JSON property labels
289 290 291 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 289 def labels @labels end |
#name ⇒ String
Required. Unique name of the resource using the form: projects/
project_id/
locations/global/connectivityTests/
test`
Corresponds to the JSON property
name`
295 296 297 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 295 def name @name end |
#probing_details ⇒ Google::Apis::NetworkmanagementV1beta1::ProbingDetails
The details of probing from the latest run.
Corresponds to the JSON property probingDetails
300 301 302 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 300 def probing_details @probing_details end |
#protocol ⇒ String
IP Protocol of the test. When not provided, "TCP" is assumed.
Corresponds to the JSON property protocol
305 306 307 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 305 def protocol @protocol end |
#reachability_details ⇒ Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails
The details of reachability state from the latest run.
Corresponds to the JSON property reachabilityDetails
310 311 312 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 310 def reachability_details @reachability_details end |
#related_projects ⇒ Array<String>
Other projects that may be relevant for reachability analysis. This is
applicable to scenarios where a test can cross project boundaries.
Corresponds to the JSON property relatedProjects
316 317 318 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 316 def @related_projects end |
#source ⇒ Google::Apis::NetworkmanagementV1beta1::Endpoint
Source or destination of the Connectivity Test.
Corresponds to the JSON property source
321 322 323 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 321 def source @source end |
#update_time ⇒ String
Output only. The time the test's configuration was updated.
Corresponds to the JSON property updateTime
326 327 328 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 326 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
333 334 335 336 337 338 339 340 341 342 343 344 345 346 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 333 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 |