Class: TencentCloud::Cls::V20201016::AppointLabel
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::AppointLabel
- Defined in:
- lib/v20201016/models.rb
Overview
元数据Pod label标签结构体
Instance Attribute Summary collapse
-
#Keys ⇒ Object
- prefix 格式
[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*- name 格式([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]- key不能重复 注意:此字段可能返回 null,表示取不到有效值。.
- prefix 格式
-
#Type ⇒ Object
- prefix 格式
[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*- name 格式([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]- key不能重复 注意:此字段可能返回 null,表示取不到有效值。.
- prefix 格式
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, keys = nil) ⇒ AppointLabel
constructor
A new instance of AppointLabel.
Constructor Details
#initialize(type = nil, keys = nil) ⇒ AppointLabel
Returns a new instance of AppointLabel.
922 923 924 925 |
# File 'lib/v20201016/models.rb', line 922 def initialize(type=nil, keys=nil) @Type = type @Keys = keys end |
Instance Attribute Details
#Keys ⇒ Object
- prefix 格式
[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)* - name 格式
([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9] - key不能重复 注意:此字段可能返回 null,表示取不到有效值。
920 921 922 |
# File 'lib/v20201016/models.rb', line 920 def Keys @Keys end |
#Type ⇒ Object
- prefix 格式
[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)* - name 格式
([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9] - key不能重复 注意:此字段可能返回 null,表示取不到有效值。
920 921 922 |
# File 'lib/v20201016/models.rb', line 920 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
927 928 929 930 |
# File 'lib/v20201016/models.rb', line 927 def deserialize(params) @Type = params['Type'] @Keys = params['Keys'] end |