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



1998
1999
2000
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1998

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


1996
1997
1998
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1996

def securities
  @securities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2003
2004
2005
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2003

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