google_api_service_consumer_management v0.18.0 GoogleApi.ServiceConsumerManagement.V1.Model.Billing View Source
Billing related configuration of the service.
The following example shows how to configure monitored resources and metrics for billing:
monitored_resources:
- type: library.googleapis.com/branch
labels:
- key: /city
description: The city where the library branch is located in.
- key: /name
description: The name of the branch.
metrics:
- name: library.googleapis.com/book/borrowed_count
metric_kind: DELTA
value_type: INT64
billing:
consumer_destinations:
- monitored_resource: library.googleapis.com/branch
metrics:
- library.googleapis.com/book/borrowed_count
Attributes
consumerDestinations
(type:list(GoogleApi.ServiceConsumerManagement.V1.Model.BillingDestination.t)
, default:nil
) - Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.ServiceConsumerManagement.V1.Model.Billing{ consumerDestinations: [ GoogleApi.ServiceConsumerManagement.V1.Model.BillingDestination.t() ] }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.