google-apis-managedidentities_v1 0.7.0 → 0.12.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: a43fe16e23d701dba1ad06ad928d256b0bcf24f0bb549bc12d28fa4a5d913541
4
- data.tar.gz: 73e674f76cb7c4a8b1ccf09114076b8abce123d3382b33975259bdf130542dce
3
+ metadata.gz: c52a14dad1176cf0abaa36e14ff6b585db23a6a7bc3712be0aa37c26c7d9e9f5
4
+ data.tar.gz: d96c99ab5db5fcee9a830e89c56205c383e962fff67acf7b377a804557d6bef8
5
5
  SHA512:
6
- metadata.gz: f6ca33cdaa6736d25ff555c704c64267bab25434a0a7cf49177d70b3e574ff82c085b650d72880ca68b4301a8cbdee91372b0312b05aee45a532bba685b43e90
7
- data.tar.gz: e7620a449799d4f8341faef395599063c5a1285dd65910ec747529813a2f851c9d3008a8fe6fcc14482388afb7e240aa0b6a11cbbe297581d58184a127286034
6
+ metadata.gz: 7c95e4e737a42d234a8966c9cba338bea33e0125769027264c5ad69f2f737dfa81a4c0b4b1b39388dbddbe5320443049dc333d11064f76c3449d7a731c41ad73
7
+ data.tar.gz: f7367c61d1742e39c3efc4a20fc23dc538878dff1d2db2e3bccc863f61e5ac95e21841048377db4303caef233498d01f11fc9dc423e1b8f8ebb627affae6170c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.12.0 (2021-07-10)
4
+
5
+ * Regenerated from discovery document revision 20210701
6
+
7
+ ### v0.11.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.10.0 (2021-06-24)
12
+
13
+ * Regenerated from discovery document revision 20210615
14
+
15
+ ### v0.9.0 (2021-06-16)
16
+
17
+ * Regenerated from discovery document revision 20210614
18
+
19
+ ### v0.8.0 (2021-06-11)
20
+
21
+ * Regenerated from discovery document revision 20210601
22
+ * Regenerated using generator version 0.3.0
23
+
3
24
  ### v0.7.0 (2021-05-19)
4
25
 
5
26
  * Unspecified changes
@@ -128,6 +128,49 @@ module Google
128
128
  end
129
129
  end
130
130
 
131
+ # Certificate used to configure LDAPS.
132
+ class Certificate
133
+ include Google::Apis::Core::Hashable
134
+
135
+ # The certificate expire time.
136
+ # Corresponds to the JSON property `expireTime`
137
+ # @return [String]
138
+ attr_accessor :expire_time
139
+
140
+ # Certificate used to configure LDAPS.
141
+ # Corresponds to the JSON property `issuingCertificate`
142
+ # @return [Google::Apis::ManagedidentitiesV1::Certificate]
143
+ attr_accessor :issuing_certificate
144
+
145
+ # The certificate subject.
146
+ # Corresponds to the JSON property `subject`
147
+ # @return [String]
148
+ attr_accessor :subject
149
+
150
+ # The additional hostnames for the domain.
151
+ # Corresponds to the JSON property `subjectAlternativeName`
152
+ # @return [Array<String>]
153
+ attr_accessor :subject_alternative_name
154
+
155
+ # The certificate thumbprint which uniquely identifies the certificate.
156
+ # Corresponds to the JSON property `thumbprint`
157
+ # @return [String]
158
+ attr_accessor :thumbprint
159
+
160
+ def initialize(**args)
161
+ update!(**args)
162
+ end
163
+
164
+ # Update properties of this object
165
+ def update!(**args)
166
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
167
+ @issuing_certificate = args[:issuing_certificate] if args.key?(:issuing_certificate)
168
+ @subject = args[:subject] if args.key?(:subject)
169
+ @subject_alternative_name = args[:subject_alternative_name] if args.key?(:subject_alternative_name)
170
+ @thumbprint = args[:thumbprint] if args.key?(:thumbprint)
171
+ end
172
+ end
173
+
131
174
  # Time window specified for daily operations.
132
175
  class DailyCycle
133
176
  include Google::Apis::Core::Hashable
@@ -279,6 +322,13 @@ module Google
279
322
  # @return [String]
280
323
  attr_accessor :admin
281
324
 
