Skip to content

Commit afe8ef4

Browse files
1 parent e9f401f commit afe8ef4

7 files changed

Lines changed: 89 additions & 11 deletions

src/CloudRedis/ConfigBasedSignalData.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ class ConfigBasedSignalData extends \Google\Model
4949
* Represents if a resource version is in extended support.
5050
*/
5151
public const SIGNAL_TYPE_SIGNAL_TYPE_EXTENDED_SUPPORT = 'SIGNAL_TYPE_EXTENDED_SUPPORT';
52+
/**
53+
* Represents if a resource has no automated backup policy.
54+
*/
55+
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY = 'SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY';
5256
/**
5357
* Required. Full Resource name of the source resource.
5458
*
@@ -146,7 +150,8 @@ public function getSignalBoolValue()
146150
* Accepted values: SIGNAL_TYPE_UNSPECIFIED,
147151
* SIGNAL_TYPE_OUTDATED_MINOR_VERSION, SIGNAL_TYPE_DATABASE_AUDITING_DISABLED,
148152
* SIGNAL_TYPE_NO_ROOT_PASSWORD, SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS,
149-
* SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS, SIGNAL_TYPE_EXTENDED_SUPPORT
153+
* SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS, SIGNAL_TYPE_EXTENDED_SUPPORT,
154+
* SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY
150155
*
151156
* @param self::SIGNAL_TYPE_* $signalType
152157
*/

src/CloudRedis/DatabaseResourceHealthSignalData.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
328328
/**
329329
* Represents if the cross_db_ownership_chaining database flag for a Cloud SQL
330330
* for SQL Server instance is not set to off.
331+
*
332+
* @deprecated
331333
*/
332334
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING = 'SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING';
333335
/**
@@ -543,6 +545,8 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
543545
public const SIGNAL_TYPE_SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED = 'SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED';
544546
/**
545547
* High number of idle connections.
548+
*
549+
* @deprecated
546550
*/
547551
public const SIGNAL_TYPE_SIGNAL_TYPE_MANY_IDLE_CONNECTIONS = 'SIGNAL_TYPE_MANY_IDLE_CONNECTIONS';
548552
/**
@@ -569,6 +573,10 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
569573
* Resource version is in extended support.
570574
*/
571575
public const SIGNAL_TYPE_SIGNAL_TYPE_EXTENDED_SUPPORT = 'SIGNAL_TYPE_EXTENDED_SUPPORT';
576+
/**
577+
* Change in performance KPIs.
578+
*/
579+
public const SIGNAL_TYPE_SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE = 'SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE';
572580
/**
573581
* Unspecified state.
574582
*/
@@ -998,7 +1006,8 @@ public function getSignalSeverity()
9981006
* SIGNAL_TYPE_MANY_IDLE_CONNECTIONS, SIGNAL_TYPE_REPLICATION_LAG,
9991007
* SIGNAL_TYPE_OUTDATED_VERSION, SIGNAL_TYPE_OUTDATED_CLIENT,
10001008
* SIGNAL_TYPE_DATABOOST_DISABLED,
1001-
* SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES, SIGNAL_TYPE_EXTENDED_SUPPORT
1009+
* SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES, SIGNAL_TYPE_EXTENDED_SUPPORT,
1010+
* SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE
10021011
*
10031012
* @param self::SIGNAL_TYPE_* $signalType
10041013
*/

src/CloudRedis/DatabaseResourceRecommendationSignalData.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ class DatabaseResourceRecommendationSignalData extends \Google\Model
275275
/**
276276
* Represents if the cross_db_ownership_chaining database flag for a Cloud SQL
277277
* for SQL Server instance is not set to off.
278+
*
279+
* @deprecated
278280
*/
279281
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING = 'SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING';
280282
/**
@@ -490,6 +492,8 @@ class DatabaseResourceRecommendationSignalData extends \Google\Model
490492
public const SIGNAL_TYPE_SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED = 'SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED';
491493
/**
492494
* High number of idle connections.
495+
*
496+
* @deprecated
493497
*/
494498
public const SIGNAL_TYPE_SIGNAL_TYPE_MANY_IDLE_CONNECTIONS = 'SIGNAL_TYPE_MANY_IDLE_CONNECTIONS';
495499
/**
@@ -516,6 +520,10 @@ class DatabaseResourceRecommendationSignalData extends \Google\Model
516520
* Resource version is in extended support.
517521
*/
518522
public const SIGNAL_TYPE_SIGNAL_TYPE_EXTENDED_SUPPORT = 'SIGNAL_TYPE_EXTENDED_SUPPORT';
523+
/**
524+
* Change in performance KPIs.
525+
*/
526+
public const SIGNAL_TYPE_SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE = 'SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE';
519527
/**
520528
* Optional. Any other additional metadata specific to recommendation
521529
*
@@ -782,7 +790,8 @@ public function getResourceName()
782790
* SIGNAL_TYPE_MANY_IDLE_CONNECTIONS, SIGNAL_TYPE_REPLICATION_LAG,
783791
* SIGNAL_TYPE_OUTDATED_VERSION, SIGNAL_TYPE_OUTDATED_CLIENT,
784792
* SIGNAL_TYPE_DATABOOST_DISABLED,
785-
* SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES, SIGNAL_TYPE_EXTENDED_SUPPORT
793+
* SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES, SIGNAL_TYPE_EXTENDED_SUPPORT,
794+
* SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE
786795
*
787796
* @param self::SIGNAL_TYPE_* $signalType
788797
*/

