Class: Google::Apis::ManagerV1beta2::ModuleStatus
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::ModuleStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb
Overview
[Output Only] Aggregate status for a module.
Instance Attribute Summary collapse
-
#autoscaling_module_status ⇒ Google::Apis::ManagerV1beta2::AutoscalingModuleStatus
[Output Only] The status of the AutoscalingModule, set for type AUTOSCALING.
-
#firewall_module_status ⇒ Google::Apis::ManagerV1beta2::FirewallModuleStatus
[Output Only] The status of the FirewallModule, set for type FIREWALL.
-
#health_check_module_status ⇒ Google::Apis::ManagerV1beta2::HealthCheckModuleStatus
[Output Only] The status of the HealthCheckModule, set for type HEALTH_CHECK.
-
#lb_module_status ⇒ Google::Apis::ManagerV1beta2::LbModuleStatus
[Output Only] The status of the LbModule, set for type LOAD_BALANCING.
-
#network_module_status ⇒ Google::Apis::ManagerV1beta2::NetworkModuleStatus
[Output Only] The status of the NetworkModule, set for type NETWORK.
-
#replica_pool_module_status ⇒ Google::Apis::ManagerV1beta2::ReplicaPoolModuleStatus
[Output Only] The status of the ReplicaPoolModule, set for type VM.
-
#state ⇒ Google::Apis::ManagerV1beta2::DeployState
[Output Only] The current state of a replica or module.
-
#type ⇒ String
[Output Only] The type of the module.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModuleStatus
constructor
A new instance of ModuleStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ModuleStatus
Returns a new instance of ModuleStatus
760 761 762 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 760 def initialize(**args) update!(**args) end |
Instance Attribute Details
#autoscaling_module_status ⇒ Google::Apis::ManagerV1beta2::AutoscalingModuleStatus
[Output Only] The status of the AutoscalingModule, set for type AUTOSCALING.
Corresponds to the JSON property autoscalingModuleStatus
723 724 725 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 723 def autoscaling_module_status @autoscaling_module_status end |
#firewall_module_status ⇒ Google::Apis::ManagerV1beta2::FirewallModuleStatus
[Output Only] The status of the FirewallModule, set for type FIREWALL.
Corresponds to the JSON property firewallModuleStatus
728 729 730 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 728 def firewall_module_status @firewall_module_status end |
#health_check_module_status ⇒ Google::Apis::ManagerV1beta2::HealthCheckModuleStatus
[Output Only] The status of the HealthCheckModule, set for type HEALTH_CHECK.
Corresponds to the JSON property healthCheckModuleStatus
733 734 735 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 733 def health_check_module_status @health_check_module_status end |
#lb_module_status ⇒ Google::Apis::ManagerV1beta2::LbModuleStatus
[Output Only] The status of the LbModule, set for type LOAD_BALANCING.
Corresponds to the JSON property lbModuleStatus
738 739 740 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 738 def lb_module_status @lb_module_status end |
#network_module_status ⇒ Google::Apis::ManagerV1beta2::NetworkModuleStatus
[Output Only] The status of the NetworkModule, set for type NETWORK.
Corresponds to the JSON property networkModuleStatus
743 744 745 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 743 def network_module_status @network_module_status end |
#replica_pool_module_status ⇒ Google::Apis::ManagerV1beta2::ReplicaPoolModuleStatus
[Output Only] The status of the ReplicaPoolModule, set for type VM.
Corresponds to the JSON property replicaPoolModuleStatus
748 749 750 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 748 def replica_pool_module_status @replica_pool_module_status end |
#state ⇒ Google::Apis::ManagerV1beta2::DeployState
[Output Only] The current state of a replica or module.
Corresponds to the JSON property state
753 754 755 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 753 def state @state end |
#type ⇒ String
[Output Only] The type of the module.
Corresponds to the JSON property type
758 759 760 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 758 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
765 766 767 768 769 770 771 772 773 774 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 765 def update!(**args) @autoscaling_module_status = args[:autoscaling_module_status] if args.key?(:autoscaling_module_status) @firewall_module_status = args[:firewall_module_status] if args.key?(:firewall_module_status) @health_check_module_status = args[:health_check_module_status] if args.key?(:health_check_module_status) @lb_module_status = args[:lb_module_status] if args.key?(:lb_module_status) @network_module_status = args[:network_module_status] if args.key?(:network_module_status) @replica_pool_module_status = args[:replica_pool_module_status] if args.key?(:replica_pool_module_status) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end |