Class: Google::Apis::FileV1beta1::BillingView

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

Overview

Message for reporting billing requests through Eventstream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BillingView

Returns a new instance of BillingView.



103
104
105
# File 'generated/google/apis/file_v1beta1/classes.rb', line 103

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

Instance Attribute Details

#report_requestsArray<Google::Apis::FileV1beta1::ReportRequest>

Billing requests to be reported for an Eventstream resource. Each request contains billing operations to be reported under a service name. See go/billing-view-construction for documentation on constructing billing view report requests. Corresponds to the JSON property reportRequests



101
102
103
# File 'generated/google/apis/file_v1beta1/classes.rb', line 101

def report_requests
  @report_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



108
109
110
# File 'generated/google/apis/file_v1beta1/classes.rb', line 108

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