Class: Google::Apis::ParametermanagerV1::RenderParameterVersionResponse
- Inherits:
-
Object
- Object
- Google::Apis::ParametermanagerV1::RenderParameterVersionResponse
- 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 RenderParameterVersionResponse resource
Instance Attribute Summary collapse
-
#parameter_version ⇒ String
Output only.
-
#payload ⇒ Google::Apis::ParametermanagerV1::ParameterVersionPayload
Message for storing a ParameterVersion resource's payload data Corresponds to the JSON property
payload. -
#rendered_payload ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenderParameterVersionResponse
constructor
A new instance of RenderParameterVersionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RenderParameterVersionResponse
Returns a new instance of RenderParameterVersionResponse.
337 338 339 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 337 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parameter_version ⇒ String
Output only. Resource identifier of a ParameterVersion in the format projects/
*/locations/*/parameters/*/versions/*.
Corresponds to the JSON property parameterVersion
321 322 323 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 321 def parameter_version @parameter_version end |
#payload ⇒ Google::Apis::ParametermanagerV1::ParameterVersionPayload
Message for storing a ParameterVersion resource's payload data
Corresponds to the JSON property payload
326 327 328 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 326 def payload @payload end |
#rendered_payload ⇒ String
Output only. Server generated rendered version of the user provided payload
data (ParameterVersionPayload) which has substitutions of all (if any)
references to a SecretManager SecretVersion resources. This substitution only
works for a Parameter which is in JSON or YAML format.
Corresponds to the JSON property renderedPayload
NOTE: Values are automatically base64 encoded/decoded in the client library.
335 336 337 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 335 def rendered_payload @rendered_payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
342 343 344 345 346 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 342 def update!(**args) @parameter_version = args[:parameter_version] if args.key?(:parameter_version) @payload = args[:payload] if args.key?(:payload) @rendered_payload = args[:rendered_payload] if args.key?(:rendered_payload) end |