Class: Google::Apis::ApihubV1::GoogleCloudApihubV1Range

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1Range

Returns a new instance of GoogleCloudApihubV1Range.



4436
4437
4438
# File 'lib/google/apis/apihub_v1/classes.rb', line 4436

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

Instance Attribute Details

#endGoogle::Apis::ApihubV1::GoogleCloudApihubV1Point

Point within the file (line and character). Corresponds to the JSON property end



4429
4430
4431
# File 'lib/google/apis/apihub_v1/classes.rb', line 4429

def end
  @end
end

#startGoogle::Apis::ApihubV1::GoogleCloudApihubV1Point

Point within the file (line and character). Corresponds to the JSON property start



4434
4435
4436
# File 'lib/google/apis/apihub_v1/classes.rb', line 4434

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4441
4442
4443
4444
# File 'lib/google/apis/apihub_v1/classes.rb', line 4441

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