GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTSTerminalLocation
Object representing information that identifies a terminal location.
-
The point location of the terminal.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) GMTSLatLng *point;
-
Human-readable name of the terminal location.
Declaration
Swift
var terminalLocationLabel: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *terminalLocationLabel;
-
A longer description of the terminal location, which may include how to get to the location.
Declaration
Swift
var terminalLocationDescription: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *terminalLocationDescription;
-
Declaration
Swift
var placeID: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *placeID;
-
A generated ID if the place ID is not available. The ID is nil if there is already a valid place
ID.
Declaration
Swift
var generatedID: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *generatedID;
-
Indicates the access point ID of the current terminal location for the associated trip.
If an associated trip does not exist, the value is nil. Requires an associated trip.
Declaration
Swift
var accessPointID: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *accessPointID;
-
Initializes an instance of GMTSTerminalLocation
.
Declaration
Swift
init(point: GMTSLatLng?, label terminalLocationLabel: String?, description terminalLocationDescription: String?, placeID: String?, generatedID: String?, accessPointID: String?)
Objective-C
- (nonnull instancetype)initWithPoint:(nullable GMTSLatLng *)point
label:(nullable NSString *)terminalLocationLabel
description:
(nullable NSString *)terminalLocationDescription
placeID:(nullable NSString *)placeID
generatedID:(nullable NSString *)generatedID
accessPointID:(nullable NSString *)accessPointID;
Parameters
point
|
The point location of the terminal.
|
terminalLocationLabel
|
Human-readable name of the terminal location.
|
terminalLocationDescription
|
A longer description of the terminal location, which may
include how to get to the location.
|
placeID
|
The Place ID of the terminal point.
|
generatedID
|
A generated ID if the place ID is not available.
|
accessPointID
|
An access point ID of the current terminal location from the associated
trip.
|
-
Declaration
Objective-C
- (nonnull instancetype)init;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGMTSTerminalLocation\u003c/code\u003e object represents information about a terminal location, including its point location, a human-readable label, and a longer description.\u003c/p\u003e\n"],["\u003cp\u003eEach terminal location can be identified by a \u003ccode\u003eplaceID\u003c/code\u003e, or, if not available, a \u003ccode\u003egeneratedID\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eaccessPointID\u003c/code\u003e can also be associated with a terminal location if a trip exists for that terminal.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eGMTSTerminalLocation\u003c/code\u003e object is created using the \u003ccode\u003e-initWithPoint:label:description:placeID:generatedID:accessPointID:\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe method \u003ccode\u003einit\u003c/code\u003e is not available for this class, and the appropriate initializer should be used instead.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTSTerminalLocation\n====================\n\n @interface GMTSTerminalLocation : ../Classes/GMTCImmutableData.html\n\nObject representing information that identifies a terminal location.\n- `\n ``\n ``\n `\n\n ### [point](#/c:objc(cs)GMTSTerminalLocation(py)point)\n\n `\n ` \n The point location of the terminal. \n\n #### Declaration\n\n Swift \n\n @NSCopying var point: ../Classes/GMTSLatLng.html? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) ../Classes/GMTSLatLng.html *point;\n\n- `\n ``\n ``\n `\n\n ### [terminalLocationLabel](#/c:objc(cs)GMTSTerminalLocation(py)terminalLocationLabel)\n\n `\n ` \n Human-readable name of the terminal location. \n\n #### Declaration\n\n Swift \n\n var terminalLocationLabel: String? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) NSString *terminalLocationLabel;\n\n- `\n ``\n ``\n `\n\n ### [terminalLocationDescription](#/c:objc(cs)GMTSTerminalLocation(py)terminalLocationDescription)\n\n `\n ` \n A longer description of the terminal location, which may include how to get to the location. \n\n #### Declaration\n\n Swift \n\n var terminalLocationDescription: String? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) NSString *terminalLocationDescription;\n\n- `\n ``\n ``\n `\n\n ### [placeID](#/c:objc(cs)GMTSTerminalLocation(py)placeID)\n\n `\n ` \n The Place ID of the terminal point.\n Refer to \u003chttps://developers.google.com/places/web-service/place-id\u003e for more detail. \n\n #### Declaration\n\n Swift \n\n var placeID: String? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) NSString *placeID;\n\n- `\n ``\n ``\n `\n\n ### [generatedID](#/c:objc(cs)GMTSTerminalLocation(py)generatedID)\n\n `\n ` \n A generated ID if the place ID is not available. The ID is nil if there is already a valid place\n ID. \n\n #### Declaration\n\n Swift \n\n var generatedID: String? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) NSString *generatedID;\n\n- `\n ``\n ``\n `\n\n ### [accessPointID](#/c:objc(cs)GMTSTerminalLocation(py)accessPointID)\n\n `\n ` \n Indicates the access point ID of the current terminal location for the associated trip.\n If an associated trip does not exist, the value is nil. Requires an associated trip. \n\n #### Declaration\n\n Swift \n\n var accessPointID: String? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) NSString *accessPointID;\n\n- `\n ``\n ``\n `\n\n ### [-initWithPoint:label:description:placeID:generatedID:accessPointID:](#/c:objc(cs)GMTSTerminalLocation(im)initWithPoint:label:description:placeID:generatedID:accessPointID:)\n\n `\n ` \n Initializes an instance of `GMTSTerminalLocation`. \n\n #### Declaration\n\n Swift \n\n init(point: ../Classes/GMTSLatLng.html?, label terminalLocationLabel: String?, description terminalLocationDescription: String?, placeID: String?, generatedID: String?, accessPointID: String?)\n\n Objective-C \n\n - (nonnull instancetype)initWithPoint:(nullable ../Classes/GMTSLatLng.html *)point\n label:(nullable NSString *)terminalLocationLabel\n description:\n (nullable NSString *)terminalLocationDescription\n placeID:(nullable NSString *)placeID\n generatedID:(nullable NSString *)generatedID\n accessPointID:(nullable NSString *)accessPointID;\n\n #### Parameters\n\n |-------------------------------------|----------------------------------------------------------------------------------------------|\n | ` `*point*` ` | The point location of the terminal. |\n | ` `*terminalLocationLabel*` ` | Human-readable name of the terminal location. |\n | ` `*terminalLocationDescription*` ` | A longer description of the terminal location, which may include how to get to the location. |\n | ` `*placeID*` ` | The Place ID of the terminal point. |\n | ` `*generatedID*` ` | A generated ID if the place ID is not available. |\n | ` `*accessPointID*` ` | An access point ID of the current terminal location from the associated trip. |\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMTSTerminalLocation(im)init)\n\n `\n ` \n Unavailable \n Use [-initWithPoint:label:description:placeID:generatedID:accessPointID:](../Classes/GMTSTerminalLocation.html#/c:objc(cs)GMTSTerminalLocation(im)initWithPoint:label:description:placeID:generatedID:accessPointID:)\n instead. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;"]]