google-apis-chromepolicy_v1 0.9.0 → 0.13.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: 6e16ddfc0d0e5e1ca925172efccff2f82b6c771acb274c7ef98778e744d9f08b
|
4
|
+
data.tar.gz: 92a62e2d6ca3638dc8339246112cd088e348bc0f53921f0dc7cfa62a8e5ebf4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ca9506235398c7bfd6038129f6b3a2e1556c30491117ed26b60dd8ebfe40daf0360d732bf049711e284a117555b3e981083013011ad5a8fd50e3b003977b5d7
|
7
|
+
data.tar.gz: 16f688601adb0e79b91ecea83ab19d967ca4ad7617db86c0caec4b0804268ff12e3ecc0bf8a55bdd9bc0d225e5d3c3fb6ba7908971def1d26db66a0526ad96ea
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-chromepolicy_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2022-02-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220131
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.12.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.11.0 (2021-11-09)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211105
|
15
|
+
|
16
|
+
### v0.10.0 (2021-10-20)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211018
|
19
|
+
|
3
20
|
### v0.9.0 (2021-10-14)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211012
|
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.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Chromepolicy service in particular.)
|
67
67
|
|
@@ -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,15 +261,19 @@ 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]
|
229
272
|
attr_accessor :policy_description
|
230
273
|
|
231
|
-
# Output only. The
|
274
|
+
# Output only. The fully qualified name of the policy schema. This value is used
|
232
275
|
# to fill the field `policy_schema` in PolicyValue when calling
|
233
|
-
# BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies
|
234
|
-
# BatchModifyGroupPolicies or BatchDeleteGroupPolicies.
|
276
|
+
# BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies
|
235
277
|
# Corresponds to the JSON property `schemaName`
|
236
278
|
# @return [String]
|
237
279
|
attr_accessor :schema_name
|
@@ -258,6 +300,7 @@ module Google
|
|
258
300
|
@field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions)
|
259
301
|
@name = args[:name] if args.key?(:name)
|
260
302
|
@notices = args[:notices] if args.key?(:notices)
|
303
|
+
@policy_api_lifeycle = args[:policy_api_lifeycle] if args.key?(:policy_api_lifeycle)
|
261
304
|
@policy_description = args[:policy_description] if args.key?(:policy_description)
|
262
305
|
@schema_name = args[:schema_name] if args.key?(:schema_name)
|
263
306
|
@support_uri = args[:support_uri] if args.key?(:support_uri)
|
@@ -424,8 +467,7 @@ module Google
|
|
424
467
|
attr_accessor :additional_target_keys
|
425
468
|
|
426
469
|
# The target resource on which this policy is applied. The following resources
|
427
|
-
# are supported: * Organizational Unit ("orgunits/`orgunit_id`")
|
428
|
-
# groups/`group_id`")
|
470
|
+
# are supported: * Organizational Unit ("orgunits/`orgunit_id`")
|
429
471
|
# Corresponds to the JSON property `targetResource`
|
430
472
|
# @return [String]
|
431
473
|
attr_accessor :target_resource
|
@@ -625,6 +667,47 @@ module Google
|
|
625
667
|
end
|
626
668
|
end
|
627
669
|
|
670
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
671
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
672
|
+
# 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 (e.g., an anniversary) * A year on its own, with a
|
675
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
676
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
677
|
+
# DateTime * google.protobuf.Timestamp
|
678
|
+
class GoogleTypeDate
|
679
|
+
include Google::Apis::Core::Hashable
|
680
|
+
|
681
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
682
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
683
|
+
# Corresponds to the JSON property `day`
|
684
|
+
# @return [Fixnum]
|
685
|
+
attr_accessor :day
|
686
|
+
|
687
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
688
|
+
# and day.
|
689
|
+
# Corresponds to the JSON property `month`
|
690
|
+
# @return [Fixnum]
|
691
|
+
attr_accessor :month
|
692
|
+
|
693
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
694
|
+
# year.
|
695
|
+
# Corresponds to the JSON property `year`
|
696
|
+
# @return [Fixnum]
|
697
|
+
attr_accessor :year
|
698
|
+
|
699
|
+
def initialize(**args)
|
700
|
+
update!(**args)
|
701
|
+
end
|
702
|
+
|
703
|
+
# Update properties of this object
|
704
|
+
def update!(**args)
|
705
|
+
@day = args[:day] if args.key?(:day)
|
706
|
+
@month = args[:month] if args.key?(:month)
|
707
|
+
@year = args[:year] if args.key?(:year)
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
628
711
|
# Describes a message type.
|
629
712
|
class Proto2DescriptorProto
|
630
713
|
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.13.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 = "20220131"
|
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'
|
@@ -354,6 +378,15 @@ module Google
|
|
354
378
|
end
|
355
379
|
end
|
356
380
|
|
381
|
+
class GoogleTypeDate
|
382
|
+
# @private
|
383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
384
|
+
property :day, as: 'day'
|
385
|
+
property :month, as: 'month'
|
386
|
+
property :year, as: 'year'
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
357
390
|
class Proto2DescriptorProto
|
358
391
|
# @private
|
359
392
|
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.13.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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.13.0
|
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: []
|
65
65
|
require_paths:
|
@@ -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
|