ExportUsageHistoriesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)The ExportUsageHistories request Next : 12
Attributes |
|
|---|---|
| Name | Description |
parent |
str
Required. The compute engine resource and location for the time series values to return. The format is: projects/{project}/locations/{location} or organizations/{organization}/locations/{location} or folders/{folder}/locations/{location} |
is_spot |
bool
Optional. Set true to export usage for spot resources. |
machine_family |
str
Optional. The machine family for the UsageHistory values
to return. Possible values include "n1", and "n2d". See
https://cloud.google.com/compute/docs/machine-types for more
examples.
|
machine_shape |
google.cloud.capacityplanner_v1beta.types.MachineShape
Optional. The machine shape for the time series values to export. |
disk_type |
str
Optional. The disk_type for the UsageHistory values to
return request with persistent-disk resource_type. Possible
values include "pd-ssd", "pd-standard", "pd-balanced", and
"pd-extreme".
|
gpu_type |
str
Optional. The GPU type for the UsageHistory values to
return. Sample values are "nvidia-tesla-t4", and
"nvidia-tesla-a100". See
https://cloud.google.com/compute/docs/gpus for a list. Empty
gpu_type will return results matching all GPUs.
|
tpu_type |
str
Optional. The TPU type for the UsageHistory values to
return. Empty tpu_type will return results matching all
TPUs.
|
resource_type |
str
Required. The resource for the UsageHistory values to
return. Possible values include "gce-vcpus", "gce-ram",
"gce-local-ssd", "gce-persistent-disk", "gce-gpu" and
"gce-tpu".
|
usage_aggregation_method |
google.cloud.capacityplanner_v1beta.types.UsageHistory.AggregationMethod
Optional. The method that should be used to convert sampled usage data to daily usage values. AGGREGATION_METHOD_UNSPECIFIED will return results matching all the aggregation methods. |
start_date |
google.type.date_pb2.Date
Optional. The start date of usage. |
end_date |
google.type.date_pb2.Date
Optional. The end date of usage. |
output_config |
google.cloud.capacityplanner_v1beta.types.OutputConfig
Required. Output configuration indicating where the results will be output to. |