google-apis-admin_directory_v1 0.46.0 → 0.47.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: 657adaa4ca6f675a5a344a5bdbf260d181f446bb2dc114f98c128a25e31d494d
4
- data.tar.gz: d9131102c6dfa008634d3f13ab508de371491f8e246821eae9cc67be84da05b5
3
+ metadata.gz: 8a156a6848eaaa224a2cd3953b93252ca3472e69af7975170620daccb74b13d0
4
+ data.tar.gz: 54d68f29e8c111432478f61bbc9f61856dc33cc981640fab4e4d2e43c3279776
5
5
  SHA512:
6
- metadata.gz: 7002c0e889238170b76d2a3b16234e26e11ce3058413fd0d04c8b2fcca25a55a039538f086112392686ea7e94635eb6dcc1951a9c2c9b33ec491eec74306135f
7
- data.tar.gz: d03232f2b030714389789e0e5409759af3a4ae9620fce0903ac4fd77ee84a5975b52ea340a1128bdb20d40d5a1609ab64c75a8c5a007e7086312dae010ff2e9c
6
+ metadata.gz: c41bc479916b8f425ae8deeb338a44f8474932c375ca7556c63f6486cfff4a403437da42135a1308427acabf20893133d9fd0348708db1023357dbbf017aa80a
7
+ data.tar.gz: '08a8b1f200420d3efe1fc9ed4e6d459ac29b740c61cff28594575ae2dcfc90e518d8b4700b6e93c6067e8ffc42b0c88e07c411f7e81ea1ed727189f13c3c0f34'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.47.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231113
6
+
3
7
  ### v0.46.0 (2023-10-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20231005
@@ -4190,7 +4190,7 @@ module Google
4190
4190
  attr_accessor :deletion_time
4191
4191
 
4192
4192
  # The list of the user's email addresses. The maximum allowed data size for this
4193
- # field is 10KB.
4193
+ # field is 10KB. This excludes `publicKeyEncryptionCertificates`.
4194
4194
  # Corresponds to the JSON property `emails`
4195
4195
  # @return [Object]
4196
4196
  attr_accessor :emails
@@ -4672,6 +4672,12 @@ module Google
4672
4672
  attr_accessor :primary
4673
4673
  alias_method :primary?, :primary
4674
4674
 
4675
+ # Public Key Encryption Certificates. Current limit: 1 per email address, and 5
4676
+ # per user.
4677
+ # Corresponds to the JSON property `public_key_encryption_certificates`
4678
+ # @return [Google::Apis::AdminDirectoryV1::UserEmail::PublicKeyEncryptionCertificates]
4679
+ attr_accessor :public_key_encryption_certificates
4680
+
4675
4681
  # Each entry can have a type which indicates standard types of that entry. For
4676
4682
  # example email could be of home, work etc. In addition to the standard type, an
4677
4683
  # entry can have a custom type and can take any value Such types should have the
@@ -4689,8 +4695,44 @@ module Google
4689
4695
  @address = args[:address] if args.key?(:address)
4690
4696
  @custom_type = args[:custom_type] if args.key?(:custom_type)
4691
4697
  @primary = args[:primary] if args.key?(:primary)
4698
+ @public_key_encryption_certificates = args[:public_key_encryption_certificates] if args.key?(:public_key_encryption_certificates)
4692
4699
  @type = args[:type] if args.key?(:type)
4693
4700
  end
4701
+
4702
+ # Public Key Encryption Certificates. Current limit: 1 per email address, and 5
4703
+ # per user.
4704
+ class PublicKeyEncryptionCertificates
4705
+ include Google::Apis::Core::Hashable
4706
+
4707
+ # X.509 encryption certificate in `PEM` format. Must only be an end-entity (leaf)
4708
+ # certificate.
4709
+ # Corresponds to the JSON property `certificate`
4710
+ # @return [String]
4711
+ attr_accessor :certificate
4712
+
4713
+ # Whether this is the default certificate for the given email address.
4714
+ # Corresponds to the JSON property `is_default`
4715
+ # @return [Boolean]
4716
+ attr_accessor :is_default
4717
+ alias_method :is_default?, :is_default
4718
+
4719
+ # Denotes the certificate's state in its lifecycle. Possible values are `
4720
+ # not_yet_validated`, `valid`, `invalid`, `expired`, and `revoked`.
4721
+ # Corresponds to the JSON property `state`
4722
+ # @return [String]
4723
+ attr_accessor :state
4724
+
4725
+ def initialize(**args)
4726
+ update!(**args)
4727
+ end
4728
+
4729
+ # Update properties of this object
4730
+ def update!(**args)
4731
+ @certificate = args[:certificate] if args.key?(:certificate)
4732
+ @is_default = args[:is_default] if args.key?(:is_default)
4733
+ @state = args[:state] if args.key?(:state)
4734
+ end
4735
+ end
4694
4736
  end
4695
4737
 
4696
4738
  # JSON template for an externalId entry.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdminDirectoryV1
18
18
  # Version of the google-apis-admin_directory_v1 gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231005"
25
+ REVISION = "20231113"
26
26
  end
27
27
  end
28
28
  end
@@ -582,6 +582,12 @@ module Google
582
582
 
583
583
  class UserEmail
584
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ class PublicKeyEncryptionCertificates
587
+ class Representation < Google::Apis::Core::JsonRepresentation; end
588
+
589
+ include Google::Apis::Core::JsonObjectSupport
590
+ end
585
591
 
586
592
  include Google::Apis::Core::JsonObjectSupport
587
593
  end
@@ -1844,8 +1850,19 @@ module Google
1844
1850
  property :address, as: 'address'
1845
1851
  property :custom_type, as: 'customType'
1846
1852
  property :primary, as: 'primary'
1853
+ property :public_key_encryption_certificates, as: 'public_key_encryption_certificates', class: Google::Apis::AdminDirectoryV1::UserEmail::PublicKeyEncryptionCertificates, decorator: Google::Apis::AdminDirectoryV1::UserEmail::PublicKeyEncryptionCertificates::Representation
1854
+
1847
1855
  property :type, as: 'type'
1848
1856
  end
1857
+
1858
+ class PublicKeyEncryptionCertificates
1859
+ # @private
1860
+ class Representation < Google::Apis::Core::JsonRepresentation
1861
+ property :certificate, as: 'certificate'
1862
+ property :is_default, as: 'is_default'
1863
+ property :state, as: 'state'
1864
+ end
1865
+ end
1849
1866
  end
1850
1867
 
1851
1868
  class UserExternalId
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_directory_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-15 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1
63
63
  post_install_message:
64
64
  rdoc_options: []