class Google::Apis::BigqueryV2::MaterializedViewDefinition
Attributes
- Optional
- TrustedTester
-
Enable automatic refresh of the materialized view
when the base table is updated. The default value is “true”. Corresponds to the JSON property `enableRefresh` @return [Boolean]
- Optional
- TrustedTester
-
Enable automatic refresh of the materialized view
when the base table is updated. The default value is “true”. Corresponds to the JSON property `enableRefresh` @return [Boolean]
- Output-only
- TrustedTester
-
The time when this materialized view was last
modified, in milliseconds since the epoch. Corresponds to the JSON property `lastRefreshTime` @return [Fixnum]
- Required
-
A query whose result is persisted.
Corresponds to the JSON property `query` @return [String]
- Optional
- TrustedTester
-
The maximum frequency at which this materialized
view will be refreshed. The default value is “1800000” (30 minutes). Corresponds to the JSON property `refreshIntervalMs` @return [Fixnum]
Public Class Methods
# File lib/google/apis/bigquery_v2/classes.rb, line 4496 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 4501 def update!(**args) @enable_refresh = args[:enable_refresh] if args.key?(:enable_refresh) @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time) @query = args[:query] if args.key?(:query) @refresh_interval_ms = args[:refresh_interval_ms] if args.key?(:refresh_interval_ms) end