Class: Google::Apis::ComputeAlpha::WireGroup
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::WireGroup
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
A resource that represents a group of redundant wires.
Instance Attribute Summary collapse
-
#admin_enabled ⇒ Boolean
(also: #admin_enabled?)
Indicates whether the wires in the wire group are enabled.
-
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
-
#description ⇒ String
An optional description of the wire group.
-
#endpoints ⇒ Hash<String,Google::Apis::ComputeAlpha::WireGroupEndpoint>
A map that contains the logical endpoints of the wire group.
-
#id ⇒ Fixnum
[Output Only] The unique identifier for the resource type.
-
#kind ⇒ String
[Output Only] Type of the resource.
-
#name ⇒ String
Name of the resource.
-
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
-
#self_link_with_id ⇒ String
Corresponds to the JSON property
selfLinkWithId. -
#service_level ⇒ Google::Apis::ComputeAlpha::WireGroupServiceLevel
Service level details determined for the wire group configuration.
-
#topology ⇒ Google::Apis::ComputeAlpha::WireGroupTopology
Topology details for the wire group.
-
#wire_group_properties ⇒ Google::Apis::ComputeAlpha::WireGroupProperties
The properties of a wire group.
-
#wire_inputs ⇒ Hash<String,Google::Apis::ComputeAlpha::WireGroupWireInputs>
A map that contains optional settings for individual wires.
-
#wire_properties ⇒ Google::Apis::ComputeAlpha::WireProperties
The properties of a wire.
-
#wires ⇒ Array<Google::Apis::ComputeAlpha::Wire>
The single/redundant wire(s) managed by the wire group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WireGroup
constructor
A new instance of WireGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WireGroup
Returns a new instance of WireGroup.
61904 61905 61906 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61904 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_enabled ⇒ Boolean Also known as: admin_enabled?
Indicates whether the wires in the wire group are enabled. When false, the
wires in the wire group are disabled. When true and when there is
simultaneously no wire-specific override of adminEnabled to false, a given
wire is enabled. Defaults to true.
Corresponds to the JSON property adminEnabled
61819 61820 61821 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61819 def admin_enabled @admin_enabled end |
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
Corresponds to the JSON property creationTimestamp
61825 61826 61827 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61825 def @creation_timestamp end |
#description ⇒ String
An optional description of the wire group.
Corresponds to the JSON property description
61830 61831 61832 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61830 def description @description end |
#endpoints ⇒ Hash<String,Google::Apis::ComputeAlpha::WireGroupEndpoint>
A map that contains the logical endpoints of the wire group. Specify key-value
pairs for the map as follows: - Key: an RFC1035 user-specified label. - Value:
an Endpoint object.
Corresponds to the JSON property endpoints
61837 61838 61839 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61837 def endpoints @endpoints end |
#id ⇒ Fixnum
[Output Only] The unique identifier for the resource type. The server
generates this identifier.
Corresponds to the JSON property id
61843 61844 61845 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61843 def id @id end |
#kind ⇒ String
[Output Only] Type of the resource. Always compute#wireGroups for wire groups.
Corresponds to the JSON property kind
61848 61849 61850 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61848 def kind @kind end |
#name ⇒ String
Name of the resource. Provided by the client when the resource is created. The
name must be 1-63 characters long, and comply with RFC1035. Specifically, the
name must be 1-63 characters long and match the regular expression [a-z]([-a-
z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
and all following characters must be a dash, lowercase letter, or digit,
except the last character, which cannot be a dash.
Corresponds to the JSON property name
61858 61859 61860 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61858 def name @name end |
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
61863 61864 61865 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61863 def self_link @self_link end |
#self_link_with_id ⇒ String
Corresponds to the JSON property selfLinkWithId
61868 61869 61870 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61868 def self_link_with_id @self_link_with_id end |
#service_level ⇒ Google::Apis::ComputeAlpha::WireGroupServiceLevel
Service level details determined for the wire group configuration.
Corresponds to the JSON property serviceLevel
61873 61874 61875 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61873 def service_level @service_level end |
#topology ⇒ Google::Apis::ComputeAlpha::WireGroupTopology
Topology details for the wire group.
Corresponds to the JSON property topology
61878 61879 61880 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61878 def topology @topology end |
#wire_group_properties ⇒ Google::Apis::ComputeAlpha::WireGroupProperties
The properties of a wire group. These properties determine how a group of
redundant wires are created and managed.
Corresponds to the JSON property wireGroupProperties
61884 61885 61886 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61884 def wire_group_properties @wire_group_properties end |
#wire_inputs ⇒ Hash<String,Google::Apis::ComputeAlpha::WireGroupWireInputs>
A map that contains optional settings for individual wires. Specify key-value
pairs for the map as follows: - Key: the label of an existing wire. To view a
wire label and its format, see the wires[].label field. - Value: a WireInputs
object.
Corresponds to the JSON property wireInputs
61892 61893 61894 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61892 def wire_inputs @wire_inputs end |
#wire_properties ⇒ Google::Apis::ComputeAlpha::WireProperties
The properties of a wire.
Corresponds to the JSON property wireProperties
61897 61898 61899 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61897 def wire_properties @wire_properties end |
#wires ⇒ Array<Google::Apis::ComputeAlpha::Wire>
The single/redundant wire(s) managed by the wire group.
Corresponds to the JSON property wires
61902 61903 61904 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61902 def wires @wires end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
61909 61910 61911 61912 61913 61914 61915 61916 61917 61918 61919 61920 61921 61922 61923 61924 61925 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 61909 def update!(**args) @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @endpoints = args[:endpoints] if args.key?(:endpoints) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @service_level = args[:service_level] if args.key?(:service_level) @topology = args[:topology] if args.key?(:topology) @wire_group_properties = args[:wire_group_properties] if args.key?(:wire_group_properties) @wire_inputs = args[:wire_inputs] if args.key?(:wire_inputs) @wire_properties = args[:wire_properties] if args.key?(:wire_properties) @wires = args[:wires] if args.key?(:wires) end |