325
+ # Optional. Configuration for audit logs. True if audit logs are enabled, else
326
+ # false. Default is audit logs disabled.
327
+ # Corresponds to the JSON property `auditLogsEnabled`
328
+ # @return [Boolean]
329
+ attr_accessor :audit_logs_enabled
330
+ alias_method :audit_logs_enabled?, :audit_logs_enabled
331
+
282
332
  # Optional. The full names of the Google Compute Engine [networks](/compute/docs/
283
333
  # networks-and-firewalls#networks) the domain instance is connected to. Networks
284
334
  # can be added using UpdateDomain. The domain is only available on networks
@@ -353,6 +403,7 @@ module Google
353
403
  # Update properties of this object
354
404
  def update!(**args)
355
405
  @admin = args[:admin] if args.key?(:admin)
406
+ @audit_logs_enabled = args[:audit_logs_enabled] if args.key?(:audit_logs_enabled)
356
407
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
357
408
  @create_time = args[:create_time] if args.key?(:create_time)
358
409
  @fqdn = args[:fqdn] if args.key?(:fqdn)
@@ -641,8 +692,10 @@ module Google
641
692
  # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
642
693
  attr_accessor :maintenance_settings
643
694
 
644
- # Unique name of the resource. It uses the form: `projects/`project_id`/
645
- # locations/`location_id`/instances/`instance_id``
695
+ # Unique name of the resource. It uses the form: `projects/`project_id|
696
+ # project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
697
+ # project_id or project_number can be used, but keep it consistent with other
698
+ # APIs (e.g. RescheduleUpdate)
646
699
  # Corresponds to the JSON property `name`
647
700
  # @return [String]
648
701
  attr_accessor :name
@@ -838,6 +891,11 @@ module Google
838
891
  # @return [String]
839
892
  attr_accessor :node_id
840
893
 
894
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
895
+ # Corresponds to the JSON property `perSliEligibility`
896
+ # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
897
+ attr_accessor :per_sli_eligibility
898
+
841
899
  def initialize(**args)
842
900
  update!(**args)
843
901
  end
@@ -847,6 +905,7 @@ module Google
847
905
  @exclusions = args[:exclusions] if args.key?(:exclusions)
848
906
  @location = args[:location] if args.key?(:location)
849
907
  @node_id = args[:node_id] if args.key?(:node_id)
908
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
850
909
  end
851
910
  end
852
911
 
@@ -989,13 +1048,6 @@ module Google
989
1048
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
990
1049
  include Google::Apis::Core::Hashable
991
1050
 
992
- # SloEligibility is a tuple containing eligibility value: true if an instance is
993
- # eligible for SLO calculation or false if it should be excluded from all SLO-
994
- # related calculations along with a user-defined reason.
995
- # Corresponds to the JSON property `eligibility`
996
- # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
997
- attr_accessor :eligibility
998
-
999
1051
  # List of SLO exclusion windows. When multiple entries in the list match (
1000
1052
  # matching the exclusion time-window against current time point) the exclusion
1001
1053
  # reason used in the first matching entry will be published. It is not needed to
@@ -1036,7 +1088,6 @@ module Google
1036
1088
 
1037
1089
  # Update properties of this object
1038
1090
  def update!(**args)
1039
- @eligibility = args[:eligibility] if args.key?(:eligibility)
1040
1091
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1041
1092
  @nodes = args[:nodes] if args.key?(:nodes)
1042
1093
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -1044,6 +1095,76 @@ module Google
1044
1095
  end
1045
1096
  end
1046
1097
 
