google-apis-alloydb_v1beta 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: 9b4b5264bb50eb15b372a4cfddfa92cfb05d13087e2dbe1f690681cc9b5cb538
4
- data.tar.gz: 40e021c54bfad6ce2252a46136c88d51d5210dc4fedb3adef2083b76fafa7d45
3
+ metadata.gz: 9a39168bc66168eb06259b2c429aa4f8239aacdf48c9f7724c57b32b47fd4a29
4
+ data.tar.gz: cab54092aea4c8f12999181be38e29730e40099bc9a748b3b38550f33b9329df
5
5
  SHA512:
6
- metadata.gz: 4c63b444a5398e229efff33135084f6b08f06872d80fe24fd8f1f2478bd4f3714553da7e5c7046e636fbbd2a8fba3b3825bf53c0acbf2974236b3b173db1fd74
7
- data.tar.gz: 0b6ca6f03ad152b7d93b2b66e31c2da74f8f7f9ac8d19e84709806caea70aec7d3b924dd5a3fd97d8ac6254cea46bee890ef96e4fa3ef09d60b3845c08392f7a
6
+ metadata.gz: 360720a57711876a66bf56c9a5694ce1d6b85404486f7112b9bed89c16e4d74d536cbbff50360139ec346718047f6f9f1cdc6d77c3b22871663cf76c4fbb113f
7
+ data.tar.gz: 133c285f72bedee236671224289788ed79b255b770e5ffa9bc93da059af4888e9661997e2ba944c1853a4adb4dd789e86b35fa3b828379b82c96b07a1a98bcc0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1beta
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
@@ -468,6 +468,15 @@ module Google
468
468
  # @return [Hash<String,String>]
469
469
  attr_accessor :labels
470
470
 
471
+ # MaintenanceSchedule stores the maintenance schedule generated from the
472
+ # MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
473
+ # MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
474
+ # schedule is cleared once the update takes place. This field cannot be manually
475
+ # changed; modify the MaintenanceUpdatePolicy instead.
476
+ # Corresponds to the JSON property `maintenanceSchedule`
477
+ # @return [Google::Apis::AlloydbV1beta::MaintenanceSchedule]
478
+ attr_accessor :maintenance_schedule
479
+
471
480
  # MaintenanceUpdatePolicy defines the policy for system updates.
472
481
  # Corresponds to the JSON property `maintenanceUpdatePolicy`
473
482
  # @return [Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy]
@@ -579,6 +588,7 @@ module Google
579
588
  @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
580
589
  @initial_user = args[:initial_user] if args.key?(:initial_user)
581
590
  @labels = args[:labels] if args.key?(:labels)
591
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
582
592
  @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
583
593
  @migration_source = args[:migration_source] if args.key?(:migration_source)
584
594
  @name = args[:name] if args.key?(:name)
@@ -1619,6 +1629,29 @@ module Google
1619
1629
  end
1620
1630
  end
1621
1631
 
1632
+ # MaintenanceSchedule stores the maintenance schedule generated from the
1633
+ # MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if
1634
+ # MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The
1635
+ # schedule is cleared once the update takes place. This field cannot be manually
1636
+ # changed; modify the MaintenanceUpdatePolicy instead.
1637
+ class MaintenanceSchedule
1638
+ include Google::Apis::Core::Hashable
1639
+
1640
+ # Output only. The scheduled start time for the maintenance.
1641
+ # Corresponds to the JSON property `startTime`
1642
+ # @return [String]
1643
+ attr_accessor :start_time
1644
+
1645
+ def initialize(**args)
1646
+ update!(**args)
1647
+ end
1648
+
1649
+ # Update properties of this object
1650
+ def update!(**args)
1651
+ @start_time = args[:start_time] if args.key?(:start_time)
1652
+ end
1653
+ end
1654
+
1622
1655
  # MaintenanceUpdatePolicy defines the policy for system updates.
1623
1656
  class MaintenanceUpdatePolicy
1624
1657
  include Google::Apis::Core::Hashable
@@ -2068,46 +2101,18 @@ module Google
2068
2101
  class PscInstanceConfig
2069
2102
  include Google::Apis::Core::Hashable
2070
2103
 
2071
- # Optional. List of consumer networks that are allowed to create PSC endpoints
2072
- # to service-attachments to this instance.
2073
- # Corresponds to the JSON property `allowedConsumerNetworks`
2074
- # @return [Array<String>]
2075
- attr_accessor :allowed_consumer_networks
2076
-
2077
2104
  # Optional. List of consumer projects that are allowed to create PSC endpoints
2078
2105
  # to service-attachments to this instance.
2079
2106
  # Corresponds to the JSON property `allowedConsumerProjects`
2080
2107
  # @return [Array<String>]
2081
2108
  attr_accessor :allowed_consumer_projects
2082
2109
 
2083
- # Optional. List of service attachments that this instance has created endpoints
2084
- # to connect with. Currently, only a single outgoing service attachment is
2085
- # supported per instance.
2086
- # Corresponds to the JSON property `outgoingServiceAttachmentLinks`
2087
- # @return [Array<String>]
2088
- attr_accessor :outgoing_service_attachment_links
2089
-
2090
2110
  # Output only. The DNS name of the instance for PSC connectivity. Name
2091
2111
  # convention: ...alloydb-psc.goog
2092
2112
  # Corresponds to the JSON property `pscDnsName`
2093
2113
  # @return [String]
2094
2114
  attr_accessor :psc_dns_name
2095
2115
 
2096
- # Optional. Whether PSC connectivity is enabled for this instance. This is
2097
- # populated by referencing the value from the parent cluster.
2098
- # Corresponds to the JSON property `pscEnabled`
2099
- # @return [Boolean]
2100
- attr_accessor :psc_enabled
2101
- alias_method :psc_enabled?, :psc_enabled
2102
-
2103
- # Optional. Configurations for setting up PSC interfaces attached to the
2104
- # instance which are used for outbound connectivity. Only primary instances can
2105
- # have PSC interface attached. All the VMs created for the primary instance will
2106
- # share the same configurations. Currently we only support 0 or 1 PSC interface.
2107
- # Corresponds to the JSON property `pscInterfaceConfigs`
2108
- # @return [Array<Google::Apis::AlloydbV1beta::PscInterfaceConfig>]
2109
- attr_accessor :psc_interface_configs
2110
-
2111
2116
  # Output only. The service attachment created when Private Service Connect (PSC)
2112
2117
  # is enabled for the instance. The name of the resource will be in the format of
2113
2118
  # `projects//regions//serviceAttachments/`
@@ -2121,48 +2126,12 @@ module Google
2121
2126
 
2122
2127
  # Update properties of this object
2123
2128
  def update!(**args)
2124
- @allowed_consumer_networks = args[:allowed_consumer_networks] if args.key?(:allowed_consumer_networks)
2125
2129
  @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
2126
- @outgoing_service_attachment_links = args[:outgoing_service_attachment_links] if args.key?(:outgoing_service_attachment_links)
2127
2130
  @psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
2128
- @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
2129
- @psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
2130
2131
  @service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
2131
2132
  end
2132
2133
  end
2133
2134
 
2134
- # Configuration for setting up a PSC interface. This information needs to be
2135
- # provided by the customer. PSC interfaces will be created and added to VMs via
2136
- # SLM (adding a network interface will require recreating the VM). For HA
2137
- # instances this will be done via LDTM.
2138
- class PscInterfaceConfig
2139
- include Google::Apis::Core::Hashable
2140
-
2141
- # A list of endpoints in the consumer VPC the interface might initiate outbound
2142
- # connections to. This list has to be provided when the PSC interface is created.
2143
- # Corresponds to the JSON property `consumerEndpointIps`
2144
- # @return [Array<String>]
2145
- attr_accessor :consumer_endpoint_ips
2146
-
2147
- # The NetworkAttachment resource created in the consumer VPC to which the PSC
2148
- # interface will be linked, in the form of: `projects/$`CONSUMER_PROJECT`/
2149
- # regions/$`REGION`/networkAttachments/$`NETWORK_ATTACHMENT_NAME``.
2150
- # NetworkAttachment has to be provided when the PSC interface is created.
2151
- # Corresponds to the JSON property `networkAttachment`
2152
- # @return [String]
2153
- attr_accessor :network_attachment
2154
-
2155
- def initialize(**args)
2156
- update!(**args)
2157
- end
2158
-
2159
- # Update properties of this object
2160
- def update!(**args)
2161
- @consumer_endpoint_ips = args[:consumer_endpoint_ips] if args.key?(:consumer_endpoint_ips)
2162
- @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
2163
- end
2164
- end
2165
-
2166
2135
  # A backup's position in a quantity-based retention queue, of backups with the
2167
2136
  # same source cluster and type, with length, retention, specified by the backup'
2168
2137
  # 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 AlloydbV1beta
18
18
  # Version of the google-apis-alloydb_v1beta 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
@@ -220,6 +220,12 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class MaintenanceSchedule
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
223
229
  class MaintenanceUpdatePolicy
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
@@ -292,12 +298,6 @@ module Google
292
298
  include Google::Apis::Core::JsonObjectSupport
293
299
  end
294
300
 
295
- class PscInterfaceConfig
296
- class Representation < Google::Apis::Core::JsonRepresentation; end
297
-
298
- include Google::Apis::Core::JsonObjectSupport
299
- end
300
-
301
301
  class QuantityBasedExpiry
302
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
303
 
@@ -598,6 +598,8 @@ module Google
598
598
  property :initial_user, as: 'initialUser', class: Google::Apis::AlloydbV1beta::UserPassword, decorator: Google::Apis::AlloydbV1beta::UserPassword::Representation
599
599
 
600
600
  hash :labels, as: 'labels'
601
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::AlloydbV1beta::MaintenanceSchedule, decorator: Google::Apis::AlloydbV1beta::MaintenanceSchedule::Representation
602
+
601
603
  property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1beta::MaintenanceUpdatePolicy::Representation
602
604
 
603
605
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1beta::MigrationSource, decorator: Google::Apis::AlloydbV1beta::MigrationSource::Representation
@@ -894,6 +896,13 @@ module Google
894
896
  end
895
897
  end
896
898
 
899
+ class MaintenanceSchedule
900
+ # @private
901
+ class Representation < Google::Apis::Core::JsonRepresentation
902
+ property :start_time, as: 'startTime'
903
+ end
904
+ end
905
+
897
906
  class MaintenanceUpdatePolicy
898
907
  # @private
899
908
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1005,25 +1014,12 @@ module Google
1005
1014
  class PscInstanceConfig
1006
1015
  # @private
1007
1016
  class Representation < Google::Apis::Core::JsonRepresentation
1008
- collection :allowed_consumer_networks, as: 'allowedConsumerNetworks'
1009
1017
  collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
1010
- collection :outgoing_service_attachment_links, as: 'outgoingServiceAttachmentLinks'
1011
1018
  property :psc_dns_name, as: 'pscDnsName'
1012
- property :psc_enabled, as: 'pscEnabled'
1013
- collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1beta::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1beta::PscInterfaceConfig::Representation
1014
-
1015
1019
  property :service_attachment_link, as: 'serviceAttachmentLink'
1016
1020
  end
1017
1021
  end
1018
1022
 
1019
- class PscInterfaceConfig
1020
- # @private
1021
- class Representation < Google::Apis::Core::JsonRepresentation
1022
- collection :consumer_endpoint_ips, as: 'consumerEndpointIps'
1023
- property :network_attachment, as: 'networkAttachment'
1024
- end
1025
- end
1026
-
1027
1023
  class QuantityBasedExpiry
1028
1024
  # @private
1029
1025
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1beta
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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []