Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCoordinate
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCoordinate
- 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
-
#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.
7151 7152 7153 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#x ⇒ Fixnum
Required. X axis of the coordinate
Corresponds to the JSON property x
7144 7145 7146 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7144 def x @x end |
#y ⇒ Fixnum
Required. Y axis of the coordinate
Corresponds to the JSON property y
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 |