Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCoordinate
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCoordinate
- 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
-
#x ⇒ Fixnum
Required.
-
#y ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCoordinate
constructor
A new instance of GoogleCloudIntegrationsV1alphaCoordinate.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#x ⇒ Fixnum
Required. X axis of the coordinate
Corresponds to the JSON property x
5931 5932 5933 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5931 def x @x end |
#y ⇒ Fixnum
Required. Y axis of the coordinate
Corresponds to the JSON property y
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 |