@@ -3779,7 +3779,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37793779 # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
37803780 attr_accessor :resource_id
37813781
3782- # Common model for database resource instance metadata. Next ID: 30
3782+ # Common model for database resource instance metadata. Next ID: 31
37833783 # Corresponds to the JSON property `resourceMetadata`
37843784 # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
37853785 attr_accessor :resource_metadata
@@ -3977,7 +3977,7 @@ def update!(**args)
39773977 end
39783978 end
39793979
3980- # Common model for database resource instance metadata. Next ID: 30
3980+ # Common model for database resource instance metadata. Next ID: 31
39813981 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
39823982 include Google ::Apis ::Core ::Hashable
39833983
@@ -4099,6 +4099,11 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
40994099 # @return [String]
41004100 attr_accessor :resource_container
41014101
4102+ # Optional. List of resource flags for the database resource.
4103+ # Corresponds to the JSON property `resourceFlags`
4104+ # @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags>]
4105+ attr_accessor :resource_flags
4106+
41024107 # Required. Different from DatabaseResourceId.unique_id, a resource name can be
41034108 # reused over time. That is, after a resource named "ABC" is deleted, the name "
41044109 # ABC" can be used to to create a new resource within the same source. Resource
@@ -4165,6 +4170,7 @@ def update!(**args)
41654170 @primary_resource_location = args [ :primary_resource_location ] if args . key? ( :primary_resource_location )
41664171 @product = args [ :product ] if args . key? ( :product )
41674172 @resource_container = args [ :resource_container ] if args . key? ( :resource_container )
4173+ @resource_flags = args [ :resource_flags ] if args . key? ( :resource_flags )
41684174 @resource_name = args [ :resource_name ] if args . key? ( :resource_name )
41694175 @suspension_reason = args [ :suspension_reason ] if args . key? ( :suspension_reason )
41704176 @tags_set = args [ :tags_set ] if args . key? ( :tags_set )
@@ -4529,6 +4535,31 @@ def update!(**args)
45294535 end
45304536 end
45314537
4538+ # Message type for storing resource flags.
4539+ class StorageDatabasecenterPartnerapiV1mainResourceFlags
4540+ include Google ::Apis ::Core ::Hashable
4541+
4542+ # Optional. Key of the resource flag.
4543+ # Corresponds to the JSON property `key`
4544+ # @return [String]
4545+ attr_accessor :key
4546+
4547+ # Optional. Value of the resource flag.
4548+ # Corresponds to the JSON property `value`
4549+ # @return [String]
4550+ attr_accessor :value
4551+
4552+ def initialize ( **args )
4553+ update! ( **args )
4554+ end
4555+
4556+ # Update properties of this object
4557+ def update! ( **args )
4558+ @key = args [ :key ] if args . key? ( :key )
4559+ @value = args [ :value ] if args . key? ( :value )
4560+ end
4561+ end
4562+
45324563 # Deny maintenance period for the database resource. It specifies the time range
45334564 # during which the maintenance cannot start. This is configured by the customer.
45344565 class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule
@@ -4586,6 +4617,14 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
45864617 # @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule>]
45874618 attr_accessor :deny_maintenance_schedules
45884619
4620+ # Optional. Whether the instance is in stopped state. This information is
4621+ # temporarily being captured in maintenanceInfo, till STOPPED state is supported
4622+ # by DB Center.
4623+ # Corresponds to the JSON property `isInstanceStopped`
4624+ # @return [Boolean]
4625+ attr_accessor :is_instance_stopped
4626+ alias_method :is_instance_stopped? , :is_instance_stopped
4627+
45894628 # Maintenance window for the database resource. It specifies preferred time and
45904629 # day of the week and phase in some cases, when the maintenance can start. This
45914630 # is configured by the customer.
@@ -4610,17 +4649,26 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
46104649 # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance]
46114650 attr_accessor :upcoming_maintenance
46124651
4652+ # Optional. This field will contain the date when the last version update was
4653+ # applied to the database resource. This will be used to calculate the age of
4654+ # the maintenance version.
4655+ # Corresponds to the JSON property `versionUpdateTime`
4656+ # @return [String]
4657+ attr_accessor :version_update_time
4658+
46134659 def initialize ( **args )
46144660 update! ( **args )
46154661 end
46164662
46174663 # Update properties of this object
46184664 def update! ( **args )
46194665 @deny_maintenance_schedules = args [ :deny_maintenance_schedules ] if args . key? ( :deny_maintenance_schedules )
4666+ @is_instance_stopped = args [ :is_instance_stopped ] if args . key? ( :is_instance_stopped )
46204667 @maintenance_schedule = args [ :maintenance_schedule ] if args . key? ( :maintenance_schedule )
46214668 @maintenance_state = args [ :maintenance_state ] if args . key? ( :maintenance_state )
46224669 @maintenance_version = args [ :maintenance_version ] if args . key? ( :maintenance_version )
46234670 @upcoming_maintenance = args [ :upcoming_maintenance ] if args . key? ( :upcoming_maintenance )
4671+ @version_update_time = args [ :version_update_time ] if args . key? ( :version_update_time )
46244672 end
46254673 end
46264674
0 commit comments