1098
+ # LDAPSSettings represents the ldaps settings for domain resource. LDAP is the
1099
+ # Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/
1100
+ # rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over
1101
+ # port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will
1102
+ # be placed into the UPDATING state, which indicates that the resource is being
1103
+ # reconciled. At this point, Get will reflect an intermediate state.
1104
+ class LdapsSettings
1105
+ include Google::Apis::Core::Hashable
1106
+
1107
+ # Certificate used to configure LDAPS.
1108
+ # Corresponds to the JSON property `certificate`
1109
+ # @return [Google::Apis::ManagedidentitiesV1::Certificate]
1110
+ attr_accessor :certificate
1111
+
1112
+ # Input only. The password used to encrypt the uploaded PFX certificate.
1113
+ # Corresponds to the JSON property `certificatePassword`
1114
+ # @return [String]
1115
+ attr_accessor :certificate_password
1116
+
1117
+ # Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with.
1118
+ # It will enable the domain controllers in this domain to accept LDAPS
1119
+ # connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
1120
+ # certificate chain must form a valid x.509 certificate chain (or be comprised
1121
+ # of a single self-signed certificate. It must be encrypted with either: 1)
1122
+ # PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-
1123
+ # KeyTripleDES-CBC Private key must be included for the leaf / single self-
1124
+ # signed certificate. Note: For a fqdn your-example-domain.com, the wildcard
1125
+ # fqdn is *.your-example-domain.com. Specifically the leaf certificate must have:
1126
+ # - Either a blank subject or a subject with CN matching the wildcard fqdn. -
1127
+ # Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key
1128
+ # signature key usages. - Server authentication extended key usage (OID=1.3.6.1.
1129
+ # 5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA,
1130
+ # ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for
1131
+ # ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
1132
+ # Corresponds to the JSON property `certificatePfx`
1133
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1134
+ # @return [String]
1135
+ attr_accessor :certificate_pfx
1136
+
1137
+ # The resource name of the LDAPS settings. Uses the form: `projects/`project`/
1138
+ # locations/`location`/domains/`domain``.
1139
+ # Corresponds to the JSON property `name`
1140
+ # @return [String]
1141
+ attr_accessor :name
1142
+
1143
+ # Output only. The current state of this LDAPS settings.
1144
+ # Corresponds to the JSON property `state`
1145
+ # @return [String]
1146
+ attr_accessor :state
1147
+
1148
+ # Output only. Last update time.
1149
+ # Corresponds to the JSON property `updateTime`
1150
+ # @return [String]
1151
+ attr_accessor :update_time
1152
+
1153
+ def initialize(**args)
1154
+ update!(**args)
1155
+ end
1156
+
1157
+ # Update properties of this object
1158
+ def update!(**args)
1159
+ @certificate = args[:certificate] if args.key?(:certificate)
1160
+ @certificate_password = args[:certificate_password] if args.key?(:certificate_password)
1161
+ @certificate_pfx = args[:certificate_pfx] if args.key?(:certificate_pfx)
1162
+ @name = args[:name] if args.key?(:name)
1163
+ @state = args[:state] if args.key?(:state)
1164
+ @update_time = args[:update_time] if args.key?(:update_time)
1165
+ end
1166
+ end
1167
+
1047
1168
  # Response message for ListDomains
1048
1169
  class ListDomainsResponse
1049
1170
  include Google::Apis::Core::Hashable
@@ -1126,6 +1247,39 @@ module Google
1126
1247
  end
1127
1248
  end
1128
1249
 
1250
+ # ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
1251
+ # method.
1252
+ class ListSqlIntegrationsResponse
1253
+ include Google::Apis::Core::Hashable
1254
+
1255
+ # Token to retrieve the next page of results, or empty if there are no more
1256
+ # results in the list.
1257
+ # Corresponds to the JSON property `nextPageToken`
1258
+ # @return [String]
1259
+ attr_accessor :next_page_token
1260
+
1261
+ # A list of SQLIntegrations of a domain.
1262
+ # Corresponds to the JSON property `sqlIntegrations`
1263
+ # @return [Array<Google::Apis::ManagedidentitiesV1::SqlIntegration>]
1264
+ attr_accessor :sql_integrations
1265
+
1266
+ # A list of locations that could not be reached.
1267
+ # Corresponds to the JSON property `unreachable`
1268
+ # @return [Array<String>]
1269
+ attr_accessor :unreachable
1270
+
1271
+ def initialize(**args)
1272
+ update!(**args)
1273
+ end
1274
+
1275
+ # Update properties of this object
1276
+ def update!(**args)
1277
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1278
+ @sql_integrations = args[:sql_integrations] if args.key?(:sql_integrations)
1279
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1280
+ end
1281
+ end
1282
+
1129
1283
  # A resource that represents Google Cloud Platform location.
1130
1284
  class Location
1131
1285
  include Google::Apis::Core::Hashable
@@ -1326,12 +1480,12 @@ module Google
1326
1480
  class OperationMetadata
1327
1481
  include Google::Apis::Core::Hashable
1328
1482
 
1329
- # [Output only] API version used to start the operation.
1483
+ # Output only. API version used to start the operation.
1330
1484
  # Corresponds to the JSON property `apiVersion`
1331
1485
  # @return [String]
