google-apis-chromepolicy_v1 0.10.0 → 0.14.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dccdd8f19384f0a4988831fd09dd7df2b7c2c2c9103d97b2ae1aa50ab0b37462
|
4
|
+
data.tar.gz: 16281c73749daec9bb31e12c9106cda557feea42d4973116b8c80414b14dd686
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb47443a65a2d44173ed6cf1e9c8148896ac48385f40d3c761d3516894c700be9d323925b0649e3644a770b057912045ae80c28e3c17ba9e686fe2146808e6ac
|
7
|
+
data.tar.gz: 2b452fb2de9d0a5b79605c2bef5da708781945d28b8ade80fb14b5e58253533a276155a4c9daef05cb7d76f345eb0f76c5661d94202ad0da4295f228dc58638b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-chromepolicy_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2022-02-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220210
|
6
|
+
|
7
|
+
### v0.13.0 (2022-02-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220131
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.12.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.11.0 (2021-11-09)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211105
|
19
|
+
|
3
20
|
### v0.10.0 (2021-10-20)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211018
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/chromepolicy_v1"
|
|
51
51
|
client = Google::Apis::ChromepolicyV1::ChromePolicyService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -22,6 +22,44 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ChromepolicyV1
|
24
24
|
|
25
|
+
#
|
26
|
+
class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Description about current life cycle.
|
30
|
+
# Corresponds to the JSON property `description`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :description
|
33
|
+
|
34
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
35
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
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 (e.g., an anniversary) * A year on its own, with a
|
39
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
40
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
41
|
+
# DateTime * google.protobuf.Timestamp
|
42
|
+
# Corresponds to the JSON property `endSupport`
|
43
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleTypeDate]
|
44
|
+
attr_accessor :end_support
|
45
|
+
|
46
|
+
# Indicate current life cycle stage of the policy API.
|
47
|
+
# Corresponds to the JSON property `policyApiLifecycleStage`
|
48
|
+
# @return [String]
|
49
|
+
attr_accessor :policy_api_lifecycle_stage
|
50
|
+
|
51
|
+
def initialize(**args)
|
52
|
+
update!(**args)
|
53
|
+
end
|
54
|
+
|
55
|
+
# Update properties of this object
|
56
|
+
def update!(**args)
|
57
|
+
@description = args[:description] if args.key?(:description)
|
58
|
+
@end_support = args[:end_support] if args.key?(:end_support)
|
59
|
+
@policy_api_lifecycle_stage = args[:policy_api_lifecycle_stage] if args.key?(:policy_api_lifecycle_stage)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
25
63
|
# Additional key names that will be used to identify the target of the policy
|
26
64
|
# value.
|
27
65
|
class GoogleChromePolicyV1AdditionalTargetKeyName
|
@@ -186,7 +224,7 @@ module Google
|
|
186
224
|
end
|
187
225
|
end
|
188
226
|
|
189
|
-
# Resource representing a policy schema. Next ID:
|
227
|
+
# Resource representing a policy schema. Next ID: 12
|
190
228
|
class GoogleChromePolicyV1PolicySchema
|
191
229
|
include Google::Apis::Core::Hashable
|
192
230
|
|
@@ -223,6 +261,11 @@ module Google
|
|
223
261
|
# @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription>]
|
224
262
|
attr_accessor :notices
|
225
263
|
|
264
|
+
# Output only. Current life cycle information.
|
265
|
+
# Corresponds to the JSON property `policyApiLifeycle`
|
266
|
+
# @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
|
267
|
+
attr_accessor :policy_api_lifeycle
|
268
|
+
|
226
269
|
# Output only. Description about the policy schema for user consumption.
|
227
270
|
# Corresponds to the JSON property `policyDescription`
|
228
271
|
# @return [String]
|
@@ -257,6 +300,7 @@ module Google
|
|
257
300
|
@field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions)
|
258
301
|
@name = args[:name] if args.key?(:name)
|
259
302
|
@notices = args[:notices] if args.key?(:notices)
|
303
|
+
@policy_api_lifeycle = args[:policy_api_lifeycle] if args.key?(:policy_api_lifeycle)
|
260
304
|
@policy_description = args[:policy_description] if args.key?(:policy_description)
|
261
305
|
@schema_name = args[:schema_name] if args.key?(:schema_name)
|
262
306
|
@support_uri = args[:support_uri] if args.key?(:support_uri)
|
@@ -539,6 +583,11 @@ module Google
|
|
539
583
|
class GoogleChromePolicyV1ResolvedPolicy
|
540
584
|
include Google::Apis::Core::Hashable
|
541
585
|
|
586
|
+
# The key used to identify the target on which the policy will be applied.
|
587
|
+
# Corresponds to the JSON property `addedSourceKey`
|
588
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
|
589
|
+
attr_accessor :added_source_key
|
590
|
+
|
542
591
|
# The key used to identify the target on which the policy will be applied.
|
543
592
|
# Corresponds to the JSON property `sourceKey`
|
544
593
|
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
|
@@ -560,6 +609,7 @@ module Google
|
|
560
609
|
|
561
610
|
# Update properties of this object
|
562
611
|
def update!(**args)
|
612
|
+
@added_source_key = args[:added_source_key] if args.key?(:added_source_key)
|
563
613
|
@source_key = args[:source_key] if args.key?(:source_key)
|
564
614
|
@target_key = args[:target_key] if args.key?(:target_key)
|
565
615
|
@value = args[:value] if args.key?(:value)
|
@@ -623,6 +673,47 @@ module Google
|
|
623
673
|
end
|
624
674
|
end
|
625
675
|
|
676
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
677
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
678
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
679
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
680
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
681
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
682
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
683
|
+
# DateTime * google.protobuf.Timestamp
|
684
|
+
class GoogleTypeDate
|
685
|
+
include Google::Apis::Core::Hashable
|
686
|
+
|
687
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
688
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
689
|
+
# Corresponds to the JSON property `day`
|
690
|
+
# @return [Fixnum]
|
691
|
+
attr_accessor :day
|
692
|
+
|
693
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
694
|
+
# and day.
|
695
|
+
# Corresponds to the JSON property `month`
|
696
|
+
# @return [Fixnum]
|
697
|
+
attr_accessor :month
|
698
|
+
|
699
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
700
|
+
# year.
|
701
|
+
# Corresponds to the JSON property `year`
|
702
|
+
# @return [Fixnum]
|
703
|
+
attr_accessor :year
|
704
|
+
|
705
|
+
def initialize(**args)
|
706
|
+
update!(**args)
|
707
|
+
end
|
708
|
+
|
709
|
+
# Update properties of this object
|
710
|
+
def update!(**args)
|
711
|
+
@day = args[:day] if args.key?(:day)
|
712
|
+
@month = args[:month] if args.key?(:month)
|
713
|
+
@year = args[:year] if args.key?(:year)
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
626
717
|
# Describes a message type.
|
627
718
|
class Proto2DescriptorProto
|
628
719
|
include Google::Apis::Core::Hashable
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220210"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ChromepolicyV1
|
24
24
|
|
25
|
+
class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class GoogleChromePolicyV1AdditionalTargetKeyName
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -136,6 +142,12 @@ module Google
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
137
143
|
end
|
138
144
|
|
145
|
+
class GoogleTypeDate
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
139
151
|
class Proto2DescriptorProto
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
153
|
|
@@ -172,6 +184,16 @@ module Google
|
|
172
184
|
include Google::Apis::Core::JsonObjectSupport
|
173
185
|
end
|
174
186
|
|
187
|
+
class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
|
188
|
+
# @private
|
189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
190
|
+
property :description, as: 'description'
|
191
|
+
property :end_support, as: 'endSupport', class: Google::Apis::ChromepolicyV1::GoogleTypeDate, decorator: Google::Apis::ChromepolicyV1::GoogleTypeDate::Representation
|
192
|
+
|
193
|
+
property :policy_api_lifecycle_stage, as: 'policyApiLifecycleStage'
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
175
197
|
class GoogleChromePolicyV1AdditionalTargetKeyName
|
176
198
|
# @private
|
177
199
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -238,6 +260,8 @@ module Google
|
|
238
260
|
property :name, as: 'name'
|
239
261
|
collection :notices, as: 'notices', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription::Representation
|
240
262
|
|
263
|
+
property :policy_api_lifeycle, as: 'policyApiLifeycle', class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle, decorator: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::Representation
|
264
|
+
|
241
265
|
property :policy_description, as: 'policyDescription'
|
242
266
|
property :schema_name, as: 'schemaName'
|
243
267
|
property :support_uri, as: 'supportUri'
|
@@ -325,6 +349,8 @@ module Google
|
|
325
349
|
class GoogleChromePolicyV1ResolvedPolicy
|
326
350
|
# @private
|
327
351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
property :added_source_key, as: 'addedSourceKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
|
353
|
+
|
328
354
|
property :source_key, as: 'sourceKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
|
329
355
|
|
330
356
|
property :target_key, as: 'targetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
|
@@ -354,6 +380,15 @@ module Google
|
|
354
380
|
end
|
355
381
|
end
|
356
382
|
|
383
|
+
class GoogleTypeDate
|
384
|
+
# @private
|
385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
386
|
+
property :day, as: 'day'
|
387
|
+
property :month, as: 'month'
|
388
|
+
property :year, as: 'year'
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
357
392
|
class Proto2DescriptorProto
|
358
393
|
# @private
|
359
394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.14.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:
|
11
|
+
date: 2022-02-14 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.14.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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Chrome Policy API V1
|