Class: Google::Apis::BigqueryV2::MaterializedViewDefinition
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::MaterializedViewDefinition
- 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
Instance Attribute Summary collapse
-
#last_refresh_time ⇒ Fixnum
[Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
-
#query ⇒ String
[Required] A query whose result is persisted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaterializedViewDefinition
constructor
A new instance of MaterializedViewDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MaterializedViewDefinition
Returns a new instance of MaterializedViewDefinition
2582 2583 2584 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2582 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_refresh_time ⇒ Fixnum
[Output-only] [TrustedTester] The time when this materialized view was last
modified, in milliseconds since the epoch.
Corresponds to the JSON property lastRefreshTime
2575 2576 2577 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2575 def last_refresh_time @last_refresh_time end |
#query ⇒ String
[Required] A query whose result is persisted.
Corresponds to the JSON property query
2580 2581 2582 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2580 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2587 2588 2589 2590 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2587 def update!(**args) @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time) @query = args[:query] if args.key?(:query) end |