Class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig

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

Overview

Configuration for exporting cluster resource usages.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ResourceUsageExportConfig

Returns a new instance of ResourceUsageExportConfig.



3370
3371
3372
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3370

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

Instance Attribute Details

#bigquery_destinationGoogle::Apis::ContainerV1beta1::BigQueryDestination

Parameters for using BigQuery as the destination of resource usage export. Corresponds to the JSON property bigqueryDestination



3356
3357
3358
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3356

def bigquery_destination
  @bigquery_destination
end

#consumption_metering_configGoogle::Apis::ContainerV1beta1::ConsumptionMeteringConfig

Parameters for controlling consumption metering. Corresponds to the JSON property consumptionMeteringConfig



3361
3362
3363
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3361

def consumption_metering_config
  @consumption_metering_config
end

#enable_network_egress_meteringBoolean Also known as: enable_network_egress_metering?

Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic. Corresponds to the JSON property enableNetworkEgressMetering

Returns:

  • (Boolean)


3367
3368
3369
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3367

def enable_network_egress_metering
  @enable_network_egress_metering
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3375
3376
3377
3378
3379
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3375

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