Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/google-cloud-capacityplanner/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
# limitations under the License.

deep-copy-regex:
- source: /google/cloud/capacityplanner/v1beta/capacityplanner-v1beta-nodejs
dest: /owl-bot-staging/google-cloud-capacityplanner
- source: /google/cloud/capacityplanner/google-cloud-capacityplanner-nodejs
dest: /owl-bot-staging/google-cloud-capacityplanner

api-name: capacityplanner
api-name: capacityplanner
2 changes: 1 addition & 1 deletion packages/google-cloud-capacityplanner/.jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2025 Google LLC',
copyright: 'Copyright 2026 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/capacityplanner',
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-capacityplanner/.nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
],
"exclude-after-remap": false,
"all": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ option java_package = "com.google.cloud.capacityplanner.v1beta";
option php_namespace = "Google\\Cloud\\CapacityPlanner\\V1beta";
option ruby_package = "Google::Cloud::CapacityPlanner::V1beta";

// LINT: LEGACY_NAMES

// Provides access to historical and forecasted usage data.
service UsageService {
option (google.api.default_host) = "capacityplanner.googleapis.com";
Expand Down Expand Up @@ -212,11 +210,11 @@ message QueryUsageHistoriesRequest {
// tpu_type will return results matching all TPUs.
string tpu_type = 12 [(google.api.field_behavior) = OPTIONAL];

// The resource for the `UsageHistory` values to return. Possible values
// include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
// "gce-gpu" and "gce-tpu".
// Empty cloud_resource_type will return results matching all resources.
string cloud_resource_type = 3;
// Required. The resource for the `UsageHistory` values to return. Possible
// values include "gce-vcpus", "gce-ram", "gce-local-ssd",
// "gce-persistent-disk", "gce-gpu" and "gce-tpu". Empty cloud_resource_type
// will return results matching all resources.
string cloud_resource_type = 3 [(google.api.field_behavior) = REQUIRED];

// The method that should be used to convert sampled usage data to daily
// usage values.
Expand Down Expand Up @@ -279,11 +277,11 @@ message QueryForecastsRequest {
// will return results matching all TPUs.
string tpu_type = 11 [(google.api.field_behavior) = OPTIONAL];

// The resource for the `Forecast` values to return. Possible values include
// "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk", "gce-gpu"
// and "gce-tpu".
// Empty cloud_resource_type will return results matching all resources.
string cloud_resource_type = 3;
// Required. The resource for the `Forecast` values to return. Possible values
// include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
// "gce-gpu" and "gce-tpu". Empty cloud_resource_type will return results
// matching all resources.
string cloud_resource_type = 3 [(google.api.field_behavior) = REQUIRED];

// The type of forecast to use to select the `Forecast` values to return.
// FORECAST_TYPE_UNSPECIFIED will return results matching all the forecast
Expand Down Expand Up @@ -398,14 +396,14 @@ message QueryReservationsRequest {
// will return results matching all GPUs.
string gpu_type = 3 [(google.api.field_behavior) = OPTIONAL];

// Optional. The resource for the reserved values to return. Possible values
// Required. The resource for the reserved values to return. Possible values
// include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-gpu" and "gce-vm".
string cloud_resource_type = 4 [(google.api.field_behavior) = OPTIONAL];
string cloud_resource_type = 4 [(google.api.field_behavior) = REQUIRED];

// Optional. The Reservation type for example, future reservation request and
// Required. The Reservation type for example, future reservation request and
// allocation. If unspecified, all types are
// included.
ReservationType reservation_type = 5 [(google.api.field_behavior) = OPTIONAL];
ReservationType reservation_type = 5 [(google.api.field_behavior) = REQUIRED];

// Optional. Types of share settings to filter reservations in response. If
// unspecified, all types are included.
Expand All @@ -417,9 +415,9 @@ message QueryReservationsRequest {
// included.
OwnershipType ownership_type = 7 [(google.api.field_behavior) = OPTIONAL];

// Optional. Reservations output data format.
// Required. Reservations output data format.
ReservationDataLevel reservation_data_level = 8
[(google.api.field_behavior) = OPTIONAL];
[(google.api.field_behavior) = REQUIRED];

// Optional. Whether to include pending for approval reservations in the
// response. This field is only applicable for future reservations.
Expand Down
Loading
Loading