Class: Google::Apis::BigqueryV2::DestinationTableProperties
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DestinationTableProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
[Optional] The description for the destination table.
-
#expiration_time ⇒ DateTime
[Internal] This field is for Google internal use only.
-
#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.
Constructor Details
#initialize(**args) ⇒ DestinationTableProperties
Returns a new instance of DestinationTableProperties.
1987 1988 1989 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1987 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
1965 1966 1967 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1965 def description @description end |
#expiration_time ⇒ DateTime
[Internal] This field is for Google internal use only.
Corresponds to the JSON property expirationTime
1970 1971 1972 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1970 def expiration_time @expiration_time 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
1977 1978 1979 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1977 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
1985 1986 1987 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1985 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1992 1993 1994 1995 1996 1997 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1992 def update!(**args) @description = args[:description] if args.key?(:description) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @friendly_name = args[:friendly_name] if args.key?(:friendly_name) @labels = args[:labels] if args.key?(:labels) end |