Class: Google::Apis::NetworkconnectivityV1alpha1::BillingView

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkconnectivity_v1alpha1/classes.rb,
lib/google/apis/networkconnectivity_v1alpha1/representations.rb,
lib/google/apis/networkconnectivity_v1alpha1/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.



170
171
172
# File 'lib/google/apis/networkconnectivity_v1alpha1/classes.rb', line 170

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

Instance Attribute Details

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

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



168
169
170
# File 'lib/google/apis/networkconnectivity_v1alpha1/classes.rb', line 168

def report_requests
  @report_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



175
176
177
# File 'lib/google/apis/networkconnectivity_v1alpha1/classes.rb', line 175

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