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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/games_v1/classes.rb,
generated/google/apis/games_v1/representations.rb,
generated/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.



686
687
688
# File 'generated/google/apis/games_v1/classes.rb', line 686

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)


684
685
686
# File 'generated/google/apis/games_v1/classes.rb', line 684

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



691
692
693
# File 'generated/google/apis/games_v1/classes.rb', line 691

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