google-apis-alloydb_v1 0.8.0 → 0.10.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: 7a14a80bb3061242cb2a1df76971920be4ed3f5114e349b3f84114984e775409
4
- data.tar.gz: 6beaf7bf4e692df6ce55e20d6709419cb764714b47f6b895eef7a0fcf05b6c9d
3
+ metadata.gz: 9697d2a25973ab79e771e11dbec42d89b45bbc5f6be2bb52b1f2a205840dbe70
4
+ data.tar.gz: 42becc265f6baa58c5b25573f9531fe094d69e59665eae21933847f36856bf08
5
5
  SHA512:
6
- metadata.gz: 91bdde1be43c384ca423dec80140100a980d512a2b71589393f3c06707f2e15997e44fca8f8ab015032e83348df771c7965a67070e54fec590dcf7c5ddc0912b
7
- data.tar.gz: 47efc72e957a62a7199003346e38e02e5e950ff1f4c78ec7528267845dc2c0ce464ae8929087d5ed5bb00d926444a519c72b188adf389b156d8974cea4bd6225
6
+ metadata.gz: 235f4f7a54086822366e448550ba2664442bed2059e5d4e0b04e868d4ef2e7be1eeb35d4796d3f37ac4968d5c5eeca65fb448d0c51bf6aaee95f79f99a48cb9c
7
+ data.tar.gz: f6adea68cad22bb126ade2c1813c0adce622049d75ef64349c623a065526b0e7f4abf19a08ff2d074f9c3820cbce3900903bfafb0acf6c230b7cfc0fdece5617
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.10.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240306
6
+
7
+ ### v0.9.0 (2024-03-03)
8
+
9
+ * Regenerated from discovery document revision 20240223
10
+
3
11
  ### v0.8.0 (2024-02-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240216
@@ -473,8 +473,8 @@ module Google
473
473
 
474
474
  # Required. The resource link for the VPC network in which cluster resources are
475
475
  # created and from which they are accessible via Private IP. The network must
476
- # belong to the same project as the cluster. It is specified in the form: "
477
- # projects/`project`/global/networks/`network_id`". This is required to create a
476
+ # belong to the same project as the cluster. It is specified in the form: `
477
+ # projects/`project`/global/networks/`network_id``. This is required to create a
478
478
  # cluster. Deprecated, use network_config.network instead.
479
479
  # Corresponds to the JSON property `network`
480
480
  # @return [String]
@@ -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
@@ -1497,8 +1419,8 @@ module Google
1497
1419
 
1498
1420
  # Optional. The resource link for the VPC network in which cluster resources are
1499
1421
  # created and from which they are accessible via Private IP. The network must
1500
- # belong to the same project as the cluster. It is specified in the form: "
1501
- # projects/`project_number`/global/networks/`network_id`". This is required to
1422
+ # belong to the same project as the cluster. It is specified in the form: `
1423
+ # projects/`project_number`/global/networks/`network_id``. This is required to
1502
1424
  # create a cluster.
1503
1425
  # Corresponds to the JSON property `network`
1504
1426
  # @return [String]
@@ -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
@@ -2571,7 +2501,7 @@ module Google
2571
2501
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData
2572
2502
  include Google::Apis::Core::Hashable
2573
2503
 
2574
- # Required. Any other additional metadata specific to recommendation
2504
+ # Optional. Any other additional metadata specific to recommendation
2575
2505
  # Corresponds to the JSON property `additionalMetadata`
2576
2506
  # @return [Hash<String,Object>]
2577
2507
  attr_accessor :additional_metadata
@@ -2675,6 +2605,11 @@ module Google
2675
2605
  # @return [String]
2676
2606
  attr_accessor :code
2677
2607
 
2608
+ #
2609
+ # Corresponds to the JSON property `errorType`
2610
+ # @return [String]
2611
+ attr_accessor :error_type
2612
+
2678
2613
  # Additional information about the error encountered. REQUIRED
2679
2614
  # Corresponds to the JSON property `message`
2680
2615
  # @return [String]
@@ -2687,6 +2622,7 @@ module Google
2687
2622
  # Update properties of this object
2688
2623
  def update!(**args)
2689
2624
  @code = args[:code] if args.key?(:code)
2625
+ @error_type = args[:error_type] if args.key?(:error_type)
2690
2626
  @message = args[:message] if args.key?(:message)
2691
2627
  end
2692
2628
  end
@@ -2722,6 +2658,27 @@ module Google
2722
2658
  end
2723
2659
  end
2724
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
+
2725
2682
  # Product specification for Condor resources.
2726
2683
  class StorageDatabasecenterProtoCommonProduct
2727
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.8.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 = "20240216"
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
@@ -1092,6 +1070,7 @@ module Google
1092
1070
  # @private
1093
1071
  class Representation < Google::Apis::Core::JsonRepresentation
1094
1072
  property :code, as: 'code'
1073
+ property :error_type, as: 'errorType'
1095
1074
  property :message, as: 'message'
1096
1075
  end
1097
1076
  end
@@ -1105,6 +1084,13 @@ module Google
1105
1084
  end
1106
1085
  end
1107
1086
 
1087
+ class StorageDatabasecenterPartnerapiV1mainUserLabels
1088
+ # @private
1089
+ class Representation < Google::Apis::Core::JsonRepresentation
1090
+ hash :labels, as: 'labels'
1091
+ end
1092
+ end
1093
+
1108
1094
  class StorageDatabasecenterProtoCommonProduct
1109
1095
  # @private
1110
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.8.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-02-25 00:00:00.000000000 Z
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.8.0
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: []