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
2514 2515 2516 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2514 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
2507 2508 2509 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2507 def last_refresh_time @last_refresh_time end |
#query ⇒ String
[Required] A query whose result is persisted.
Corresponds to the JSON property query
2512 2513 2514 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2512 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2519 2520 2521 2522 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2519 def update!(**args) @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time) @query = args[:query] if args.key?(:query) end |