1332
1486
  attr_accessor :api_version
1333
1487
 
1334
- # [Output only] Identifies whether the user has requested cancellation of the
1488
+ # Output only. Identifies whether the user has requested cancellation of the
1335
1489
  # operation. Operations that have successfully been cancelled have Operation.
1336
1490
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1337
1491
  # CANCELLED`.
@@ -1340,27 +1494,27 @@ module Google
1340
1494
  attr_accessor :cancel_requested
1341
1495
  alias_method :cancel_requested?, :cancel_requested
1342
1496
 
1343
- # [Output only] The time the operation was created.
1497
+ # Output only. The time the operation was created.
1344
1498
  # Corresponds to the JSON property `createTime`
1345
1499
  # @return [String]
1346
1500
  attr_accessor :create_time
1347
1501
 
1348
- # [Output only] The time the operation finished running.
1502
+ # Output only. The time the operation finished running.
1349
1503
  # Corresponds to the JSON property `endTime`
1350
1504
  # @return [String]
1351
1505
  attr_accessor :end_time
1352
1506
 
1353
- # [Output only] Human-readable status of the operation, if any.
1507
+ # Output only. Human-readable status of the operation, if any.
1354
1508
  # Corresponds to the JSON property `statusDetail`
1355
1509
  # @return [String]
1356
1510
  attr_accessor :status_detail
1357
1511
 
1358
- # [Output only] Server-defined resource path for the target of the operation.
1512
+ # Output only. Server-defined resource path for the target of the operation.
1359
1513
  # Corresponds to the JSON property `target`
1360
1514
  # @return [String]
1361
1515
  attr_accessor :target
1362
1516
 
1363
- # [Output only] Name of the verb executed by the operation.
1517
+ # Output only. Name of the verb executed by the operation.
1364
1518
  # Corresponds to the JSON property `verb`
1365
1519
  # @return [String]
1366
1520
  attr_accessor :verb
@@ -1602,6 +1756,50 @@ module Google
1602
1756
  end
1603
1757
  end
1604
1758
 
1759
+ # Represents the SQL instance integrated with Managed AD.
1760
+ class SqlIntegration
1761
+ include Google::Apis::Core::Hashable
1762
+
1763
+ # Output only. The time the SQL integration was created.
1764
+ # Corresponds to the JSON property `createTime`
1765
+ # @return [String]
1766
+ attr_accessor :create_time
1767
+
1768
+ # The unique name of the SQL integration in the form of `projects/`project_id`/
1769
+ # locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
1770
+ # Corresponds to the JSON property `name`
1771
+ # @return [String]
1772
+ attr_accessor :name
1773
+
1774
+ # The full resource name of an integrated SQL instance
1775
+ # Corresponds to the JSON property `sqlInstance`
1776
+ # @return [String]
1777
+ attr_accessor :sql_instance
1778
+
1779
+ # Output only. The current state of the SQL integration.
1780
+ # Corresponds to the JSON property `state`
1781
+ # @return [String]
1782
+ attr_accessor :state
1783
+
1784
+ # Output only. The time the SQL integration was updated.
1785
+ # Corresponds to the JSON property `updateTime`
1786
+ # @return [String]
1787
+ attr_accessor :update_time
1788
+
1789
+ def initialize(**args)
1790
+ update!(**args)
1791
+ end
1792
+
1793
+ # Update properties of this object
1794
+ def update!(**args)
1795
+ @create_time = args[:create_time] if args.key?(:create_time)
1796
+ @name = args[:name] if args.key?(:name)
1797
+ @sql_instance = args[:sql_instance] if args.key?(:sql_instance)
1798
+ @state = args[:state] if args.key?(:state)
1799
+ @update_time = args[:update_time] if args.key?(:update_time)
1800
+ end
1801
+ end
1802
+
1605
1803
  # The `Status` type defines a logical error model that is suitable for different
1606
1804
  # programming environments, including REST APIs and RPC APIs. It is used by [
1607
1805
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1
18
18
  # Version of the google-apis-managedidentities_v1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210324"
25
+ REVISION = "20210701"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class Certificate
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class DailyCycle
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -154,6 +160,12 @@ module Google
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
163
+ class LdapsSettings
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class ListDomainsResponse
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -172,6 +184,12 @@ module Google
172
184
  include Google::Apis::Core::JsonObjectSupport
173
185
  end
174
186
 
