google-apis-managedidentities_v1 0.4.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cfdab079fa6eeda334d6a0957cafa0e72a37d70e7311abf36829d668820e337
4
- data.tar.gz: 38bf49369c4d8896623f51f661c046822b15a2281fb6ec11941f80176fe0ec86
3
+ metadata.gz: dde66cfb0be06ca0e90ff429b022a6c824db7dc442f6ec63cc1aedd36699cac1
4
+ data.tar.gz: bd231e625eccc2ab83c0fa363bf485ec621457c3cc7d8447bd95e0adf6884d92
5
5
  SHA512:
6
- metadata.gz: 8a0a37d8dae1a3b14751cb1b2682e2e23db12e278f0e8424574ea8985cdbd7003a7a81ba0f083219566eed2d34cfad7bef0a34148bed2c2e0a0e55b1afc97269
7
- data.tar.gz: c5f7207553b1a015720169f229b6dc44af1efd7829b5353e136e2ec52d482031727225660715e8bf8d78067418c1b3bfe61bb6f29b891a185101d618219bbf19
6
+ metadata.gz: 81ab2d71a909e705c118e031affd08c5bb0b28ad2ab64a45574d908ef6eae6dbe8d3b5627e976e6972ea3d42ed1ac7ee7eb33618968d0aed77eea6d5413bf6b7
7
+ data.tar.gz: 1860aa82f0efab6bf11766bf95e1d48ea6b7d50cfe5a71d7c097e03884a12f01f648012d4d964c813fed3cff618dbbe8c646a9d64fe948933fd134494453239c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.9.0 (2021-06-16)
4
+
5
+ * Regenerated from discovery document revision 20210614
6
+
7
+ ### v0.8.0 (2021-06-11)
8
+
9
+ * Regenerated from discovery document revision 20210601
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.7.0 (2021-05-19)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.6.0 (2021-03-26)
17
+
18
+ * Regenerated from discovery document revision 20210324
19
+
20
+ ### v0.5.0 (2021-03-12)
21
+
22
+ * Regenerated from discovery document revision 20210305
23
+ * Regenerated using generator version 0.2.0
24
+
3
25
  ### v0.4.0 (2021-03-04)
4
26
 
5
27
  * Unspecified changes
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -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
@@ -725,9 +770,9 @@ module Google
725
770
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
726
771
  include Google::Apis::Core::Hashable
727
772
 
728
- # Can this scheduled update be rescheduled? By default, it's true and API needs
729
- # to do explicitly check whether it's set, if it's set as false explicitly, it's
730
- # false
773
+ # This field is deprecated, and will be always set to true since reschedule can
774
+ # happen multiple times now. This field should not be removed until all service
775
+ # producers remove this for their customers.
731
776
  # Corresponds to the JSON property `canReschedule`
732
777
  # @return [Boolean]
733
778
  attr_accessor :can_reschedule
@@ -989,13 +1034,6 @@ module Google
989
1034
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
990
1035
  include Google::Apis::Core::Hashable
991
1036
 
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
1037
  # List of SLO exclusion windows. When multiple entries in the list match (
1000
1038
  # matching the exclusion time-window against current time point) the exclusion
1001
1039
  # reason used in the first matching entry will be published. It is not needed to
@@ -1036,7 +1074,6 @@ module Google
1036
1074
 
1037
1075
  # Update properties of this object
1038
1076
  def update!(**args)
1039
- @eligibility = args[:eligibility] if args.key?(:eligibility)
1040
1077
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1041
1078
  @nodes = args[:nodes] if args.key?(:nodes)
1042
1079
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -1044,6 +1081,76 @@ module Google
1044
1081
  end
1045
1082
  end
1046
1083
 
