google-apis-alloydb_v1 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 751ccff99ccdc76e2b8de869bf45eb93cc7b257f843fb8a620f1fb468679a0ab
|
4
|
+
data.tar.gz: effd07900ddc8674a0f8be4f04d60002872ee7a4163c33355d5ae9381bd50d49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2be350769c4e249fb9777d2e9a9865c14fd923e08f369e988e28a4ddbf3ff49d2331a05a250c81749dcbef28e7c13ee64f2b3e99f6c3618978578ea5aad2246
|
7
|
+
data.tar.gz: 37ca9984da6ff0528f191e6600fe5a08a890f8b525b198f2cdb889a3245fcd298791c7910227c75e2d09563900aa9c871f9b1b3e7680a358f4e04ff22d895a75
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-alloydb_v1
|
2
2
|
|
3
|
+
### v0.11.0 (2024-03-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240315
|
6
|
+
|
7
|
+
### v0.10.0 (2024-03-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240306
|
10
|
+
|
3
11
|
### v0.9.0 (2024-03-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240223
|
@@ -22,6 +22,25 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AlloydbV1
|
24
24
|
|
25
|
+
# AuthorizedNetwork contains metadata for an authorized network.
|
26
|
+
class AuthorizedNetwork
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# CIDR range for one authorzied network of the instance.
|
30
|
+
# Corresponds to the JSON property `cidrRange`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :cidr_range
|
33
|
+
|
34
|
+
def initialize(**args)
|
35
|
+
update!(**args)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Update properties of this object
|
39
|
+
def update!(**args)
|
40
|
+
@cidr_range = args[:cidr_range] if args.key?(:cidr_range)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
25
44
|
# Message describing the user-specified automated backup policy. All fields in
|
26
45
|
# the automated backup policy are optional. Defaults for each field are provided
|
27
46
|
# if they are not set.
|
@@ -594,6 +613,13 @@ module Google
|
|
594
613
|
# @return [String]
|
595
614
|
attr_accessor :name
|
596
615
|
|
616
|
+
# Output only. The public IP addresses for the Instance. This is available ONLY
|
617
|
+
# when enable_public_ip is set. This is the connection endpoint for an end-user
|
618
|
+
# application.
|
619
|
+
# Corresponds to the JSON property `publicIpAddress`
|
620
|
+
# @return [String]
|
621
|
+
attr_accessor :public_ip_address
|
622
|
+
|
597
623
|
def initialize(**args)
|
598
624
|
update!(**args)
|
599
625
|
end
|
@@ -603,6 +629,7 @@ module Google
|
|
603
629
|
@instance_uid = args[:instance_uid] if args.key?(:instance_uid)
|
604
630
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
605
631
|
@name = args[:name] if args.key?(:name)
|
632
|
+
@public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
|
606
633
|
end
|
607
634
|
end
|
608
635
|
|
@@ -809,84 +836,6 @@ module Google
|
|
809
836
|
end
|
810
837
|
end
|
811
838
|
|
812
|
-
# Message for requests to generate a client certificate signed by the Cluster CA.
|
813
|
-
class GenerateClientCertificateRequest
|
814
|
-
include Google::Apis::Core::Hashable
|
815
|
-
|
816
|
-
# Optional. An optional hint to the endpoint to generate the client certificate
|
817
|
-
# with the requested duration. The duration can be from 1 hour to 24 hours. The
|
818
|
-
# endpoint may or may not honor the hint. If the hint is left unspecified or is
|
819
|
-
# not honored, then the endpoint will pick an appropriate default duration.
|
820
|
-
# Corresponds to the JSON property `certDuration`
|
821
|
-
# @return [String]
|
822
|
-
attr_accessor :cert_duration
|
823
|
-
|
824
|
-
# Optional. The public key from the client.
|
825
|
-
# Corresponds to the JSON property `publicKey`
|
826
|
-
# @return [String]
|
827
|
-
attr_accessor :public_key
|
828
|
-
|
829
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
830
|
-
# request ID so that if you must retry your request, the server will know to
|
831
|
-
# ignore the request if it has already been completed. The server will guarantee
|
832
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
833
|
-
# situation where you make an initial request and the request times out. If you
|
834
|
-
# make the request again with the same request ID, the server can check if
|
835
|
-
# original operation with the same request ID was received, and if so, will
|
836
|
-
# ignore the second request. This prevents clients from accidentally creating
|
837
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
838
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
839
|
-
# Corresponds to the JSON property `requestId`
|
840
|
-
# @return [String]
|
841
|
-
attr_accessor :request_id
|
842
|
-
|
843
|
-
# Optional. An optional hint to the endpoint to generate a client ceritificate
|
844
|
-
# that can be used by AlloyDB connectors to exchange additional metadata with
|
845
|
-
# the server after TLS handshake.
|
846
|
-
# Corresponds to the JSON property `useMetadataExchange`
|
847
|
-
# @return [Boolean]
|
848
|
-
attr_accessor :use_metadata_exchange
|
849
|
-
alias_method :use_metadata_exchange?, :use_metadata_exchange
|
850
|
-
|
851
|
-
def initialize(**args)
|
852
|
-
update!(**args)
|
853
|
-
end
|
854
|
-
|
855
|
-
# Update properties of this object
|
856
|
-
def update!(**args)
|
857
|
-
@cert_duration = args[:cert_duration] if args.key?(:cert_duration)
|
858
|
-
@public_key = args[:public_key] if args.key?(:public_key)
|
859
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
860
|
-
@use_metadata_exchange = args[:use_metadata_exchange] if args.key?(:use_metadata_exchange)
|
861
|
-
end
|
862
|
-
end
|
863
|
-
|
864
|
-
# Message returned by a GenerateClientCertificate operation.
|
865
|
-
class GenerateClientCertificateResponse
|
866
|
-
include Google::Apis::Core::Hashable
|
867
|
-
|
868
|
-
# Optional. The pem-encoded cluster ca X.509 certificate.
|
869
|
-
# Corresponds to the JSON property `caCert`
|
870
|
-
# @return [String]
|
871
|
-
attr_accessor :ca_cert
|
872
|
-
|
873
|
-
# Output only. The pem-encoded chain that may be used to verify the X.509
|
874
|
-
# certificate. Expected to be in issuer-to-root order according to RFC 5246.
|
875
|
-
# Corresponds to the JSON property `pemCertificateChain`
|
876
|
-
# @return [Array<String>]
|
877
|
-
attr_accessor :pem_certificate_chain
|
878
|
-
|
879
|
-
def initialize(**args)
|
880
|
-
update!(**args)
|
881
|
-
end
|
882
|
-
|
883
|
-
# Update properties of this object
|
884
|
-
def update!(**args)
|
885
|
-
@ca_cert = args[:ca_cert] if args.key?(:ca_cert)
|
886
|
-
@pem_certificate_chain = args[:pem_certificate_chain] if args.key?(:pem_certificate_chain)
|
887
|
-
end
|
888
|
-
end
|
889
|
-
|
890
839
|
# The response message for Locations.ListLocations.
|
891
840
|
class GoogleCloudLocationListLocationsResponse
|
892
841
|
include Google::Apis::Core::Hashable
|
@@ -1143,12 +1092,24 @@ module Google
|
|
1143
1092
|
# @return [String]
|
1144
1093
|
attr_accessor :name
|
1145
1094
|
|
1095
|
+
# Metadata related to instance level network configuration.
|
1096
|
+
# Corresponds to the JSON property `networkConfig`
|
1097
|
+
# @return [Google::Apis::AlloydbV1::InstanceNetworkConfig]
|
1098
|
+
attr_accessor :network_config
|
1099
|
+
|
1146
1100
|
# Output only. List of available read-only VMs in this instance, including the
|
1147
1101
|
# standby for a PRIMARY instance.
|
1148
1102
|
# Corresponds to the JSON property `nodes`
|
1149
1103
|
# @return [Array<Google::Apis::AlloydbV1::Node>]
|
1150
1104
|
attr_accessor :nodes
|
1151
1105
|
|
1106
|
+
# Output only. The public IP addresses for the Instance. This is available ONLY
|
1107
|
+
# when enable_public_ip is set. This is the connection endpoint for an end-user
|
1108
|
+
# application.
|
1109
|
+
# Corresponds to the JSON property `publicIpAddress`
|
1110
|
+
# @return [String]
|
1111
|
+
attr_accessor :public_ip_address
|
1112
|
+
|
1152
1113
|
# QueryInsights Instance specific configuration.
|
1153
1114
|
# Corresponds to the JSON property `queryInsightsConfig`
|
1154
1115
|
# @return [Google::Apis::AlloydbV1::QueryInsightsInstanceConfig]
|
@@ -1218,7 +1179,9 @@ module Google
|
|
1218
1179
|
@labels = args[:labels] if args.key?(:labels)
|
1219
1180
|
@machine_config = args[:machine_config] if args.key?(:machine_config)
|
1220
1181
|
@name = args[:name] if args.key?(:name)
|
1182
|
+
@network_config = args[:network_config] if args.key?(:network_config)
|
1221
1183
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1184
|
+
@public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
|
1222
1185
|
@query_insights_config = args[:query_insights_config] if args.key?(:query_insights_config)
|
1223
1186
|
@read_pool_config = args[:read_pool_config] if args.key?(:read_pool_config)
|
1224
1187
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
@@ -1230,6 +1193,32 @@ module Google
|
|
1230
1193
|
end
|
1231
1194
|
end
|
1232
1195
|
|
1196
|
+
# Metadata related to instance level network configuration.
|
1197
|
+
class InstanceNetworkConfig
|
1198
|
+
include Google::Apis::Core::Hashable
|
1199
|
+
|
1200
|
+
# Optional. A list of external network authorized to access this instance.
|
1201
|
+
# Corresponds to the JSON property `authorizedExternalNetworks`
|
1202
|
+
# @return [Array<Google::Apis::AlloydbV1::AuthorizedNetwork>]
|
1203
|
+
attr_accessor :authorized_external_networks
|
1204
|
+
|
1205
|
+
# Optional. Enabling public ip for the instance.
|
1206
|
+
# Corresponds to the JSON property `enablePublicIp`
|
1207
|
+
# @return [Boolean]
|
1208
|
+
attr_accessor :enable_public_ip
|
1209
|
+
alias_method :enable_public_ip?, :enable_public_ip
|
1210
|
+
|
1211
|
+
def initialize(**args)
|
1212
|
+
update!(**args)
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
# Update properties of this object
|
1216
|
+
def update!(**args)
|
1217
|
+
@authorized_external_networks = args[:authorized_external_networks] if args.key?(:authorized_external_networks)
|
1218
|
+
@enable_public_ip = args[:enable_public_ip] if args.key?(:enable_public_ip)
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
|
1233
1222
|
# Restrictions on INTEGER type values.
|
1234
1223
|
class IntegerRestrictions
|
1235
1224
|
include Google::Apis::Core::Hashable
|
@@ -2535,6 +2524,13 @@ module Google
|
|
2535
2524
|
# @return [String]
|
2536
2525
|
attr_accessor :updation_time
|
2537
2526
|
|
2527
|
+
# Message type for storing user labels. User labels are used to tag App Engine
|
2528
|
+
# resources, allowing users to search for resources matching a set of labels and
|
2529
|
+
# to aggregate usage data by labels.
|
2530
|
+
# Corresponds to the JSON property `userLabelSet`
|
2531
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels]
|
2532
|
+
attr_accessor :user_label_set
|
2533
|
+
|
2538
2534
|
# User-provided labels, represented as a dictionary where each label is a single
|
2539
2535
|
# key value pair.
|
2540
2536
|
# Corresponds to the JSON property `userLabels`
|
@@ -2563,6 +2559,7 @@ module Google
|
|
2563
2559
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
2564
2560
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2565
2561
|
@updation_time = args[:updation_time] if args.key?(:updation_time)
|
2562
|
+
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
|
2566
2563
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
2567
2564
|
end
|
2568
2565
|
end
|
@@ -2728,6 +2725,27 @@ module Google
|
|
2728
2725
|
end
|
2729
2726
|
end
|
2730
2727
|
|
2728
|
+
# Message type for storing user labels. User labels are used to tag App Engine
|
2729
|
+
# resources, allowing users to search for resources matching a set of labels and
|
2730
|
+
# to aggregate usage data by labels.
|
2731
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
2732
|
+
include Google::Apis::Core::Hashable
|
2733
|
+
|
2734
|
+
#
|
2735
|
+
# Corresponds to the JSON property `labels`
|
2736
|
+
# @return [Hash<String,String>]
|
2737
|
+
attr_accessor :labels
|
2738
|
+
|
2739
|
+
def initialize(**args)
|
2740
|
+
update!(**args)
|
2741
|
+
end
|
2742
|
+
|
2743
|
+
# Update properties of this object
|
2744
|
+
def update!(**args)
|
2745
|
+
@labels = args[:labels] if args.key?(:labels)
|
2746
|
+
end
|
2747
|
+
end
|
2748
|
+
|
2731
2749
|
# Product specification for Condor resources.
|
2732
2750
|
class StorageDatabasecenterProtoCommonProduct
|
2733
2751
|
include Google::Apis::Core::Hashable
|
@@ -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.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 = "
|
25
|
+
REVISION = "20240315"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AlloydbV1
|
24
24
|
|
25
|
+
class AuthorizedNetwork
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AutomatedBackupPolicy
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -112,18 +118,6 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
115
|
-
class GenerateClientCertificateRequest
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
|
-
class GenerateClientCertificateResponse
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
121
|
class GoogleCloudLocationListLocationsResponse
|
128
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
123
|
|
@@ -154,6 +148,12 @@ module Google
|
|
154
148
|
include Google::Apis::Core::JsonObjectSupport
|
155
149
|
end
|
156
150
|
|
151
|
+
class InstanceNetworkConfig
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
157
|
class IntegerRestrictions
|
158
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
159
|
|
@@ -382,6 +382,12 @@ module Google
|
|
382
382
|
include Google::Apis::Core::JsonObjectSupport
|
383
383
|
end
|
384
384
|
|
385
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
385
391
|
class StorageDatabasecenterProtoCommonProduct
|
386
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
393
|
|
@@ -424,6 +430,13 @@ module Google
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
425
431
|
end
|
426
432
|
|
433
|
+
class AuthorizedNetwork
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :cidr_range, as: 'cidrRange'
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
427
440
|
class AutomatedBackupPolicy
|
428
441
|
# @private
|
429
442
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -555,6 +568,7 @@ module Google
|
|
555
568
|
property :instance_uid, as: 'instanceUid'
|
556
569
|
property :ip_address, as: 'ipAddress'
|
557
570
|
property :name, as: 'name'
|
571
|
+
property :public_ip_address, as: 'publicIpAddress'
|
558
572
|
end
|
559
573
|
end
|
560
574
|
|
@@ -616,24 +630,6 @@ module Google
|
|
616
630
|
end
|
617
631
|
end
|
618
632
|
|
619
|
-
class GenerateClientCertificateRequest
|
620
|
-
# @private
|
621
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
622
|
-
property :cert_duration, as: 'certDuration'
|
623
|
-
property :public_key, as: 'publicKey'
|
624
|
-
property :request_id, as: 'requestId'
|
625
|
-
property :use_metadata_exchange, as: 'useMetadataExchange'
|
626
|
-
end
|
627
|
-
end
|
628
|
-
|
629
|
-
class GenerateClientCertificateResponse
|
630
|
-
# @private
|
631
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
632
|
-
property :ca_cert, as: 'caCert'
|
633
|
-
collection :pem_certificate_chain, as: 'pemCertificateChain'
|
634
|
-
end
|
635
|
-
end
|
636
|
-
|
637
633
|
class GoogleCloudLocationListLocationsResponse
|
638
634
|
# @private
|
639
635
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -692,8 +688,11 @@ module Google
|
|
692
688
|
property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1::MachineConfig, decorator: Google::Apis::AlloydbV1::MachineConfig::Representation
|
693
689
|
|
694
690
|
property :name, as: 'name'
|
691
|
+
property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1::InstanceNetworkConfig::Representation
|
692
|
+
|
695
693
|
collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1::Node, decorator: Google::Apis::AlloydbV1::Node::Representation
|
696
694
|
|
695
|
+
property :public_ip_address, as: 'publicIpAddress'
|
697
696
|
property :query_insights_config, as: 'queryInsightsConfig', class: Google::Apis::AlloydbV1::QueryInsightsInstanceConfig, decorator: Google::Apis::AlloydbV1::QueryInsightsInstanceConfig::Representation
|
698
697
|
|
699
698
|
property :read_pool_config, as: 'readPoolConfig', class: Google::Apis::AlloydbV1::ReadPoolConfig, decorator: Google::Apis::AlloydbV1::ReadPoolConfig::Representation
|
@@ -708,6 +707,15 @@ module Google
|
|
708
707
|
end
|
709
708
|
end
|
710
709
|
|
710
|
+
class InstanceNetworkConfig
|
711
|
+
# @private
|
712
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
713
|
+
collection :authorized_external_networks, as: 'authorizedExternalNetworks', class: Google::Apis::AlloydbV1::AuthorizedNetwork, decorator: Google::Apis::AlloydbV1::AuthorizedNetwork::Representation
|
714
|
+
|
715
|
+
property :enable_public_ip, as: 'enablePublicIp'
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
711
719
|
class IntegerRestrictions
|
712
720
|
# @private
|
713
721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1062,6 +1070,8 @@ module Google
|
|
1062
1070
|
property :resource_container, as: 'resourceContainer'
|
1063
1071
|
property :resource_name, as: 'resourceName'
|
1064
1072
|
property :updation_time, as: 'updationTime'
|
1073
|
+
property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
|
1074
|
+
|
1065
1075
|
hash :user_labels, as: 'userLabels'
|
1066
1076
|
end
|
1067
1077
|
end
|
@@ -1106,6 +1116,13 @@ module Google
|
|
1106
1116
|
end
|
1107
1117
|
end
|
1108
1118
|
|
1119
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
1120
|
+
# @private
|
1121
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1122
|
+
hash :labels, as: 'labels'
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1109
1126
|
class StorageDatabasecenterProtoCommonProduct
|
1110
1127
|
# @private
|
1111
1128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -539,44 +539,6 @@ module Google
|
|
539
539
|
execute_or_queue_command(command, &block)
|
540
540
|
end
|
541
541
|
|
542
|
-
# Generate a client certificate signed by a Cluster CA. The sole purpose of this
|
543
|
-
# endpoint is to support AlloyDB connectors and the Auth Proxy client. The
|
544
|
-
# endpoint's behavior is subject to change without notice, so do not rely on its
|
545
|
-
# behavior remaining constant. Future changes will not break AlloyDB connectors
|
546
|
-
# or the Auth Proxy client.
|
547
|
-
# @param [String] parent
|
548
|
-
# Required. The name of the parent resource. The required format is: * projects/`
|
549
|
-
# project`/locations/`location`/clusters/`cluster`
|
550
|
-
# @param [Google::Apis::AlloydbV1::GenerateClientCertificateRequest] generate_client_certificate_request_object
|
551
|
-
# @param [String] fields
|
552
|
-
# Selector specifying which fields to include in a partial response.
|
553
|
-
# @param [String] quota_user
|
554
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
555
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
556
|
-
# @param [Google::Apis::RequestOptions] options
|
557
|
-
# Request-specific options
|
558
|
-
#
|
559
|
-
# @yield [result, err] Result & error if block supplied
|
560
|
-
# @yieldparam result [Google::Apis::AlloydbV1::GenerateClientCertificateResponse] parsed result object
|
561
|
-
# @yieldparam err [StandardError] error object if request failed
|
562
|
-
#
|
563
|
-
# @return [Google::Apis::AlloydbV1::GenerateClientCertificateResponse]
|
564
|
-
#
|
565
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
566
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
567
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
568
|
-
def generate_cluster_client_certificate(parent, generate_client_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
569
|
-
command = make_simple_command(:post, 'v1/{+parent}:generateClientCertificate', options)
|
570
|
-
command.request_representation = Google::Apis::AlloydbV1::GenerateClientCertificateRequest::Representation
|
571
|
-
command.request_object = generate_client_certificate_request_object
|
572
|
-
command.response_representation = Google::Apis::AlloydbV1::GenerateClientCertificateResponse::Representation
|
573
|
-
command.response_class = Google::Apis::AlloydbV1::GenerateClientCertificateResponse
|
574
|
-
command.params['parent'] = parent unless parent.nil?
|
575
|
-
command.query['fields'] = fields unless fields.nil?
|
576
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
577
|
-
execute_or_queue_command(command, &block)
|
578
|
-
end
|
579
|
-
|
580
542
|
# Gets details of a single Cluster.
|
581
543
|
# @param [String] name
|
582
544
|
# Required. The name of the resource. For the required format, see the comment
|
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.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-
|
11
|
+
date: 2024-03-24 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.11.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: []
|