Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultQuery
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultQuery
- 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
-
#description ⇒ String
Output only.
-
#sql ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataDocumentationResultQuery
constructor
A new instance of GoogleCloudDataplexV1DataDocumentationResultQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#description ⇒ String
Output only. The description for the query.
Corresponds to the JSON property description
1979 1980 1981 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1979 def description @description end |
#sql ⇒ String
Output only. The SQL query string which can be executed.
Corresponds to the JSON property sql
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 |