google-apis-chromepolicy_v1 0.43.0 → 0.44.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ef5ca3d3da58923d238ea6871ab02c2ea743f36ddf2fba461e000301eec6da4
|
4
|
+
data.tar.gz: 689347353bbe69bb189e544c904cd281b140ee494a05c7ba23e423a9764d00da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ee40cccd53f5a5888d68d34362615c0c73e05ff72172b729949c27093cdfbda3e0579f6d9851a9d385ae3fb9c2b088b2151259c6589c747aeaae302de610cb7
|
7
|
+
data.tar.gz: 8afdf597a1d364bd4ad7ae23d5363ad16b4b51b316ed13be927c3ebc188cbafef04d246d2b1da58ac1af0bec91bf9ea5adae227b87e49cf94f0fa08dea266551
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-chromepolicy_v1
|
2
2
|
|
3
|
+
### v0.44.0 (2024-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240111
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.43.0 (2024-01-07)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240101
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.44.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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(
|
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.
|
4
|
+
version: 0.44.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-
|
11
|
+
date: 2024-01-23 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.
|
19
|
+
version: 0.12.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.
|
29
|
+
version: 0.12.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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.44.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: []
|