Class: Google::Apis::ParametermanagerV1::TemplateVersion
- Inherits:
-
Object
- Object
- Google::Apis::ParametermanagerV1::TemplateVersion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/parametermanager_v1/classes.rb,
lib/google/apis/parametermanager_v1/representations.rb,
lib/google/apis/parametermanager_v1/representations.rb
Overview
Message describing TemplateVersion resource
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#disabled ⇒ Boolean
(also: #disabled?)
Optional.
-
#name ⇒ String
Identifier.
-
#payload ⇒ Google::Apis::ParametermanagerV1::TemplateVersionPayload
Message for storing a TemplateVersion resource's payload data Corresponds to the JSON property
payload. -
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TemplateVersion
constructor
A new instance of TemplateVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TemplateVersion
Returns a new instance of TemplateVersion.
570 571 572 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 570 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Create time stamp
Corresponds to the JSON property createTime
545 546 547 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 545 def create_time @create_time end |
#disabled ⇒ Boolean Also known as: disabled?
Optional. Disabled boolean to determine if a TemplateVersion acts as a
metadata only resource (payload is never returned if disabled is true).
Corresponds to the JSON property disabled
551 552 553 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 551 def disabled @disabled end |
#name ⇒ String
Identifier. The resource name of the TemplateVersion in the format projects/*/
locations/*/templates/*/versions/*.
Corresponds to the JSON property name
558 559 560 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 558 def name @name end |
#payload ⇒ Google::Apis::ParametermanagerV1::TemplateVersionPayload
Message for storing a TemplateVersion resource's payload data
Corresponds to the JSON property payload
563 564 565 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 563 def payload @payload end |
#update_time ⇒ String
Output only. Update time stamp
Corresponds to the JSON property updateTime
568 569 570 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 568 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
575 576 577 578 579 580 581 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 575 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @disabled = args[:disabled] if args.key?(:disabled) @name = args[:name] if args.key?(:name) @payload = args[:payload] if args.key?(:payload) @update_time = args[:update_time] if args.key?(:update_time) end |