google-apis-managedidentities_v1 0.6.0 → 0.11.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: 421487a266fd638ebdf82291c982be37fd8357d2d2c1dabf316ef6d3a064cebd
4
- data.tar.gz: 419e59ccfde8f96625c3d19dd16508e598ba21b2f80dfbb340c6290ee5a94926
3
+ metadata.gz: 7590b2f21c54db09b8cad4c99ec6c01ee22040d79cbabf5b418a8315c7f31ccf
4
+ data.tar.gz: a2e90566ef845bf631ba5acc378fc9b8702e2f92d04586c6074d8ea8bf6ac648
5
5
  SHA512:
6
- metadata.gz: c8a7acc7576db618c55b914def2fcbeeeb093d30ef86907fb066fa704a9ff849306e2cb03b01a7eb18c35d123a131a1bc93ede2843373156ea6423d50d3c8c97
7
- data.tar.gz: a1ac3b652d24e02cc9b7b962201d08ca56c3e4cb699609845c8c43cbd48c8d366eb85729606f131bfa5bdf55460155a1cd0fc65fb123616a0bf065125be719ca
6
+ metadata.gz: 0ebe09e1692187377b8527f622acc9d8cafaf51c50e742228abfc0c8e3f82f29916ab4b1ceec1c28a2504d21b469686152e918774e183e6e169495591314430b
7
+ data.tar.gz: e77f434c0a04684e47fbe075e98666106f90661b0b6a162867f856fc9523dc73e00a44ea5e6d535e79d0d9e25dfeae31aea514dce5a0d3c5213004b8f0b963cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.11.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.10.0 (2021-06-24)
8
+
9
+ * Regenerated from discovery document revision 20210615
10
+
11
+ ### v0.9.0 (2021-06-16)
12
+
13
+ * Regenerated from discovery document revision 20210614
14
+
15
+ ### v0.8.0 (2021-06-11)
16
+
17
+ * Regenerated from discovery document revision 20210601
18
+ * Regenerated using generator version 0.3.0
19
+
20
+ ### v0.7.0 (2021-05-19)
21
+
22
+ * Unspecified changes
23
+
3
24
  ### v0.6.0 (2021-03-26)
4
25
 
5
26
  * Regenerated from discovery document revision 20210324
@@ -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
@@ -641,8 +684,10 @@ module Google
641
684
  # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
642
685
  attr_accessor :maintenance_settings
643
686
 
644
- # Unique name of the resource. It uses the form: `projects/`project_id`/
645
- # locations/`location_id`/instances/`instance_id``
687
+ # Unique name of the resource. It uses the form: `projects/`project_id|
688
+ # project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
689
+ # project_id or project_number can be used, but keep it consistent with other
690
+ # APIs (e.g. RescheduleUpdate)
646
691
  # Corresponds to the JSON property `name`
647
692
  # @return [String]
648
693
  attr_accessor :name
@@ -838,6 +883,11 @@ module Google
838
883
  # @return [String]
839
884
  attr_accessor :node_id
840
885
 
886
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
887
+ # Corresponds to the JSON property `perSliEligibility`
888
+ # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
889
+ attr_accessor :per_sli_eligibility
890
+
841
891
  def initialize(**args)
842
892
  update!(**args)
843
893
  end
@@ -847,6 +897,7 @@ module Google
847
897
  @exclusions = args[:exclusions] if args.key?(:exclusions)
848
898
  @location = args[:location] if args.key?(:location)
849
899
  @node_id = args[:node_id] if args.key?(:node_id)
900
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
850
901
  end
851
902
  end
852
903
 
@@ -989,13 +1040,6 @@ module Google
989
1040
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
990
1041
  include Google::Apis::Core::Hashable
991
1042
 
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
1043
  # List of SLO exclusion windows. When multiple entries in the list match (
1000
1044
  # matching the exclusion time-window against current time point) the exclusion
1001
1045
  # reason used in the first matching entry will be published. It is not needed to
@@ -1036,7 +1080,6 @@ module Google
1036
1080
 
1037
1081
  # Update properties of this object
1038
1082
  def update!(**args)
1039
- @eligibility = args[:eligibility] if args.key?(:eligibility)
1040
1083
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1041
1084
  @nodes = args[:nodes] if args.key?(:nodes)
1042
1085
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -1044,6 +1087,76 @@ module Google
1044
1087
  end
1045
1088
  end
1046
1089
 
