@@ -1002,6 +1002,55 @@ def update!(**args)
10021002 end
10031003 end
10041004
1005+ # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
1006+ # be scheduled to start within this deny period. The start_date must be less
1007+ # than the end_date.
1008+ class DenyMaintenancePeriod
1009+ include Google ::Apis ::Core ::Hashable
1010+
1011+ # Represents a whole or partial calendar date, such as a birthday. The time of
1012+ # day and time zone are either specified elsewhere or are insignificant. The
1013+ # date is relative to the Gregorian Calendar. This can represent one of the
1014+ # following: * A full date, with non-zero year, month, and day values. * A month
1015+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1016+ # with a zero month and a zero day. * A year and month, with a zero day (for
1017+ # example, a credit card expiration date). Related types: * google.type.
1018+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1019+ # Corresponds to the JSON property `endDate`
1020+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
1021+ attr_accessor :end_date
1022+
1023+ # Represents a whole or partial calendar date, such as a birthday. The time of
1024+ # day and time zone are either specified elsewhere or are insignificant. The
1025+ # date is relative to the Gregorian Calendar. This can represent one of the
1026+ # following: * A full date, with non-zero year, month, and day values. * A month
1027+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1028+ # with a zero month and a zero day. * A year and month, with a zero day (for
1029+ # example, a credit card expiration date). Related types: * google.type.
1030+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1031+ # Corresponds to the JSON property `startDate`
1032+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeDate]
1033+ attr_accessor :start_date
1034+
1035+ # Represents a time of day. The date and time zone are either not significant or
1036+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1037+ # types are google.type.Date and `google.protobuf.Timestamp`.
1038+ # Corresponds to the JSON property `time`
1039+ # @return [Google::Apis::AlloydbV1alpha::GoogleTypeTimeOfDay]
1040+ attr_accessor :time
1041+
1042+ def initialize ( **args )
1043+ update! ( **args )
1044+ end
1045+
1046+ # Update properties of this object
1047+ def update! ( **args )
1048+ @end_date = args [ :end_date ] if args . key? ( :end_date )
1049+ @start_date = args [ :start_date ] if args . key? ( :start_date )
1050+ @time = args [ :time ] if args . key? ( :time )
1051+ end
1052+ end
1053+
10051054 # A generic empty message that you can re-use to avoid defining duplicated empty
10061055 # messages in your APIs. A typical example is to use it as the request or the
10071056 # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1302,6 +1351,47 @@ def update!(**args)
13021351 end
13031352 end
13041353
1354+ # Represents a whole or partial calendar date, such as a birthday. The time of
1355+ # day and time zone are either specified elsewhere or are insignificant. The
1356+ # date is relative to the Gregorian Calendar. This can represent one of the
1357+ # following: * A full date, with non-zero year, month, and day values. * A month
1358+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1359+ # with a zero month and a zero day. * A year and month, with a zero day (for
1360+ # example, a credit card expiration date). Related types: * google.type.
1361+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1362+ class GoogleTypeDate
1363+ include Google ::Apis ::Core ::Hashable
1364+
1365+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1366+ # specify a year by itself or a year and month where the day isn't significant.
1367+ # Corresponds to the JSON property `day`
1368+ # @return [Fixnum]
1369+ attr_accessor :day
1370+
1371+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1372+ # and day.
1373+ # Corresponds to the JSON property `month`
1374+ # @return [Fixnum]
1375+ attr_accessor :month
1376+
1377+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1378+ # year.
1379+ # Corresponds to the JSON property `year`
1380+ # @return [Fixnum]
1381+ attr_accessor :year
1382+
1383+ def initialize ( **args )
1384+ update! ( **args )
1385+ end
1386+
1387+ # Update properties of this object
1388+ def update! ( **args )
1389+ @day = args [ :day ] if args . key? ( :day )
1390+ @month = args [ :month ] if args . key? ( :month )
1391+ @year = args [ :year ] if args . key? ( :year )
1392+ end
1393+ end
1394+
13051395 # Represents a time of day. The date and time zone are either not significant or
13061396 # are specified elsewhere. An API may choose to allow leap seconds. Related
13071397 # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -1709,6 +1799,14 @@ class InstanceNetworkConfig
17091799 attr_accessor :enable_public_ip
17101800 alias_method :enable_public_ip? , :enable_public_ip
17111801
1802+ # Output only. The resource link for the VPC network in which instance resources
1803+ # are created and from which they are accessible via Private IP. This will be
1804+ # the same value as the parent cluster's network. It is specified in the form: //
1805+ # `projects/`project_number`/global/networks/`network_id``.
1806+ # Corresponds to the JSON property `network`
1807+ # @return [String]
1808+ attr_accessor :network
1809+
17121810 def initialize ( **args )
17131811 update! ( **args )
17141812 end
@@ -1718,6 +1816,7 @@ def update!(**args)
17181816 @authorized_external_networks = args [ :authorized_external_networks ] if args . key? ( :authorized_external_networks )
17191817 @enable_outbound_public_ip = args [ :enable_outbound_public_ip ] if args . key? ( :enable_outbound_public_ip )
17201818 @enable_public_ip = args [ :enable_public_ip ] if args . key? ( :enable_public_ip )
1819+ @network = args [ :network ] if args . key? ( :network )
17211820 end
17221821 end
17231822
@@ -1960,13 +2059,20 @@ class MachineConfig
19602059 # @return [Fixnum]
19612060 attr_accessor :cpu_count
19622061
2062+ # Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-
2063+ # highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
2064+ # Corresponds to the JSON property `machineType`
2065+ # @return [String]
2066+ attr_accessor :machine_type
2067+
19632068 def initialize ( **args )
19642069 update! ( **args )
19652070 end
19662071
19672072 # Update properties of this object
19682073 def update! ( **args )
19692074 @cpu_count = args [ :cpu_count ] if args . key? ( :cpu_count )
2075+ @machine_type = args [ :machine_type ] if args . key? ( :machine_type )
19702076 end
19712077 end
19722078
@@ -1997,6 +2103,11 @@ def update!(**args)
19972103 class MaintenanceUpdatePolicy
19982104 include Google ::Apis ::Core ::Hashable
19992105
2106+ # Periods to deny maintenance. Currently limited to 1.
2107+ # Corresponds to the JSON property `denyMaintenancePeriods`
2108+ # @return [Array<Google::Apis::AlloydbV1alpha::DenyMaintenancePeriod>]
2109+ attr_accessor :deny_maintenance_periods
2110+
20002111 # Preferred windows to perform maintenance. Currently limited to 1.
20012112 # Corresponds to the JSON property `maintenanceWindows`
20022113 # @return [Array<Google::Apis::AlloydbV1alpha::MaintenanceWindow>]
@@ -2008,6 +2119,7 @@ def initialize(**args)
20082119
20092120 # Update properties of this object
20102121 def update! ( **args )
2122+ @deny_maintenance_periods = args [ :deny_maintenance_periods ] if args . key? ( :deny_maintenance_periods )
20112123 @maintenance_windows = args [ :maintenance_windows ] if args . key? ( :maintenance_windows )
20122124 end
20132125 end
@@ -2152,6 +2264,12 @@ def update!(**args)
21522264 class ObservabilityInstanceConfig
21532265 include Google ::Apis ::Core ::Hashable
21542266
2267+ # Whether assistive experiences are enabled for this AlloyDB instance.
2268+ # Corresponds to the JSON property `assistiveExperiencesEnabled`
2269+ # @return [Boolean]
2270+ attr_accessor :assistive_experiences_enabled
2271+ alias_method :assistive_experiences_enabled? , :assistive_experiences_enabled
2272+
21552273 # Observability feature status for an instance. This flag is turned "off" by
21562274 # default.
21572275 # Corresponds to the JSON property `enabled`
@@ -2214,6 +2332,7 @@ def initialize(**args)
22142332
22152333 # Update properties of this object
22162334 def update! ( **args )
2335+ @assistive_experiences_enabled = args [ :assistive_experiences_enabled ] if args . key? ( :assistive_experiences_enabled )
22172336 @enabled = args [ :enabled ] if args . key? ( :enabled )
22182337 @max_query_string_length = args [ :max_query_string_length ] if args . key? ( :max_query_string_length )
22192338 @preserve_comments = args [ :preserve_comments ] if args . key? ( :preserve_comments )
0 commit comments