Class: Google::Apis::ApihubV1::GoogleCloudApihubV1Range
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1Range
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
Object describing where in the file the issue was found.
Instance Attribute Summary collapse
-
#end ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Point
Point within the file (line and character).
-
#start ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Point
Point within the file (line and character).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1Range
constructor
A new instance of GoogleCloudApihubV1Range.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1Range
Returns a new instance of GoogleCloudApihubV1Range.
4218 4219 4220 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Point
Point within the file (line and character).
Corresponds to the JSON property end
4211 4212 4213 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4211 def end @end end |
#start ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Point
Point within the file (line and character).
Corresponds to the JSON property start
4216 4217 4218 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4216 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4223 4224 4225 4226 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4223 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end |