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.



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

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

Instance Attribute Details

#dFixnum

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

Returns:

  • (Fixnum)


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

def d
  @d
end

#pFixnum

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

Returns:

  • (Fixnum)


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

def p
  @p
end

#qFixnum

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

Returns:

  • (Fixnum)


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

def q
  @q
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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