google-apis-alloydb_v1 0.9.0 → 0.10.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: 9697d2a25973ab79e771e11dbec42d89b45bbc5f6be2bb52b1f2a205840dbe70
|
4
|
+
data.tar.gz: 42becc265f6baa58c5b25573f9531fe094d69e59665eae21933847f36856bf08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 235f4f7a54086822366e448550ba2664442bed2059e5d4e0b04e868d4ef2e7be1eeb35d4796d3f37ac4968d5c5eeca65fb448d0c51bf6aaee95f79f99a48cb9c
|
7
|
+
data.tar.gz: f6adea68cad22bb126ade2c1813c0adce622049d75ef64349c623a065526b0e7f4abf19a08ff2d074f9c3820cbce3900903bfafb0acf6c230b7cfc0fdece5617
|
data/CHANGELOG.md
CHANGED
@@ -809,84 +809,6 @@ module Google
|
|
809
809
|
end
|
810
810
|
end
|
811
811
|
|
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
812
|
# The response message for Locations.ListLocations.
|
891
813
|
class GoogleCloudLocationListLocationsResponse
|
892
814
|
include Google::Apis::Core::Hashable
|
@@ -2535,6 +2457,13 @@ module Google
|
|
2535
2457
|
# @return [String]
|
2536
2458
|
attr_accessor :updation_time
|
2537
2459
|
|
2460
|
+
# Message type for storing user labels. User labels are used to tag App Engine
|
2461
|
+
# resources, allowing users to search for resources matching a set of labels and
|
2462
|
+
# to aggregate usage data by labels.
|
2463
|
+
# Corresponds to the JSON property `userLabelSet`
|
2464
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels]
|
2465
|
+
attr_accessor :user_label_set
|
2466
|
+
|
2538
2467
|
# User-provided labels, represented as a dictionary where each label is a single
|
2539
2468
|
# key value pair.
|
2540
2469
|
# Corresponds to the JSON property `userLabels`
|
@@ -2563,6 +2492,7 @@ module Google
|
|
2563
2492
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
2564
2493
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2565
2494
|
@updation_time = args[:updation_time] if args.key?(:updation_time)
|
2495
|
+
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
|
2566
2496
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
2567
2497
|
end
|
2568
2498
|
end
|
@@ -2728,6 +2658,27 @@ module Google
|
|
2728
2658
|
end
|
2729
2659
|
end
|
2730
2660
|
|
2661
|
+
# Message type for storing user labels. User labels are used to tag App Engine
|
2662
|
+
# resources, allowing users to search for resources matching a set of labels and
|
2663
|
+
# to aggregate usage data by labels.
|
2664
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
2665
|
+
include Google::Apis::Core::Hashable
|
2666
|
+
|
2667
|
+
#
|
2668
|
+
# Corresponds to the JSON property `labels`
|
2669
|
+
# @return [Hash<String,String>]
|
2670
|
+
attr_accessor :labels
|
2671
|
+
|
2672
|
+
def initialize(**args)
|
2673
|
+
update!(**args)
|
2674
|
+
end
|
2675
|
+
|
2676
|
+
# Update properties of this object
|
2677
|
+
def update!(**args)
|
2678
|
+
@labels = args[:labels] if args.key?(:labels)
|
2679
|
+
end
|
2680
|
+
end
|
2681
|
+
|
2731
2682
|
# Product specification for Condor resources.
|
2732
2683
|
class StorageDatabasecenterProtoCommonProduct
|
2733
2684
|
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.10.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 = "20240306"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,18 +112,6 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
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
115
|
class GoogleCloudLocationListLocationsResponse
|
128
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
117
|
|
@@ -382,6 +370,12 @@ module Google
|
|
382
370
|
include Google::Apis::Core::JsonObjectSupport
|
383
371
|
end
|
384
372
|
|
373
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
385
379
|
class StorageDatabasecenterProtoCommonProduct
|
386
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
381
|
|
@@ -616,24 +610,6 @@ module Google
|
|
616
610
|
end
|
617
611
|
end
|
618
612
|
|
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
613
|
class GoogleCloudLocationListLocationsResponse
|
638
614
|
# @private
|
639
615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1062,6 +1038,8 @@ module Google
|
|
1062
1038
|
property :resource_container, as: 'resourceContainer'
|
1063
1039
|
property :resource_name, as: 'resourceName'
|
1064
1040
|
property :updation_time, as: 'updationTime'
|
1041
|
+
property :user_label_set, as: 'userLabelSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels::Representation
|
1042
|
+
|
1065
1043
|
hash :user_labels, as: 'userLabels'
|
1066
1044
|
end
|
1067
1045
|
end
|
@@ -1106,6 +1084,13 @@ module Google
|
|
1106
1084
|
end
|
1107
1085
|
end
|
1108
1086
|
|
1087
|
+
class StorageDatabasecenterPartnerapiV1mainUserLabels
|
1088
|
+
# @private
|
1089
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1090
|
+
hash :labels, as: 'labels'
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
|
1109
1094
|
class StorageDatabasecenterProtoCommonProduct
|
1110
1095
|
# @private
|
1111
1096
|
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.10.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-17 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.10.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: []
|