Class: Google::Apis::DisplayvideoV1::PartnerGeneralConfig

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

Overview

General settings of a partner.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PartnerGeneralConfig

Returns a new instance of PartnerGeneralConfig.



7081
7082
7083
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7081

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

Instance Attribute Details

#currency_codeString

Immutable. Partner's currency in ISO 4217 format. Corresponds to the JSON property currencyCode

Returns:

  • (String)


7072
7073
7074
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7072

def currency_code
  @currency_code
end

#time_zoneString

Immutable. The standard TZ database name of the partner's time zone. For example, America/New_York. See more at: https://en.wikipedia.org/wiki/ List_of_tz_database_time_zones Corresponds to the JSON property timeZone

Returns:

  • (String)


7079
7080
7081
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7079

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7086
7087
7088
7089
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7086

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