Skip to content

Commit fb2fef1

Browse files
1 parent 96003d2 commit fb2fef1

14 files changed

Lines changed: 118 additions & 28 deletions

‎src/CloudRedis/AclPolicy.php‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ class AclPolicy extends \Google\Collection
2424
*/
2525
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
2626
/**
27-
* ACL Policy has been created and is fully usable. Since ACL Policy creation
27+
* ACL policy has been created and is fully usable. Since ACL policy creation
2828
* is synchronous and not an LRO, there is no CREATING state.
2929
*/
3030
public const STATE_ACTIVE = 'ACTIVE';
3131
/**
32-
* ACL Policy is being updated.
32+
* ACL policy is being updated.
3333
*/
3434
public const STATE_UPDATING = 'UPDATING';
3535
/**
36-
* ACL Policy is being deleted.
36+
* ACL policy is being deleted.
3737
*/
3838
public const STATE_DELETING = 'DELETING';
3939
protected $collection_key = 'rules';
@@ -58,8 +58,9 @@ class AclPolicy extends \Google\Collection
5858
*/
5959
public $state;
6060
/**
61-
* Output only. The version of the ACL policy. Used in drift resolution.
61+
* Output only. Deprecated: Used in drift resolution.
6262
*
63+
* @deprecated
6364
* @var string
6465
*/
6566
public $version;
@@ -131,15 +132,17 @@ public function getState()
131132
return $this->state;
132133
}
133134
/**
134-
* Output only. The version of the ACL policy. Used in drift resolution.
135+
* Output only. Deprecated: Used in drift resolution.
135136
*
137+
* @deprecated
136138
* @param string $version
137139
*/
138140
public function setVersion($version)
139141
{
140142
$this->version = $version;
141143
}
142144
/**
145+
* @deprecated
143146
* @return string
144147
*/
145148
public function getVersion()

‎src/CloudRedis/AvailabilityConfiguration.php‎

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

2020
class AvailabilityConfiguration extends \Google\Model
2121
{
22+
/**
23+
* Unspecified availability type.
24+
*/
2225
public const AVAILABILITY_TYPE_AVAILABILITY_TYPE_UNSPECIFIED = 'AVAILABILITY_TYPE_UNSPECIFIED';
2326
/**
2427
* Zonal available instance.

‎src/CloudRedis/BackupRun.php‎

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

2020
class BackupRun extends \Google\Model
2121
{
22+
/**
23+
* Unspecified status.
24+
*/
2225
public const STATUS_STATUS_UNSPECIFIED = 'STATUS_UNSPECIFIED';
2326
/**
2427
* The backup was successful.

‎src/CloudRedis/Cluster.php‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ class Cluster extends \Google\Collection
123123
*/
124124
public $aclPolicy;
125125
/**
126-
* Optional. Output only. Indicates whether the ACL rules applied to the
127-
* cluster are in sync with the latest ACL policy rules. This field is only
128-
* applicable if the ACL policy is set for the cluster.
126+
* Optional. Output only. Deprecated: Indicates whether the ACL rules applied
127+
* to the cluster are in sync.
129128
*
129+
* @deprecated
130130
* @var bool
131131
*/
132132
public $aclPolicyInSync;
@@ -367,17 +367,18 @@ public function getAclPolicy()
367367
return $this->aclPolicy;
368368
}
369369
/**
370-
* Optional. Output only. Indicates whether the ACL rules applied to the
371-
* cluster are in sync with the latest ACL policy rules. This field is only
372-
* applicable if the ACL policy is set for the cluster.
370+
* Optional. Output only. Deprecated: Indicates whether the ACL rules applied
371+
* to the cluster are in sync.
373372
*
373+
* @deprecated
374374
* @param bool $aclPolicyInSync
375375
*/
376376
public function setAclPolicyInSync($aclPolicyInSync)
377377
{
378378
$this->aclPolicyInSync = $aclPolicyInSync;
379379
}
380380
/**
381+
* @deprecated
381382
* @return bool
382383
*/
383384
public function getAclPolicyInSync()

‎src/CloudRedis/DatabaseResourceFeed.php‎

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

2020
class DatabaseResourceFeed extends \Google\Model
2121
{
22+
/**
23+
* Unspecified feed type. Not expected to be used.
24+
*/
2225
public const FEED_TYPE_FEEDTYPE_UNSPECIFIED = 'FEEDTYPE_UNSPECIFIED';
2326
/**
2427
* Database resource metadata feed from control plane
@@ -174,6 +177,8 @@ public function getFeedType()
174177
return $this->feedType;
175178
}
176179
/**
180+
* Observability metric data.
181+
*
177182
* @param ObservabilityMetricData $observabilityMetricData
178183
*/
179184
public function setObservabilityMetricData(ObservabilityMetricData $observabilityMetricData)
@@ -188,6 +193,8 @@ public function getObservabilityMetricData()
188193
return $this->observabilityMetricData;
189194
}
190195
/**
196+
* Database resource recommendation signal data.
197+
*
191198
* @param DatabaseResourceRecommendationSignalData $recommendationSignalData
192199
*/
193200
public function setRecommendationSignalData(DatabaseResourceRecommendationSignalData $recommendationSignalData)
@@ -202,6 +209,8 @@ public function getRecommendationSignalData()
202209
return $this->recommendationSignalData;
203210
}
204211
/**
212+
* Database resource health signal data.
213+
*
205214
* @param DatabaseResourceHealthSignalData $resourceHealthSignalData
206215
*/
207216
public function setResourceHealthSignalData(DatabaseResourceHealthSignalData $resourceHealthSignalData)
@@ -235,6 +244,8 @@ public function getResourceId()
235244
return $this->resourceId;
236245
}
237246
/**
247+
* Database resource metadata.
248+
*
238249
* @param DatabaseResourceMetadata $resourceMetadata
239250
*/
240251
public function setResourceMetadata(DatabaseResourceMetadata $resourceMetadata)

