Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCoordinate

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

Overview

Configuration detail of coordinate, it used for UI

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCoordinate

Returns a new instance of GoogleCloudIntegrationsV1alphaCoordinate.



5938
5939
5940
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5938

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

Instance Attribute Details

#xFixnum

Required. X axis of the coordinate Corresponds to the JSON property x

Returns:

  • (Fixnum)


5931
5932
5933
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5931

def x
  @x
end

#yFixnum

Required. Y axis of the coordinate Corresponds to the JSON property y

Returns:

  • (Fixnum)


5936
5937
5938
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5936

def y
  @y
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5943
5944
5945
5946
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5943

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