Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultQuery

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

Overview

A sample SQL query in data documentation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataDocumentationResultQuery

Returns a new instance of GoogleCloudDataplexV1DataDocumentationResultQuery.



1986
1987
1988
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1986

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

Instance Attribute Details

#descriptionString

Output only. The description for the query. Corresponds to the JSON property description

Returns:

  • (String)


1979
1980
1981
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1979

def description
  @description
end

#sqlString

Output only. The SQL query string which can be executed. Corresponds to the JSON property sql

Returns:

  • (String)


1984
1985
1986
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1984

def sql
  @sql
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1991
1992
1993
1994
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1991

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