Class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::ResourceUsageExportConfig
- 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
-
#bigquery_destination ⇒ Google::Apis::ContainerV1beta1::BigQueryDestination
Parameters for using BigQuery as the destination of resource usage export.
-
#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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceUsageExportConfig
Returns a new instance of ResourceUsageExportConfig
2585 2586 2587 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2585 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_destination ⇒ Google::Apis::ContainerV1beta1::BigQueryDestination
Parameters for using BigQuery as the destination of resource usage export.
Corresponds to the JSON property bigqueryDestination
2576 2577 2578 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2576 def bigquery_destination @bigquery_destination 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
2582 2583 2584 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2582 def enable_network_egress_metering @enable_network_egress_metering end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2590 2591 2592 2593 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2590 def update!(**args) @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination) @enable_network_egress_metering = args[:enable_network_egress_metering] if args.key?(:enable_network_egress_metering) end |