google-apis-chromepolicy_v1 0.42.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: b6342bfe08a451ca5133a09840190b5f2704a5e00193413c4cb4175121c5edcc
4
- data.tar.gz: ffb838ddf15179b71a28119f7ebbe3a86e55e60e81bccd093792fbfaf80aee4a
3
+ metadata.gz: 2ef5ca3d3da58923d238ea6871ab02c2ea743f36ddf2fba461e000301eec6da4
4
+ data.tar.gz: 689347353bbe69bb189e544c904cd281b140ee494a05c7ba23e423a9764d00da
5
5
  SHA512:
6
- metadata.gz: 0d2feef20a6bf2da740e0a11f83612c063e6e764acde6bc44a1a98bdae20eaa08f3ecc4bbbc38a17590026462a0207fa0c375d46a9aa8755f3886363fffa8318
7
- data.tar.gz: 904a7264c52b3daf8de291335dbb94b8e96a16f8e450e63f3d847c74fd622970ff35f15bd3cbc4beed459200ed1c5d7f5e74df5fc26af1c8fb60f71dc468df56
6
+ metadata.gz: 6ee40cccd53f5a5888d68d34362615c0c73e05ff72172b729949c27093cdfbda3e0579f6d9851a9d385ae3fb9c2b088b2151259c6589c747aeaae302de610cb7
7
+ data.tar.gz: 8afdf597a1d364bd4ad7ae23d5363ad16b4b51b316ed13be927c3ebc188cbafef04d246d2b1da58ac1af0bec91bf9ea5adae227b87e49cf94f0fa08dea266551
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.43.0 (2024-01-07)
9
+
10
+ * Regenerated from discovery document revision 20240101
11
+
3
12
  ### v0.42.0 (2023-12-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20231127
@@ -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
 
@@ -802,6 +808,12 @@ module Google
802
808
  # @return [String]
803
809
  attr_accessor :support_uri
804
810
 
811
+ # Output only. List indicates that the policy will only apply to devices/users
812
+ # on these platforms.
813
+ # Corresponds to the JSON property `supportedPlatforms`
814
+ # @return [Array<String>]
815
+ attr_accessor :supported_platforms
816
+
805
817
  # Output only. Information about applicable target resources for the policy.
806
818
  # Corresponds to the JSON property `validTargetResources`
807
819
  # @return [Array<String>]
@@ -824,6 +836,7 @@ module Google
824
836
  @policy_description = args[:policy_description] if args.key?(:policy_description)
825
837
  @schema_name = args[:schema_name] if args.key?(:schema_name)
826
838
  @support_uri = args[:support_uri] if args.key?(:support_uri)
839
+ @supported_platforms = args[:supported_platforms] if args.key?(:supported_platforms)
827
840
  @valid_target_resources = args[:valid_target_resources] if args.key?(:valid_target_resources)
828
841
  end
829
842
  end
@@ -1384,6 +1397,31 @@ module Google
1384
1397
  end
1385
1398
  end
1386
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
+
1387
1425
  # A generic empty message that you can re-use to avoid defining duplicated empty
1388
1426
  # messages in your APIs. A typical example is to use it as the request or the
1389
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.42.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.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231127"
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
 
@@ -570,6 +578,7 @@ module Google
570
578
  property :policy_description, as: 'policyDescription'
571
579
  property :schema_name, as: 'schemaName'
572
580
  property :support_uri, as: 'supportUri'
581
+ collection :supported_platforms, as: 'supportedPlatforms'
573
582
  collection :valid_target_resources, as: 'validTargetResources'
574
583
  end
575
584
  end
@@ -743,6 +752,14 @@ module Google
743
752
  end
744
753
  end
745
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
+
746
763
  class GoogleProtobufEmpty
747
764
  # @private
748
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.42.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: 2023-12-03 00:00:00.000000000 Z
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.11.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.11.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.42.0
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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Chrome Policy API V1