google-apis-chromepolicy_v1 0.5.0 → 0.9.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: 9d213ccf93856691eb67a7608c1cf6e02bd0ef44a088961eb5e2dc3bc5a85366
4
- data.tar.gz: c87e5ee7cb4fb3a8485040476888b5ec491098a9f287f58d6d5f7069446f582b
3
+ metadata.gz: 047042e64349f5d0211e00ea2db8f787b7ba8f9bf6cc83dde43eb9b71b7f8c4c
4
+ data.tar.gz: f9f624c7802bd801979d01684b197f779cf37553dfe2ff1d7378d046ba175764
5
5
  SHA512:
6
- metadata.gz: 6a8cb08e698efa9d35d972f73800c722386626a1e50c407a36c2775d09aa02e8e36149aa9255e662fe9d79c2d672d896652e715e416937f494da8b91281c9f84
7
- data.tar.gz: 56a40502d2b11971d7bac214b24c54ea366bf3be0f7d8cb373f4f04d63ffab46cfb2956f21edb0c20459436510ddef5996bd80cfbb3e913cc14f2d12861a14c1
6
+ metadata.gz: 3db6d7a6cfc2e8b26f7f2342520aa4f27edc838910138d39be56b8b130053025e255adc3ee47812e60f4786ef5752c8e2e7e8768bea9b5e711b827331327760c
7
+ data.tar.gz: 639387065940fc8c78ef7794240a4311723bc0ec569616e8f073554334523559024ffbaeab6d55ba445113be3db12f5280a01a1506e5ff471902e3d397494d19
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.9.0 (2021-10-14)
4
+
5
+ * Regenerated from discovery document revision 20211012
6
+
7
+ ### v0.8.0 (2021-10-08)
8
+
9
+ * Regenerated from discovery document revision 20211006
10
+
11
+ ### v0.7.0 (2021-08-28)
12
+
13
+ * Regenerated from discovery document revision 20210826
14
+
15
+ ### v0.6.0 (2021-07-29)
16
+
17
+ * Regenerated from discovery document revision 20210727
18
+
3
19
  ### v0.5.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
@@ -186,7 +186,7 @@ module Google
186
186
  end
187
187
  end
188
188
 
189
- # Resource representing a policy schema. Next ID: 10
189
+ # Resource representing a policy schema. Next ID: 11
190
190
  class GoogleChromePolicyV1PolicySchema
191
191
  include Google::Apis::Core::Hashable
192
192
 
@@ -230,7 +230,8 @@ module Google
230
230
 
231
231
  # Output only. The full qualified name of the policy schema. This value is used
232
232
  # to fill the field `policy_schema` in PolicyValue when calling
233
- # BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies.
233
+ # BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies
234
+ # BatchModifyGroupPolicies or BatchDeleteGroupPolicies.
234
235
  # Corresponds to the JSON property `schemaName`
235
236
  # @return [String]
236
237
  attr_accessor :schema_name
@@ -240,6 +241,11 @@ module Google
240
241
  # @return [String]
241
242
  attr_accessor :support_uri
242
243
 
244
+ # Output only. Information about applicable target resources for the policy.
245
+ # Corresponds to the JSON property `validTargetResources`
246
+ # @return [Array<String>]
247
+ attr_accessor :valid_target_resources
248
+
243
249
  def initialize(**args)
244
250
  update!(**args)
245
251
  end
@@ -255,6 +261,33 @@ module Google
255
261
  @policy_description = args[:policy_description] if args.key?(:policy_description)
256
262
  @schema_name = args[:schema_name] if args.key?(:schema_name)
257
263
  @support_uri = args[:support_uri] if args.key?(:support_uri)
