Class: Google::Apis::ContainerV1::ResourceUsageExportConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ResourceUsageExportConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
Configuration for exporting cluster resource usages.
Instance Attribute Summary collapse
-
#bigquery_destination ⇒ Google::Apis::ContainerV1::BigQueryDestination
Parameters for using BigQuery as the destination of resource usage export.
-
#consumption_metering_config ⇒ Google::Apis::ContainerV1::ConsumptionMeteringConfig
Parameters for controlling consumption metering.
-
#enable_network_egress_metering ⇒ Boolean
(also: #enable_network_egress_metering?)
Whether to enable network egress metering for this cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceUsageExportConfig
constructor
A new instance of ResourceUsageExportConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceUsageExportConfig
Returns a new instance of ResourceUsageExportConfig.
4250 4251 4252 |
# File 'lib/google/apis/container_v1/classes.rb', line 4250 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_destination ⇒ Google::Apis::ContainerV1::BigQueryDestination
Parameters for using BigQuery as the destination of resource usage export.
Corresponds to the JSON property bigqueryDestination
4236 4237 4238 |
# File 'lib/google/apis/container_v1/classes.rb', line 4236 def bigquery_destination @bigquery_destination end |
#consumption_metering_config ⇒ Google::Apis::ContainerV1::ConsumptionMeteringConfig
Parameters for controlling consumption metering.
Corresponds to the JSON property consumptionMeteringConfig
4241 4242 4243 |
# File 'lib/google/apis/container_v1/classes.rb', line 4241 def consumption_metering_config @consumption_metering_config end |
#enable_network_egress_metering ⇒ Boolean 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
4247 4248 4249 |
# File 'lib/google/apis/container_v1/classes.rb', line 4247 def enable_network_egress_metering @enable_network_egress_metering end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4255 4256 4257 4258 4259 |
# File 'lib/google/apis/container_v1/classes.rb', line 4255 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 |