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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/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.



318
319
320
# File 'generated/google/apis/bigquery_v2/classes.rb', line 318

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

Instance Attribute Details

#dFixnum

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

Returns:

  • (Fixnum)


306
307
308
# File 'generated/google/apis/bigquery_v2/classes.rb', line 306

def d
  @d
end

#pFixnum

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

Returns:

  • (Fixnum)


311
312
313
# File 'generated/google/apis/bigquery_v2/classes.rb', line 311

def p
  @p
end

#qFixnum

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

Returns:

  • (Fixnum)


316
317
318
# File 'generated/google/apis/bigquery_v2/classes.rb', line 316

def q
  @q
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



323
324
325
326
327
# File 'generated/google/apis/bigquery_v2/classes.rb', line 323

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