1090
+ # LDAPSSettings represents the ldaps settings for domain resource. LDAP is the
1091
+ # Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/
1092
+ # rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over
1093
+ # port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will
1094
+ # be placed into the UPDATING state, which indicates that the resource is being
1095
+ # reconciled. At this point, Get will reflect an intermediate state.
1096
+ class LdapsSettings
1097
+ include Google::Apis::Core::Hashable
1098
+
1099
+ # Certificate used to configure LDAPS.
1100
+ # Corresponds to the JSON property `certificate`
1101
+ # @return [Google::Apis::ManagedidentitiesV1::Certificate]
1102
+ attr_accessor :certificate
1103
+
1104
+ # Input only. The password used to encrypt the uploaded pfx certificate.
1105
+ # Corresponds to the JSON property `certificatePassword`
1106
+ # @return [String]
1107
+ attr_accessor :certificate_password
1108
+
1109
+ # Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with.
1110
+ # It will enable the domain controllers in this domain to accept LDAPS
1111
+ # connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
1112
+ # certificate chain must form a valid x.509 certificate chain (or be comprised
1113
+ # of a single self-signed certificate. It must be encrypted with either: 1)
1114
+ # PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-
1115
+ # KeyTripleDES-CBC Private key must be included for the leaf / single self-
1116
+ # signed certificate. Note: For a fqdn your-example-domain.com, the wildcard
1117
+ # fqdn is *.your-example-domain.com. Specifically the leaf certificate must have:
1118
+ # - Either a blank subject or a subject with CN matching the wildcard fqdn. -
1119
+ # Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key
1120
+ # signature key usages. - Server authentication extended key usage (OID=1.3.6.1.
1121
+ # 5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA,
1122
+ # ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for
1123
+ # ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
1124
+ # Corresponds to the JSON property `certificatePfx`
1125
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1126
+ # @return [String]
1127
+ attr_accessor :certificate_pfx
1128
+
1129
+ # The resource name of the LDAPS settings. Uses the form: `projects/`project`/
1130
+ # locations/`location`/domains/`domain``.
1131
+ # Corresponds to the JSON property `name`
1132
+ # @return [String]
1133
+ attr_accessor :name
1134
+
1135
+ # Output only. The current state of this LDAPS settings.
1136
+ # Corresponds to the JSON property `state`
1137
+ # @return [String]
1138
+ attr_accessor :state
1139
+
1140
+ # Output only. Last update time.
1141
+ # Corresponds to the JSON property `updateTime`
1142
+ # @return [String]
1143
+ attr_accessor :update_time
1144
+
1145
+ def initialize(**args)
1146
+ update!(**args)
1147
+ end
1148
+
1149
+ # Update properties of this object
1150
+ def update!(**args)
1151
+ @certificate = args[:certificate] if args.key?(:certificate)
1152
+ @certificate_password = args[:certificate_password] if args.key?(:certificate_password)
1153
+ @certificate_pfx = args[:certificate_pfx] if args.key?(:certificate_pfx)
1154
+ @name = args[:name] if args.key?(:name)
1155
+ @state = args[:state] if args.key?(:state)
1156
+ @update_time = args[:update_time] if args.key?(:update_time)
1157
+ end
1158
+ end
1159
+
1047
1160
  # Response message for ListDomains
1048
1161
  class ListDomainsResponse
1049
1162
  include Google::Apis::Core::Hashable
@@ -1126,6 +1239,39 @@ module Google
1126
1239
  end
1127
1240
  end
1128
1241
 
1242
+ # ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
1243
+ # method.
1244
+ class ListSqlIntegrationsResponse
1245
+ include Google::Apis::Core::Hashable
1246
+
1247
+ # Token to retrieve the next page of results, or empty if there are no more
1248
+ # results in the list.
1249
+ # Corresponds to the JSON property `nextPageToken`
1250
+ # @return [String]
1251
+ attr_accessor :next_page_token
1252
+
1253
+ # A list of SQLIntegrations of a domain.
1254
+ # Corresponds to the JSON property `sqlIntegrations`
1255
+ # @return [Array<Google::Apis::ManagedidentitiesV1::SqlIntegration>]
1256
+ attr_accessor :sql_integrations
1257
+
1258
+ # A list of locations that could not be reached.
1259
+ # Corresponds to the JSON property `unreachable`
1260
+ # @return [Array<String>]
1261
+ attr_accessor :unreachable
1262
+
1263
+ def initialize(**args)
1264
+ update!(**args)
1265
+ end
1266
+
1267
+ # Update properties of this object
1268
+ def update!(**args)
1269
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1270
+ @sql_integrations = args[:sql_integrations] if args.key?(:sql_integrations)
1271
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1272
+ end
1273
+ end
1274
+
1129
1275
  # A resource that represents Google Cloud Platform location.
1130
1276
  class Location
1131
1277
  include Google::Apis::Core::Hashable
@@ -1602,6 +1748,52 @@ module Google
1602
1748
  end
1603
1749
  end
1604
1750
 
