Class: Google::Apis::PrivatecaV1beta1::BillingView

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

Overview

Message for reporting billing requests through Eventstream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BillingView

Returns a new instance of BillingView.



265
266
267
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 265

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

Instance Attribute Details

#report_requestsArray<Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1ReportRequest>

Billing requests to be reported for cloud.eventstream.v2.ResourceEvent 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



263
264
265
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 263

def report_requests
  @report_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



270
271
272
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 270

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