google-cloud-capacity_planner-v1beta 0.5.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -6
- data/lib/google/cloud/capacity_planner/v1beta/rest.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/client.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/credentials.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/operations.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/paths.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/rest/client.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/rest/operations.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/rest.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/usage_service.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta/version.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta.rb +1 -1
- data/lib/google/cloud/capacityplanner/v1beta/location_pb.rb +1 -1
- data/lib/google/cloud/capacityplanner/v1beta/resource_pb.rb +1 -1
- data/lib/google/cloud/capacityplanner/v1beta/usage_service_pb.rb +1 -1
- data/lib/google-cloud-capacity_planner-v1beta.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/capacityplanner/v1beta/allocation.rb +1 -1
- data/proto_docs/google/cloud/capacityplanner/v1beta/future_reservation.rb +1 -1
- data/proto_docs/google/cloud/capacityplanner/v1beta/location.rb +1 -1
- data/proto_docs/google/cloud/capacityplanner/v1beta/resource.rb +1 -1
- data/proto_docs/google/cloud/capacityplanner/v1beta/usage_service.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/status.rb +1 -1
- data/proto_docs/google/type/date.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '09230c4762e9317cac07a5aab06b60fd154de2edd545c9ecb96b58178637f4de'
|
|
4
|
+
data.tar.gz: 5a29efa626f81732eb948623fb236aa3e151142b1cbcf9a79093228833e3b75a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbe891346abee6cf7e9ada5baa95dd3bc15e0f06c48328f217f9cdfc31c432d1ea5cfea49adad9a8c0b9d4cba274ec4860c578d48ddf20196a1d0f1ed32f9b6e
|
|
7
|
+
data.tar.gz: e10f80b050110c6a99bc5cf3868f3c3de65877047af5b5768573795b59fce64f6159b1dff6635fe43dc1a1a562a5ef5da9d58b4e1f2a5a31a470a4a4da9783f6
|
data/README.md
CHANGED
|
@@ -87,12 +87,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
87
87
|
|
|
88
88
|
This library is supported on Ruby 3.2+.
|
|
89
89
|
|
|
90
|
-
Google provides official support for Ruby versions
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
|
95
|
-
support schedule.
|
|
90
|
+
Google provides official support for Ruby versions as described in the
|
|
91
|
+
[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions)
|
|
92
|
+
policy. Older versions of Ruby _may_ still work, but are unsupported and not
|
|
93
|
+
recommended.
|
|
96
94
|
|
|
97
95
|
## Which client should I use?
|
|
98
96
|
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n2google/cloud/capacityplanner/v1beta/location.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\
|
|
10
|
+
descriptor_data = "\n2google/cloud/capacityplanner/v1beta/location.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\xe4\x02\n\x12LocationIdentifier\x12J\n\x0elocation_level\x18\x01 \x01(\x0e\x32\x32.google.cloud.capacityplanner.v1beta.LocationLevel\x12\x14\n\x06source\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x66\n\x10linked_locations\x18\x03 \x03(\x0b\x32\x46.google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocationB\x04\xe2\x41\x01\x01\x1a\x83\x01\n\x0eLinkedLocation\x12J\n\x0elocation_level\x18\x01 \x01(\x0e\x32\x32.google.cloud.capacityplanner.v1beta.LocationLevel\x12\x16\n\x08location\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\r\n\x05label\x18\x03 \x01(\t*\x7f\n\rLocationLevel\x12\x1e\n\x1aLOCATION_LEVEL_UNSPECIFIED\x10\x00\x12\n\n\x06REGION\x10\x01\x12\x08\n\x04ZONE\x10\x02\x12\n\n\x06GLOBAL\x10\x03\x12\t\n\x05METRO\x10\x04\x12\x0f\n\x0b\x44UAL_REGION\x10\x05\x12\x10\n\x0cMULTI_REGION\x10\x06\x42\x82\x02\n\'com.google.cloud.capacityplanner.v1betaB\rLocationProtoP\x01ZQcloud.google.com/go/capacityplanner/apiv1beta/capacityplannerpb;capacityplannerpb\xaa\x02#Google.Cloud.CapacityPlanner.V1Beta\xca\x02#Google\\Cloud\\CapacityPlanner\\V1beta\xea\x02&Google::Cloud::CapacityPlanner::V1betab\x06proto3"
|
|
11
11
|
|
|
12
12
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n2google/cloud/capacityplanner/v1beta/resource.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\
|
|
10
|
+
descriptor_data = "\n2google/cloud/capacityplanner/v1beta/resource.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\xb0\x01\n\x11ResourceContainer\x12I\n\x04type\x18\x01 \x01(\x0e\x32;.google.cloud.capacityplanner.v1beta.ResourceContainer.Type\x12\x10\n\x02id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\">\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PROJECT\x10\x01\x12\n\n\x06\x46OLDER\x10\x02\x12\x07\n\x03ORG\x10\x03\"\x93\x01\n\rResourceIdKey\x12\x1d\n\rresource_code\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02H\x00\x12R\n\x0bresource_id\x18\x01 \x01(\x0b\x32\x37.google.cloud.capacityplanner.v1beta.ResourceIdentifierB\x04\xe2\x41\x01\x02\x42\x0f\n\rdemand_fields\"\x96\x01\n\x12ResourceIdentifier\x12\x14\n\x0cservice_name\x18\x01 \x01(\t\x12\x15\n\rresource_name\x18\x02 \x01(\t\x12S\n\x13resource_attributes\x18\x03 \x03(\x0b\x32\x36.google.cloud.capacityplanner.v1beta.ResourceAttribute\"c\n\x11ResourceAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.cloud.capacityplanner.v1beta.ResourceValue\"\x83\x01\n\rResourceValue\x12\x37\n\x04unit\x18\x01 \x01(\x0e\x32).google.cloud.capacityplanner.v1beta.Unit\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.google.cloud.capacityplanner.v1beta.Value\"m\n\x05Value\x12\x15\n\x0bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x42\x07\n\x05value*\xec\x01\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x0e\n\nUNIT_COUNT\x10\x01\x12\x06\n\x02KB\x10\x02\x12\x06\n\x02GB\x10\x03\x12\x06\n\x02TB\x10\x04\x12\x07\n\x03MIB\x10\x11\x12\x07\n\x03GIB\x10\x05\x12\x07\n\x03TIB\x10\x06\x12\x07\n\x03QPS\x10\x07\x12\x06\n\x02MB\x10\x08\x12\x07\n\x03PIB\x10\t\x12\x0c\n\x04TBPS\x10\n\x1a\x02\x08\x01\x12\r\n\tGBPS_BITS\x10\x0b\x12\x0c\n\x08GIB_BITS\x10\x0c\x12\r\n\tMBPS_BITS\x10\r\x12\x0e\n\nMBPS_BYTES\x10\x0e\x12\r\n\tTBPS_BITS\x10\x0f\x12\x0e\n\nTBPS_BYTES\x10\x10\x12\x08\n\x04KOPS\x10\x12\x42\x82\x02\n\'com.google.cloud.capacityplanner.v1betaB\rResourceProtoP\x01ZQcloud.google.com/go/capacityplanner/apiv1beta/capacityplannerpb;capacityplannerpb\xaa\x02#Google.Cloud.CapacityPlanner.V1Beta\xca\x02#Google\\Cloud\\CapacityPlanner\\V1beta\xea\x02&Google::Cloud::CapacityPlanner::V1betab\x06proto3"
|
|
11
11
|
|
|
12
12
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -15,7 +15,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
15
15
|
require 'google/type/date_pb'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
descriptor_data = "\n7google/cloud/capacityplanner/v1beta/usage_service.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/capacityplanner/v1beta/allocation.proto\x1a<google/cloud/capacityplanner/v1beta/future_reservation.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\xf4\x04\n\x1aQueryUsageHistoriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x0elocation_level\x18\x0b \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x03\xe0\x41\x01\x12\x14\n\x07is_spot\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12M\n\rmachine_shape\x18\r \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x63onfidential_mode\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08tpu_type\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12 \n\x13\x63loud_resource_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x18usage_aggregation_method\x18\x04 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\x12*\n\nstart_date\x18\t \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\n \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\"i\n\x1bQueryUsageHistoriesResponse\x12J\n\x0fusage_histories\x18\x01 \x03(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.UsageHistory\"\xd4\x04\n\x15QueryForecastsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12M\n\rmachine_shape\x18\x0c \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x63onfidential_mode\x18\r \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08tpu_type\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12 \n\x13\x63loud_resource_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12Q\n\rforecast_type\x18\x04 \x01(\x0e\x32:.google.cloud.capacityplanner.v1beta.Forecast.ForecastType\x12]\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval\x12_\n\x12\x61ggregation_method\x18\x08 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"Z\n\x16QueryForecastsResponse\x12@\n\tforecasts\x18\x01 \x03(\x0b\x32-.google.cloud.capacityplanner.v1beta.Forecast\"\xf1\x0b\n\x18QueryReservationsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x0elocation_level\x18\x10 \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x03\xe0\x41\x01\x12\x1b\n\x0emachine_family\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12M\n\rmachine_shape\x18\x0b \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13\x63loud_resource_type\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12l\n\x10reservation_type\x18\x05 \x01(\x0e\x32M.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationTypeB\x03\xe0\x41\x02\x12`\n\nshare_type\x18\x06 \x01(\x0e\x32G.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ShareTypeB\x03\xe0\x41\x01\x12h\n\x0eownership_type\x18\x07 \x01(\x0e\x32K.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.OwnershipTypeB\x03\xe0\x41\x01\x12w\n\x16reservation_data_level\x18\x08 \x01(\x0e\x32R.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationDataLevelB\x03\xe0\x41\x02\x12,\n\x1finclude_unapproved_reservations\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x64\n\x12\x61ggregation_method\x18\r \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x03\xe0\x41\x01\x12*\n\nstart_date\x18\x0e \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x0f \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\"\x97\x01\n\x0fReservationType\x12 \n\x1cRESERVATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bRESERVATION_TYPE_ALLOCATION\x10\x01\x12\'\n#RESERVATION_TYPE_FUTURE_RESERVATION\x10\x02\x12\x18\n\x14RESERVATION_TYPE_ALL\x10\x03\"_\n\tShareType\x12\x1a\n\x16SHARE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10SHARE_TYPE_LOCAL\x10\x01\x12 \n\x1cSHARE_TYPE_SPECIFIC_PROJECTS\x10\x02\"n\n\rOwnershipType\x12\x1e\n\x1aOWNERSHIP_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14OWNERSHIP_TYPE_OWNED\x10\x01\x12#\n\x1fOWNERSHIP_TYPE_SHARED_BY_OTHERS\x10\x02\"\x91\x01\n\x14ReservationDataLevel\x12&\n\"RESERVATION_DATA_LEVEL_UNSPECIFIED\x10\x00\x12%\n!RESERVATION_DATA_LEVEL_AGGREGATED\x10\x01\x12*\n&RESERVATION_DATA_LEVEL_PER_RESERVATION\x10\x02\"g\n\x19QueryReservationsResponse\x12J\n\x0creservations\x18\x01 \x03(\x0b\x32\x34.google.cloud.capacityplanner.v1beta.ReservationData\"F\n\x05Point\x12.\n\nevent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05value\x18\x02 \x01(\x01\"\xf4\x07\n\x08\x46orecast\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btime_series\x18\x02 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12Q\n\rforecast_type\x18\x03 \x01(\x0e\x32:.google.cloud.capacityplanner.v1beta.Forecast.ForecastType\x12\x44\n\x06\x62ounds\x18\x04 \x01(\x0e\x32\x34.google.cloud.capacityplanner.v1beta.Forecast.Bounds\x12]\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval\x12_\n\x12\x61ggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"q\n\x0c\x46orecastType\x12\x1d\n\x19\x46ORECAST_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSTATISTICAL\x10\x01\x12\x19\n\x15STATISTICAL_WITH_BFCM\x10\x02\x12\x16\n\x12YEARLY_SEASONALITY\x10\x03\"N\n\x06\x42ounds\x12\x16\n\x12\x42OUNDS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bLOWER_BOUND\x10\x01\x12\n\n\x06MEDIAN\x10\x02\x12\x0f\n\x0bUPPER_BOUND\x10\x03\"q\n\x12PredictionInterval\x12#\n\x1fPREDICTION_INTERVAL_UNSPECIFIED\x10\x00\x12\x1a\n\x16PREDICTION_INTERVAL_90\x10\x01\x12\x1a\n\x16PREDICTION_INTERVAL_50\x10\x02:\x84\x02\xea\x41\x80\x02\n\'capacityplanner.googleapis.com/Forecast\x12<projects/{project}/locations/{location}/forecasts/{forecast}\x12\x46organizations/{organization}/locations/{location}/forecasts/{forecast}\x12:folders/{folder}/locations/{location}/forecasts/{forecast}*\tforecasts2\x08\x66orecast\"\x9f\x02\n\x0cUsageHistory\x12\x44\n\x0btime_series\x18\x01 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12_\n\x12\x61ggregation_method\x18\x02 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"h\n\x11\x41ggregationMethod\x12\"\n\x1e\x41GGREGATION_METHOD_UNSPECIFIED\x10\x00\x12\n\n\x06MEDIAN\x10\x01\x12\x08\n\x04PEAK\x10\x02\x12\x07\n\x03P50\x10\x03\x12\x07\n\x03P75\x10\x04\x12\x07\n\x03P99\x10\x05\"\xfb\x03\n\nTimeSeries\x12X\n\rlocation_type\x18\x01 \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x03\xe0\x41\x02\x12\x15\n\x08location\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07is_spot\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12\x11\n\tdisk_type\x18\x06 \x01(\t\x12\x1e\n\x11\x63onfidential_mode\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x10\n\x08gpu_type\x18\x07 \x01(\t\x12\x10\n\x08tpu_type\x18\n \x01(\t\x12H\n\rmachine_shape\x18\x08 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShape\x12\x1b\n\x13\x63loud_resource_type\x18\x03 \x01(\t\x12:\n\x06points\x18\x04 \x03(\x0b\x32*.google.cloud.capacityplanner.v1beta.Point\x12\x0c\n\x04unit\x18\x05 \x01(\t\"F\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REGIONAL\x10\x01\x12\t\n\x05ZONAL\x10\x02\"\xf9\x04\n\x0fReservationData\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x44\n\x0btime_series\x18\x02 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12P\n\x17used_reservation_values\x18\x05 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12S\n\x13\x66uture_reservations\x18\x03 \x03(\x0b\x32\x36.google.cloud.capacityplanner.v1beta.FutureReservation\x12\x44\n\x0b\x61llocations\x18\x04 \x03(\x0b\x32/.google.cloud.capacityplanner.v1beta.Allocation:\x9f\x02\xea\x41\x9b\x02\n*capacityplanner.googleapis.com/Reservation\x12\x42projects/{project}/locations/{location}/reservations/{reservation}\x12Lorganizations/{organization}/locations/{location}/reservations/{reservation}\x12@folders/{folder}/locations/{location}/reservations/{reservation}*\x0creservations2\x0breservation\"\xdf\x02\n\x0cMachineShape\x12\x1b\n\x0emachine_family\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cmachine_type\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rmachine_shape\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tcpu_cores\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10gpu_compute_type\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tgpu_cores\x18\x06 \x01(\x03\x42\x03\xe0\x41\x01\x12!\n\x14local_ssd_partitions\x18\x07 \x01(\x03\x42\x03\xe0\x41\x01\x12\x19\n\x0clocal_ssd_gb\x18\x08 \x01(\x01\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\t \x01(\x01\x42\x03\xe0\x41\x01\x12 \n\x13local_ssd_interface\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10min_cpu_platform\x18\x0c \x01(\tB\x03\xe0\x41\x01\"\xcd\x04\n\x1b\x45xportUsageHistoriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x14\n\x07is_spot\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12\x1b\n\x0emachine_family\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12M\n\rmachine_shape\x18\r \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08tpu_type\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rresource_type\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12j\n\x18usage_aggregation_method\x18\x05 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x03\xe0\x41\x01\x12*\n\nstart_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12M\n\routput_config\x18\x08 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x03\xe0\x41\x02\"\x90\x05\n\x16\x45xportForecastsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1b\n\x0emachine_family\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12M\n\rmachine_shape\x18\x0c \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08tpu_type\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rresource_type\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionIntervalB\x03\xe0\x41\x01\x12\x64\n\x12\x61ggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x03\xe0\x41\x01\x12*\n\nstart_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x08 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12M\n\routput_config\x18\t \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x03\xe0\x41\x02\"\xc7\x06\n\x1e\x45xportReservationsUsageRequest\x12\x1d\n\x0emachine_family\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12O\n\rmachine_shape\x18\x03 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01H\x00\x12\x17\n\x08gpu_type\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x0elocation_level\x18\x0b \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x03\xe0\x41\x01\x12 \n\x13\x63loud_resource_type\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12j\n\x18usage_aggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x03\xe0\x41\x02\x12\x66\n\nshare_type\x18\x07 \x01(\x0e\x32M.google.cloud.capacityplanner.v1beta.ExportReservationsUsageRequest.ShareTypeB\x03\xe0\x41\x01\x12*\n\nstart_date\x18\x08 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\t \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12M\n\routput_config\x18\n \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x03\xe0\x41\x02\"_\n\tShareType\x12\x1a\n\x16SHARE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10SHARE_TYPE_LOCAL\x10\x01\x12 \n\x1cSHARE_TYPE_SPECIFIC_PROJECTS\x10\x02\x42\n\n\x08resource\"\xc7\x01\n\x0cOutputConfig\x12N\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32\x33.google.cloud.capacityplanner.v1beta.GcsDestinationH\x00\x12X\n\x14\x62igquery_destination\x18\x02 \x01(\x0b\x32\x38.google.cloud.capacityplanner.v1beta.BigQueryDestinationH\x00\x42\r\n\x0b\x64\x65stination\"`\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x62ucket\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06object\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xa5\x05\n\x13\x42igQueryDestination\x12\x14\n\x07\x64\x61taset\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05table\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x61\n\rpartition_key\x18\x03 \x01(\x0e\x32\x45.google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKeyB\x03\xe0\x41\x01\x12i\n\x11write_disposition\x18\x04 \x01(\x0e\x32I.google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDispositionB\x03\xe0\x41\x01\x12k\n\x12\x63reate_disposition\x18\x05 \x01(\x0e\x32J.google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDispositionB\x03\xe0\x41\x01\x12\x19\n\x0cgcs_location\x18\x06 \x01(\tB\x03\xe0\x41\x01\"?\n\x0cPartitionKey\x12\x1d\n\x19PARTITION_KEY_UNSPECIFIED\x10\x00\x12\x10\n\x0cREQUEST_TIME\x10\x01\"l\n\x10WriteDisposition\x12!\n\x1dWRITE_DISPOSITION_UNSPECIFIED\x10\x00\x12\x10\n\x0cWRITE_APPEND\x10\x01\x12\x12\n\x0eWRITE_TRUNCATE\x10\x02\x12\x0f\n\x0bWRITE_EMPTY\x10\x03\"_\n\x11\x43reateDisposition\x12\"\n\x1e\x43REATE_DISPOSITION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43REATE_IF_NEEDED\x10\x01\x12\x10\n\x0c\x43REATE_NEVER\x10\x02\"|\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"0\n\x1c\x45xportUsageHistoriesResponse\x12\x10\n\x08response\x18\x01 \x01(\t\"+\n\x17\x45xportForecastsResponse\x12\x10\n\x08response\x18\x01 \x01(\t\"3\n\x1f\x45xportReservationsUsageResponse\x12\x10\n\x08response\x18\x01 \x01(\t2\xc7\x12\n\x0cUsageService\x12\xed\x02\n\x13QueryUsageHistories\x12?.google.cloud.capacityplanner.v1beta.QueryUsageHistoriesRequest\x1a@.google.cloud.capacityplanner.v1beta.QueryUsageHistoriesResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\"</v1beta/{parent=projects/*/locations/*}/usageHistories:query:\x01*ZF\"A/v1beta/{parent=organizations/*/locations/*}/usageHistories:query:\x01*Z@\";/v1beta/{parent=folders/*/locations/*}/usageHistories:query:\x01*\x12\xcf\x02\n\x0eQueryForecasts\x12:.google.cloud.capacityplanner.v1beta.QueryForecastsRequest\x1a;.google.cloud.capacityplanner.v1beta.QueryForecastsResponse\"\xc3\x01\x82\xd3\xe4\x93\x02\xbc\x01\"7/v1beta/{parent=projects/*/locations/*}/forecasts:query:\x01*ZA\"</v1beta/{parent=organizations/*/locations/*}/forecasts:query:\x01*Z;\"6/v1beta/{parent=folders/*/locations/*}/forecasts:query:\x01*\x12\xe1\x02\n\x11QueryReservations\x12=.google.cloud.capacityplanner.v1beta.QueryReservationsRequest\x1a>.google.cloud.capacityplanner.v1beta.QueryReservationsResponse\"\xcc\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xbc\x01\x12:/v1beta/{parent=projects/*/locations/*}/reservations:queryZA\x12?/v1beta/{parent=organizations/*/locations/*}/reservations:queryZ;\x12\x39/v1beta/{parent=folders/*/locations/*}/reservations:query\x12\x83\x03\n\x14\x45xportUsageHistories\x12@.google.cloud.capacityplanner.v1beta.ExportUsageHistoriesRequest\x1a\x1d.google.longrunning.Operation\"\x89\x02\xca\x41\x31\n\x1c\x45xportUsageHistoriesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xce\x01\"=/v1beta/{parent=projects/*/locations/*}/usageHistories:export:\x01*ZG\"B/v1beta/{parent=organizations/*/locations/*}/usageHistories:export:\x01*ZA\"</v1beta/{parent=folders/*/locations/*}/usageHistories:export:\x01*\x12\xe5\x02\n\x0f\x45xportForecasts\x12;.google.cloud.capacityplanner.v1beta.ExportForecastsRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x01\xca\x41,\n\x17\x45xportForecastsResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xbf\x01\"8/v1beta/{parent=projects/*/locations/*}/forecasts:export:\x01*ZB\"=/v1beta/{parent=organizations/*/locations/*}/forecasts:export:\x01*Z<\"7/v1beta/{parent=folders/*/locations/*}/forecasts:export:\x01*\x12\x95\x03\n\x17\x45xportReservationsUsage\x12\x43.google.cloud.capacityplanner.v1beta.ExportReservationsUsageRequest\x1a\x1d.google.longrunning.Operation\"\x95\x02\xca\x41\x34\n\x1f\x45xportReservationsUsageResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xd7\x01\"@/v1beta/{parent=projects/*/locations/*}/reservationsUsage:export:\x01*ZJ\"E/v1beta/{parent=organizations/*/locations/*}/reservationsUsage:export:\x01*ZD\"?/v1beta/{parent=folders/*/locations/*}/reservationsUsage:export:\x01*\x1a\x8a\x01\xca\x41\x1e\x63\x61pacityplanner.googleapis.com\xd2\x41\x66https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/devstorage.full_controlB\x86\x02\n\'com.google.cloud.capacityplanner.v1betaB\x11UsageServiceProtoP\x01ZQcloud.google.com/go/capacityplanner/apiv1beta/capacityplannerpb;capacityplannerpb\xaa\x02#Google.Cloud.CapacityPlanner.V1Beta\xca\x02#Google\\Cloud\\CapacityPlanner\\V1beta\xea\x02&Google::Cloud::CapacityPlanner::V1betab\x06proto3"
|
|
18
|
+
descriptor_data = "\n7google/cloud/capacityplanner/v1beta/usage_service.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/capacityplanner/v1beta/allocation.proto\x1a<google/cloud/capacityplanner/v1beta/future_reservation.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\xff\x04\n\x1aQueryUsageHistoriesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Z\n\x0elocation_level\x18\x0b \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x04\xe2\x41\x01\x01\x12\x15\n\x07is_spot\x18\x0e \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12N\n\rmachine_shape\x18\r \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x04\xe2\x41\x01\x01\x12\x17\n\tdisk_type\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x63onfidential_mode\x18\x0f \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x16\n\x08gpu_type\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08tpu_type\x18\x0c \x01(\tB\x04\xe2\x41\x01\x01\x12!\n\x13\x63loud_resource_type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x65\n\x18usage_aggregation_method\x18\x04 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\x12+\n\nstart_date\x18\t \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\x12)\n\x08\x65nd_date\x18\n \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\"i\n\x1bQueryUsageHistoriesResponse\x12J\n\x0fusage_histories\x18\x01 \x03(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.UsageHistory\"\xdb\x04\n\x15QueryForecastsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12N\n\rmachine_shape\x18\x0c \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x04\xe2\x41\x01\x01\x12\x17\n\tdisk_type\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x63onfidential_mode\x18\r \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x16\n\x08gpu_type\x18\n \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08tpu_type\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12!\n\x13\x63loud_resource_type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12Q\n\rforecast_type\x18\x04 \x01(\x0e\x32:.google.cloud.capacityplanner.v1beta.Forecast.ForecastType\x12]\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval\x12_\n\x12\x61ggregation_method\x18\x08 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"Z\n\x16QueryForecastsResponse\x12@\n\tforecasts\x18\x01 \x03(\x0b\x32-.google.cloud.capacityplanner.v1beta.Forecast\"\xff\x0b\n\x18QueryReservationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Z\n\x0elocation_level\x18\x10 \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x04\xe2\x41\x01\x01\x12\x1c\n\x0emachine_family\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12N\n\rmachine_shape\x18\x0b \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x04\xe2\x41\x01\x01\x12\x16\n\x08gpu_type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12!\n\x13\x63loud_resource_type\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12m\n\x10reservation_type\x18\x05 \x01(\x0e\x32M.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationTypeB\x04\xe2\x41\x01\x02\x12\x61\n\nshare_type\x18\x06 \x01(\x0e\x32G.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ShareTypeB\x04\xe2\x41\x01\x01\x12i\n\x0eownership_type\x18\x07 \x01(\x0e\x32K.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.OwnershipTypeB\x04\xe2\x41\x01\x01\x12x\n\x16reservation_data_level\x18\x08 \x01(\x0e\x32R.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationDataLevelB\x04\xe2\x41\x01\x02\x12-\n\x1finclude_unapproved_reservations\x18\x0c \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x65\n\x12\x61ggregation_method\x18\r \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x04\xe2\x41\x01\x01\x12+\n\nstart_date\x18\x0e \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\x12)\n\x08\x65nd_date\x18\x0f \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\"\x97\x01\n\x0fReservationType\x12 \n\x1cRESERVATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bRESERVATION_TYPE_ALLOCATION\x10\x01\x12\'\n#RESERVATION_TYPE_FUTURE_RESERVATION\x10\x02\x12\x18\n\x14RESERVATION_TYPE_ALL\x10\x03\"_\n\tShareType\x12\x1a\n\x16SHARE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10SHARE_TYPE_LOCAL\x10\x01\x12 \n\x1cSHARE_TYPE_SPECIFIC_PROJECTS\x10\x02\"n\n\rOwnershipType\x12\x1e\n\x1aOWNERSHIP_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14OWNERSHIP_TYPE_OWNED\x10\x01\x12#\n\x1fOWNERSHIP_TYPE_SHARED_BY_OTHERS\x10\x02\"\x91\x01\n\x14ReservationDataLevel\x12&\n\"RESERVATION_DATA_LEVEL_UNSPECIFIED\x10\x00\x12%\n!RESERVATION_DATA_LEVEL_AGGREGATED\x10\x01\x12*\n&RESERVATION_DATA_LEVEL_PER_RESERVATION\x10\x02\"g\n\x19QueryReservationsResponse\x12J\n\x0creservations\x18\x01 \x03(\x0b\x32\x34.google.cloud.capacityplanner.v1beta.ReservationData\"F\n\x05Point\x12.\n\nevent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05value\x18\x02 \x01(\x01\"\xf4\x07\n\x08\x46orecast\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btime_series\x18\x02 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12Q\n\rforecast_type\x18\x03 \x01(\x0e\x32:.google.cloud.capacityplanner.v1beta.Forecast.ForecastType\x12\x44\n\x06\x62ounds\x18\x04 \x01(\x0e\x32\x34.google.cloud.capacityplanner.v1beta.Forecast.Bounds\x12]\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval\x12_\n\x12\x61ggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"q\n\x0c\x46orecastType\x12\x1d\n\x19\x46ORECAST_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSTATISTICAL\x10\x01\x12\x19\n\x15STATISTICAL_WITH_BFCM\x10\x02\x12\x16\n\x12YEARLY_SEASONALITY\x10\x03\"N\n\x06\x42ounds\x12\x16\n\x12\x42OUNDS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bLOWER_BOUND\x10\x01\x12\n\n\x06MEDIAN\x10\x02\x12\x0f\n\x0bUPPER_BOUND\x10\x03\"q\n\x12PredictionInterval\x12#\n\x1fPREDICTION_INTERVAL_UNSPECIFIED\x10\x00\x12\x1a\n\x16PREDICTION_INTERVAL_90\x10\x01\x12\x1a\n\x16PREDICTION_INTERVAL_50\x10\x02:\x84\x02\xea\x41\x80\x02\n\'capacityplanner.googleapis.com/Forecast\x12<projects/{project}/locations/{location}/forecasts/{forecast}\x12\x46organizations/{organization}/locations/{location}/forecasts/{forecast}\x12:folders/{folder}/locations/{location}/forecasts/{forecast}*\tforecasts2\x08\x66orecast\"\x9f\x02\n\x0cUsageHistory\x12\x44\n\x0btime_series\x18\x01 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12_\n\x12\x61ggregation_method\x18\x02 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"h\n\x11\x41ggregationMethod\x12\"\n\x1e\x41GGREGATION_METHOD_UNSPECIFIED\x10\x00\x12\n\n\x06MEDIAN\x10\x01\x12\x08\n\x04PEAK\x10\x02\x12\x07\n\x03P50\x10\x03\x12\x07\n\x03P75\x10\x04\x12\x07\n\x03P99\x10\x05\"\xff\x03\n\nTimeSeries\x12Y\n\rlocation_type\x18\x01 \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x04\xe2\x41\x01\x02\x12\x16\n\x08location\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x15\n\x07is_spot\x18\x0b \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12\x11\n\tdisk_type\x18\x06 \x01(\t\x12\x1f\n\x11\x63onfidential_mode\x18\x0c \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x10\n\x08gpu_type\x18\x07 \x01(\t\x12\x10\n\x08tpu_type\x18\n \x01(\t\x12H\n\rmachine_shape\x18\x08 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShape\x12\x1b\n\x13\x63loud_resource_type\x18\x03 \x01(\t\x12:\n\x06points\x18\x04 \x03(\x0b\x32*.google.cloud.capacityplanner.v1beta.Point\x12\x0c\n\x04unit\x18\x05 \x01(\t\"F\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REGIONAL\x10\x01\x12\t\n\x05ZONAL\x10\x02\"\xfa\x04\n\x0fReservationData\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x44\n\x0btime_series\x18\x02 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12P\n\x17used_reservation_values\x18\x05 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12S\n\x13\x66uture_reservations\x18\x03 \x03(\x0b\x32\x36.google.cloud.capacityplanner.v1beta.FutureReservation\x12\x44\n\x0b\x61llocations\x18\x04 \x03(\x0b\x32/.google.cloud.capacityplanner.v1beta.Allocation:\x9f\x02\xea\x41\x9b\x02\n*capacityplanner.googleapis.com/Reservation\x12\x42projects/{project}/locations/{location}/reservations/{reservation}\x12Lorganizations/{organization}/locations/{location}/reservations/{reservation}\x12@folders/{folder}/locations/{location}/reservations/{reservation}*\x0creservations2\x0breservation\"\xeb\x02\n\x0cMachineShape\x12\x1c\n\x0emachine_family\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cmachine_type\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rmachine_shape\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tcpu_cores\x18\x04 \x01(\x01\x42\x04\xe2\x41\x01\x01\x12\x16\n\x08gpu_type\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10gpu_compute_type\x18\n \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tgpu_cores\x18\x06 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\"\n\x14local_ssd_partitions\x18\x07 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x1a\n\x0clocal_ssd_gb\x18\x08 \x01(\x01\x42\x04\xe2\x41\x01\x01\x12\x17\n\tmemory_gb\x18\t \x01(\x01\x42\x04\xe2\x41\x01\x01\x12!\n\x13local_ssd_interface\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10min_cpu_platform\x18\x0c \x01(\tB\x04\xe2\x41\x01\x01\"\xd9\x04\n\x1b\x45xportUsageHistoriesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x15\n\x07is_spot\x18\x0b \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1c\n\x0emachine_family\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12N\n\rmachine_shape\x18\r \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x04\xe2\x41\x01\x01\x12\x17\n\tdisk_type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08gpu_type\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08tpu_type\x18\n \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rresource_type\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12k\n\x18usage_aggregation_method\x18\x05 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x04\xe2\x41\x01\x01\x12+\n\nstart_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\x12)\n\x08\x65nd_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\x12N\n\routput_config\x18\x08 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x04\xe2\x41\x01\x02\"\x9c\x05\n\x16\x45xportForecastsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1c\n\x0emachine_family\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12N\n\rmachine_shape\x18\x0c \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x04\xe2\x41\x01\x01\x12\x17\n\tdisk_type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08gpu_type\x18\n \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08tpu_type\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rresource_type\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12\x63\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionIntervalB\x04\xe2\x41\x01\x01\x12\x65\n\x12\x61ggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x04\xe2\x41\x01\x01\x12+\n\nstart_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\x12)\n\x08\x65nd_date\x18\x08 \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\x12N\n\routput_config\x18\t \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x04\xe2\x41\x01\x02\"\xd2\x06\n\x1e\x45xportReservationsUsageRequest\x12\x1e\n\x0emachine_family\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12P\n\rmachine_shape\x18\x03 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x04\xe2\x41\x01\x01H\x00\x12\x18\n\x08gpu_type\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Z\n\x0elocation_level\x18\x0b \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x04\xe2\x41\x01\x01\x12!\n\x13\x63loud_resource_type\x18\x05 \x01(\tB\x04\xe2\x41\x01\x02\x12k\n\x18usage_aggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x04\xe2\x41\x01\x02\x12g\n\nshare_type\x18\x07 \x01(\x0e\x32M.google.cloud.capacityplanner.v1beta.ExportReservationsUsageRequest.ShareTypeB\x04\xe2\x41\x01\x01\x12+\n\nstart_date\x18\x08 \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\x12)\n\x08\x65nd_date\x18\t \x01(\x0b\x32\x11.google.type.DateB\x04\xe2\x41\x01\x01\x12N\n\routput_config\x18\n \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x04\xe2\x41\x01\x02\"_\n\tShareType\x12\x1a\n\x16SHARE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10SHARE_TYPE_LOCAL\x10\x01\x12 \n\x1cSHARE_TYPE_SPECIFIC_PROJECTS\x10\x02\x42\n\n\x08resource\"\xc7\x01\n\x0cOutputConfig\x12N\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32\x33.google.cloud.capacityplanner.v1beta.GcsDestinationH\x00\x12X\n\x14\x62igquery_destination\x18\x02 \x01(\x0b\x32\x38.google.cloud.capacityplanner.v1beta.BigQueryDestinationH\x00\x42\r\n\x0b\x64\x65stination\"d\n\x0eGcsDestination\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x62ucket\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06object\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05\x66orce\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xab\x05\n\x13\x42igQueryDestination\x12\x15\n\x07\x64\x61taset\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05table\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x62\n\rpartition_key\x18\x03 \x01(\x0e\x32\x45.google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKeyB\x04\xe2\x41\x01\x01\x12j\n\x11write_disposition\x18\x04 \x01(\x0e\x32I.google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDispositionB\x04\xe2\x41\x01\x01\x12l\n\x12\x63reate_disposition\x18\x05 \x01(\x0e\x32J.google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDispositionB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cgcs_location\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\"?\n\x0cPartitionKey\x12\x1d\n\x19PARTITION_KEY_UNSPECIFIED\x10\x00\x12\x10\n\x0cREQUEST_TIME\x10\x01\"l\n\x10WriteDisposition\x12!\n\x1dWRITE_DISPOSITION_UNSPECIFIED\x10\x00\x12\x10\n\x0cWRITE_APPEND\x10\x01\x12\x12\n\x0eWRITE_TRUNCATE\x10\x02\x12\x0f\n\x0bWRITE_EMPTY\x10\x03\"_\n\x11\x43reateDisposition\x12\"\n\x1e\x43REATE_DISPOSITION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43REATE_IF_NEEDED\x10\x01\x12\x10\n\x0c\x43REATE_NEVER\x10\x02\"~\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"0\n\x1c\x45xportUsageHistoriesResponse\x12\x10\n\x08response\x18\x01 \x01(\t\"+\n\x17\x45xportForecastsResponse\x12\x10\n\x08response\x18\x01 \x01(\t\"3\n\x1f\x45xportReservationsUsageResponse\x12\x10\n\x08response\x18\x01 \x01(\t2\xc7\x12\n\x0cUsageService\x12\xed\x02\n\x13QueryUsageHistories\x12?.google.cloud.capacityplanner.v1beta.QueryUsageHistoriesRequest\x1a@.google.cloud.capacityplanner.v1beta.QueryUsageHistoriesResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\"</v1beta/{parent=projects/*/locations/*}/usageHistories:query:\x01*ZF\"A/v1beta/{parent=organizations/*/locations/*}/usageHistories:query:\x01*Z@\";/v1beta/{parent=folders/*/locations/*}/usageHistories:query:\x01*\x12\xcf\x02\n\x0eQueryForecasts\x12:.google.cloud.capacityplanner.v1beta.QueryForecastsRequest\x1a;.google.cloud.capacityplanner.v1beta.QueryForecastsResponse\"\xc3\x01\x82\xd3\xe4\x93\x02\xbc\x01\"7/v1beta/{parent=projects/*/locations/*}/forecasts:query:\x01*ZA\"</v1beta/{parent=organizations/*/locations/*}/forecasts:query:\x01*Z;\"6/v1beta/{parent=folders/*/locations/*}/forecasts:query:\x01*\x12\xe1\x02\n\x11QueryReservations\x12=.google.cloud.capacityplanner.v1beta.QueryReservationsRequest\x1a>.google.cloud.capacityplanner.v1beta.QueryReservationsResponse\"\xcc\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xbc\x01\x12:/v1beta/{parent=projects/*/locations/*}/reservations:queryZA\x12?/v1beta/{parent=organizations/*/locations/*}/reservations:queryZ;\x12\x39/v1beta/{parent=folders/*/locations/*}/reservations:query\x12\x83\x03\n\x14\x45xportUsageHistories\x12@.google.cloud.capacityplanner.v1beta.ExportUsageHistoriesRequest\x1a\x1d.google.longrunning.Operation\"\x89\x02\xca\x41\x31\n\x1c\x45xportUsageHistoriesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xce\x01\"=/v1beta/{parent=projects/*/locations/*}/usageHistories:export:\x01*ZG\"B/v1beta/{parent=organizations/*/locations/*}/usageHistories:export:\x01*ZA\"</v1beta/{parent=folders/*/locations/*}/usageHistories:export:\x01*\x12\xe5\x02\n\x0f\x45xportForecasts\x12;.google.cloud.capacityplanner.v1beta.ExportForecastsRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x01\xca\x41,\n\x17\x45xportForecastsResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xbf\x01\"8/v1beta/{parent=projects/*/locations/*}/forecasts:export:\x01*ZB\"=/v1beta/{parent=organizations/*/locations/*}/forecasts:export:\x01*Z<\"7/v1beta/{parent=folders/*/locations/*}/forecasts:export:\x01*\x12\x95\x03\n\x17\x45xportReservationsUsage\x12\x43.google.cloud.capacityplanner.v1beta.ExportReservationsUsageRequest\x1a\x1d.google.longrunning.Operation\"\x95\x02\xca\x41\x34\n\x1f\x45xportReservationsUsageResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xd7\x01\"@/v1beta/{parent=projects/*/locations/*}/reservationsUsage:export:\x01*ZJ\"E/v1beta/{parent=organizations/*/locations/*}/reservationsUsage:export:\x01*ZD\"?/v1beta/{parent=folders/*/locations/*}/reservationsUsage:export:\x01*\x1a\x8a\x01\xca\x41\x1e\x63\x61pacityplanner.googleapis.com\xd2\x41\x66https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/devstorage.full_controlB\x86\x02\n\'com.google.cloud.capacityplanner.v1betaB\x11UsageServiceProtoP\x01ZQcloud.google.com/go/capacityplanner/apiv1beta/capacityplannerpb;capacityplannerpb\xaa\x02#Google.Cloud.CapacityPlanner.V1Beta\xca\x02#Google\\Cloud\\CapacityPlanner\\V1beta\xea\x02&Google::Cloud::CapacityPlanner::V1betab\x06proto3"
|
|
19
19
|
|
|
20
20
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
21
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-capacity_planner-v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.6'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.6'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|