google_api_logging v0.0.1 GoogleApi.Logging.V2.Api.MonitoredResourceDescriptors View Source

API calls for all endpoints tagged MonitoredResourceDescriptors.

Link to this section Summary

Functions

Lists the descriptors for monitored resource types used by Stackdriver Logging

Link to this section Functions

Link to this function logging_monitored_resource_descriptors_list(connection, opts \\ []) View Source
logging_monitored_resource_descriptors_list(Tesla.Env.client, keyword) ::
  {:ok, GoogleApi.Logging.V2.Model.ListMonitoredResourceDescriptorsResponse.t} |
  {:error, Tesla.Env.t}

Lists the descriptors for monitored resource types used by Stackdriver Logging.

Parameters

  • connection (GoogleApi.Logging.V2.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :page_token (String): Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
    • :page_size (Integer): Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

Returns

{:ok, %GoogleApi.Logging.V2.Model.ListMonitoredResourceDescriptorsResponse{}} on success {:error, info} on failure