google-cloud-alloy_db-v1beta 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,6 +66,10 @@ module Google
66
66
  # @return [::String]
67
67
  # Required. The name of the resource. For the required format, see the
68
68
  # comment on the Cluster.name field.
69
+ # @!attribute [rw] view
70
+ # @return [::Google::Cloud::AlloyDB::V1beta::ClusterView]
71
+ # Optional. The view of the cluster to return. Returns all default fields if
72
+ # not set.
69
73
  class GetClusterRequest
70
74
  include ::Google::Protobuf::MessageExts
71
75
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -73,8 +77,8 @@ module Google
73
77
 
74
78
  # @!attribute [rw] parent
75
79
  # @return [::String]
76
- # Required. The name of the parent resource (the primary cluster). For the
77
- # required format, see the comment on the Cluster.name field.
80
+ # Required. The location of the new cluster. For the required
81
+ # format, see the comment on the Cluster.name field.
78
82
  # @!attribute [rw] cluster_id
79
83
  # @return [::String]
80
84
  # Required. ID of the requesting object (the secondary cluster).
@@ -109,7 +113,7 @@ module Google
109
113
  # Message for creating a Cluster
110
114
  # @!attribute [rw] parent
111
115
  # @return [::String]
112
- # Required. The name of the parent resource. For the required format, see the
116
+ # Required. The location of the new cluster. For the required format, see the
113
117
  # comment on the Cluster.name field.
114
118
  # @!attribute [rw] cluster_id
115
119
  # @return [::String]
@@ -471,6 +475,7 @@ module Google
471
475
  end
472
476
 
473
477
  # Message for metadata that is specific to BatchCreateInstances API.
478
+ # NEXT_ID: 3
474
479
  # @!attribute [rw] instance_targets
475
480
  # @return [::Array<::String>]
476
481
  # The instances being created in the API call. Each string in this list
@@ -510,6 +515,7 @@ module Google
510
515
  # 2. Instance2 = ROLLED_BACK
511
516
  # 3. Instance3 = FAILED
512
517
  # 4. Instance4 = FAILED
518
+ #
513
519
  # However, while the operation is running, the instance might be in other
514
520
  # states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states
515
521
  # / do not get further updated once the operation is done.
@@ -670,6 +676,49 @@ module Google
670
676
  extend ::Google::Protobuf::MessageExts::ClassMethods
671
677
  end
672
678
 
679
+ # Message for triggering fault injection on an instance
680
+ # @!attribute [rw] fault_type
681
+ # @return [::Google::Cloud::AlloyDB::V1beta::InjectFaultRequest::FaultType]
682
+ # Required. The type of fault to be injected in an instance.
683
+ # @!attribute [rw] name
684
+ # @return [::String]
685
+ # Required. The name of the resource. For the required format, see the
686
+ # comment on the Instance.name field.
687
+ # @!attribute [rw] request_id
688
+ # @return [::String]
689
+ # Optional. An optional request ID to identify requests. Specify a unique
690
+ # request ID so that if you must retry your request, the server will know to
691
+ # ignore the request if it has already been completed. The server will
692
+ # guarantee that for at least 60 minutes after the first request.
693
+ #
694
+ # For example, consider a situation where you make an initial request and
695
+ # the request times out. If you make the request again with the same request
696
+ # ID, the server can check if original operation with the same request ID
697
+ # was received, and if so, will ignore the second request. This prevents
698
+ # clients from accidentally creating duplicate commitments.
699
+ #
700
+ # The request ID must be a valid UUID with the exception that zero UUID is
701
+ # not supported (00000000-0000-0000-0000-000000000000).
702
+ # @!attribute [rw] validate_only
703
+ # @return [::Boolean]
704
+ # Optional. If set, performs request validation (e.g. permission checks and
705
+ # any other type of validation), but do not actually execute the fault
706
+ # injection.
707
+ class InjectFaultRequest
708
+ include ::Google::Protobuf::MessageExts
709
+ extend ::Google::Protobuf::MessageExts::ClassMethods
710
+
711
+ # FaultType contains all valid types of faults that can be injected to an
712
+ # instance.
713
+ module FaultType
714
+ # The fault type is unknown.
715
+ FAULT_TYPE_UNSPECIFIED = 0
716
+
717
+ # Stop the VM
718
+ STOP_VM = 1
719
+ end
720
+ end
721
+
673
722
  # @!attribute [rw] name
