Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ViewSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb

Overview

Table view specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1ViewSpec

Returns a new instance of GoogleCloudDatacatalogV1ViewSpec.



1938
1939
1940
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1938

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

Instance Attribute Details

#view_queryString

Output only. The query that defines the table view. Corresponds to the JSON property viewQuery

Returns:

  • (String)


1936
1937
1938
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1936

def view_query
  @view_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1943
1944
1945
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1943

def update!(**args)
  @view_query = args[:view_query] if args.key?(:view_query)
end