187
+ class ListSqlIntegrationsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class Location
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -238,6 +256,12 @@ module Google
238
256
  include Google::Apis::Core::JsonObjectSupport
239
257
  end
240
258
 
259
+ class SqlIntegration
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class Status
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -310,6 +334,18 @@ module Google
310
334
  end
311
335
  end
312
336
 
337
+ class Certificate
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ property :expire_time, as: 'expireTime'
341
+ property :issuing_certificate, as: 'issuingCertificate', class: Google::Apis::ManagedidentitiesV1::Certificate, decorator: Google::Apis::ManagedidentitiesV1::Certificate::Representation
342
+
343
+ property :subject, as: 'subject'
344
+ collection :subject_alternative_name, as: 'subjectAlternativeName'
345
+ property :thumbprint, as: 'thumbprint'
346
+ end
347
+ end
348
+
313
349
  class DailyCycle
314
350
  # @private
315
351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -352,6 +388,7 @@ module Google
352
388
  # @private
353
389
  class Representation < Google::Apis::Core::JsonRepresentation
354
390
  property :admin, as: 'admin'
391
+ property :audit_logs_enabled, as: 'auditLogsEnabled'
355
392
  collection :authorized_networks, as: 'authorizedNetworks'
356
393
  property :create_time, as: 'createTime'
357
394
  property :fqdn, as: 'fqdn'
@@ -472,6 +509,8 @@ module Google
472
509
 
473
510
  property :location, as: 'location'
474
511
  property :node_id, as: 'nodeId'
512
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
513
+
475
514
  end
476
515
  end
477
516
 
@@ -512,8 +551,6 @@ module Google
512
551
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
513
552
  # @private
514
553
  class Representation < Google::Apis::Core::JsonRepresentation
515
- property :eligibility, as: 'eligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
516
-
517
554
  collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
518
555
 
519
556
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
@@ -524,6 +561,19 @@ module Google
524
561
  end
525
562
  end
526
563
 
564
+ class LdapsSettings
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :certificate, as: 'certificate', class: Google::Apis::ManagedidentitiesV1::Certificate, decorator: Google::Apis::ManagedidentitiesV1::Certificate::Representation
568
+
569
+ property :certificate_password, as: 'certificatePassword'
570
+ property :certificate_pfx, :base64 => true, as: 'certificatePfx'
571
+ property :name, as: 'name'
572
+ property :state, as: 'state'
573
+ property :update_time, as: 'updateTime'
574
+ end
575
+ end
576
+
527
577
  class ListDomainsResponse
528
578
  # @private
529
579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -552,6 +602,16 @@ module Google
552
602
  end
553
603
  end
554
604
 
605
+ class ListSqlIntegrationsResponse
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :next_page_token, as: 'nextPageToken'
609
+ collection :sql_integrations, as: 'sqlIntegrations', class: Google::Apis::ManagedidentitiesV1::SqlIntegration, decorator: Google::Apis::ManagedidentitiesV1::SqlIntegration::Representation
610
+
611
+ collection :unreachable, as: 'unreachable'
612
+ end
613
+ end
614
+
555
615
  class Location
556
616
  # @private
557
617
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +721,17 @@ module Google
661
721
  end
662
722
  end
663
723
 
724
+ class SqlIntegration
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :create_time, as: 'createTime'
728
+ property :name, as: 'name'
729
+ property :sql_instance, as: 'sqlInstance'
730
+ property :state, as: 'state'
731
+ property :update_time, as: 'updateTime'
732
+ end
733
+ end
734
+
664
735
  class Status
665
736
  # @private
666
737
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -88,7 +88,7 @@ module Google
88
88
  # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
89
  # AIP-160](https://google.aip.dev/160).
90
90
  # @param [Fixnum] page_size
91
- # The maximum number of results to return. If not set, the service will select a
91
+ # The maximum number of results to return. If not set, the service selects a
92
92
  # default.
93
93
  # @param [String] page_token
94
94
  # A page token received from the `next_page_token` field in the response. Send
@@ -337,6 +337,37 @@ module Google
337
337
  execute_or_queue_command(command, &block)
338
338
  end
339
339
 
