Class: Google::Apis::BigqueryV2::DestinationTableProperties
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DestinationTableProperties
- 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
-
#description ⇒ String
[Optional] The description for the destination table.
-
#friendly_name ⇒ String
[Optional] The friendly name for the destination table.
-
#labels ⇒ Hash<String,String>
[Optional] The labels associated with this table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DestinationTableProperties
constructor
A new instance of DestinationTableProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DestinationTableProperties
Returns a new instance of DestinationTableProperties
1399 1400 1401 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1399 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
[Optional] The description for the destination table. This will only be used
if the destination table is newly created. If the table already exists and a
value different than the current description is provided, the job will fail.
Corresponds to the JSON property description
1382 1383 1384 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1382 def description @description end |
#friendly_name ⇒ String
[Optional] The friendly name for the destination table. This will only be used
if the destination table is newly created. If the table already exists and a
value different than the current friendly name is provided, the job will fail.
Corresponds to the JSON property friendlyName
1389 1390 1391 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1389 def friendly_name @friendly_name end |
#labels ⇒ Hash<String,String>
[Optional] The labels associated with this table. You can use these to
organize and group your tables. This will only be used if the destination
table is newly created. If the table already exists and labels are different
than the current labels are provided, the job will fail.
Corresponds to the JSON property labels
1397 1398 1399 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1397 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1404 1405 1406 1407 1408 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1404 def update!(**args) @description = args[:description] if args.key?(:description) @friendly_name = args[:friendly_name] if args.key?(:friendly_name) @labels = args[:labels] if args.key?(:labels) end |