google-apis-chromepolicy_v1 0.13.0 → 0.16.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: c61b511ab6266624a645c345232641611359e79071ec60fcbf797cc6495a50d7
|
4
|
+
data.tar.gz: 475a3bd1a356aac38111bb1591a5d7e55cbae8cc198c4baf7151958b57aab8e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39f2fc76282751e25c09b53f2a332cfa29bc3185b0d970da8bff1692bda11c7d09a2f657634be54bf229f6b9e42932d462380e2c33a8b350b989928ee97e60a3
|
7
|
+
data.tar.gz: fe43c14433eaaa28b0182eaf40859ce357d6693fb89442cb5865e9979c9a8ff4f77ee21f9156b18c4125b7a6996ded7470b4ae081cd45ecffca99c2f9eb27852
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-chromepolicy_v1
|
2
2
|
|
3
|
+
### v0.16.0 (2022-03-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220321
|
6
|
+
|
7
|
+
### v0.15.0 (2022-03-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220228
|
10
|
+
|
11
|
+
### v0.14.0 (2022-02-11)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220210
|
14
|
+
|
3
15
|
### v0.13.0 (2022-02-03)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220131
|
@@ -34,11 +34,11 @@ module Google
|
|
34
34
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
35
35
|
# day and time zone are either specified elsewhere or are insignificant. The
|
36
36
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
37
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
38
|
-
# and day, with a zero year (
|
39
|
-
# zero month and a zero day * A year and month, with a zero day (
|
40
|
-
# card expiration date) Related types: * google.type.
|
41
|
-
# DateTime * google.protobuf.Timestamp
|
37
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
38
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
39
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
40
|
+
# example, a credit card expiration date). Related types: * google.type.
|
41
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
42
42
|
# Corresponds to the JSON property `endSupport`
|
43
43
|
# @return [Google::Apis::ChromepolicyV1::GoogleTypeDate]
|
44
44
|
attr_accessor :end_support
|
@@ -372,6 +372,12 @@ module Google
|
|
372
372
|
# @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>]
|
373
373
|
attr_accessor :nested_field_descriptions
|
374
374
|
|
375
|
+
# Output only. Provides a list of fields that are required to be set if this
|
376
|
+
# field has a certain value.
|
377
|
+
# Corresponds to the JSON property `requiredItems`
|
378
|
+
# @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems>]
|
379
|
+
attr_accessor :required_items
|
380
|
+
|
375
381
|
def initialize(**args)
|
376
382
|
update!(**args)
|
377
383
|
end
|
@@ -384,6 +390,7 @@ module Google
|
|
384
390
|
@input_constraint = args[:input_constraint] if args.key?(:input_constraint)
|
385
391
|
@known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
|
386
392
|
@nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
|
393
|
+
@required_items = args[:required_items] if args.key?(:required_items)
|
387
394
|
end
|
388
395
|
end
|
389
396
|
|
@@ -456,6 +463,33 @@ module Google
|
|
456
463
|
end
|
457
464
|
end
|
458
465
|
|
466
|
+
# The fields that will become required based on the value of this field.
|
467
|
+
class GoogleChromePolicyV1PolicySchemaRequiredItems
|
468
|
+
include Google::Apis::Core::Hashable
|
469
|
+
|
470
|
+
# The value(s) of the field that provoke required field enforcement. An empty
|
471
|
+
# field_conditions implies that any value assigned to this field will provoke
|
472
|
+
# required field enforcement.
|
473
|
+
# Corresponds to the JSON property `fieldConditions`
|
474
|
+
# @return [Array<String>]
|
475
|
+
attr_accessor :field_conditions
|
476
|
+
|
477
|
+
# The fields that are required as a consequence of the field conditions.
|
478
|
+
# Corresponds to the JSON property `requiredFields`
|
479
|
+
# @return [Array<String>]
|
480
|
+
attr_accessor :required_fields
|
481
|
+
|
482
|
+
def initialize(**args)
|
483
|
+
update!(**args)
|
484
|
+
end
|
485
|
+
|
486
|
+
# Update properties of this object
|
487
|
+
def update!(**args)
|
488
|
+
@field_conditions = args[:field_conditions] if args.key?(:field_conditions)
|
489
|
+
@required_fields = args[:required_fields] if args.key?(:required_fields)
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
459
493
|
# The key used to identify the target on which the policy will be applied.
|
460
494
|
class GoogleChromePolicyV1PolicyTargetKey
|
461
495
|
include Google::Apis::Core::Hashable
|
@@ -583,6 +617,11 @@ module Google
|
|
583
617
|
class GoogleChromePolicyV1ResolvedPolicy
|
584
618
|
include Google::Apis::Core::Hashable
|
585
619
|
|
620
|
+
# The key used to identify the target on which the policy will be applied.
|
621
|
+
# Corresponds to the JSON property `addedSourceKey`
|
622
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
|
623
|
+
attr_accessor :added_source_key
|
624
|
+
|
586
625
|
# The key used to identify the target on which the policy will be applied.
|
587
626
|
# Corresponds to the JSON property `sourceKey`
|
588
627
|
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
|
@@ -604,6 +643,7 @@ module Google
|
|
604
643
|
|
605
644
|
# Update properties of this object
|
606
645
|
def update!(**args)
|
646
|
+
@added_source_key = args[:added_source_key] if args.key?(:added_source_key)
|
607
647
|
@source_key = args[:source_key] if args.key?(:source_key)
|
608
648
|
@target_key = args[:target_key] if args.key?(:target_key)
|
609
649
|
@value = args[:value] if args.key?(:value)
|
@@ -653,8 +693,7 @@ module Google
|
|
653
693
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
654
694
|
# messages in your APIs. A typical example is to use it as the request or the
|
655
695
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
656
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
657
|
-
# `Empty` is empty JSON object ````.
|
696
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
658
697
|
class GoogleProtobufEmpty
|
659
698
|
include Google::Apis::Core::Hashable
|
660
699
|
|
@@ -670,11 +709,11 @@ module Google
|
|
670
709
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
671
710
|
# day and time zone are either specified elsewhere or are insignificant. The
|
672
711
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
673
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
674
|
-
# and day, with a zero year (
|
675
|
-
# zero month and a zero day * A year and month, with a zero day (
|
676
|
-
# card expiration date) Related types: * google.type.
|
677
|
-
# DateTime * google.protobuf.Timestamp
|
712
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
713
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
714
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
715
|
+
# example, a credit card expiration date). Related types: * google.type.
|
716
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
678
717
|
class GoogleTypeDate
|
679
718
|
include Google::Apis::Core::Hashable
|
680
719
|
|
@@ -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.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220321"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class GoogleChromePolicyV1PolicySchemaRequiredItems
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class GoogleChromePolicyV1PolicyTargetKey
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -289,6 +295,8 @@ module Google
|
|
289
295
|
|
290
296
|
collection :nested_field_descriptions, as: 'nestedFieldDescriptions', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription::Representation
|
291
297
|
|
298
|
+
collection :required_items, as: 'requiredItems', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems::Representation
|
299
|
+
|
292
300
|
end
|
293
301
|
end
|
294
302
|
|
@@ -310,6 +318,14 @@ module Google
|
|
310
318
|
end
|
311
319
|
end
|
312
320
|
|
321
|
+
class GoogleChromePolicyV1PolicySchemaRequiredItems
|
322
|
+
# @private
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
collection :field_conditions, as: 'fieldConditions'
|
325
|
+
collection :required_fields, as: 'requiredFields'
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
313
329
|
class GoogleChromePolicyV1PolicyTargetKey
|
314
330
|
# @private
|
315
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -349,6 +365,8 @@ module Google
|
|
349
365
|
class GoogleChromePolicyV1ResolvedPolicy
|
350
366
|
# @private
|
351
367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
368
|
+
property :added_source_key, as: 'addedSourceKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
|
369
|
+
|
352
370
|
property :source_key, as: 'sourceKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
|
353
371
|
|
354
372
|
property :target_key, as: 'targetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
|
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.16.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: 2022-
|
11
|
+
date: 2022-03-28 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-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.16.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: []
|