Class: Google::Apis::GamesV1::EndPoint

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb

Overview

Container for a URL end point of the requested type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndPoint

Returns a new instance of EndPoint.



656
657
658
# File 'lib/google/apis/games_v1/classes.rb', line 656

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

Instance Attribute Details

#urlString

A URL suitable for loading in a web browser for the requested endpoint. Corresponds to the JSON property url

Returns:

  • (String)


654
655
656
# File 'lib/google/apis/games_v1/classes.rb', line 654

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



661
662
663
# File 'lib/google/apis/games_v1/classes.rb', line 661

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