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.


3614
3615
3616
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3614

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

3612
3613
3614
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3612

def securities
  @securities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3619
3620
3621
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3619

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