Class: Google::Apis::BigqueryV2::ArimaOrder

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

Overview

Arima order, can be used for both non-seasonal and seasonal parts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ArimaOrder

Returns a new instance of ArimaOrder.



353
354
355
# File 'lib/google/apis/bigquery_v2/classes.rb', line 353

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

Instance Attribute Details

#dFixnum

Order of the differencing part. Corresponds to the JSON property d

Returns:

  • (Fixnum)


341
342
343
# File 'lib/google/apis/bigquery_v2/classes.rb', line 341

def d
  @d
end

#pFixnum

Order of the autoregressive part. Corresponds to the JSON property p

Returns:

  • (Fixnum)


346
347
348
# File 'lib/google/apis/bigquery_v2/classes.rb', line 346

def p
  @p
end

#qFixnum

Order of the moving-average part. Corresponds to the JSON property q

Returns:

  • (Fixnum)


351
352
353
# File 'lib/google/apis/bigquery_v2/classes.rb', line 351

def q
  @q
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



358
359
360
361
362
# File 'lib/google/apis/bigquery_v2/classes.rb', line 358

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