google-cloud-capacity_planner-v1beta 0.2.0 → 0.3.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/AUTHENTICATION.md +4 -4
- data/README.md +4 -4
- data/lib/google/cloud/capacity_planner/v1beta/rest.rb +1 -2
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/client.rb +11 -11
- data/lib/google/cloud/capacity_planner/v1beta/usage_service/rest/client.rb +11 -11
- data/lib/google/cloud/capacity_planner/v1beta/version.rb +1 -1
- data/lib/google/cloud/capacity_planner/v1beta.rb +2 -3
- data/lib/google/cloud/capacityplanner/v1beta/usage_service_pb.rb +1 -1
- data/proto_docs/google/cloud/capacityplanner/v1beta/usage_service.rb +11 -11
- metadata +1 -11
- data/lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/client.rb +0 -686
- data/lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/credentials.rb +0 -48
- data/lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/paths.rb +0 -64
- data/lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/rest/client.rb +0 -639
- data/lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/rest/service_stub.rb +0 -279
- data/lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/rest.rb +0 -54
- data/lib/google/cloud/capacity_planner/v1beta/capacity_planning_service.rb +0 -57
- data/lib/google/cloud/capacityplanner/v1beta/capacity_planning_service_pb.rb +0 -73
- data/lib/google/cloud/capacityplanner/v1beta/capacity_planning_service_services_pb.rb +0 -54
- data/proto_docs/google/cloud/capacityplanner/v1beta/capacity_planning_service.rb +0 -374
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4b6636fd13232ed20c4a17f93e88101128a9b0a970bbc9a63c75f6b139418f0
|
4
|
+
data.tar.gz: e6c95666ef8ea0d13459bbf22234c269e3d92166d918265e56c2e709456a55b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49046b7083cd1ba486874da1762b014f6f615190945fe0d3ed23398300a9483a86c5ea80f59dee21b247f5889bb67aa35b6433df6a3948eca7dd999efafbff32
|
7
|
+
data.tar.gz: 9801cc197e694bbb823462f28b655f44d21ac63fdbad91d4580a31540436c3368a30d616a96997c9015324c2cd0d51b3e0102a433e3cbfafae1cdff5160d308c
|
data/AUTHENTICATION.md
CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
|
|
56
56
|
```ruby
|
57
57
|
require "google/cloud/capacity_planner/v1beta"
|
58
58
|
|
59
|
-
client = ::Google::Cloud::CapacityPlanner::V1beta::
|
59
|
+
client = ::Google::Cloud::CapacityPlanner::V1beta::UsageService::Client.new do |config|
|
60
60
|
config.credentials = "path/to/credentialfile.json"
|
61
61
|
end
|
62
62
|
```
|
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
|
|
66
66
|
```ruby
|
67
67
|
require "google/cloud/capacity_planner/v1beta"
|
68
68
|
|
69
|
-
::Google::Cloud::CapacityPlanner::V1beta::
|
69
|
+
::Google::Cloud::CapacityPlanner::V1beta::UsageService::Client.configure do |config|
|
70
70
|
config.credentials = "path/to/credentialfile.json"
|
71
71
|
end
|
72
72
|
|
73
|
-
client = ::Google::Cloud::CapacityPlanner::V1beta::
|
73
|
+
client = ::Google::Cloud::CapacityPlanner::V1beta::UsageService::Client.new
|
74
74
|
```
|
75
75
|
|
76
76
|
### Environment Variables
|
@@ -100,7 +100,7 @@ require "google/cloud/capacity_planner/v1beta"
|
|
100
100
|
|
101
101
|
ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
|
102
102
|
|
103
|
-
client = ::Google::Cloud::CapacityPlanner::V1beta::
|
103
|
+
client = ::Google::Cloud::CapacityPlanner::V1beta::UsageService::Client.new
|
104
104
|
```
|
105
105
|
|
106
106
|
### Local ADC file
|
data/README.md
CHANGED
@@ -31,9 +31,9 @@ In order to use this library, you first need to go through the following steps:
|
|
31
31
|
```ruby
|
32
32
|
require "google/cloud/capacity_planner/v1beta"
|
33
33
|
|
34
|
-
client = ::Google::Cloud::CapacityPlanner::V1beta::
|
35
|
-
request = ::Google::Cloud::CapacityPlanner::V1beta::
|
36
|
-
response = client.
|
34
|
+
client = ::Google::Cloud::CapacityPlanner::V1beta::UsageService::Client.new
|
35
|
+
request = ::Google::Cloud::CapacityPlanner::V1beta::QueryUsageHistoriesRequest.new # (request fields as keyword arguments...)
|
36
|
+
response = client.query_usage_histories request
|
37
37
|
```
|
38
38
|
|
39
39
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest)
|
@@ -74,7 +74,7 @@ constructing a client object. For example:
|
|
74
74
|
require "google/cloud/capacity_planner/v1beta"
|
75
75
|
require "logger"
|
76
76
|
|
77
|
-
client = ::Google::Cloud::CapacityPlanner::V1beta::
|
77
|
+
client = ::Google::Cloud::CapacityPlanner::V1beta::UsageService::Client.new do |config|
|
78
78
|
config.logger = Logger.new "my-app.log"
|
79
79
|
end
|
80
80
|
```
|
@@ -16,7 +16,6 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
-
require "google/cloud/capacity_planner/v1beta/capacity_planning_service/rest"
|
20
19
|
require "google/cloud/capacity_planner/v1beta/usage_service/rest"
|
21
20
|
require "google/cloud/capacity_planner/v1beta/version"
|
22
21
|
|
@@ -29,7 +28,7 @@ module Google
|
|
29
28
|
# @example
|
30
29
|
#
|
31
30
|
# require "google/cloud/capacity_planner/v1beta/rest"
|
32
|
-
# client = ::Google::Cloud::CapacityPlanner::V1beta::
|
31
|
+
# client = ::Google::Cloud::CapacityPlanner::V1beta::UsageService::Rest::Client.new
|
33
32
|
#
|
34
33
|
module V1beta
|
35
34
|
end
|
@@ -255,10 +255,10 @@ module Google
|
|
255
255
|
# Optional. The TPU type for the `UsageHistory` values to return. Empty
|
256
256
|
# tpu_type will return results matching all TPUs.
|
257
257
|
# @param cloud_resource_type [::String]
|
258
|
-
# The resource for the `UsageHistory` values to return. Possible
|
259
|
-
# include "gce-vcpus", "gce-ram", "gce-local-ssd",
|
260
|
-
# "gce-gpu" and "gce-tpu".
|
261
|
-
#
|
258
|
+
# Required. The resource for the `UsageHistory` values to return. Possible
|
259
|
+
# values include "gce-vcpus", "gce-ram", "gce-local-ssd",
|
260
|
+
# "gce-persistent-disk", "gce-gpu" and "gce-tpu". Empty cloud_resource_type
|
261
|
+
# will return results matching all resources.
|
262
262
|
# @param usage_aggregation_method [::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod]
|
263
263
|
# The method that should be used to convert sampled usage data to daily
|
264
264
|
# usage values.
|
@@ -380,10 +380,10 @@ module Google
|
|
380
380
|
# Optional. The TPU type for the `Forecast` values to return. Empty tpu_type
|
381
381
|
# will return results matching all TPUs.
|
382
382
|
# @param cloud_resource_type [::String]
|
383
|
-
# The resource for the `Forecast` values to return. Possible values
|
384
|
-
# "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
|
385
|
-
# and "gce-tpu".
|
386
|
-
#
|
383
|
+
# Required. The resource for the `Forecast` values to return. Possible values
|
384
|
+
# include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
|
385
|
+
# "gce-gpu" and "gce-tpu". Empty cloud_resource_type will return results
|
386
|
+
# matching all resources.
|
387
387
|
# @param forecast_type [::Google::Cloud::CapacityPlanner::V1beta::Forecast::ForecastType]
|
388
388
|
# The type of forecast to use to select the `Forecast` values to return.
|
389
389
|
# FORECAST_TYPE_UNSPECIFIED will return results matching all the forecast
|
@@ -500,10 +500,10 @@ module Google
|
|
500
500
|
# https://cloud.google.com/compute/docs/gpus for a list. Empty gpu_type
|
501
501
|
# will return results matching all GPUs.
|
502
502
|
# @param cloud_resource_type [::String]
|
503
|
-
#
|
503
|
+
# Required. The resource for the reserved values to return. Possible values
|
504
504
|
# include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-gpu" and "gce-vm".
|
505
505
|
# @param reservation_type [::Google::Cloud::CapacityPlanner::V1beta::QueryReservationsRequest::ReservationType]
|
506
|
-
#
|
506
|
+
# Required. The Reservation type for example, future reservation request and
|
507
507
|
# allocation. If unspecified, all types are
|
508
508
|
# included.
|
509
509
|
# @param share_type [::Google::Cloud::CapacityPlanner::V1beta::QueryReservationsRequest::ShareType]
|
@@ -515,7 +515,7 @@ module Google
|
|
515
515
|
# parent project/folder/organization. If unspecified, all types are
|
516
516
|
# included.
|
517
517
|
# @param reservation_data_level [::Google::Cloud::CapacityPlanner::V1beta::QueryReservationsRequest::ReservationDataLevel]
|
518
|
-
#
|
518
|
+
# Required. Reservations output data format.
|
519
519
|
# @param include_unapproved_reservations [::Boolean]
|
520
520
|
# Optional. Whether to include pending for approval reservations in the
|
521
521
|
# response. This field is only applicable for future reservations.
|
@@ -248,10 +248,10 @@ module Google
|
|
248
248
|
# Optional. The TPU type for the `UsageHistory` values to return. Empty
|
249
249
|
# tpu_type will return results matching all TPUs.
|
250
250
|
# @param cloud_resource_type [::String]
|
251
|
-
# The resource for the `UsageHistory` values to return. Possible
|
252
|
-
# include "gce-vcpus", "gce-ram", "gce-local-ssd",
|
253
|
-
# "gce-gpu" and "gce-tpu".
|
254
|
-
#
|
251
|
+
# Required. The resource for the `UsageHistory` values to return. Possible
|
252
|
+
# values include "gce-vcpus", "gce-ram", "gce-local-ssd",
|
253
|
+
# "gce-persistent-disk", "gce-gpu" and "gce-tpu". Empty cloud_resource_type
|
254
|
+
# will return results matching all resources.
|
255
255
|
# @param usage_aggregation_method [::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod]
|
256
256
|
# The method that should be used to convert sampled usage data to daily
|
257
257
|
# usage values.
|
@@ -366,10 +366,10 @@ module Google
|
|
366
366
|
# Optional. The TPU type for the `Forecast` values to return. Empty tpu_type
|
367
367
|
# will return results matching all TPUs.
|
368
368
|
# @param cloud_resource_type [::String]
|
369
|
-
# The resource for the `Forecast` values to return. Possible values
|
370
|
-
# "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
|
371
|
-
# and "gce-tpu".
|
372
|
-
#
|
369
|
+
# Required. The resource for the `Forecast` values to return. Possible values
|
370
|
+
# include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
|
371
|
+
# "gce-gpu" and "gce-tpu". Empty cloud_resource_type will return results
|
372
|
+
# matching all resources.
|
373
373
|
# @param forecast_type [::Google::Cloud::CapacityPlanner::V1beta::Forecast::ForecastType]
|
374
374
|
# The type of forecast to use to select the `Forecast` values to return.
|
375
375
|
# FORECAST_TYPE_UNSPECIFIED will return results matching all the forecast
|
@@ -479,10 +479,10 @@ module Google
|
|
479
479
|
# https://cloud.google.com/compute/docs/gpus for a list. Empty gpu_type
|
480
480
|
# will return results matching all GPUs.
|
481
481
|
# @param cloud_resource_type [::String]
|
482
|
-
#
|
482
|
+
# Required. The resource for the reserved values to return. Possible values
|
483
483
|
# include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-gpu" and "gce-vm".
|
484
484
|
# @param reservation_type [::Google::Cloud::CapacityPlanner::V1beta::QueryReservationsRequest::ReservationType]
|
485
|
-
#
|
485
|
+
# Required. The Reservation type for example, future reservation request and
|
486
486
|
# allocation. If unspecified, all types are
|
487
487
|
# included.
|
488
488
|
# @param share_type [::Google::Cloud::CapacityPlanner::V1beta::QueryReservationsRequest::ShareType]
|
@@ -494,7 +494,7 @@ module Google
|
|
494
494
|
# parent project/folder/organization. If unspecified, all types are
|
495
495
|
# included.
|
496
496
|
# @param reservation_data_level [::Google::Cloud::CapacityPlanner::V1beta::QueryReservationsRequest::ReservationDataLevel]
|
497
|
-
#
|
497
|
+
# Required. Reservations output data format.
|
498
498
|
# @param include_unapproved_reservations [::Boolean]
|
499
499
|
# Optional. Whether to include pending for approval reservations in the
|
500
500
|
# response. This field is only applicable for future reservations.
|
@@ -16,7 +16,6 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
-
require "google/cloud/capacity_planner/v1beta/capacity_planning_service"
|
20
19
|
require "google/cloud/capacity_planner/v1beta/usage_service"
|
21
20
|
require "google/cloud/capacity_planner/v1beta/version"
|
22
21
|
|
@@ -29,12 +28,12 @@ module Google
|
|
29
28
|
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
29
|
#
|
31
30
|
# require "google/cloud/capacity_planner/v1beta"
|
32
|
-
# client = ::Google::Cloud::CapacityPlanner::V1beta::
|
31
|
+
# client = ::Google::Cloud::CapacityPlanner::V1beta::UsageService::Client.new
|
33
32
|
#
|
34
33
|
# @example Load this package, including all its services, and instantiate a REST client
|
35
34
|
#
|
36
35
|
# require "google/cloud/capacity_planner/v1beta"
|
37
|
-
# client = ::Google::Cloud::CapacityPlanner::V1beta::
|
36
|
+
# client = ::Google::Cloud::CapacityPlanner::V1beta::UsageService::Rest::Client.new
|
38
37
|
#
|
39
38
|
module V1beta
|
40
39
|
end
|
@@ -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\"\xef\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\x1b\n\x13\x63loud_resource_type\x18\x03 \x01(\t\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\"\xcf\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\x1b\n\x13\x63loud_resource_type\x18\x03 \x01(\t\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\x01\x12l\n\x10reservation_type\x18\x05 \x01(\x0e\x32M.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationTypeB\x03\xe0\x41\x01\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\x01\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\"\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"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -67,10 +67,10 @@ module Google
|
|
67
67
|
# tpu_type will return results matching all TPUs.
|
68
68
|
# @!attribute [rw] cloud_resource_type
|
69
69
|
# @return [::String]
|
70
|
-
# The resource for the `UsageHistory` values to return. Possible
|
71
|
-
# include "gce-vcpus", "gce-ram", "gce-local-ssd",
|
72
|
-
# "gce-gpu" and "gce-tpu".
|
73
|
-
#
|
70
|
+
# Required. The resource for the `UsageHistory` values to return. Possible
|
71
|
+
# values include "gce-vcpus", "gce-ram", "gce-local-ssd",
|
72
|
+
# "gce-persistent-disk", "gce-gpu" and "gce-tpu". Empty cloud_resource_type
|
73
|
+
# will return results matching all resources.
|
74
74
|
# @!attribute [rw] usage_aggregation_method
|
75
75
|
# @return [::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod]
|
76
76
|
# The method that should be used to convert sampled usage data to daily
|
@@ -135,10 +135,10 @@ module Google
|
|
135
135
|
# will return results matching all TPUs.
|
136
136
|
# @!attribute [rw] cloud_resource_type
|
137
137
|
# @return [::String]
|
138
|
-
# The resource for the `Forecast` values to return. Possible values
|
139
|
-
# "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
|
140
|
-
# and "gce-tpu".
|
141
|
-
#
|
138
|
+
# Required. The resource for the `Forecast` values to return. Possible values
|
139
|
+
# include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
|
140
|
+
# "gce-gpu" and "gce-tpu". Empty cloud_resource_type will return results
|
141
|
+
# matching all resources.
|
142
142
|
# @!attribute [rw] forecast_type
|
143
143
|
# @return [::Google::Cloud::CapacityPlanner::V1beta::Forecast::ForecastType]
|
144
144
|
# The type of forecast to use to select the `Forecast` values to return.
|
@@ -195,11 +195,11 @@ module Google
|
|
195
195
|
# will return results matching all GPUs.
|
196
196
|
# @!attribute [rw] cloud_resource_type
|
197
197
|
# @return [::String]
|
198
|
-
#
|
198
|
+
# Required. The resource for the reserved values to return. Possible values
|
199
199
|
# include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-gpu" and "gce-vm".
|
200
200
|
# @!attribute [rw] reservation_type
|
201
201
|
# @return [::Google::Cloud::CapacityPlanner::V1beta::QueryReservationsRequest::ReservationType]
|
202
|
-
#
|
202
|
+
# Required. The Reservation type for example, future reservation request and
|
203
203
|
# allocation. If unspecified, all types are
|
204
204
|
# included.
|
205
205
|
# @!attribute [rw] share_type
|
@@ -214,7 +214,7 @@ module Google
|
|
214
214
|
# included.
|
215
215
|
# @!attribute [rw] reservation_data_level
|
216
216
|
# @return [::Google::Cloud::CapacityPlanner::V1beta::QueryReservationsRequest::ReservationDataLevel]
|
217
|
-
#
|
217
|
+
# Required. Reservations output data format.
|
218
218
|
# @!attribute [rw] include_unapproved_reservations
|
219
219
|
# @return [::Boolean]
|
220
220
|
# Optional. Whether to include pending for approval reservations in the
|
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -52,13 +52,6 @@ files:
|
|
52
52
|
- README.md
|
53
53
|
- lib/google-cloud-capacity_planner-v1beta.rb
|
54
54
|
- lib/google/cloud/capacity_planner/v1beta.rb
|
55
|
-
- lib/google/cloud/capacity_planner/v1beta/capacity_planning_service.rb
|
56
|
-
- lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/client.rb
|
57
|
-
- lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/credentials.rb
|
58
|
-
- lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/paths.rb
|
59
|
-
- lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/rest.rb
|
60
|
-
- lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/rest/client.rb
|
61
|
-
- lib/google/cloud/capacity_planner/v1beta/capacity_planning_service/rest/service_stub.rb
|
62
55
|
- lib/google/cloud/capacity_planner/v1beta/rest.rb
|
63
56
|
- lib/google/cloud/capacity_planner/v1beta/usage_service.rb
|
64
57
|
- lib/google/cloud/capacity_planner/v1beta/usage_service/client.rb
|
@@ -71,8 +64,6 @@ files:
|
|
71
64
|
- lib/google/cloud/capacity_planner/v1beta/usage_service/rest/service_stub.rb
|
72
65
|
- lib/google/cloud/capacity_planner/v1beta/version.rb
|
73
66
|
- lib/google/cloud/capacityplanner/v1beta/allocation_pb.rb
|
74
|
-
- lib/google/cloud/capacityplanner/v1beta/capacity_planning_service_pb.rb
|
75
|
-
- lib/google/cloud/capacityplanner/v1beta/capacity_planning_service_services_pb.rb
|
76
67
|
- lib/google/cloud/capacityplanner/v1beta/future_reservation_pb.rb
|
77
68
|
- lib/google/cloud/capacityplanner/v1beta/location_pb.rb
|
78
69
|
- lib/google/cloud/capacityplanner/v1beta/resource_pb.rb
|
@@ -84,7 +75,6 @@ files:
|
|
84
75
|
- proto_docs/google/api/launch_stage.rb
|
85
76
|
- proto_docs/google/api/resource.rb
|
86
77
|
- proto_docs/google/cloud/capacityplanner/v1beta/allocation.rb
|
87
|
-
- proto_docs/google/cloud/capacityplanner/v1beta/capacity_planning_service.rb
|
88
78
|
- proto_docs/google/cloud/capacityplanner/v1beta/future_reservation.rb
|
89
79
|
- proto_docs/google/cloud/capacityplanner/v1beta/location.rb
|
90
80
|
- proto_docs/google/cloud/capacityplanner/v1beta/resource.rb
|