Class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationAssignment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudReliabilityZicyWs3DataplaneProtosLocationAssignment

Returns a new instance of CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.



278
279
280
# File 'lib/google/apis/dataplex_v1/classes.rb', line 278

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

Instance Attribute Details

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


271
272
273
# File 'lib/google/apis/dataplex_v1/classes.rb', line 271

def location
  @location
end

#location_typeString

Corresponds to the JSON property locationType

Returns:

  • (String)


276
277
278
# File 'lib/google/apis/dataplex_v1/classes.rb', line 276

def location_type
  @location_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



283
284
285
286
# File 'lib/google/apis/dataplex_v1/classes.rb', line 283

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