Module: Google::Ads::AdManager::V1::UserService::Paths
- Extended by:
- Paths
- Included in:
- Paths, Rest::Client
- Defined in:
- lib/google/ads/ad_manager/v1/user_service/paths.rb
Overview
Path helper methods for the UserService API.
Instance Method Summary collapse
-
#user_path(network_code:, user:) ⇒ ::String
Create a fully-qualified User resource string.
Instance Method Details
#user_path(network_code:, user:) ⇒ ::String
Create a fully-qualified User resource string.
The resource will be in the following format:
networks/{network_code}/users/{user}
38 39 40 41 42 |
# File 'lib/google/ads/ad_manager/v1/user_service/paths.rb', line 38 def user_path network_code:, user: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/users/#{user}" end |