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



177
178
179
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 177

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>)


175
176
177
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 175

def securities
  @securities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



182
183
184
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 182

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