Class: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SecurityContext

Returns a new instance of SecurityContext



3748
3749
3750
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3748

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

Instance Attribute Details

#securitiesArray<String>

The security types in this context. Corresponds to the JSON property securities

Returns:

  • (Array<String>)


3746
3747
3748
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3746

def securities
  @securities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3753
3754
3755
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3753

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