Class: Google::Apis::CloudidentityV1beta1::Setting

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb

Overview

Setting

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Setting

Returns a new instance of Setting.



4291
4292
4293
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4291

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#typeString

Required. Immutable. The type of the Setting. . Corresponds to the JSON property type

Returns:

  • (String)


4284
4285
4286
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4284

def type
  @type
end

#valueHash<String,Object>

Required. The value of the Setting. Corresponds to the JSON property value

Returns:

  • (Hash<String,Object>)


4289
4290
4291
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4289

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4296
4297
4298
4299
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4296

def update!(**args)
  @type = args[:type] if args.key?(:type)
  @value = args[:value] if args.key?(:value)
end