google-apis-alloydb_v1alpha 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7f36e1dba594837fc0e1cffe15a925264b788d683671659764501a65b98ea70
4
- data.tar.gz: 325564db6b1d335563ca0cb3a88a587a27b213bd48a3eb0913a7e0119798a76a
3
+ metadata.gz: bbe9ca4b0ef74851f41a6831ce004c546afaa938b9b70fcdf7b8acf07c4f894b
4
+ data.tar.gz: 371eb6871111ad85a83bbfe0d85cf222ffeb925932d83904a5a834bab460c1e3
5
5
  SHA512:
6
- metadata.gz: 41fdfe314a5e1e1715054f4e19185676f5c90d761c28ecd9901d5613028a8fde1470426a4c01097e94c681016eea0aa6ac3936ba0db2273b7441fe7ad49fa00b
7
- data.tar.gz: 299540330cf01ba10042689b859bbb96f7dde24767115376dab5f301fed7f34010797345ca1de50598185773aa1f17b17bc67f6c16b8e8e36c449537b1912b12
6
+ metadata.gz: 2f2e51dd9cda49072494bdf72d62ec61fc29d9270ef05f156f72bbe06570ee2f85de8675fd9ddfe082d2b3921bbbebfb636338f534c68c6b1c17f494465b68c0
7
+ data.tar.gz: 71131cf8169a0ea21d111c1247a32871d8e3993e6d89f327ddefd9160ed2f79c2fef245515e00ab6d9eaf97003acfcc28cbd4ab89c9f82b7596106aed2733497
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.11.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240320
6
+
3
7
  ### v0.10.0 (2024-03-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20240306
@@ -488,6 +488,15 @@ module Google
488
488
  # @return [Hash<String,String>]
489
489
  attr_accessor :labels
490
490
 
491
+ # MaintenanceSchedule stores the maintenance schedule generated from the
492
+ # MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
493
+ # MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
494
+ # schedule is cleared once the update takes place. This field cannot be manually
495
+ # changed; modify the MaintenanceUpdatePolicy instead.
496
+ # Corresponds to the JSON property `maintenanceSchedule`
497
+ # @return [Google::Apis::AlloydbV1alpha::MaintenanceSchedule]
498
+ attr_accessor :maintenance_schedule
499
+
491
500
  # MaintenanceUpdatePolicy defines the policy for system updates.
492
501
  # Corresponds to the JSON property `maintenanceUpdatePolicy`
493
502
  # @return [Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy]
@@ -605,6 +614,7 @@ module Google
605
614
  @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
606
615
  @initial_user = args[:initial_user] if args.key?(:initial_user)
607
616
  @labels = args[:labels] if args.key?(:labels)
617
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
608
618
  @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
609
619
  @migration_source = args[:migration_source] if args.key?(:migration_source)
610
620
  @name = args[:name] if args.key?(:name)
@@ -1653,6 +1663,29 @@ module Google
1653
1663
  end
1654
1664
  end
1655
1665
 
1666
+ # MaintenanceSchedule stores the maintenance schedule generated from the
1667
+ # MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
1668
+ # MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
1669
+ # schedule is cleared once the update takes place. This field cannot be manually
1670
+ # changed; modify the MaintenanceUpdatePolicy instead.
1671
+ class MaintenanceSchedule
1672
+ include Google::Apis::Core::Hashable
1673
+
1674
+ # Output only. The scheduled start time for the maintenance.
1675
+ # Corresponds to the JSON property `startTime`
1676
+ # @return [String]
1677
+ attr_accessor :start_time
1678
+
1679
+ def initialize(**args)
1680
+ update!(**args)
1681
+ end
1682
+
1683
+ # Update properties of this object
1684
+ def update!(**args)
1685
+ @start_time = args[:start_time] if args.key?(:start_time)
1686
+ end
1687
+ end
1688
+
1656
1689
  # MaintenanceUpdatePolicy defines the policy for system updates.
