Class: Google::Apis::ParametermanagerV1::ParameterVersion
- Inherits:
-
Object
- Object
- Google::Apis::ParametermanagerV1::ParameterVersion
- 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 ParameterVersion resource
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#disabled ⇒ Boolean
(also: #disabled?)
Optional.
-
#kms_key_version ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#payload ⇒ Google::Apis::ParametermanagerV1::ParameterVersionPayload
Message for storing a ParameterVersion resource's payload data Corresponds to the JSON property
payload. -
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParameterVersion
constructor
A new instance of ParameterVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParameterVersion
Returns a new instance of ParameterVersion.
278 279 280 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. [Output only] Create time stamp
Corresponds to the JSON property createTime
243 244 245 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 243 def create_time @create_time end |
#disabled ⇒ Boolean Also known as: disabled?
Optional. Disabled boolean to determine if a ParameterVersion acts as a
metadata only resource (payload is never returned if disabled is true). If
true any calls will always default to BASIC view even if the user explicitly
passes FULL view as part of the request. A render call on a disabled resource
fails with an error. Default value is False.
Corresponds to the JSON property disabled
252 253 254 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 252 def disabled @disabled end |
#kms_key_version ⇒ String
Optional. Output only. [Output only] The resource name of the KMS key version
used to encrypt the ParameterVersion payload. This field is populated only if
the Parameter resource has customer managed encryption key (CMEK) configured.
Corresponds to the JSON property kmsKeyVersion
260 261 262 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 260 def kms_key_version @kms_key_version end |
#name ⇒ String
Identifier. [Output only] The resource name of the ParameterVersion in the
format projects/*/locations/*/parameters/*/versions/*.
Corresponds to the JSON property name
266 267 268 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 266 def name @name end |
#payload ⇒ Google::Apis::ParametermanagerV1::ParameterVersionPayload
Message for storing a ParameterVersion resource's payload data
Corresponds to the JSON property payload
271 272 273 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 271 def payload @payload end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
276 277 278 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 276 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
283 284 285 286 287 288 289 290 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 283 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @disabled = args[:disabled] if args.key?(:disabled) @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version) @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 |