Class: Google::Apis::NetworkmanagementV1::ConnectivityTest
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::ConnectivityTest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb
Overview
A Connectivity Test for a network reachability analysis.
Instance Attribute Summary collapse
-
#bypass_firewall_checks ⇒ Boolean
(also: #bypass_firewall_checks?)
Whether the test should skip firewall checking.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
The user-supplied description of the Connectivity Test.
-
#destination ⇒ Google::Apis::NetworkmanagementV1::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
Identifier.
-
#probing_details ⇒ Google::Apis::NetworkmanagementV1::ProbingDetails
Results of active probing from the last run of the test.
-
#protocol ⇒ String
IP Protocol of the test.
-
#reachability_details ⇒ Google::Apis::NetworkmanagementV1::ReachabilityDetails
Results of the configuration analysis from the last run of the test.
-
#related_projects ⇒ Array<String>
Other projects that may be relevant for reachability analysis.
-
#source ⇒ Google::Apis::NetworkmanagementV1::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.
544 545 546 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 544 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bypass_firewall_checks ⇒ Boolean Also known as: bypass_firewall_checks?
Whether the test should skip firewall checking. If not provided, we assume
false.
Corresponds to the JSON property bypassFirewallChecks
478 479 480 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 478 def bypass_firewall_checks @bypass_firewall_checks end |
#create_time ⇒ String
Output only. The time the test was created.
Corresponds to the JSON property createTime
484 485 486 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 484 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
490 491 492 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 490 def description @description end |
#destination ⇒ Google::Apis::NetworkmanagementV1::Endpoint
Source or destination of the Connectivity Test.
Corresponds to the JSON property destination
495 496 497 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 495 def destination @destination end |
#display_name ⇒ String
Output only. The display name of a Connectivity Test.
Corresponds to the JSON property displayName
500 501 502 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 500 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Resource labels to represent user-provided metadata.
Corresponds to the JSON property labels
505 506 507 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 505 def labels @labels end |
#name ⇒ String
Identifier. Unique name of the resource using the form: projects/
project_id/
locations/global/connectivityTests/
test_id`
Corresponds to the JSON property
name`
511 512 513 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 511 def name @name end |
#probing_details ⇒ Google::Apis::NetworkmanagementV1::ProbingDetails
Results of active probing from the last run of the test.
Corresponds to the JSON property probingDetails
516 517 518 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 516 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
521 522 523 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 521 def protocol @protocol end |
#reachability_details ⇒ Google::Apis::NetworkmanagementV1::ReachabilityDetails
Results of the configuration analysis from the last run of the test.
Corresponds to the JSON property reachabilityDetails
526 527 528 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 526 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
532 533 534 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 532 def @related_projects end |
#source ⇒ Google::Apis::NetworkmanagementV1::Endpoint
Source or destination of the Connectivity Test.
Corresponds to the JSON property source
537 538 539 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 537 def source @source end |
#update_time ⇒ String
Output only. The time the test's configuration was updated.
Corresponds to the JSON property updateTime
542 543 544 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 542 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 549 def update!(**args) @bypass_firewall_checks = args[:bypass_firewall_checks] if args.key?(:bypass_firewall_checks) @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 |