@@ -968,6 +968,55 @@ def update!(**args)
968968 end
969969 end
970970
971+ # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
972+ # be scheduled to start within this deny period. The start_date must be less
973+ # than the end_date.
974+ class DenyMaintenancePeriod
975+ include Google ::Apis ::Core ::Hashable
976+
977+ # Represents a whole or partial calendar date, such as a birthday. The time of
978+ # day and time zone are either specified elsewhere or are insignificant. The
979+ # date is relative to the Gregorian Calendar. This can represent one of the
980+ # following: * A full date, with non-zero year, month, and day values. * A month
981+ # and day, with a zero year (for example, an anniversary). * A year on its own,
982+ # with a zero month and a zero day. * A year and month, with a zero day (for
983+ # example, a credit card expiration date). Related types: * google.type.
984+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
985+ # Corresponds to the JSON property `endDate`
986+ # @return [Google::Apis::AlloydbV1::GoogleTypeDate]
987+ attr_accessor :end_date
988+
989+ # Represents a whole or partial calendar date, such as a birthday. The time of
990+ # day and time zone are either specified elsewhere or are insignificant. The
991+ # date is relative to the Gregorian Calendar. This can represent one of the
992+ # following: * A full date, with non-zero year, month, and day values. * A month
993+ # and day, with a zero year (for example, an anniversary). * A year on its own,
994+ # with a zero month and a zero day. * A year and month, with a zero day (for
995+ # example, a credit card expiration date). Related types: * google.type.
996+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
997+ # Corresponds to the JSON property `startDate`
998+ # @return [Google::Apis::AlloydbV1::GoogleTypeDate]
999+ attr_accessor :start_date
1000+
1001+ # Represents a time of day. The date and time zone are either not significant or
1002+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1003+ # types are google.type.Date and `google.protobuf.Timestamp`.
1004+ # Corresponds to the JSON property `time`
1005+ # @return [Google::Apis::AlloydbV1::GoogleTypeTimeOfDay]
1006+ attr_accessor :time
1007+
1008+ def initialize ( **args )
1009+ update! ( **args )
1010+ end
1011+
1012+ # Update properties of this object
1013+ def update! ( **args )
1014+ @end_date = args [ :end_date ] if args . key? ( :end_date )
1015+ @start_date = args [ :start_date ] if args . key? ( :start_date )
1016+ @time = args [ :time ] if args . key? ( :time )
1017+ end
1018+ end
1019+
9711020 # A generic empty message that you can re-use to avoid defining duplicated empty
9721021 # messages in your APIs. A typical example is to use it as the request or the
9731022 # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1219,6 +1268,47 @@ def update!(**args)
12191268 end
12201269 end
12211270
1271+ # Represents a whole or partial calendar date, such as a birthday. The time of
1272+ # day and time zone are either specified elsewhere or are insignificant. The
1273+ # date is relative to the Gregorian Calendar. This can represent one of the
1274+ # following: * A full date, with non-zero year, month, and day values. * A month
1275+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1276+ # with a zero month and a zero day. * A year and month, with a zero day (for
1277+ # example, a credit card expiration date). Related types: * google.type.
1278+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1279+ class GoogleTypeDate
1280+ include Google ::Apis ::Core ::Hashable
1281+
1282+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1283+ # specify a year by itself or a year and month where the day isn't significant.
1284+ # Corresponds to the JSON property `day`
1285+ # @return [Fixnum]
1286+ attr_accessor :day
1287+
1288+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1289+ # and day.
1290+ # Corresponds to the JSON property `month`
1291+ # @return [Fixnum]
1292+ attr_accessor :month
1293+
1294+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1295+ # year.
1296+ # Corresponds to the JSON property `year`
1297+ # @return [Fixnum]
1298+ attr_accessor :year
1299+
1300+ def initialize ( **args )
1301+ update! ( **args )
1302+ end
1303+
1304+ # Update properties of this object
1305+ def update! ( **args )
1306+ @day = args [ :day ] if args . key? ( :day )
1307+ @month = args [ :month ] if args . key? ( :month )
1308+ @year = args [ :year ] if args . key? ( :year )
1309+ end
1310+ end
1311+
12221312 # Represents a time of day. The date and time zone are either not significant or
12231313 # are specified elsewhere. An API may choose to allow leap seconds. Related
12241314 # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -1618,6 +1708,14 @@ class InstanceNetworkConfig
16181708 attr_accessor :enable_public_ip
16191709 alias_method :enable_public_ip? , :enable_public_ip
16201710
1711+ # Output only. The resource link for the VPC network in which instance resources
1712+ # are created and from which they are accessible via Private IP. This will be
1713+ # the same value as the parent cluster's network. It is specified in the form: //
1714+ # `projects/`project_number`/global/networks/`network_id``.
1715+ # Corresponds to the JSON property `network`
1716+ # @return [String]
1717+ attr_accessor :network
1718+
16211719 def initialize ( **args )
16221720 update! ( **args )
16231721 end
@@ -1627,6 +1725,7 @@ def update!(**args)
16271725 @authorized_external_networks = args [ :authorized_external_networks ] if args . key? ( :authorized_external_networks )
16281726 @enable_outbound_public_ip = args [ :enable_outbound_public_ip ] if args . key? ( :enable_outbound_public_ip )
16291727 @enable_public_ip = args [ :enable_public_ip ] if args . key? ( :enable_public_ip )
1728+ @network = args [ :network ] if args . key? ( :network )
16301729 end
16311730 end
16321731
@@ -1869,13 +1968,20 @@ class MachineConfig
18691968 # @return [Fixnum]
18701969 attr_accessor :cpu_count
18711970
1971+ # Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-
1972+ # highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
1973+ # Corresponds to the JSON property `machineType`
1974+ # @return [String]
1975+ attr_accessor :machine_type
1976+
18721977 def initialize ( **args )
18731978 update! ( **args )
18741979 end
18751980
18761981 # Update properties of this object
18771982 def update! ( **args )
18781983 @cpu_count = args [ :cpu_count ] if args . key? ( :cpu_count )
1984+ @machine_type = args [ :machine_type ] if args . key? ( :machine_type )
18791985 end
18801986 end
18811987
@@ -1906,6 +2012,11 @@ def update!(**args)
19062012 class MaintenanceUpdatePolicy
19072013 include Google ::Apis ::Core ::Hashable
19082014
2015+ # Periods to deny maintenance. Currently limited to 1.
2016+ # Corresponds to the JSON property `denyMaintenancePeriods`
2017+ # @return [Array<Google::Apis::AlloydbV1::DenyMaintenancePeriod>]
2018+ attr_accessor :deny_maintenance_periods
2019+
19092020 # Preferred windows to perform maintenance. Currently limited to 1.
19102021 # Corresponds to the JSON property `maintenanceWindows`
19112022 # @return [Array<Google::Apis::AlloydbV1::MaintenanceWindow>]
@@ -1917,6 +2028,7 @@ def initialize(**args)
19172028
19182029 # Update properties of this object
19192030 def update! ( **args )
2031+ @deny_maintenance_periods = args [ :deny_maintenance_periods ] if args . key? ( :deny_maintenance_periods )
19202032 @maintenance_windows = args [ :maintenance_windows ] if args . key? ( :maintenance_windows )
19212033 end
19222034 end
0 commit comments