340
+ # Gets the domain ldaps settings.
341
+ # @param [String] name
342
+ # Required. The domain resource name using the form: `projects/`project_id`/
343
+ # locations/global/domains/`domain_name``
344
+ # @param [String] fields
345
+ # Selector specifying which fields to include in a partial response.
346
+ # @param [String] quota_user
347
+ # Available to use for quota purposes for server-side applications. Can be any
348
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
349
+ # @param [Google::Apis::RequestOptions] options
350
+ # Request-specific options
351
+ #
352
+ # @yield [result, err] Result & error if block supplied
353
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::LdapsSettings] parsed result object
354
+ # @yieldparam err [StandardError] error object if request failed
355
+ #
356
+ # @return [Google::Apis::ManagedidentitiesV1::LdapsSettings]
357
+ #
358
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
359
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
360
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
361
+ def get_project_location_global_domain_ldapssettings(name, fields: nil, quota_user: nil, options: nil, &block)
362
+ command = make_simple_command(:get, 'v1/{+name}/ldapssettings', options)
363
+ command.response_representation = Google::Apis::ManagedidentitiesV1::LdapsSettings::Representation
364
+ command.response_class = Google::Apis::ManagedidentitiesV1::LdapsSettings
365
+ command.params['name'] = name unless name.nil?
366
+ command.query['fields'] = fields unless fields.nil?
367
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
368
+ execute_or_queue_command(command, &block)
369
+ end
370
+
340
371
  # Lists domains in a project.
341
372
  # @param [String] parent
342
373
  # Required. The resource name of the domain location using the form: `projects/`
@@ -394,7 +425,7 @@ module Google
394
425
  # @param [String] update_mask
395
426
  # Required. Mask of fields to update. At least one path must be supplied in this
396
427
  # field. The elements of the repeated paths field may only include fields from
397
- # Domain: * `labels` * `locations` * `authorized_networks`
428
+ # Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`
398
429
  # @param [String] fields
399
430
  # Selector specifying which fields to include in a partial response.
400
431
  # @param [String] quota_user
@@ -567,6 +598,45 @@ module Google
567
598
  execute_or_queue_command(command, &block)
568
599
  end
569
600
 