1084
+ # LDAPSSettings represents the ldaps settings for domain resource. LDAP is the
1085
+ # Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/
1086
+ # rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over
1087
+ # port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will
1088
+ # be placed into the UPDATING state, which indicates that the resource is being
1089
+ # reconciled. At this point, Get will reflect an intermediate state.
1090
+ class LdapsSettings
1091
+ include Google::Apis::Core::Hashable
1092
+
1093
+ # Certificate used to configure LDAPS.
1094
+ # Corresponds to the JSON property `certificate`
1095
+ # @return [Google::Apis::ManagedidentitiesV1::Certificate]
1096
+ attr_accessor :certificate
1097
+
1098
+ # Input only. The password used to encrypt the uploaded pfx certificate.
1099
+ # Corresponds to the JSON property `certificatePassword`
1100
+ # @return [String]
1101
+ attr_accessor :certificate_password
1102
+
1103
+ # Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with.
1104
+ # It will enable the domain controllers in this domain to accept LDAPS
1105
+ # connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
1106
+ # certificate chain must form a valid x.509 certificate chain (or be comprised
1107
+ # of a single self-signed certificate. It must be encrypted with either: 1)
1108
+ # PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-
1109
+ # KeyTripleDES-CBC Private key must be included for the leaf / single self-
1110
+ # signed certificate. Note: For a fqdn your-example-domain.com, the wildcard
1111
+ # fqdn is *.your-example-domain.com. Specifically the leaf certificate must have:
1112
+ # - Either a blank subject or a subject with CN matching the wildcard fqdn. -
1113
+ # Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key
1114
+ # signature key usages. - Server authentication extended key usage (OID=1.3.6.1.
1115
+ # 5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA,
1116
+ # ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for
1117
+ # ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
1118
+ # Corresponds to the JSON property `certificatePfx`
1119
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1120
+ # @return [String]
1121
+ attr_accessor :certificate_pfx
1122
+
1123
+ # The resource name of the LDAPS settings. Uses the form: `projects/`project`/
1124
+ # locations/`location`/domains/`domain``.
1125
+ # Corresponds to the JSON property `name`
1126
+ # @return [String]
1127
+ attr_accessor :name
1128
+
1129
+ # Output only. The current state of this LDAPS settings.
1130
+ # Corresponds to the JSON property `state`
1131
+ # @return [String]
1132
+ attr_accessor :state
1133
+
1134
+ # Output only. Last update time.
1135
+ # Corresponds to the JSON property `updateTime`
1136
+ # @return [String]
1137
+ attr_accessor :update_time
1138
+
1139
+ def initialize(**args)
1140
+ update!(**args)
1141
+ end
1142
+
1143
+ # Update properties of this object
1144
+ def update!(**args)
1145
+ @certificate = args[:certificate] if args.key?(:certificate)
1146
+ @certificate_password = args[:certificate_password] if args.key?(:certificate_password)
1147
+ @certificate_pfx = args[:certificate_pfx] if args.key?(:certificate_pfx)
1148
+ @name = args[:name] if args.key?(:name)
1149
+ @state = args[:state] if args.key?(:state)
1150
+ @update_time = args[:update_time] if args.key?(:update_time)
1151
+ end
1152
+ end
1153
+
1047
1154
  # Response message for ListDomains
1048
1155
  class ListDomainsResponse
1049
1156
  include Google::Apis::Core::Hashable
@@ -1126,6 +1233,39 @@ module Google
1126
1233
  end
1127
1234
  end
1128
1235
 
1236
+ # ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
1237
+ # method.
1238
+ class ListSqlIntegrationsResponse
1239
+ include Google::Apis::Core::Hashable
1240
+
1241
+ # Token to retrieve the next page of results, or empty if there are no more
1242
+ # results in the list.
1243
+ # Corresponds to the JSON property `nextPageToken`
1244
+ # @return [String]
1245
+ attr_accessor :next_page_token
1246
+
1247
+ # A list of SQLIntegrations of a domain.
1248
+ # Corresponds to the JSON property `sqlIntegrations`
1249
+ # @return [Array<Google::Apis::ManagedidentitiesV1::SqlIntegration>]
1250
+ attr_accessor :sql_integrations
1251
+
1252
+ # A list of locations that could not be reached.
1253
+ # Corresponds to the JSON property `unreachable`
1254
+ # @return [Array<String>]
1255
+ attr_accessor :unreachable
1256
+
1257
+ def initialize(**args)
1258
+ update!(**args)
1259
+ end
1260
+
1261
+ # Update properties of this object
1262
+ def update!(**args)
1263
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1264
+ @sql_integrations = args[:sql_integrations] if args.key?(:sql_integrations)
1265
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1266
+ end
1267
+ end
1268
+
1129
1269
  # A resource that represents Google Cloud Platform location.
1130
1270
  class Location
1131
1271
  include Google::Apis::Core::Hashable
@@ -1602,6 +1742,52 @@ module Google
1602
1742
  end
1603
1743
  end
1604
1744
 
1745
+ # Represents the Sql instance integrated with AD.
1746
+ class SqlIntegration
1747
+ include Google::Apis::Core::Hashable
1748
+
1749
+ # Output only. The time sql integration was created. Synthetic field is
1750
+ # populated automatically by CCFE.
1751
+ # Corresponds to the JSON property `createTime`
1752
+ # @return [String]
1753
+ attr_accessor :create_time
1754
+
1755
+ # The unique name of the sql integration in the form of `projects/`project_id`/
1756
+ # locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
1757
+ # Corresponds to the JSON property `name`
1758
+ # @return [String]
1759
+ attr_accessor :name
1760
+
1761
+ # The full resource name of an integrated sql instance
1762
+ # Corresponds to the JSON property `sqlInstance`
1763
+ # @return [String]
1764
+ attr_accessor :sql_instance
1765
+
1766
+ # Output only. The current state of the sql integration.
1767
+ # Corresponds to the JSON property `state`
1768
+ # @return [String]
1769
+ attr_accessor :state
1770
+
1771
+ # Output only. The time sql integration was updated. Synthetic field is
1772
+ # populated automatically by CCFE.
1773
+ # Corresponds to the JSON property `updateTime`
1774
+ # @return [String]
1775
+ attr_accessor :update_time
1776
+
1777
+ def initialize(**args)
1778
+ update!(**args)
1779
+ end
1780
+
1781
+ # Update properties of this object
1782
+ def update!(**args)
1783
+ @create_time = args[:create_time] if args.key?(:create_time)
1784
+ @name = args[:name] if args.key?(:name)
1785
+ @sql_instance = args[:sql_instance] if args.key?(:sql_instance)
1786
+ @state = args[:state] if args.key?(:state)
1787
+ @update_time = args[:update_time] if args.key?(:update_time)
1788
+ end
1789
+ end
1790
+
1605
1791
  # The `Status` type defines a logical error model that is suitable for different