1751
+ # Represents the Sql instance integrated with AD.
1752
+ class SqlIntegration
1753
+ include Google::Apis::Core::Hashable
1754
+
1755
+ # Output only. The time sql integration was created. Synthetic field is
1756
+ # populated automatically by CCFE.
1757
+ # Corresponds to the JSON property `createTime`
1758
+ # @return [String]
1759
+ attr_accessor :create_time
1760
+
1761
+ # The unique name of the sql integration in the form of `projects/`project_id`/
1762
+ # locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
1763
+ # Corresponds to the JSON property `name`
1764
+ # @return [String]
1765
+ attr_accessor :name
1766
+
1767
+ # The full resource name of an integrated sql instance
1768
+ # Corresponds to the JSON property `sqlInstance`
1769
+ # @return [String]
1770
+ attr_accessor :sql_instance
1771
+
1772
+ # Output only. The current state of the sql integration.
1773
+ # Corresponds to the JSON property `state`
1774
+ # @return [String]
1775
+ attr_accessor :state
1776
+
1777
+ # Output only. The time sql integration was updated. Synthetic field is
1778
+ # populated automatically by CCFE.
1779
+ # Corresponds to the JSON property `updateTime`
1780
+ # @return [String]
1781
+ attr_accessor :update_time
1782
+
1783
+ def initialize(**args)
1784
+ update!(**args)
1785
+ end
1786
+
1787
+ # Update properties of this object
1788
+ def update!(**args)
1789
+ @create_time = args[:create_time] if args.key?(:create_time)
1790
+ @name = args[:name] if args.key?(:name)
1791
+ @sql_instance = args[:sql_instance] if args.key?(:sql_instance)
1792
+ @state = args[:state] if args.key?(:state)
1793
+ @update_time = args[:update_time] if args.key?(:update_time)
1794
+ end
1795
+ end
1796
+
1605
1797
  # The `Status` type defines a logical error model that is suitable for different
1606
1798
  # programming environments, including REST APIs and RPC APIs. It is used by [
1607
1799
  # 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.6.0"
19
+ GEM_VERSION = "0.11.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 = "20210615"
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
@@ -472,6 +508,8 @@ module Google
472
508
 
473
509
  property :location, as: 'location'
474
510
  property :node_id, as: 'nodeId'
511
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
512
+
475
513
  end
476
514
  end
477
515
 
@@ -512,8 +550,6 @@ module Google
512
550
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
513
551
  # @private
514
552
  class Representation < Google::Apis::Core::JsonRepresentation
515
- property :eligibility, as: 'eligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
516
-
517
553
  collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
518
554
 
519
555
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
@@ -524,6 +560,19 @@ module Google
524
560
  end
525
561
  end
526
562
 
563
+ class LdapsSettings
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :certificate, as: 'certificate', class: Google::Apis::ManagedidentitiesV1::Certificate, decorator: Google::Apis::ManagedidentitiesV1::Certificate::Representation
567
+
568
+ property :certificate_password, as: 'certificatePassword'
569
+ property :certificate_pfx, :base64 => true, as: 'certificatePfx'
570
+ property :name, as: 'name'
571
+ property :state, as: 'state'
572
+ property :update_time, as: 'updateTime'
573
+ end
574
+ end
575
+
527
576
  class ListDomainsResponse
528
577
  # @private
529
578
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -552,6 +601,16 @@ module Google
552
601
  end
553
602
  end
554
603
 
604
+ class ListSqlIntegrationsResponse
605
+ # @private
606
+ class Representation < Google::Apis::Core::JsonRepresentation
607
+ property :next_page_token, as: 'nextPageToken'
608
+ collection :sql_integrations, as: 'sqlIntegrations', class: Google::Apis::ManagedidentitiesV1::SqlIntegration, decorator: Google::Apis::ManagedidentitiesV1::SqlIntegration::Representation
609
+
610
+ collection :unreachable, as: 'unreachable'
611
+ end
612
+ end
613
+
555
614
  class Location
556
615
  # @private
557
616
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +720,17 @@ module Google
661
720
  end
662
721
  end
663
722
 
723
+ class SqlIntegration
724
+ # @private
725
+ class Representation < Google::Apis::Core::JsonRepresentation
726
+ property :create_time, as: 'createTime'
727
+ property :name, as: 'name'
728
+ property :sql_instance, as: 'sqlInstance'
729
+ property :state, as: 'state'
730
+ property :update_time, as: 'updateTime'
731
+ end
732
+ end
733
+
664
734
  class Status
665
735
  # @private
666
736
  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.6.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: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-07-05 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.6.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.11.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: []
@@ -70,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
76
  - !ruby/object:Gem::Version
71
77
  version: '0'
72
78
  requirements: []
73
- rubygems_version: 3.2.13
79
+ rubygems_version: 3.2.17
74
80
  signing_key:
75
81
  specification_version: 4
76
82
  summary: Simple REST client for Managed Service for Microsoft Active Directory API