Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCoordinate

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/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.



7151
7152
7153
# File 'lib/google/apis/integrations_v1/classes.rb', line 7151

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

Instance Attribute Details

#xFixnum

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

Returns:

  • (Fixnum)


7144
7145
7146
# File 'lib/google/apis/integrations_v1/classes.rb', line 7144

def x
  @x
end

#yFixnum

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

Returns:

  • (Fixnum)


7149
7150
7151
# File 'lib/google/apis/integrations_v1/classes.rb', line 7149

def y
  @y
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7156
7157
7158
7159
# File 'lib/google/apis/integrations_v1/classes.rb', line 7156

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