google-apis-managedidentities_v1 0.8.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: e87a7cc54b6e68d01197856ed6e4b34551bccc1afcca590ade67e75213268d7b
4
- data.tar.gz: e7a44c707b83a9b151a9f3a9cc0498adba10d369733c9824083aea1ce144011a
3
+ metadata.gz: dde66cfb0be06ca0e90ff429b022a6c824db7dc442f6ec63cc1aedd36699cac1
4
+ data.tar.gz: bd231e625eccc2ab83c0fa363bf485ec621457c3cc7d8447bd95e0adf6884d92
5
5
  SHA512:
6
- metadata.gz: 6b0b953fe6570b021e5d4542669fe619fc7fb65dccc8bf0f0c45a41ef0657856fce1787f5a10ab56ee91bd1299a5b82e43f485d880065e4ab11da46f3cd65e7f
7
- data.tar.gz: 6d9d0486760d9fbcff5604ce501b5752ff9bf79d333bed5a40d9f11ef730b4f7069104236bb91159b5c1855edf16a301af51cec26ad56c9187340fdae4f096af
6
+ metadata.gz: 81ab2d71a909e705c118e031affd08c5bb0b28ad2ab64a45574d908ef6eae6dbe8d3b5627e976e6972ea3d42ed1ac7ee7eb33618968d0aed77eea6d5413bf6b7
7
+ data.tar.gz: 1860aa82f0efab6bf11766bf95e1d48ea6b7d50cfe5a71d7c097e03884a12f01f648012d4d964c813fed3cff618dbbe8c646a9d64fe948933fd134494453239c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.8.0 (2021-06-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20210601
@@ -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
@@ -1038,6 +1081,76 @@ module Google
1038
1081
  end
1039
1082
  end
1040
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
+
1041
1154
  # Response message for ListDomains
1042
1155
  class ListDomainsResponse
1043
1156
  include Google::Apis::Core::Hashable
@@ -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.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210601"
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
 
@@ -322,6 +334,18 @@ module Google
322
334
  end
323
335
  end
324
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
+
325
349
  class DailyCycle
326
350
  # @private
327
351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -534,6 +558,19 @@ module Google
534
558
  end
535
559
  end
536
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
+
537
574
  class ListDomainsResponse
538
575
  # @private
539
576
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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
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.8.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-06-14 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.8.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: []