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

Overview

Output only. A security context.

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.



3721
3722
3723
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3721

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


3719
3720
3721
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3719

def securities
  @securities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3726
3727
3728
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3726

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