Class: Google::Apis::ParametermanagerV1::Parameter
- Inherits:
-
Object
- Object
- Google::Apis::ParametermanagerV1::Parameter
- 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 Parameter resource
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#format ⇒ String
Optional.
-
#kms_key ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Identifier.
-
#policy_member ⇒ Google::Apis::ParametermanagerV1::ResourcePolicyMember
Output-only policy member strings of a Google Cloud resource's built-in identity.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Parameter
constructor
A new instance of Parameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Parameter
Returns a new instance of Parameter.
220 221 222 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 220 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
182 183 184 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 182 def create_time @create_time end |
#format ⇒ String
Optional. Specifies the format of a Parameter.
Corresponds to the JSON property format
187 188 189 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 187 def format @format end |
#kms_key ⇒ String
Optional. Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key will
be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is projects/*/locations/*/keyRings/*/
cryptoKeys/*.
Corresponds to the JSON property kmsKey
196 197 198 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 196 def kms_key @kms_key end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
201 202 203 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 201 def labels @labels end |
#name ⇒ String
Identifier. [Output only] The resource name of the Parameter in the format
projects/*/locations/*/parameters/*.
Corresponds to the JSON property name
207 208 209 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 207 def name @name end |
#policy_member ⇒ Google::Apis::ParametermanagerV1::ResourcePolicyMember
Output-only policy member strings of a Google Cloud resource's built-in
identity.
Corresponds to the JSON property policyMember
213 214 215 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 213 def policy_member @policy_member end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
218 219 220 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 218 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
225 226 227 228 229 230 231 232 233 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 225 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @format = args[:format] if args.key?(:format) @kms_key = args[:kms_key] if args.key?(:kms_key) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @policy_member = args[:policy_member] if args.key?(:policy_member) @update_time = args[:update_time] if args.key?(:update_time) end |