‎src/CloudRedis/DatabaseResourceHealthSignalData.php‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
class DatabaseResourceHealthSignalData extends \Google\Collection
2121
{
22+
/**
23+
* Unspecified provider.
24+
*/
2225
public const PROVIDER_PROVIDER_UNSPECIFIED = 'PROVIDER_UNSPECIFIED';
2326
/**
2427
* Google cloud platform provider
@@ -581,6 +584,14 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
581584
* Database version nearing end of life.
582585
*/
583586
public const SIGNAL_TYPE_SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE = 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE';
587+
/**
588+
* Indicates a high risk of maintenance downtime.
589+
*/
590+
public const SIGNAL_TYPE_SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK = 'SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK';
591+
/**
592+
* Indicates both a low cache hit rate and a risk of maintenance downtime.
593+
*/
594+
public const SIGNAL_TYPE_SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME = 'SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME';
584595
/**
585596
* Unspecified state.
586597
*/
@@ -694,6 +705,8 @@ class DatabaseResourceHealthSignalData extends \Google\Collection
694705
*/
695706
public $signalType;
696707
/**
708+
* Required. The state of the signal, such as if it's ACTIVE or RESOLVED.
709+
*
697710
* @var string
698711
*/
699712
public $state;
@@ -1011,7 +1024,10 @@ public function getSignalSeverity()
10111024
* SIGNAL_TYPE_OUTDATED_VERSION, SIGNAL_TYPE_OUTDATED_CLIENT,
10121025
* SIGNAL_TYPE_DATABOOST_DISABLED,
10131026
* SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES, SIGNAL_TYPE_EXTENDED_SUPPORT,
1014-
* SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE, SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE
1027+
* SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE,
1028+
* SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE,
1029+
* SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK,
1030+
* SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME
10151031
*
10161032
* @param self::SIGNAL_TYPE_* $signalType
10171033
*/
@@ -1027,6 +1043,10 @@ public function getSignalType()
10271043
return $this->signalType;
10281044
}
10291045
/**
1046+
* Required. The state of the signal, such as if it's ACTIVE or RESOLVED.
1047+
*
1048+
* Accepted values: STATE_UNSPECIFIED, ACTIVE, RESOLVED, MUTED
1049+
*
10301050
* @param self::STATE_* $state
10311051
*/
10321052
public function setState($state)

‎src/CloudRedis/DatabaseResourceId.php‎

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

2020
class DatabaseResourceId extends \Google\Model
2121
{
22+
/**
23+
* Unspecified provider.
24+
*/
2225
public const PROVIDER_PROVIDER_UNSPECIFIED = 'PROVIDER_UNSPECIFIED';
2326
/**
2427
* Google cloud platform provider

‎src/CloudRedis/DatabaseResourceRecommendationSignalData.php‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,14 @@ class DatabaseResourceRecommendationSignalData extends \Google\Model
528528
* Database version nearing end of life.
529529
*/
530530
public const SIGNAL_TYPE_SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE = 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE';
531+
/**
532+
* Indicates a high risk of maintenance downtime.
533+
*/
534+
public const SIGNAL_TYPE_SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK = 'SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK';
535+
/**
536+
* Indicates both a low cache hit rate and a risk of maintenance downtime.
537+
*/
538+
public const SIGNAL_TYPE_SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME = 'SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME';
531539
/**
532540
* Optional. Any other additional metadata specific to recommendation
533541
*
@@ -795,7 +803,10 @@ public function getResourceName()
795803
* SIGNAL_TYPE_OUTDATED_VERSION, SIGNAL_TYPE_OUTDATED_CLIENT,
796804
* SIGNAL_TYPE_DATABOOST_DISABLED,
797805
* SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES, SIGNAL_TYPE_EXTENDED_SUPPORT,
798-
* SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE, SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE
806+
* SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE,
807+
* SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE,
808+
* SIGNAL_TYPE_HIGH_MAINTENANCE_DOWNTIME_RISK,
809+
* SIGNAL_TYPE_LOW_CACHE_HIT_AND_MAINTENANCE_DOWNTIME
799810
*
800811
* @param self::SIGNAL_TYPE_* $signalType
801812
*/

‎src/CloudRedis/InternalResourceMetadata.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ public function getIsDeletionProtectionEnabled()
9090
return $this->isDeletionProtectionEnabled;
9191
}
9292
/**
93+
* The product this resource represents.
94+
*
9395
* @param Product $product
9496
*/
9597
public function setProduct(Product $product)

‎src/CloudRedis/ListAclPoliciesResponse.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ListAclPoliciesResponse extends \Google\Collection
3030
*/
3131
public $nextPageToken;
3232
/**
33-
* Locations that could not be reached.
33+
* Unordered list. Locations that could not be reached.
3434
*
3535
* @var string[]
3636
*/
@@ -73,7 +73,7 @@ public function getNextPageToken()
7373
return $this->nextPageToken;
7474
}
7575
/**
76-
* Locations that could not be reached.
76+
* Unordered list. Locations that could not be reached.
7777
*
7878
* @param string[] $unreachable
7979
*/

0 commit comments

Comments
 (0)