1606
1792
  # programming environments, including REST APIs and RPC APIs. It is used by [
1607
1793
  # 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.4.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210209"
25
+ REVISION = "20210614"
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
@@ -512,8 +548,6 @@ module Google
512
548
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
513
549
  # @private
514
550
  class Representation < Google::Apis::Core::JsonRepresentation
515
- property :eligibility, as: 'eligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
516
-
517
551
  collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
518
552
 
519
553
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
@@ -524,6 +558,19 @@ module Google
524
558
  end
525
559
  end
526
560
 
561
+ class LdapsSettings
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :certificate, as: 'certificate', class: Google::Apis::ManagedidentitiesV1::Certificate, decorator: Google::Apis::ManagedidentitiesV1::Certificate::Representation
565
+
566
+ property :certificate_password, as: 'certificatePassword'
567
+ property :certificate_pfx, :base64 => true, as: 'certificatePfx'
568
+ property :name, as: 'name'
569
+ property :state, as: 'state'
570
+ property :update_time, as: 'updateTime'
571
+ end
572
+ end
573
+
527
574
  class ListDomainsResponse
528
575
  # @private
529
576
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -552,6 +599,16 @@ module Google
552
599
  end
553
600
  end
554
601
 
602
+ class ListSqlIntegrationsResponse
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ property :next_page_token, as: 'nextPageToken'
606
+ collection :sql_integrations, as: 'sqlIntegrations', class: Google::Apis::ManagedidentitiesV1::SqlIntegration, decorator: Google::Apis::ManagedidentitiesV1::SqlIntegration::Representation
607
+
608
+ collection :unreachable, as: 'unreachable'
609
+ end
610
+ end
611
+
555
612
  class Location
556
613
  # @private
557
614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +718,17 @@ module Google
661
718
  end
662
719
  end
663
720
 
721
+ class SqlIntegration
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :create_time, as: 'createTime'
725
+ property :name, as: 'name'
726
+ property :sql_instance, as: 'sqlInstance'
727
+ property :state, as: 'state'
728
+ property :update_time, as: 'updateTime'
729
+ end
730
+ end
731
+
664
732
  class Status
665
733
  # @private
666
734
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,11 +84,15 @@ module Google
84
84
  # @param [String] name
85
85
  # The resource that owns the locations collection, if applicable.
86
86
  # @param [String] filter
87
- # The standard list filter.
87
+ # A filter to narrow down results to a preferred subset. The filtering language
88
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
+ # AIP-160](https://google.aip.dev/160).
88
90
  # @param [Fixnum] page_size
89
- # The standard list page size.
91
+ # The maximum number of results to return. If not set, the service selects a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
94
+ # A page token received from the `next_page_token` field in the response. Send
95
+ # that page token to receive the subsequent page.
92
96
  # @param [String] fields
93
97
  # Selector specifying which fields to include in a partial response.
94
98
  # @param [String] quota_user
@@ -333,6 +337,37 @@ module Google
333
337
  execute_or_queue_command(command, &block)
334
338
  end
335
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
+
336
371
  # Lists domains in a project.
337
372
  # @param [String] parent
338
373
  # Required. The resource name of the domain location using the form: `projects/`
@@ -390,7 +425,7 @@ module Google
390
425
  # @param [String] update_mask
391
426
  # Required. Mask of fields to update. At least one path must be supplied in this
392
427
  # field. The elements of the repeated paths field may only include fields from
393
- # Domain: * `labels` * `locations` * `authorized_networks`
428
+ # Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`
394
429
  # @param [String] fields
395
430
  # Selector specifying which fields to include in a partial response.
396
431
  # @param [String] quota_user
@@ -563,6 +598,45 @@ module Google
563
598
  execute_or_queue_command(command, &block)
564
599
  end
565
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
+
566
640
  # Validates a trust state, that the target domain is reachable, and that the
567
641
  # target domain is able to accept incoming trust requests.
568
642
  # @param [String] name
@@ -598,6 +672,87 @@ module Google
598
672
  execute_or_queue_command(command, &block)
599
673
  end
600
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
+
601
756
  # Starts asynchronous cancellation on a long-running operation. The server makes
602
757
  # a best effort to cancel the operation, but success is not guaranteed. If the
603
758
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.9.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-08 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -53,7 +53,7 @@ licenses:
53
53
  metadata:
54
54
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
55
55
  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.4.0
56
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.9.0
57
57
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1
58
58
  post_install_message:
59
59
  rdoc_options: []
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  requirements: []
73
- rubygems_version: 3.2.13
73
+ rubygems_version: 3.2.17
74
74
  signing_key:
75
75
  specification_version: 4
76
76
  summary: Simple REST client for Managed Service for Microsoft Active Directory API