google-apis-chromepolicy_v1 0.7.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/chromepolicy_v1/classes.rb +94 -3
- data/lib/google/apis/chromepolicy_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromepolicy_v1/representations.rb +34 -0
- data/lib/google/apis/chromepolicy_v1/service.rb +6 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77d52c9f08c13a151b15dffe126f925c1d0441341b702be539a12047032f159e
|
4
|
+
data.tar.gz: 2eeff6e524ff74a462fb4f4bfaf91a902e326c98ee056ad1b89a8bca75bdba6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de62c6d0e3c59d05b6a85e353a76302800570f9db48deb6641ba68493a2bfcd718004caf3142144999cc847a6271ad591b412693831b7763939e4427875eeb02
|
7
|
+
data.tar.gz: 9c5300500aa76c2da3007cb20125f4a80df76c45d64efc21d27f7a619f0e095424c33a33084f632fa782749161b5ef245e253ece79d6d19bd76ded6c98c074b0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-chromepolicy_v1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-11-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211105
|
6
|
+
|
7
|
+
### v0.10.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211018
|
10
|
+
|
11
|
+
### v0.9.0 (2021-10-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211012
|
14
|
+
|
15
|
+
### v0.8.0 (2021-10-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211006
|
18
|
+
|
3
19
|
### v0.7.0 (2021-08-28)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210826
|
data/OVERVIEW.md
CHANGED
@@ -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 value, with a zero year, such as an anniversary * A year on its own,
|
39
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
40
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
41
|
+
# 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,14 +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 or BatchModifyOrgUnitPolicies
|
276
|
+
# BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies
|
234
277
|
# Corresponds to the JSON property `schemaName`
|
235
278
|
# @return [String]
|
236
279
|
attr_accessor :schema_name
|
@@ -240,6 +283,11 @@ module Google
|
|
240
283
|
# @return [String]
|
241
284
|
attr_accessor :support_uri
|
242
285
|
|
286
|
+
# Output only. Information about applicable target resources for the policy.
|
287
|
+
# Corresponds to the JSON property `validTargetResources`
|
288
|
+
# @return [Array<String>]
|
289
|
+
attr_accessor :valid_target_resources
|
290
|
+
|
243
291
|
def initialize(**args)
|
244
292
|
update!(**args)
|
245
293
|
end
|
@@ -252,9 +300,11 @@ module Google
|
|
252
300
|
@field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions)
|
253
301
|
@name = args[:name] if args.key?(:name)
|
254
302
|
@notices = args[:notices] if args.key?(:notices)
|
303
|
+
@policy_api_lifeycle = args[:policy_api_lifeycle] if args.key?(:policy_api_lifeycle)
|
255
304
|
@policy_description = args[:policy_description] if args.key?(:policy_description)
|
256
305
|
@schema_name = args[:schema_name] if args.key?(:schema_name)
|
257
306
|
@support_uri = args[:support_uri] if args.key?(:support_uri)
|
307
|
+
@valid_target_resources = args[:valid_target_resources] if args.key?(:valid_target_resources)
|
258
308
|
end
|
259
309
|
end
|
260
310
|
|
@@ -617,6 +667,47 @@ module Google
|
|
617
667
|
end
|
618
668
|
end
|
619
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 value, with a zero year, such as an anniversary * A year on its own,
|
675
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
676
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
677
|
+
# 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
|
+
|
620
711
|
# Describes a message type.
|
621
712
|
class Proto2DescriptorProto
|
622
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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211105"
|
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,9 +260,12 @@ 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'
|
268
|
+
collection :valid_target_resources, as: 'validTargetResources'
|
244
269
|
end
|
245
270
|
end
|
246
271
|
|
@@ -353,6 +378,15 @@ module Google
|
|
353
378
|
end
|
354
379
|
end
|
355
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
|
+
|
356
390
|
class Proto2DescriptorProto
|
357
391
|
# @private
|
358
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -90,8 +90,9 @@ module Google
|
|
90
90
|
# they now inherit the value from a parent (if applicable). All targets must
|
91
91
|
# have the same target format. That is to say that they must point to the same
|
92
92
|
# target resource and must have the same keys specified in `
|
93
|
-
# additionalTargetKeyNames
|
94
|
-
# details as part of the google.rpc.
|
93
|
+
# additionalTargetKeyNames`, though the values for those keys may be different.
|
94
|
+
# On failure the request will return the error details as part of the google.rpc.
|
95
|
+
# Status.
|
95
96
|
# @param [String] customer
|
96
97
|
# ID of the G Suite account or literal "my_customer" for the customer associated
|
97
98
|
# to the request.
|
@@ -128,8 +129,9 @@ module Google
|
|
128
129
|
# Modify multiple policy values that are applied to a specific org unit. All
|
129
130
|
# targets must have the same target format. That is to say that they must point
|
130
131
|
# to the same target resource and must have the same keys specified in `
|
131
|
-
# additionalTargetKeyNames
|
132
|
-
# details as part of the google.rpc.
|
132
|
+
# additionalTargetKeyNames`, though the values for those keys may be different.
|
133
|
+
# On failure the request will return the error details as part of the google.rpc.
|
134
|
+
# Status.
|
133
135
|
# @param [String] customer
|
134
136
|
# ID of the G Suite account or literal "my_customer" for the customer associated
|
135
137
|
# to the request.
|
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.11.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: 2021-
|
11
|
+
date: 2021-11-15 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.11.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:
|