kubernetes_asyncio.client.models.v2_object_metric_source module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v2_object_metric_source.V2ObjectMetricSource(described_object=None, metric=None, target=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'described_object': 'describedObject', 'metric': 'metric', 'target': 'target'}
property described_object

Gets the described_object of this V2ObjectMetricSource. # noqa: E501

Returns:

The described_object of this V2ObjectMetricSource. # noqa: E501

Return type:

V2CrossVersionObjectReference

property metric

Gets the metric of this V2ObjectMetricSource. # noqa: E501

Returns:

The metric of this V2ObjectMetricSource. # noqa: E501

Return type:

V2MetricIdentifier

openapi_types = {'described_object': 'V2CrossVersionObjectReference', 'metric': 'V2MetricIdentifier', 'target': 'V2MetricTarget'}
property target

Gets the target of this V2ObjectMetricSource. # noqa: E501

Returns:

The target of this V2ObjectMetricSource. # noqa: E501

Return type:

V2MetricTarget

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model