Class: Google::Container::V1::ResourceUsageExportConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb

Overview

Configuration for exporting cluster resource usages.

Defined Under Namespace

Classes: BigQueryDestination, ConsumptionMeteringConfig

Instance Attribute Summary collapse

Instance Attribute Details

#bigquery_destinationGoogle::Container::V1::ResourceUsageExportConfig::BigQueryDestination

Returns Configuration to use BigQuery as usage export destination.

Returns:



2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2333

class ResourceUsageExportConfig
  # Parameters for using BigQuery as the destination of resource usage export.
  # @!attribute [rw] dataset_id
  #   @return [String]
  #     The ID of a BigQuery Dataset.
  class BigQueryDestination; end

  # Parameters for controlling consumption metering.
  # @!attribute [rw] enabled
  #   @return [true, false]
  #     Whether to enable consumption metering for this cluster. If enabled, a
  #     second BigQuery table will be created to hold resource consumption
  #     records.
  class ConsumptionMeteringConfig; end
end

#consumption_metering_configGoogle::Container::V1::ResourceUsageExportConfig::ConsumptionMeteringConfig

Returns Configuration to enable resource consumption metering.

Returns:



2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2333

class ResourceUsageExportConfig
  # Parameters for using BigQuery as the destination of resource usage export.
  # @!attribute [rw] dataset_id
  #   @return [String]
  #     The ID of a BigQuery Dataset.
  class BigQueryDestination; end

  # Parameters for controlling consumption metering.
  # @!attribute [rw] enabled
  #   @return [true, false]
  #     Whether to enable consumption metering for this cluster. If enabled, a
  #     second BigQuery table will be created to hold resource consumption
  #     records.
  class ConsumptionMeteringConfig; end
end

#enable_network_egress_meteringtrue, false

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

Returns:

  • (true, false)

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



2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2333

class ResourceUsageExportConfig
  # Parameters for using BigQuery as the destination of resource usage export.
  # @!attribute [rw] dataset_id
  #   @return [String]
  #     The ID of a BigQuery Dataset.
  class BigQueryDestination; end

  # Parameters for controlling consumption metering.
  # @!attribute [rw] enabled
  #   @return [true, false]
  #     Whether to enable consumption metering for this cluster. If enabled, a
  #     second BigQuery table will be created to hold resource consumption
  #     records.
  class ConsumptionMeteringConfig; end
end