Class: Google::Apis::NetworkmanagementV1::Host
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::Host
- 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
Message describing information about the host.
Instance Attribute Summary collapse
-
#cloud_instance_id ⇒ String
Output only.
-
#cloud_project_id ⇒ String
Output only.
-
#cloud_provider ⇒ String
Output only.
-
#cloud_region ⇒ String
Output only.
-
#cloud_virtual_network_ids ⇒ Array<String>
Output only.
-
#cloud_zone ⇒ String
Output only.
-
#os ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Host
constructor
A new instance of Host.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Host
Returns a new instance of Host.
1704 1705 1706 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1704 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_instance_id ⇒ String
Output only. The cloud instance id of the host.
Corresponds to the JSON property cloudInstanceId
1672 1673 1674 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1672 def cloud_instance_id @cloud_instance_id end |
#cloud_project_id ⇒ String
Output only. The cloud project id of the host.
Corresponds to the JSON property cloudProjectId
1677 1678 1679 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1677 def cloud_project_id @cloud_project_id end |
#cloud_provider ⇒ String
Output only. The cloud provider of the host.
Corresponds to the JSON property cloudProvider
1682 1683 1684 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1682 def cloud_provider @cloud_provider end |
#cloud_region ⇒ String
Output only. The cloud region of the host.
Corresponds to the JSON property cloudRegion
1687 1688 1689 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1687 def cloud_region @cloud_region end |
#cloud_virtual_network_ids ⇒ Array<String>
Output only. The ids of cloud virtual networks of the host.
Corresponds to the JSON property cloudVirtualNetworkIds
1692 1693 1694 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1692 def cloud_virtual_network_ids @cloud_virtual_network_ids end |
#cloud_zone ⇒ String
Output only. The cloud zone of the host.
Corresponds to the JSON property cloudZone
1697 1698 1699 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1697 def cloud_zone @cloud_zone end |
#os ⇒ String
Output only. The operating system of the host.
Corresponds to the JSON property os
1702 1703 1704 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1702 def os @os end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1709 1710 1711 1712 1713 1714 1715 1716 1717 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1709 def update!(**args) @cloud_instance_id = args[:cloud_instance_id] if args.key?(:cloud_instance_id) @cloud_project_id = args[:cloud_project_id] if args.key?(:cloud_project_id) @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider) @cloud_region = args[:cloud_region] if args.key?(:cloud_region) @cloud_virtual_network_ids = args[:cloud_virtual_network_ids] if args.key?(:cloud_virtual_network_ids) @cloud_zone = args[:cloud_zone] if args.key?(:cloud_zone) @os = args[:os] if args.key?(:os) end |