Class: Google::Apis::MarketingplatformadminV1alpha::ReportPropertyUsageRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/marketingplatformadmin_v1alpha/classes.rb,
lib/google/apis/marketingplatformadmin_v1alpha/representations.rb,
lib/google/apis/marketingplatformadmin_v1alpha/representations.rb

Overview

Request message for ReportPropertyUsage RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportPropertyUsageRequest

Returns a new instance of ReportPropertyUsageRequest.



430
431
432
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 430

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#monthString

Required. The target month to list property usages. Format: YYYY-MM. For example, "2025-05" Corresponds to the JSON property month

Returns:

  • (String)


428
429
430
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 428

def month
  @month
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



435
436
437
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 435

def update!(**args)
  @month = args[:month] if args.key?(:month)
end