google_api_you_tube_reporting v0.0.1 GoogleApi.YouTubeReporting.V1.Api.ReportTypes View Source
API calls for all endpoints tagged ReportTypes
.
Link to this section Summary
Functions
Lists report types
Link to this section Functions
Link to this function
youtubereporting_report_types_list(connection, opts \\ [])
View Source
youtubereporting_report_types_list(Tesla.Env.client, keyword) :: {:ok, GoogleApi.YouTubeReporting.V1.Model.ListReportTypesResponse.t} | {:error, Tesla.Env.t}
Lists report types.
Parameters
- connection (GoogleApi.YouTubeReporting.V1.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :fields (String): Selector specifying which fields to include in a partial response.
- :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
- :__/xgafv (String): V1 error format.
- :callback (String): JSONP
- :alt (String): Data format for response.
- :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :access_token (String): OAuth access token.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
- :pp (Boolean): Pretty-print response.
- :bearer_token (String): OAuth bearer token.
- :oauth_token (String): OAuth 2.0 token for the current user.
- :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :include_system_managed (Boolean): If set to true, also system-managed report types will be returned; otherwise only the report types that can be used to create new reporting jobs will be returned.
- :page_token (String): A token identifying a page of results the server should return. Typically, this is the value of ListReportTypesResponse.next_page_token returned in response to the previous call to the `ListReportTypes` method.
- :page_size (Integer): Requested page size. Server may return fewer report types than requested. If unspecified, server will pick an appropriate default.
- :on_behalf_of_content_owner (String): The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
Returns
{:ok, %GoogleApi.YouTubeReporting.V1.Model.ListReportTypesResponse{}} on success {:error, info} on failure