Skip to content

Commit 7fb5ae8

Browse files
1 parent 2612f0a commit 7fb5ae8

6 files changed

Lines changed: 77 additions & 35 deletions

src/CloudAlloyDBAdmin/Instance.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ class Instance extends \Google\Collection
107107
* restricted while the instance is in this state.
108108
*/
109109
public const STATE_SWITCHOVER = 'SWITCHOVER';
110+
/**
111+
* The instance is being stopped.
112+
*/
113+
public const STATE_STOPPING = 'STOPPING';
114+
/**
115+
* The instance is being started.
116+
*/
117+
public const STATE_STARTING = 'STARTING';
110118
protected $collection_key = 'outboundPublicIpAddresses';
111119
/**
112120
* Optional. Specifies whether an instance needs to spin up. Once the instance
@@ -785,7 +793,8 @@ public function getSatisfiesPzs()
785793
* Output only. The current serving state of the instance.
786794
*
787795
* Accepted values: STATE_UNSPECIFIED, READY, STOPPED, CREATING, DELETING,
788-
* MAINTENANCE, FAILED, BOOTSTRAPPING, PROMOTING, SWITCHOVER
796+
* MAINTENANCE, FAILED, BOOTSTRAPPING, PROMOTING, SWITCHOVER, STOPPING,
797+
* STARTING
789798
*
790799
* @param self::STATE_* $state
791800
*/

src/CloudAlloyDBAdmin/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.php

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed extends \Google\
4848
* Database resource signal data
4949
*/
5050
public const FEED_TYPE_DATABASE_RESOURCE_SIGNAL_DATA = 'DATABASE_RESOURCE_SIGNAL_DATA';
51-
/**
52-
* BigQuery resource metadata
53-
*/
54-
public const FEED_TYPE_BIGQUERY_RESOURCE_METADATA = 'BIGQUERY_RESOURCE_METADATA';
5551
protected $backupdrMetadataType = StorageDatabasecenterPartnerapiV1mainBackupDRMetadata::class;
5652
protected $backupdrMetadataDataType = '';
57-
protected $bigqueryResourceMetadataType = StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata::class;
58-
protected $bigqueryResourceMetadataDataType = '';
5953
protected $configBasedSignalDataType = StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData::class;
6054
protected $configBasedSignalDataDataType = '';
6155
protected $databaseResourceSignalDataType = StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData::class;
@@ -109,22 +103,6 @@ public function getBackupdrMetadata()
109103
{
110104
return $this->backupdrMetadata;
111105
}
112-
/**
113-
* For BigQuery resource metadata.
114-
*
115-
* @param StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata $bigqueryResourceMetadata
116-
*/
117-
public function setBigqueryResourceMetadata(StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata $bigqueryResourceMetadata)
118-
{
119-
$this->bigqueryResourceMetadata = $bigqueryResourceMetadata;
120-
}
121-
/**
122-
* @return StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata
123-
*/
124-
public function getBigqueryResourceMetadata()
125-
{
126-
return $this->bigqueryResourceMetadata;
127-
}
128106
/**
129107
* Config based signal data is used to ingest signals that are generated based
130108
* on the configuration of the database resource.
@@ -180,8 +158,7 @@ public function getFeedTimestamp()
180158
*
181159
* Accepted values: FEEDTYPE_UNSPECIFIED, RESOURCE_METADATA,
182160
* OBSERVABILITY_DATA, SECURITY_FINDING_DATA, RECOMMENDATION_SIGNAL_DATA,
183-
* CONFIG_BASED_SIGNAL_DATA, BACKUPDR_METADATA, DATABASE_RESOURCE_SIGNAL_DATA,
184-
* BIGQUERY_RESOURCE_METADATA
161+
* CONFIG_BASED_SIGNAL_DATA, BACKUPDR_METADATA, DATABASE_RESOURCE_SIGNAL_DATA
185162
*
186163
* @param self::FEED_TYPE_* $feedType
187164
*/

src/CloudAlloyDBAdmin/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData exte
573573
* Resource version is in extended support.
574574
*/
575575
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';
576580
/**
577581
* Unspecified state.
578582
*/
@@ -1002,7 +1006,8 @@ public function getSignalSeverity()
10021006
* SIGNAL_TYPE_MANY_IDLE_CONNECTIONS, SIGNAL_TYPE_REPLICATION_LAG,
10031007
* SIGNAL_TYPE_OUTDATED_VERSION, SIGNAL_TYPE_OUTDATED_CLIENT,
10041008
* SIGNAL_TYPE_DATABOOST_DISABLED,
1005-
* 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
10061011
*
10071012
* @param self::SIGNAL_TYPE_* $signalType
10081013
*/

src/CloudAlloyDBAdmin/StorageDatabasecenterPartnerapiV1mainDatabaseResourceId.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId extends \Google\Mo
6464
/**
6565
* Required. The type of resource this ID is identifying. Ex go/keep-sorted
6666
* start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance,
67-
* bigquery.googleapis.com/Dataset, bigtableadmin.googleapis.com/Cluster,
68-
* bigtableadmin.googleapis.com/Instance compute.googleapis.com/Instance
69-
* firestore.googleapis.com/Database, redis.googleapis.com/Instance,
70-
* redis.googleapis.com/Cluster,
67+
* bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance
68+
* compute.googleapis.com/Instance firestore.googleapis.com/Database,
69+
* redis.googleapis.com/Instance, redis.googleapis.com/Cluster,
7170
* oracledatabase.googleapis.com/CloudExadataInfrastructure
7271
* oracledatabase.googleapis.com/CloudVmCluster
7372
* oracledatabase.googleapis.com/AutonomousDatabase
@@ -124,10 +123,9 @@ public function getProviderDescription()
124123
/**
125124
* Required. The type of resource this ID is identifying. Ex go/keep-sorted
126125
* start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance,
127-
* bigquery.googleapis.com/Dataset, bigtableadmin.googleapis.com/Cluster,
128-
* bigtableadmin.googleapis.com/Instance compute.googleapis.com/Instance
129-
* firestore.googleapis.com/Database, redis.googleapis.com/Instance,
130-
* redis.googleapis.com/Cluster,
126+
* bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance
127+
* compute.googleapis.com/Instance firestore.googleapis.com/Database,
128+
* redis.googleapis.com/Instance, redis.googleapis.com/Cluster,
131129
* oracledatabase.googleapis.com/CloudExadataInfrastructure
132130
* oracledatabase.googleapis.com/CloudVmCluster
133131
* oracledatabase.googleapis.com/AutonomousDatabase

src/CloudAlloyDBAdmin/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,10 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD
520520
* Resource version is in extended support.
521521
*/
522522
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';
523527
/**
524528
* Optional. Any other additional metadata specific to recommendation
525529
*
@@ -786,7 +790,8 @@ public function getResourceName()
786790
* SIGNAL_TYPE_MANY_IDLE_CONNECTIONS, SIGNAL_TYPE_REPLICATION_LAG,
787791
* SIGNAL_TYPE_OUTDATED_VERSION, SIGNAL_TYPE_OUTDATED_CLIENT,
788792
* SIGNAL_TYPE_DATABOOST_DISABLED,
789-
* 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
790795
*
791796
* @param self::SIGNAL_TYPE_* $signalType
792797
*/

src/CloudAlloyDBAdmin/StorageDatabasecenterPartnerapiV1mainMachineConfiguration.php

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

2020
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration 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 StorageDatabasecenterPartnerapiV1mainMachineConfiguration extends \Google\
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 StorageDatabasecenterPartnerapiV1mainMachineConfiguration extends \Google\
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.

0 commit comments

Comments
 (0)