1657
1690
  class MaintenanceUpdatePolicy
1658
1691
  include Google::Apis::Core::Hashable
@@ -2102,46 +2135,18 @@ module Google
2102
2135
  class PscInstanceConfig
2103
2136
  include Google::Apis::Core::Hashable
2104
2137
 
2105
- # Optional. List of consumer networks that are allowed to create PSC endpoints
2106
- # to service-attachments to this instance.
2107
- # Corresponds to the JSON property `allowedConsumerNetworks`
2108
- # @return [Array<String>]
2109
- attr_accessor :allowed_consumer_networks
2110
-
2111
2138
  # Optional. List of consumer projects that are allowed to create PSC endpoints
2112
2139
  # to service-attachments to this instance.
2113
2140
  # Corresponds to the JSON property `allowedConsumerProjects`
2114
2141
  # @return [Array<String>]
2115
2142
  attr_accessor :allowed_consumer_projects
2116
2143
 
2117
- # Optional. List of service attachments that this instance has created endpoints
2118
- # to connect with. Currently, only a single outgoing service attachment is
2119
- # supported per instance.
2120
- # Corresponds to the JSON property `outgoingServiceAttachmentLinks`
2121
- # @return [Array<String>]
2122
- attr_accessor :outgoing_service_attachment_links
2123
-
2124
2144
  # Output only. The DNS name of the instance for PSC connectivity. Name
2125
2145
  # convention: ...alloydb-psc.goog
2126
2146
  # Corresponds to the JSON property `pscDnsName`
2127
2147
  # @return [String]
2128
2148
  attr_accessor :psc_dns_name
2129
2149
 
2130
- # Optional. Whether PSC connectivity is enabled for this instance. This is
2131
- # populated by referencing the value from the parent cluster.
2132
- # Corresponds to the JSON property `pscEnabled`
2133
- # @return [Boolean]
2134
- attr_accessor :psc_enabled
2135
- alias_method :psc_enabled?, :psc_enabled
2136
-
2137
- # Optional. Configurations for setting up PSC interfaces attached to the
2138
- # instance which are used for outbound connectivity. Only primary instances can
2139
- # have PSC interface attached. All the VMs created for the primary instance will
2140
- # share the same configurations. Currently we only support 0 or 1 PSC interface.
2141
- # Corresponds to the JSON property `pscInterfaceConfigs`
2142
- # @return [Array<Google::Apis::AlloydbV1alpha::PscInterfaceConfig>]
2143
- attr_accessor :psc_interface_configs
2144
-
2145
2150
  # Output only. The service attachment created when Private Service Connect (PSC)
2146
2151
  # is enabled for the instance. The name of the resource will be in the format of
2147
2152
  # `projects//regions//serviceAttachments/`
@@ -2155,48 +2160,12 @@ module Google
2155
2160
 
2156
2161
  # Update properties of this object
2157
2162
  def update!(**args)
2158
- @allowed_consumer_networks = args[:allowed_consumer_networks] if args.key?(:allowed_consumer_networks)
2159
2163
  @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
2160
- @outgoing_service_attachment_links = args[:outgoing_service_attachment_links] if args.key?(:outgoing_service_attachment_links)
2161
2164
  @psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
2162
- @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
2163
- @psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
2164
2165
  @service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
2165
2166
  end
2166
2167
  end
2167
2168
 