src/CloudRedis/DatabaseResourceSignalData.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ class DatabaseResourceSignalData extends \Google\Model
6565
* Represents if a resource version is in extended support.
6666
*/
6767
public const SIGNAL_TYPE_SIGNAL_TYPE_EXTENDED_SUPPORT = 'SIGNAL_TYPE_EXTENDED_SUPPORT';
68+
/**
69+
* Represents if a resource has no automated backup policy.
70+
*/
71+
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY = 'SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY';
6872
/**
6973
* Required. Full Resource name of the source resource.
7074
*
@@ -186,7 +190,8 @@ public function getSignalState()
186190
* Accepted values: SIGNAL_TYPE_UNSPECIFIED,
187191
* SIGNAL_TYPE_OUTDATED_MINOR_VERSION, SIGNAL_TYPE_DATABASE_AUDITING_DISABLED,
188192
* SIGNAL_TYPE_NO_ROOT_PASSWORD, SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS,
189-
* SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS, SIGNAL_TYPE_EXTENDED_SUPPORT
193+
* SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS, SIGNAL_TYPE_EXTENDED_SUPPORT,
194+
* SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY
190195
*
191196
* @param self::SIGNAL_TYPE_* $signalType
192197
*/

src/CloudRedis/ListOperationsResponse.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ class ListOperationsResponse extends \Google\Collection
3030
protected $operationsDataType = 'array';
3131
/**
3232
* Unordered list. Unreachable resources. Populated when the request sets
33-
* `ListOperationsRequest.return_partial_success` and reads across collections
34-
* e.g. when attempting to list all resources across all supported locations.
33+
* `ListOperationsRequest.return_partial_success` and reads across
34+
* collections. For example, when attempting to list all resources across all
35+
* supported locations.
3536
*
3637
* @var string[]
3738
*/
@@ -71,8 +72,9 @@ public function getOperations()
7172
}
7273
/**
7374
* Unordered list. Unreachable resources. Populated when the request sets
74-
* `ListOperationsRequest.return_partial_success` and reads across collections
75-
* e.g. when attempting to list all resources across all supported locations.
75+
* `ListOperationsRequest.return_partial_success` and reads across
76+
* collections. For example, when attempting to list all resources across all
77+
* supported locations.
7678
*
7779
* @param string[] $unreachable
7880
*/

src/CloudRedis/MachineConfiguration.php

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919

2020
class MachineConfiguration extends \Google\Model
2121
{
22+
/**
23+
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
24+
* increments of 50.
25+
*
26+
* @var string
27+
*/
28+
public $baselineSlots;
2229
/**
2330
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482)
2431
* add proto validations again after bug fix.
@@ -27,6 +34,13 @@ class MachineConfiguration extends \Google\Model
2734
* @var int
2835
*/
2936
public $cpuCount;
37+
/**
38+
* Optional. Max slots for BigQuery Reservations. Max slots are in increments
39+
* of 50.
40+
*
41+
* @var string
42+
*/
43+
public $maxReservationSlots;
3044
/**
3145
* Memory size in bytes. TODO(b/342344482) add proto validations again after
3246
* bug fix.
@@ -48,6 +62,23 @@ class MachineConfiguration extends \Google\Model
4862
*/
4963
public $vcpuCount;
5064

65+
/**
66+
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
67+
* increments of 50.
68+
*
69+
* @param string $baselineSlots
70+
*/
71+
public function setBaselineSlots($baselineSlots)
72+
{
73+
$this->baselineSlots = $baselineSlots;
74+
}
75+
/**
76+
* @return string
77+
*/
78+
public function getBaselineSlots()
79+
{
80+
return $this->baselineSlots;
81+
}
5182
/**
5283
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482)
5384
* add proto validations again after bug fix.
@@ -67,6 +98,23 @@ public function getCpuCount()
6798
{
6899
return $this->cpuCount;
69100
}
101+
/**
102+
* Optional. Max slots for BigQuery Reservations. Max slots are in increments
103+
* of 50.
104+
*
105+
* @param string $maxReservationSlots
106+
*/
107+
public function setMaxReservationSlots($maxReservationSlots)
108+
{
109+
$this->maxReservationSlots = $maxReservationSlots;
110+
}
111+
/**
112+
* @return string
113+
*/
114+
public function getMaxReservationSlots()
115+
{
116+
return $this->maxReservationSlots;
117+
}
70118
/**
71119
* Memory size in bytes. TODO(b/342344482) add proto validations again after
72120
* bug fix.

src/CloudRedis/Resource/ProjectsLocationsOperations.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ public function get($name, $optParams = [])
9999
* @opt_param string pageToken The standard list page token.
100100
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
101101
* reachable are returned as normal, and those that are unreachable are returned
102-
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
103-
* when reading across collections e.g. when `parent` is set to
104-
* `"projects/example/locations/-"`. This field is not by default supported and
102+
* in the ListOperationsResponse.unreachable field. This can only be `true` when
103+
* reading across collections. For example, when `parent` is set to
104+
* `"projects/example/locations/-"`. This field is not supported by default and
105105
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
106106
* otherwise in service or product specific documentation.
107107
* @return ListOperationsResponse

0 commit comments

Comments
 (0)