class Google::Apis::BigqueryV2::ViewDefinition

Attributes

query[RW]
Required

A query that BigQuery executes when the view is referenced.

Corresponds to the JSON property `query` @return [String]

user_defined_function_resources[RW]
Experimental

Describes user-defined function resources used in the query.

Corresponds to the JSON property `userDefinedFunctionResources` @return [Array<Google::Apis::BigqueryV2::UserDefinedFunctionResource>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/bigquery_v2/classes.rb, line 2732
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/bigquery_v2/classes.rb, line 2737
def update!(**args)
  @query = args[:query] if args.key?(:query)
  @user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
end