601
+ # Patches a single ldaps settings.
602
+ # @param [String] name
603
+ # The resource name of the LDAPS settings. Uses the form: `projects/`project`/
604
+ # locations/`location`/domains/`domain``.
605
+ # @param [Google::Apis::ManagedidentitiesV1::LdapsSettings] ldaps_settings_object
606
+ # @param [String] update_mask
607
+ # Required. Mask of fields to update. At least one path must be supplied in this
608
+ # field. For the `FieldMask` definition, see https://developers.google.com/
609
+ # protocol-buffers/docs/reference/google.protobuf#fieldmask
610
+ # @param [String] fields
611
+ # Selector specifying which fields to include in a partial response.
612
+ # @param [String] quota_user
613
+ # Available to use for quota purposes for server-side applications. Can be any
614
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
615
+ # @param [Google::Apis::RequestOptions] options
616
+ # Request-specific options
617
+ #
618
+ # @yield [result, err] Result & error if block supplied
619
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
620
+ # @yieldparam err [StandardError] error object if request failed
621
+ #
622
+ # @return [Google::Apis::ManagedidentitiesV1::Operation]
623
+ #
624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
627
+ def update_project_location_global_domain_ldapssettings(name, ldaps_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
628
+ command = make_simple_command(:patch, 'v1/{+name}/ldapssettings', options)
629
+ command.request_representation = Google::Apis::ManagedidentitiesV1::LdapsSettings::Representation
630
+ command.request_object = ldaps_settings_object
631
+ command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
632
+ command.response_class = Google::Apis::ManagedidentitiesV1::Operation
633
+ command.params['name'] = name unless name.nil?
634
+ command.query['updateMask'] = update_mask unless update_mask.nil?
635
+ command.query['fields'] = fields unless fields.nil?
636
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
637
+ execute_or_queue_command(command, &block)
638
+ end
639
+
570
640
  # Validates a trust state, that the target domain is reachable, and that the
571
641
  # target domain is able to accept incoming trust requests.
572
642
  # @param [String] name
@@ -602,6 +672,87 @@ module Google
602
672
  execute_or_queue_command(command, &block)
603
673
  end
604
674
 
675
+ # Gets details of a single sqlIntegration.
676
+ # @param [String] name
677
+ # Required. SQLIntegration resource name using the form: `projects/`project_id`/
678
+ # locations/global/domains/`domain`/sqlIntegrations/`name``
679
+ # @param [String] fields
680
+ # Selector specifying which fields to include in a partial response.
681
+ # @param [String] quota_user
682
+ # Available to use for quota purposes for server-side applications. Can be any
683
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
684
+ # @param [Google::Apis::RequestOptions] options
685
+ # Request-specific options
686
+ #
687
+ # @yield [result, err] Result & error if block supplied
688
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::SqlIntegration] parsed result object
689
+ # @yieldparam err [StandardError] error object if request failed
690
+ #
691
+ # @return [Google::Apis::ManagedidentitiesV1::SqlIntegration]
692
+ #
693
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
694
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
695
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
696
+ def get_project_location_global_domain_sql_integration(name, fields: nil, quota_user: nil, options: nil, &block)
697
+ command = make_simple_command(:get, 'v1/{+name}', options)
698
+ command.response_representation = Google::Apis::ManagedidentitiesV1::SqlIntegration::Representation
699
+ command.response_class = Google::Apis::ManagedidentitiesV1::SqlIntegration
700
+ command.params['name'] = name unless name.nil?
701
+ command.query['fields'] = fields unless fields.nil?
702
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
703
+ execute_or_queue_command(command, &block)
704
+ end
705
+
706
+ # Lists SqlIntegrations in a given domain.
707
+ # @param [String] parent
708
+ # Required. The resource name of the SqlIntegrations using the form: `projects/`
709
+ # project_id`/locations/global/domains/*`
710
+ # @param [String] filter
711
+ # Optional. Filter specifying constraints of a list operation. For example, `
712
+ # SqlIntegration.name="sql"`.
713
+ # @param [String] order_by
714
+ # Optional. Specifies the ordering of results following syntax at https://cloud.
715
+ # google.com/apis/design/design_patterns#sorting_order.
716
+ # @param [Fixnum] page_size
717
+ # Optional. The maximum number of items to return. If not specified, a default
718
+ # value of 1000 will be used by the service. Regardless of the page_size value,
719
+ # the response may include a partial list and a caller should only rely on
720
+ # response'ANIZATIONs next_page_token to determine if there are more instances
721
+ # left to be queried.
722
+ # @param [String] page_token
723
+ # Optional. The next_page_token value returned from a previous List request, if
724
+ # any.
725
+ # @param [String] fields
726
+ # Selector specifying which fields to include in a partial response.
727
+ # @param [String] quota_user
728
+ # Available to use for quota purposes for server-side applications. Can be any
729
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
730
+ # @param [Google::Apis::RequestOptions] options
731
+ # Request-specific options
732
+ #
733
+ # @yield [result, err] Result & error if block supplied
734
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::ListSqlIntegrationsResponse] parsed result object
735
+ # @yieldparam err [StandardError] error object if request failed
736
+ #
737
+ # @return [Google::Apis::ManagedidentitiesV1::ListSqlIntegrationsResponse]
738
+ #
739
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
740
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
741
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
742
+ def list_project_location_global_domain_sql_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
743
+ command = make_simple_command(:get, 'v1/{+parent}/sqlIntegrations', options)
744
+ command.response_representation = Google::Apis::ManagedidentitiesV1::ListSqlIntegrationsResponse::Representation
745
+ command.response_class = Google::Apis::ManagedidentitiesV1::ListSqlIntegrationsResponse
746
+ command.params['parent'] = parent unless parent.nil?
747
+ command.query['filter'] = filter unless filter.nil?
748
+ command.query['orderBy'] = order_by unless order_by.nil?
749
+ command.query['pageSize'] = page_size unless page_size.nil?
750
+ command.query['pageToken'] = page_token unless page_token.nil?
751
+ command.query['fields'] = fields unless fields.nil?
752
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
753
+ execute_or_queue_command(command, &block)
754
+ end
755
+
605
756
  # Starts asynchronous cancellation on a long-running operation. The server makes
606
757
  # a best effort to cancel the operation, but success is not guaranteed. If the
607
758
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.12.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: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Managed Service for Microsoft Active
28
34
  Directory API V1. Simple REST clients are Ruby client libraries that provide access
29
35
  to Google services via their HTTP REST API endpoints. These libraries are generated
@@ -53,7 +59,7 @@ licenses:
53
59
  metadata:
54
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
55
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1/CHANGELOG.md
56
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.7.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.12.0
57
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1
58
64
  post_install_message:
59
65
  rdoc_options: []