674
723
  # @return [::String]
675
724
  # Required. The name of the resource. For the required format, see the
@@ -916,6 +965,9 @@ module Google
916
965
  # 24 hours. The endpoint may or may not honor the hint. If the hint is left
917
966
  # unspecified or is not honored, then the endpoint will pick an appropriate
918
967
  # default duration.
968
+ # @!attribute [rw] public_key
969
+ # @return [::String]
970
+ # Optional. The public key from the client.
919
971
  class GenerateClientCertificateRequest
920
972
  include ::Google::Protobuf::MessageExts
921
973
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -929,6 +981,9 @@ module Google
929
981
  # @return [::Array<::String>]
930
982
  # Output only. The pem-encoded chain that may be used to verify the X.509
931
983
  # certificate. Expected to be in issuer-to-root order according to RFC 5246.
984
+ # @!attribute [rw] ca_cert
985
+ # @return [::String]
986
+ # Optional. The pem-encoded cluster ca X.509 certificate.
932
987
  class GenerateClientCertificateResponse
933
988
  include ::Google::Protobuf::MessageExts
934
989
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -992,6 +1047,154 @@ module Google
992
1047
  include ::Google::Protobuf::MessageExts
993
1048
  extend ::Google::Protobuf::MessageExts::ClassMethods
994
1049
  end
