Class: Google::Ads::MarketingPlatform::Admin::V1alpha::ReportPropertyUsageResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/marketingplatform/admin/v1alpha/marketingplatform_admin.rb

Overview

Response message for ReportPropertyUsage RPC.

Defined Under Namespace

Classes: BillInfo, PropertyUsage

Instance Attribute Summary collapse

Instance Attribute Details

#bill_info::Google::Ads::MarketingPlatform::Admin::V1alpha::ReportPropertyUsageResponse::BillInfo

Returns Bill amount in the specified organization and month.

Will be empty if user only has access to usage data.

Returns:



220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# File 'proto_docs/google/marketingplatform/admin/v1alpha/marketingplatform_admin.rb', line 220

class ReportPropertyUsageResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains the count of events received by the property, along with metadata
  # that influences the volume of `billable` events.
  # @!attribute [rw] property
  #   @return [::String]
  #     The name of the Google Analytics Admin API property resource.
  #
  #     Format: analyticsadmin.googleapis.com/properties/\\{property_id}
  # @!attribute [rw] display_name
  #   @return [::String]
  #     The display name of the property.
  # @!attribute [rw] account_id
  #   @return [::Integer]
  #     The ID of the property's parent account.
  # @!attribute [rw] service_level
  #   @return [::Google::Ads::MarketingPlatform::Admin::V1alpha::AnalyticsServiceLevel]
  #     The service level of the property.
  # @!attribute [rw] property_type
  #   @return [::Google::Ads::MarketingPlatform::Admin::V1alpha::AnalyticsPropertyType]
  #     The subtype of the analytics property. This affects the billable event
  #     count.
  # @!attribute [rw] total_event_count
  #   @return [::Integer]
  #     Total event count that the property received during the requested month.
  # @!attribute [rw] billable_event_count
  #   @return [::Integer]
  #     The number of events for which the property is billed in the requested
  #     month.
  class PropertyUsage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Contains the bill amount.
  # @!attribute [rw] base_fee
  #   @return [::Google::Type::Money]
  #     The amount of the monthly base fee.
  # @!attribute [rw] event_fee
  #   @return [::Google::Type::Money]
  #     The amount of the event fee.
  # @!attribute [rw] price_protection_credit
  #   @return [::Google::Type::Money]
  #     The amount of the price protection credit, this is only available for
  #     eligible customers.
  # @!attribute [rw] total
  #   @return [::Google::Type::Money]
  #     The total amount of the bill.
  class BillInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#property_usages::Array<::Google::Ads::MarketingPlatform::Admin::V1alpha::ReportPropertyUsageResponse::PropertyUsage>

Returns Usage data for all properties in the specified organization and month.

Returns:



220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# File 'proto_docs/google/marketingplatform/admin/v1alpha/marketingplatform_admin.rb', line 220

class ReportPropertyUsageResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains the count of events received by the property, along with metadata
  # that influences the volume of `billable` events.
  # @!attribute [rw] property
  #   @return [::String]
  #     The name of the Google Analytics Admin API property resource.
  #
  #     Format: analyticsadmin.googleapis.com/properties/\\{property_id}
  # @!attribute [rw] display_name
  #   @return [::String]
  #     The display name of the property.
  # @!attribute [rw] account_id
  #   @return [::Integer]
  #     The ID of the property's parent account.
  # @!attribute [rw] service_level
  #   @return [::Google::Ads::MarketingPlatform::Admin::V1alpha::AnalyticsServiceLevel]
  #     The service level of the property.
  # @!attribute [rw] property_type
  #   @return [::Google::Ads::MarketingPlatform::Admin::V1alpha::AnalyticsPropertyType]
  #     The subtype of the analytics property. This affects the billable event
  #     count.
  # @!attribute [rw] total_event_count
  #   @return [::Integer]
  #     Total event count that the property received during the requested month.
  # @!attribute [rw] billable_event_count
  #   @return [::Integer]
  #     The number of events for which the property is billed in the requested
  #     month.
  class PropertyUsage
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Contains the bill amount.
  # @!attribute [rw] base_fee
  #   @return [::Google::Type::Money]
  #     The amount of the monthly base fee.
  # @!attribute [rw] event_fee
  #   @return [::Google::Type::Money]
  #     The amount of the event fee.
  # @!attribute [rw] price_protection_credit
  #   @return [::Google::Type::Money]
  #     The amount of the price protection credit, this is only available for
  #     eligible customers.
  # @!attribute [rw] total
  #   @return [::Google::Type::Money]
  #     The total amount of the bill.
  class BillInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end