264
+ @valid_target_resources = args[:valid_target_resources] if args.key?(:valid_target_resources)
265
+ end
266
+ end
267
+
268
+ # The field and the value it must have for another field to be allowed to be set.
269
+ class GoogleChromePolicyV1PolicySchemaFieldDependencies
270
+ include Google::Apis::Core::Hashable
271
+
272
+ # The source field which this field depends on.
273
+ # Corresponds to the JSON property `sourceField`
274
+ # @return [String]
275
+ attr_accessor :source_field
276
+
277
+ # The value which the source field must have for this field to be allowed to be
278
+ # set.
279
+ # Corresponds to the JSON property `sourceFieldValue`
280
+ # @return [String]
281
+ attr_accessor :source_field_value
282
+
283
+ def initialize(**args)
284
+ update!(**args)
285
+ end
286
+
287
+ # Update properties of this object
288
+ def update!(**args)
289
+ @source_field = args[:source_field] if args.key?(:source_field)
290
+ @source_field_value = args[:source_field_value] if args.key?(:source_field_value)
258
291
  end
259
292
  end
260
293
 
@@ -273,12 +306,18 @@ module Google
273
306
  # @return [String]
274
307
  attr_accessor :field
275
308
 
309
+ # Output only. Provides a list of fields and the values they must have for this
310
+ # field to be allowed to be set.
311
+ # Corresponds to the JSON property `fieldDependencies`
312
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies>]
313
+ attr_accessor :field_dependencies
314
+
276
315
  # Output only. Any input constraints associated on the values for the field.
277
316
  # Corresponds to the JSON property `inputConstraint`
278
317
  # @return [String]
279
318
  attr_accessor :input_constraint
280
319
 
281
- # Output only. If the field has a set of know values, this field will provide a
320
+ # Output only. If the field has a set of known values, this field will provide a
282
321
  # description for these values.
283
322
  # Corresponds to the JSON property `knownValueDescriptions`
284
323
  # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription>]
@@ -298,6 +337,7 @@ module Google
298
337
  def update!(**args)
299
338
  @description = args[:description] if args.key?(:description)
300
339
  @field = args[:field] if args.key?(:field)
340
+ @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
301
341
  @input_constraint = args[:input_constraint] if args.key?(:input_constraint)
302
342
  @known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
303
343
  @nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
@@ -384,7 +424,8 @@ module Google
384
424
  attr_accessor :additional_target_keys
385
425
 
386
426
  # The target resource on which this policy is applied. The following resources
387
- # are supported: * Organizational Unit ("orgunits/`orgunit_id`")
427
+ # are supported: * Organizational Unit ("orgunits/`orgunit_id`") * Group ("
428
+ # groups/`group_id`")
388
429
  # Corresponds to the JSON property `targetResource`
389
430
  # @return [String]
390
431
  attr_accessor :target_resource
@@ -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.5.0"
19
+ GEM_VERSION = "0.9.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 = "20210429"
25
+ REVISION = "20211012"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class GoogleChromePolicyV1PolicySchemaFieldDependencies
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class GoogleChromePolicyV1PolicySchemaFieldDescription
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -235,6 +241,15 @@ module Google
235
241
  property :policy_description, as: 'policyDescription'
236
242
  property :schema_name, as: 'schemaName'
237
243
  property :support_uri, as: 'supportUri'
244
+ collection :valid_target_resources, as: 'validTargetResources'
245
+ end
246
+ end
247
+
248
+ class GoogleChromePolicyV1PolicySchemaFieldDependencies
249
+ # @private
250
+ class Representation < Google::Apis::Core::JsonRepresentation
251
+ property :source_field, as: 'sourceField'
252
+ property :source_field_value, as: 'sourceFieldValue'
238
253
  end
239
254
  end
240
255
 
@@ -243,6 +258,8 @@ module Google
243
258
  class Representation < Google::Apis::Core::JsonRepresentation
244
259
  property :description, as: 'description'
245
260
  property :field, as: 'field'
261
+ collection :field_dependencies, as: 'fieldDependencies', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies::Representation
262
+
246
263
  property :input_constraint, as: 'inputConstraint'
247
264
  collection :known_value_descriptions, as: 'knownValueDescriptions', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription::Representation
248
265
 
@@ -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`. On failure the request will return the error
94
- # details as part of the google.rpc.Status.
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`. On failure the request will return the error
132
- # details as part of the google.rpc.Status.
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.5.0
4
+ version: 0.9.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-10-18 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/master/generated/google-apis-chromepolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chromepolicy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []