google-apis-alloydb_v1 0.19.0 → 0.21.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dee10e92978cb6de79d73224a9aa27e32924190f50a94a0897f4e840abaa4b2a
|
4
|
+
data.tar.gz: d671ac0d78b2a67aa4c1460c5b94b7d9da476e3bbaf9fadea432f379efbf3e7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f4f35bf49e201e16fa8886b244ee2f95d5b8331ab09ea57c43c8daf2b7eb9525eb440a8867134e575444d47bc556efac11eb9ab32fd96514c3fb3659e398369
|
7
|
+
data.tar.gz: 554290ae3e959e7cf9788934ac4fe6a0b7d16c69aa8e7f813dffd3ee5c8b78578e8b106cc5e6ebe58b90ca7b2e9a5197d2c0a9d406b0253a4e5900274d17bc52
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-alloydb_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2024-09-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240828
|
6
|
+
|
7
|
+
### v0.20.0 (2024-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240823
|
10
|
+
|
3
11
|
### v0.19.0 (2024-08-18)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240806
|
@@ -1188,6 +1188,11 @@ module Google
|
|
1188
1188
|
# @return [Array<Google::Apis::AlloydbV1::Node>]
|
1189
1189
|
attr_accessor :nodes
|
1190
1190
|
|
1191
|
+
# Output only. All outbound public IP addresses configured for the instance.
|
1192
|
+
# Corresponds to the JSON property `outboundPublicIpAddresses`
|
1193
|
+
# @return [Array<String>]
|
1194
|
+
attr_accessor :outbound_public_ip_addresses
|
1195
|
+
|
1191
1196
|
# PscInstanceConfig contains PSC related configuration at an instance level.
|
1192
1197
|
# Corresponds to the JSON property `pscInstanceConfig`
|
1193
1198
|
# @return [Google::Apis::AlloydbV1::PscInstanceConfig]
|
@@ -1271,6 +1276,7 @@ module Google
|
|
1271
1276
|
@name = args[:name] if args.key?(:name)
|
1272
1277
|
@network_config = args[:network_config] if args.key?(:network_config)
|
1273
1278
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1279
|
+
@outbound_public_ip_addresses = args[:outbound_public_ip_addresses] if args.key?(:outbound_public_ip_addresses)
|
1274
1280
|
@psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
|
1275
1281
|
@public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
|
1276
1282
|
@query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
|
@@ -1293,6 +1299,13 @@ module Google
|
|
1293
1299
|
# @return [Array<Google::Apis::AlloydbV1::AuthorizedNetwork>]
|
1294
1300
|
attr_accessor :authorized_external_networks
|
1295
1301
|
|
1302
|
+
# Optional. Enabling an outbound public IP address to support a database server
|
1303
|
+
# sending requests out into the internet.
|
1304
|
+
# Corresponds to the JSON property `enableOutboundPublicIp`
|
1305
|
+
# @return [Boolean]
|
1306
|
+
attr_accessor :enable_outbound_public_ip
|
1307
|
+
alias_method :enable_outbound_public_ip?, :enable_outbound_public_ip
|
1308
|
+
|
1296
1309
|
# Optional. Enabling public ip for the instance.
|
1297
1310
|
# Corresponds to the JSON property `enablePublicIp`
|
1298
1311
|
# @return [Boolean]
|
@@ -1306,6 +1319,7 @@ module Google
|
|
1306
1319
|
# Update properties of this object
|
1307
1320
|
def update!(**args)
|
1308
1321
|
@authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
|
1322
|
+
@enable_outbound_public_ip = args[:enable_outbound_public_ip] if args.key?(:enable_outbound_public_ip)
|
1309
1323
|
@enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
|
1310
1324
|
end
|
1311
1325
|
end
|
@@ -2324,6 +2338,14 @@ module Google
|
|
2324
2338
|
class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
|
2325
2339
|
include Google::Apis::Core::Hashable
|
2326
2340
|
|
2341
|
+
# Checks for existence of (multi-cluster) routing configuration that allows
|
2342
|
+
# automatic failover to a different zone/region in case of an outage. Applicable
|
2343
|
+
# to Bigtable resources.
|
2344
|
+
# Corresponds to the JSON property `automaticFailoverRoutingConfigured`
|
2345
|
+
# @return [Boolean]
|
2346
|
+
attr_accessor :automatic_failover_routing_configured
|
2347
|
+
alias_method :automatic_failover_routing_configured?, :automatic_failover_routing_configured
|
2348
|
+
|
2327
2349
|
# Availability type. Potential values: * `ZONAL`: The instance serves data from
|
2328
2350
|
# only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
|
2329
2351
|
# The instance can serve data from more than one zone in a region (it is highly
|
@@ -2357,6 +2379,7 @@ module Google
|
|
2357
2379
|
|
2358
2380
|
# Update properties of this object
|
2359
2381
|
def update!(**args)
|
2382
|
+
@automatic_failover_routing_configured = args[:automatic_failover_routing_configured] if args.key?(:automatic_failover_routing_configured)
|
2360
2383
|
@availability_type = args[:availability_type] if args.key?(:availability_type)
|
2361
2384
|
@cross_region_replica_configured = args[:cross_region_replica_configured] if args.key?(:cross_region_replica_configured)
|
2362
2385
|
@external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured)
|
@@ -3387,6 +3410,56 @@ module Google
|
|
3387
3410
|
end
|
3388
3411
|
end
|
3389
3412
|
|
3413
|
+
# Upgrades a cluster.
|
3414
|
+
class UpgradeClusterRequest
|
3415
|
+
include Google::Apis::Core::Hashable
|
3416
|
+
|
3417
|
+
# Optional. The current etag of the Cluster. If an etag is provided and does not
|
3418
|
+
# match the current etag of the Cluster, upgrade will be blocked and an ABORTED
|
3419
|
+
# error will be returned.
|
3420
|
+
# Corresponds to the JSON property `etag`
|
3421
|
+
# @return [String]
|
3422
|
+
attr_accessor :etag
|
3423
|
+
|
3424
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3425
|
+
# request ID so that if you must retry your request, the server will know to
|
3426
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3427
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3428
|
+
# situation where you make an initial request and the request times out. If you
|
3429
|
+
# make the request again with the same request ID, the server can check if
|
3430
|
+
# original operation with the same request ID was received, and if so, will
|
3431
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3432
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3433
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3434
|
+
# Corresponds to the JSON property `requestId`
|
3435
|
+
# @return [String]
|
3436
|
+
attr_accessor :request_id
|
3437
|
+
|
3438
|
+
# Optional. If set, performs request validation (e.g. permission checks and any
|
3439
|
+
# other type of validation), but does not actually execute the upgrade.
|
3440
|
+
# Corresponds to the JSON property `validateOnly`
|
3441
|
+
# @return [Boolean]
|
3442
|
+
attr_accessor :validate_only
|
3443
|
+
alias_method :validate_only?, :validate_only
|
3444
|
+
|
3445
|
+
# Required. The version the cluster is going to be upgraded to.
|
3446
|
+
# Corresponds to the JSON property `version`
|
3447
|
+
# @return [String]
|
3448
|
+
attr_accessor :version
|
3449
|
+
|
3450
|
+
def initialize(**args)
|
3451
|
+
update!(**args)
|
3452
|
+
end
|
3453
|
+
|
3454
|
+
# Update properties of this object
|
3455
|
+
def update!(**args)
|
3456
|
+
@etag = args[:etag] if args.key?(:etag)
|
3457
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
3458
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
3459
|
+
@version = args[:version] if args.key?(:version)
|
3460
|
+
end
|
3461
|
+
end
|
3462
|
+
|
3390
3463
|
# UpgradeClusterResponse contains the response for upgrade cluster operation.
|
3391
3464
|
class UpgradeClusterResponse
|
3392
3465
|
include Google::Apis::Core::Hashable
|
@@ -3430,6 +3503,13 @@ module Google
|
|
3430
3503
|
# @return [Array<String>]
|
3431
3504
|
attr_accessor :database_roles
|
3432
3505
|
|
3506
|
+
# Input only. If the user already exists and it has additional roles, keep them
|
3507
|
+
# granted.
|
3508
|
+
# Corresponds to the JSON property `keepExtraRoles`
|
3509
|
+
# @return [Boolean]
|
3510
|
+
attr_accessor :keep_extra_roles
|
3511
|
+
alias_method :keep_extra_roles?, :keep_extra_roles
|
3512
|
+
|
3433
3513
|
# Output only. Name of the resource in the form of projects/`project`/locations/`
|
3434
3514
|
# location`/cluster/`cluster`/users/`user`.
|
3435
3515
|
# Corresponds to the JSON property `name`
|
@@ -3453,6 +3533,7 @@ module Google
|
|
3453
3533
|
# Update properties of this object
|
3454
3534
|
def update!(**args)
|
3455
3535
|
@database_roles = args[:database_roles] if args.key?(:database_roles)
|
3536
|
+
@keep_extra_roles = args[:keep_extra_roles] if args.key?(:keep_extra_roles)
|
3456
3537
|
@name = args[:name] if args.key?(:name)
|
3457
3538
|
@password = args[:password] if args.key?(:password)
|
3458
3539
|
@user_type = args[:user_type] if args.key?(:user_type)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1
|
18
18
|
# Version of the google-apis-alloydb_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240828"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -490,6 +490,12 @@ module Google
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
491
491
|
end
|
492
492
|
|
493
|
+
class UpgradeClusterRequest
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
493
499
|
class UpgradeClusterResponse
|
494
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
501
|
|
@@ -799,6 +805,7 @@ module Google
|
|
799
805
|
|
800
806
|
collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1::Node, decorator: Google::Apis::AlloydbV1::Node::Representation
|
801
807
|
|
808
|
+
collection :outbound_public_ip_addresses, as: 'outboundPublicIpAddresses'
|
802
809
|
property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1::PscInstanceConfig, decorator: Google::Apis::AlloydbV1::PscInstanceConfig::Representation
|
803
810
|
|
804
811
|
property :public_ip_address, as: 'publicIpAddress'
|
@@ -821,6 +828,7 @@ module Google
|
|
821
828
|
class Representation < Google::Apis::Core::JsonRepresentation
|
822
829
|
collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1::AuthorizedNetwork::Representation
|
823
830
|
|
831
|
+
property :enable_outbound_public_ip, as: 'enableOutboundPublicIp'
|
824
832
|
property :enable_public_ip, as: 'enablePublicIp'
|
825
833
|
end
|
826
834
|
end
|
@@ -1107,6 +1115,7 @@ module Google
|
|
1107
1115
|
class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
|
1108
1116
|
# @private
|
1109
1117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1118
|
+
property :automatic_failover_routing_configured, as: 'automaticFailoverRoutingConfigured'
|
1110
1119
|
property :availability_type, as: 'availabilityType'
|
1111
1120
|
property :cross_region_replica_configured, as: 'crossRegionReplicaConfigured'
|
1112
1121
|
property :external_replica_configured, as: 'externalReplicaConfigured'
|
@@ -1383,6 +1392,16 @@ module Google
|
|
1383
1392
|
end
|
1384
1393
|
end
|
1385
1394
|
|
1395
|
+
class UpgradeClusterRequest
|
1396
|
+
# @private
|
1397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1398
|
+
property :etag, as: 'etag'
|
1399
|
+
property :request_id, as: 'requestId'
|
1400
|
+
property :validate_only, as: 'validateOnly'
|
1401
|
+
property :version, as: 'version'
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
1386
1405
|
class UpgradeClusterResponse
|
1387
1406
|
# @private
|
1388
1407
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1397,6 +1416,7 @@ module Google
|
|
1397
1416
|
# @private
|
1398
1417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1399
1418
|
collection :database_roles, as: 'databaseRoles'
|
1419
|
+
property :keep_extra_roles, as: 'keepExtraRoles'
|
1400
1420
|
property :name, as: 'name'
|
1401
1421
|
property :password, as: 'password'
|
1402
1422
|
property :user_type, as: 'userType'
|
@@ -792,6 +792,39 @@ module Google
|
|
792
792
|
execute_or_queue_command(command, &block)
|
793
793
|
end
|
794
794
|
|
795
|
+
# Upgrades a single Cluster. Imperative only.
|
796
|
+
# @param [String] name
|
797
|
+
# Required. The resource name of the cluster.
|
798
|
+
# @param [Google::Apis::AlloydbV1::UpgradeClusterRequest] upgrade_cluster_request_object
|
799
|
+
# @param [String] fields
|
800
|
+
# Selector specifying which fields to include in a partial response.
|
801
|
+
# @param [String] quota_user
|
802
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
803
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
804
|
+
# @param [Google::Apis::RequestOptions] options
|
805
|
+
# Request-specific options
|
806
|
+
#
|
807
|
+
# @yield [result, err] Result & error if block supplied
|
808
|
+
# @yieldparam result [Google::Apis::AlloydbV1::Operation] parsed result object
|
809
|
+
# @yieldparam err [StandardError] error object if request failed
|
810
|
+
#
|
811
|
+
# @return [Google::Apis::AlloydbV1::Operation]
|
812
|
+
#
|
813
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
814
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
815
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
816
|
+
def upgrade_cluster(name, upgrade_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
817
|
+
command = make_simple_command(:patch, 'v1/{+name}:upgrade', options)
|
818
|
+
command.request_representation = Google::Apis::AlloydbV1::UpgradeClusterRequest::Representation
|
819
|
+
command.request_object = upgrade_cluster_request_object
|
820
|
+
command.response_representation = Google::Apis::AlloydbV1::Operation::Representation
|
821
|
+
command.response_class = Google::Apis::AlloydbV1::Operation
|
822
|
+
command.params['name'] = name unless name.nil?
|
823
|
+
command.query['fields'] = fields unless fields.nil?
|
824
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
825
|
+
execute_or_queue_command(command, &block)
|
826
|
+
end
|
827
|
+
|
795
828
|
# Creates a new Instance in a given project and location.
|
796
829
|
# @param [String] parent
|
797
830
|
# Required. The name of the parent resource. For the required format, see the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.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-
|
11
|
+
date: 2024-09-15 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|