Class: Google::Apis::GamesV1::EndPoint
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::EndPoint
- 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
-
#url ⇒ String
A URL suitable for loading in a web browser for the requested endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndPoint
constructor
A new instance of EndPoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#url ⇒ String
A URL suitable for loading in a web browser for the requested endpoint.
Corresponds to the JSON property url
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 |