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.



393
394
395
# File 'lib/google/apis/bigquery_v2/classes.rb', line 393

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

Instance Attribute Details

#dFixnum

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

Returns:

  • (Fixnum)


381
382
383
# File 'lib/google/apis/bigquery_v2/classes.rb', line 381

def d
  @d
end

#pFixnum

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

Returns:

  • (Fixnum)


386
387
388
# File 'lib/google/apis/bigquery_v2/classes.rb', line 386

def p
  @p
end

#qFixnum

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

Returns:

  • (Fixnum)


391
392
393
# File 'lib/google/apis/bigquery_v2/classes.rb', line 391

def q
  @q
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



398
399
400
401
402
# File 'lib/google/apis/bigquery_v2/classes.rb', line 398

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