1050
+
1051
+ # Message for requesting list of Users
1052
+ # @!attribute [rw] parent
1053
+ # @return [::String]
1054
+ # Required. Parent value for ListUsersRequest
1055
+ # @!attribute [rw] page_size
1056
+ # @return [::Integer]
1057
+ # Optional. Requested page size. Server may return fewer items than
1058
+ # requested. If unspecified, server will pick an appropriate default.
1059
+ # @!attribute [rw] page_token
1060
+ # @return [::String]
1061
+ # Optional. A token identifying a page of results the server should return.
1062
+ # @!attribute [rw] filter
1063
+ # @return [::String]
1064
+ # Optional. Filtering results
1065
+ # @!attribute [rw] order_by
1066
+ # @return [::String]
1067
+ # Optional. Hint for how to order the results
1068
+ class ListUsersRequest
1069
+ include ::Google::Protobuf::MessageExts
1070
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1071
+ end
1072
+
1073
+ # Message for response to listing Users
1074
+ # @!attribute [rw] users
1075
+ # @return [::Array<::Google::Cloud::AlloyDB::V1beta::User>]
1076
+ # The list of User
1077
+ # @!attribute [rw] next_page_token
1078
+ # @return [::String]
1079
+ # A token identifying a page of results the server should return.
1080
+ # @!attribute [rw] unreachable
1081
+ # @return [::Array<::String>]
1082
+ # Locations that could not be reached.
1083
+ class ListUsersResponse
1084
+ include ::Google::Protobuf::MessageExts
1085
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1086
+ end
1087
+
1088
+ # Message for getting a User
1089
+ # @!attribute [rw] name
1090
+ # @return [::String]
1091
+ # Required. The name of the resource. For the required format, see the
1092
+ # comment on the User.name field.
1093
+ class GetUserRequest
1094
+ include ::Google::Protobuf::MessageExts
1095
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1096
+ end
1097
+
1098
+ # Message for creating a User
1099
+ # @!attribute [rw] parent
1100
+ # @return [::String]
1101
+ # Required. Value for parent.
1102
+ # @!attribute [rw] user_id
1103
+ # @return [::String]
1104
+ # Required. ID of the requesting object.
1105
+ # @!attribute [rw] user
1106
+ # @return [::Google::Cloud::AlloyDB::V1beta::User]
1107
+ # Required. The resource being created
1108
+ # @!attribute [rw] request_id
1109
+ # @return [::String]
1110
+ # Optional. An optional request ID to identify requests. Specify a unique
1111
+ # request ID so that if you must retry your request, the server will know to
1112
+ # ignore the request if it has already been completed. The server will
1113
+ # guarantee that for at least 60 minutes since the first request.
1114
+ #
1115
+ # For example, consider a situation where you make an initial request and
1116
+ # the request times out. If you make the request again with the same request
1117
+ # ID, the server can check if original operation with the same request ID
1118
+ # was received, and if so, will ignore the second request. This prevents
1119
+ # clients from accidentally creating duplicate commitments.
1120
+ #
1121
+ # The request ID must be a valid UUID with the exception that zero UUID is
1122
+ # not supported (00000000-0000-0000-0000-000000000000).
1123
+ # @!attribute [rw] validate_only
1124
+ # @return [::Boolean]
1125
+ # Optional. If set, the backend validates the request, but doesn't actually
1126
+ # execute it.
1127
+ class CreateUserRequest
1128
+ include ::Google::Protobuf::MessageExts
1129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1130
+ end
1131
+
1132
+ # Message for updating a User
1133
+ # @!attribute [rw] update_mask
1134
+ # @return [::Google::Protobuf::FieldMask]
1135
+ # Optional. Field mask is used to specify the fields to be overwritten in the
1136
+ # User resource by the update.
1137
+ # The fields specified in the update_mask are relative to the resource, not
1138
+ # the full request. A field will be overwritten if it is in the mask. If the
1139
+ # user does not provide a mask then all fields will be overwritten.
1140
+ # @!attribute [rw] user
1141
+ # @return [::Google::Cloud::AlloyDB::V1beta::User]
1142
+ # Required. The resource being updated
1143
+ # @!attribute [rw] request_id
1144
+ # @return [::String]
1145
+ # Optional. An optional request ID to identify requests. Specify a unique
1146
+ # request ID so that if you must retry your request, the server will know to
1147
+ # ignore the request if it has already been completed. The server will
1148
+ # guarantee that for at least 60 minutes since the first request.
1149
+ #
1150
+ # For example, consider a situation where you make an initial request and
1151
+ # the request times out. If you make the request again with the same request
1152
+ # ID, the server can check if original operation with the same request ID
1153
+ # was received, and if so, will ignore the second request. This prevents
1154
+ # clients from accidentally creating duplicate commitments.
1155
+ #
1156
+ # The request ID must be a valid UUID with the exception that zero UUID is
1157
+ # not supported (00000000-0000-0000-0000-000000000000).
1158
+ # @!attribute [rw] validate_only
1159
+ # @return [::Boolean]
1160
+ # Optional. If set, the backend validates the request, but doesn't actually
1161
+ # execute it.
1162
+ # @!attribute [rw] allow_missing
1163
+ # @return [::Boolean]
1164
+ # Optional. Allow missing fields in the update mask.
1165
+ class UpdateUserRequest
1166
+ include ::Google::Protobuf::MessageExts
1167
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1168
+ end
1169
+
1170
+ # Message for deleting a User
1171
+ # @!attribute [rw] name
1172
+ # @return [::String]
1173
+ # Required. The name of the resource. For the required format, see the
1174
+ # comment on the User.name field.
1175
+ # @!attribute [rw] request_id
1176
+ # @return [::String]
1177
+ # Optional. An optional request ID to identify requests. Specify a unique
1178
+ # request ID so that if you must retry your request, the server will know to
1179
+ # ignore the request if it has already been completed. The server will
1180
+ # guarantee that for at least 60 minutes after the first request.
1181
+ #
1182
+ # For example, consider a situation where you make an initial request and
1183
+ # the request times out. If you make the request again with the same request
1184
+ # ID, the server can check if original operation with the same request ID
1185
+ # was received, and if so, will ignore the second request. This prevents
1186
+ # clients from accidentally creating duplicate commitments.
1187
+ #
1188
+ # The request ID must be a valid UUID with the exception that zero UUID is
1189
+ # not supported (00000000-0000-0000-0000-000000000000).
1190
+ # @!attribute [rw] validate_only
1191
+ # @return [::Boolean]
1192
+ # Optional. If set, the backend validates the request, but doesn't actually
1193
+ # execute it.
1194
+ class DeleteUserRequest
1195
+ include ::Google::Protobuf::MessageExts
1196
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1197
+ end
995
1198
  end
996
1199
  end
997
1200
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-alloy_db-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.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: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  - !ruby/object:Gem::Version
272
272
  version: '0'
273
273
  requirements: []
274
- rubygems_version: 3.4.2
274
+ rubygems_version: 3.4.19
275
275
  signing_key:
276
276
  specification_version: 4
277
277
  summary: AlloyDB for PostgreSQL is an open source-compatible database service that