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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ArimaOrder

Returns a new instance of ArimaOrder.



275
276
277
# File 'generated/google/apis/bigquery_v2/classes.rb', line 275

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

Instance Attribute Details

#dFixnum

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

Returns:

  • (Fixnum)


263
264
265
# File 'generated/google/apis/bigquery_v2/classes.rb', line 263

def d
  @d
end

#pFixnum

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

Returns:

  • (Fixnum)


268
269
270
# File 'generated/google/apis/bigquery_v2/classes.rb', line 268

def p
  @p
end

#qFixnum

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

Returns:

  • (Fixnum)


273
274
275
# File 'generated/google/apis/bigquery_v2/classes.rb', line 273

def q
  @q
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



280
281
282
283
284
# File 'generated/google/apis/bigquery_v2/classes.rb', line 280

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