google-apis-chromepolicy_v1 0.43.0 → 0.45.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: 58434c383b580cf4ffa23d99a2759560bfeb49a4ae9c73b9e636d16ff2e1d386
4
- data.tar.gz: 81b09840382b461e559846e8d6f1de7efdac0c71c2cff7c2da4079302116292e
3
+ metadata.gz: 28158b3216332edd3f0d8da4f217c47b3b31c98f232ebb85c3cf347a19c60f8a
4
+ data.tar.gz: '000428c008a9ef6d3e18f640dc1dac71feaa216479db2f0fdb23ec32129e16ca'
5
5
  SHA512:
6
- metadata.gz: 23c7896a94ead26fe40a35f49f6748c9253ea1e70beebdccc222518e54c6f60309df02aec62602da5ad8d3c073698b2ccd3f22c35122d9efd711b24f32fb5e6b
7
- data.tar.gz: 30bc6e46025072fd635a721bd3108fe6c51927b572d2d5065218af8b4471683c4aed6c6d640cd08ba6d5e39092b28123c717fd32900c5a435ef21d43214f6b0a
6
+ metadata.gz: 21f28d951fb9190e797d22b104d00580865f282e9d653e7eee0c6e7e243f6193c7242adf2e6fbf58f39f73faecaa1e7ae1314fc66599f8fca9d389a1f3aaef8d
7
+ data.tar.gz: 052a047f0646f0b19752cbdbd9763c14ac68efbf7d7ad501f98560d89f995f4e5aaee0bbf88ca530bfce4cfc5f2b1e0ced31b3b591f8e0624de0a89288633f4f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.45.0 (2024-02-24)
4
+
5
+ * Regenerated using generator version 0.14.0
6
+
7
+ ### v0.44.0 (2024-01-22)
8
+
9
+ * Regenerated from discovery document revision 20240111
10
+ * Regenerated using generator version 0.13.0
11
+
3
12
  ### v0.43.0 (2024-01-07)
4
13
 
5
14
  * Regenerated from discovery document revision 20240101
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](http://developers.google.com/chrome/policy) may prov
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -349,6 +349,11 @@ module Google
349
349
  # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint]
350
350
  attr_accessor :numeric_range_constraint
351
351
 
352
+ # Constraints on the uploaded file of a file policy.
353
+ # Corresponds to the JSON property `uploadedFileConstraints`
354
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadedFileConstraints]
355
+ attr_accessor :uploaded_file_constraints
356
+
352
357
  def initialize(**args)
353
358
  update!(**args)
354
359
  end
@@ -356,6 +361,7 @@ module Google
356
361
  # Update properties of this object
357
362
  def update!(**args)
358
363
  @numeric_range_constraint = args[:numeric_range_constraint] if args.key?(:numeric_range_constraint)
364
+ @uploaded_file_constraints = args[:uploaded_file_constraints] if args.key?(:uploaded_file_constraints)
359
365
  end
360
366
  end
361
367
 
@@ -1391,6 +1397,31 @@ module Google
1391
1397
  end
1392
1398
  end
1393
1399
 
1400
+ # Constraints on the uploaded file of a file policy.
1401
+ class GoogleChromePolicyVersionsV1UploadedFileConstraints
1402
+ include Google::Apis::Core::Hashable
1403
+
1404
+ # The size limit of uploaded files for a setting, in bytes.
1405
+ # Corresponds to the JSON property `sizeLimitBytes`
1406
+ # @return [Fixnum]
1407
+ attr_accessor :size_limit_bytes
1408
+
1409
+ # File types that can be uploaded for a setting.
1410
+ # Corresponds to the JSON property `supportedContentTypes`
1411
+ # @return [Array<String>]
1412
+ attr_accessor :supported_content_types
1413
+
1414
+ def initialize(**args)
1415
+ update!(**args)
1416
+ end
1417
+
1418
+ # Update properties of this object
1419
+ def update!(**args)
1420
+ @size_limit_bytes = args[:size_limit_bytes] if args.key?(:size_limit_bytes)
1421
+ @supported_content_types = args[:supported_content_types] if args.key?(:supported_content_types)
1422
+ end
1423
+ end
1424
+
1394
1425
  # A generic empty message that you can re-use to avoid defining duplicated empty
1395
1426
  # messages in your APIs. A typical example is to use it as the request or the
1396
1427
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChromepolicyV1
18
18
  # Version of the google-apis-chromepolicy_v1 gem
19
- GEM_VERSION = "0.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240101"
25
+ REVISION = "20240111"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class GoogleChromePolicyVersionsV1UploadedFileConstraints
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class GoogleProtobufEmpty
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -431,6 +437,8 @@ module Google
431
437
  class Representation < Google::Apis::Core::JsonRepresentation
432
438
  property :numeric_range_constraint, as: 'numericRangeConstraint', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint::Representation
433
439
 
440
+ property :uploaded_file_constraints, as: 'uploadedFileConstraints', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadedFileConstraints, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadedFileConstraints::Representation
441
+
434
442
  end
435
443
  end
436
444
 
@@ -744,6 +752,14 @@ module Google
744
752
  end
745
753
  end
746
754
 
755
+ class GoogleChromePolicyVersionsV1UploadedFileConstraints
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :size_limit_bytes, :numeric_string => true, as: 'sizeLimitBytes'
759
+ collection :supported_content_types, as: 'supportedContentTypes'
760
+ end
761
+ end
762
+
747
763
  class GoogleProtobufEmpty
748
764
  # @private
749
765
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -34,6 +34,8 @@ module Google
34
34
  #
35
35
  # @see http://developers.google.com/chrome/policy
36
36
  class ChromePolicyService < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "https://chromepolicy.$UNIVERSE_DOMAIN$/"
38
+
37
39
  # @return [String]
38
40
  # API key. Your API key identifies your project and provides you with API access,
39
41
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -45,7 +47,7 @@ module Google
45
47
  attr_accessor :quota_user
46
48
 
47
49
  def initialize
48
- super('https://chromepolicy.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-chromepolicy_v1',
50
52
  client_version: Google::Apis::ChromepolicyV1::GEM_VERSION)
51
53
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromepolicy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.45.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: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-chromepolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.45.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Chrome Policy API V1