ExportReservationsUsageRequest(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
The ExportReservationsUsage
request
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
machine_family |
str
Optional. The machine family to query reservations and usage by. For example: n1, n2d. This field is a member of oneof _ resource .
|
machine_shape |
google.cloud.capacityplanner_v1beta.types.MachineShape
Optional. The machine_shape as a filter to select matching reservations and its usage. This field is a member of oneof _ resource .
|
gpu_type |
str
Optional. The GPU type to query reservations and usage by. For example: NVIDIA T4. This field is a member of oneof _ resource .
|
parent |
str
Required. The compute engine resource and location of the reservationsusage. The format is: projects/{project}/locations/{location} or organizations/{organization}/locations/{location} or folders/{folder}/locations/{location} |
location_level |
google.cloud.capacityplanner_v1beta.types.TimeSeries.LocationType
Optional. The location level of the reservations usage timeseries. |
cloud_resource_type |
str
Required. The resource for the ReservationsUsage values
to return. Possible values include "gce-vcpus", "gce-ram",
"gce-local-ssd", and "gce-gpu".
|
usage_aggregation_method |
google.cloud.capacityplanner_v1beta.types.UsageHistory.AggregationMethod
Required. The method that should be used to convert sampled reservations data to daily usage values. |
share_type |
google.cloud.capacityplanner_v1beta.types.ExportReservationsUsageRequest.ShareType
Optional. Type of share settings to filter reservations in response. If unspecified, all types are included. |
start_date |
google.type.date_pb2.Date
Optional. The start date of reservations usage. |
end_date |
google.type.date_pb2.Date
Optional. The end date of reservations usage. |
output_config |
google.cloud.capacityplanner_v1beta.types.OutputConfig
Required. Output configuration indicating where the results will be output to. |
Classes
ShareType
ShareType(value)
Possible scope in which the reservation can be shared.