# GoogleRidesharingConsumer Framework Reference

# GMTSRequestOptionsSupport

    @protocol GMTSRequestOptionsSupport <NSObject>

Extension for support of set request options.
- `


  ### [-requestOptions](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Protocols/GMTSRequestOptionsSupport#/c:objc(pl)GMTSRequestOptionsSupport(im)requestOptions)


  ` The current request options. Could be nil if was not set.

  #### Declaration

  Swift

      func requestOptions() -> https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSRequestOptions.html?

  Objective-C

      - (nullable __kindof https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSRequestOptions.html *)requestOptions;

- `


  ### [-updatedRequestByApplyingOptions:](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Protocols/GMTSRequestOptionsSupport#/c:objc(pl)GMTSRequestOptionsSupport(im)updatedRequestByApplyingOptions:)


  ` Generate a new request by applying the current options.

  #### Declaration

  Swift

      func updatedRequest(byApplying requestOptions: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSRequestOptions.html?) -> Self

  Objective-C

      - (nonnull instancetype)updatedRequestByApplyingOptions:
          (nullable __kindof https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSRequestOptions.html *)requestOptions;

  #### Parameters

  |---|---|
  | ` requestOptions ` | The request options that want to be applied with. |