Class: Google::Apis::DatafusionV1beta1::LocationAssignment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationAssignment

Returns a new instance of LocationAssignment.



1128
1129
1130
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1128

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

Instance Attribute Details

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


1121
1122
1123
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1121

def location
  @location
end

#location_typeString

Corresponds to the JSON property locationType

Returns:

  • (String)


1126
1127
1128
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1126

def location_type
  @location_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1133
1134
1135
1136
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1133

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