Class: Google::Apis::ComputeAlpha::InterconnectsSetNameRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InterconnectsSetNameRequest
- 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
Request to rename an interconnect.
Instance Attribute Summary collapse
-
#current_name ⇒ String
The current name of the interconnect.
-
#name ⇒ String
The new name of the interconnect.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectsSetNameRequest
constructor
A new instance of InterconnectsSetNameRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectsSetNameRequest
Returns a new instance of InterconnectsSetNameRequest.
39163 39164 39165 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 39163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_name ⇒ String
The current name of the interconnect.
The name must be 1-63 characters long, and comply with RFC1035.
Corresponds to the JSON property currentName
39155 39156 39157 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 39155 def current_name @current_name end |
#name ⇒ String
The new name of the interconnect.
The name must be 1-63 characters long, and comply with RFC1035.
Corresponds to the JSON property name
39161 39162 39163 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 39161 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39168 39169 39170 39171 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 39168 def update!(**args) @current_name = args[:current_name] if args.key?(:current_name) @name = args[:name] if args.key?(:name) end |