2168
- # Configuration for setting up a PSC interface. This information needs to be
2169
- # provided by the customer. PSC interfaces will be created and added to VMs via
2170
- # SLM (adding a network interface will require recreating the VM). For HA
2171
- # instances this will be done via LDTM.
2172
- class PscInterfaceConfig
2173
- include Google::Apis::Core::Hashable
2174
-
2175
- # A list of endpoints in the consumer VPC the interface might initiate outbound
2176
- # connections to. This list has to be provided when the PSC interface is created.
2177
- # Corresponds to the JSON property `consumerEndpointIps`
2178
- # @return [Array<String>]
2179
- attr_accessor :consumer_endpoint_ips
2180
-
2181
- # The NetworkAttachment resource created in the consumer VPC to which the PSC
2182
- # interface will be linked, in the form of: `projects/$`CONSUMER_PROJECT`/
2183
- # regions/$`REGION`/networkAttachments/$`NETWORK_ATTACHMENT_NAME``.
2184
- # NetworkAttachment has to be provided when the PSC interface is created.
2185
- # Corresponds to the JSON property `networkAttachment`
2186
- # @return [String]
2187
- attr_accessor :network_attachment
2188
-
2189
- def initialize(**args)
2190
- update!(**args)
2191
- end
2192
-
2193
- # Update properties of this object
2194
- def update!(**args)
2195
- @consumer_endpoint_ips = args[:consumer_endpoint_ips] if args.key?(:consumer_endpoint_ips)
2196
- @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
2197
- end
2198
- end
2199
-
2200
2169
  # A backup's position in a quantity-based retention queue, of backups with the
2201
2170
  # same source cluster and type, with length, retention, specified by the backup'
2202
2171
  # s retention policy. Once the position is greater than the retention, the
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240306"
25
+ REVISION = "20240320"
26
26
  end
27
27
  end
28
28
  end
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class MaintenanceSchedule
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class MaintenanceUpdatePolicy
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -298,12 +304,6 @@ module Google
298
304
  include Google::Apis::Core::JsonObjectSupport
299
305
  end
300
306
 
301
- class PscInterfaceConfig
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
307
  class QuantityBasedExpiry
308
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
309
 
@@ -611,6 +611,8 @@ module Google
611
611
  property :initial_user, as: 'initialUser', class: Google::Apis::AlloydbV1alpha::UserPassword, decorator: Google::Apis::AlloydbV1alpha::UserPassword::Representation
612
612
 
613
613
  hash :labels, as: 'labels'
614
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1alpha::MaintenanceSchedule, decorator: Google::Apis::AlloydbV1alpha::MaintenanceSchedule::Representation
615
+
614
616
  property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1alpha::MaintenanceUpdatePolicy::Representation
615
617
 
616
618
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1alpha::MigrationSource, decorator: Google::Apis::AlloydbV1alpha::MigrationSource::Representation
@@ -909,6 +911,13 @@ module Google
909
911
  end
910
912
  end
911
913
 
914
+ class MaintenanceSchedule
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :start_time, as: 'startTime'
918
+ end
919
+ end
920
+
912
921
  class MaintenanceUpdatePolicy
913
922
  # @private
914
923
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1020,25 +1029,12 @@ module Google
1020
1029
  class PscInstanceConfig
1021
1030
  # @private
1022
1031
  class Representation < Google::Apis::Core::JsonRepresentation
1023
- collection :allowed_consumer_networks, as: 'allowedConsumerNetworks'
1024
1032
  collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
1025
- collection :outgoing_service_attachment_links, as: 'outgoingServiceAttachmentLinks'
1026
1033
  property :psc_dns_name, as: 'pscDnsName'
1027
- property :psc_enabled, as: 'pscEnabled'
1028
- collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1alpha::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInterfaceConfig::Representation
1029
-
1030
1034
  property :service_attachment_link, as: 'serviceAttachmentLink'
1031
1035
  end
1032
1036
  end
1033
1037
 
1034
- class PscInterfaceConfig
1035
- # @private
1036
- class Representation < Google::Apis::Core::JsonRepresentation
1037
- collection :consumer_endpoint_ips, as: 'consumerEndpointIps'
1038
- property :network_attachment, as: 'networkAttachment'
1039
- end
1040
- end
1041
-
1042
1038
  class QuantityBasedExpiry
1043
1039
  # @private
1044
1040
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-17 00:00:00.000000000 Z
11
+ date: 2024-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []