Class: Saklient::Cloud::Resources::Bridge
- Inherits:
-
Resource
- Object
- Resource
- Saklient::Cloud::Resources::Bridge
- Defined in:
- lib/saklient/cloud/resources/bridge.rb
Overview
ブリッジの実体1つに対応し, 属性の取得や操作を行うためのクラス.
Instance Attribute Summary (collapse)
-
- (String) description
説明.
-
- (String) id
readonly
ID.
-
- (String) name
名前.
-
- (Region) region
リージョン.
Instance Method Summary (collapse)
-
- (Bridge) reload
最新のリソース情報を再取得します.
-
- (Bridge) save
このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し, 新規作成または上書き保存します.
Instance Attribute Details
- (String) description
説明
190 191 192 |
# File 'lib/saklient/cloud/resources/bridge.rb', line 190 def description @description end |
- (String) id (readonly)
ID
114 115 116 |
# File 'lib/saklient/cloud/resources/bridge.rb', line 114 def id @id end |
- (String) name
名前
150 151 152 |
# File 'lib/saklient/cloud/resources/bridge.rb', line 150 def name @name end |
- (Region) region
リージョン
231 232 233 |
# File 'lib/saklient/cloud/resources/bridge.rb', line 231 def region @region end |
Instance Method Details
- (Bridge) reload
最新のリソース情報を再取得します.
81 82 83 |
# File 'lib/saklient/cloud/resources/bridge.rb', line 81 def reload return _reload end |
- (Bridge) save
このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し, 新規作成または上書き保存します.
74 75 76 |
# File 'lib/saklient/cloud/resources/bridge.rb', line 74 def save return _save end |