google-apis-chromepolicy_v1 0.25.0 → 0.27.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: 0a6f0f5e9c933efde7baf5e0341ea8d6dc10e8e40076455a1c8b1df64bb22b4e
|
4
|
+
data.tar.gz: a022fe8e92cff831a0c14b422fb96481feb5062f1221299a5d7a314b303ea69c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edd34ad97c894054c23f2589fa2e2683c11c0251506261761dce77e1e2aa6ce5edcdcee5feeeb79bf2acd0ca5518588562efe41aba195580c85d07d51619394b
|
7
|
+
data.tar.gz: 9ecb5624bbe65b6e9cfe321b99da69e3b9fdacc40bf76d3cad397389563e14c87eba2415d0c2e807997387d18398b71c3152ca91e4ad821cd98b8dce309149fc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-chromepolicy_v1
|
2
2
|
|
3
|
+
### v0.27.0 (2022-09-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220914
|
6
|
+
* Regenerated using generator version 0.10.0
|
7
|
+
|
8
|
+
### v0.26.0 (2022-09-10)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220908
|
11
|
+
|
3
12
|
### v0.25.0 (2022-08-31)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220827
|
@@ -516,7 +516,8 @@ module Google
|
|
516
516
|
class GoogleChromePolicyV1PolicySchemaFieldDescription
|
517
517
|
include Google::Apis::Core::Hashable
|
518
518
|
|
519
|
-
#
|
519
|
+
# Deprecated. Use name and field_description instead. The description for the
|
520
|
+
# field.
|
520
521
|
# Corresponds to the JSON property `description`
|
521
522
|
# @return [String]
|
522
523
|
attr_accessor :description
|
@@ -533,6 +534,11 @@ module Google
|
|
533
534
|
# @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies>]
|
534
535
|
attr_accessor :field_dependencies
|
535
536
|
|
537
|
+
# Output only. The description of the field.
|
538
|
+
# Corresponds to the JSON property `fieldDescription`
|
539
|
+
# @return [String]
|
540
|
+
attr_accessor :field_description
|
541
|
+
|
536
542
|
# Output only. Any input constraints associated on the values for the field.
|
537
543
|
# Corresponds to the JSON property `inputConstraint`
|
538
544
|
# @return [String]
|
@@ -544,6 +550,11 @@ module Google
|
|
544
550
|
# @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription>]
|
545
551
|
attr_accessor :known_value_descriptions
|
546
552
|
|
553
|
+
# Output only. The name of the field.
|
554
|
+
# Corresponds to the JSON property `name`
|
555
|
+
# @return [String]
|
556
|
+
attr_accessor :name
|
557
|
+
|
547
558
|
# Output only. Provides the description of the fields nested in this field, if
|
548
559
|
# the field is a message type that defines multiple fields.
|
549
560
|
# Corresponds to the JSON property `nestedFieldDescriptions`
|
@@ -565,8 +576,10 @@ module Google
|
|
565
576
|
@description = args[:description] if args.key?(:description)
|
566
577
|
@field = args[:field] if args.key?(:field)
|
567
578
|
@field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
|
579
|
+
@field_description = args[:field_description] if args.key?(:field_description)
|
568
580
|
@input_constraint = args[:input_constraint] if args.key?(:input_constraint)
|
569
581
|
@known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
|
582
|
+
@name = args[:name] if args.key?(:name)
|
570
583
|
@nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
|
571
584
|
@required_items = args[:required_items] if args.key?(:required_items)
|
572
585
|
end
|
@@ -861,7 +874,7 @@ module Google
|
|
861
874
|
end
|
862
875
|
|
863
876
|
# Request message for uploading a file for a policy. Next ID: 5
|
864
|
-
class
|
877
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileRequest
|
865
878
|
include Google::Apis::Core::Hashable
|
866
879
|
|
867
880
|
# Required. The fully qualified policy schema and field name this file is
|
@@ -882,7 +895,7 @@ module Google
|
|
882
895
|
end
|
883
896
|
|
884
897
|
# Response message for downloading an uploaded file. Next ID: 2
|
885
|
-
class
|
898
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileResponse
|
886
899
|
include Google::Apis::Core::Hashable
|
887
900
|
|
888
901
|
# The uri for end user to download the file.
|
@@ -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.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220914"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,13 +172,13 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
-
class
|
175
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileRequest
|
176
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
177
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
-
class
|
181
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileResponse
|
182
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
183
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -390,9 +390,11 @@ module Google
|
|
390
390
|
property :field, as: 'field'
|
391
391
|
collection :field_dependencies, as: 'fieldDependencies', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies::Representation
|
392
392
|
|
393
|
+
property :field_description, as: 'fieldDescription'
|
393
394
|
property :input_constraint, as: 'inputConstraint'
|
394
395
|
collection :known_value_descriptions, as: 'knownValueDescriptions', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription::Representation
|
395
396
|
|
397
|
+
property :name, as: 'name'
|
396
398
|
collection :nested_field_descriptions, as: 'nestedFieldDescriptions', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription::Representation
|
397
399
|
|
398
400
|
collection :required_items, as: 'requiredItems', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems::Representation
|
@@ -486,14 +488,14 @@ module Google
|
|
486
488
|
end
|
487
489
|
end
|
488
490
|
|
489
|
-
class
|
491
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileRequest
|
490
492
|
# @private
|
491
493
|
class Representation < Google::Apis::Core::JsonRepresentation
|
492
494
|
property :policy_field, as: 'policyField'
|
493
495
|
end
|
494
496
|
end
|
495
497
|
|
496
|
-
class
|
498
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileResponse
|
497
499
|
# @private
|
498
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
499
501
|
property :download_uri, as: 'downloadUri'
|
@@ -390,7 +390,7 @@ module Google
|
|
390
390
|
# download url for end user.
|
391
391
|
# @param [String] customer
|
392
392
|
# Required. The customer for which the file upload will apply.
|
393
|
-
# @param [Google::Apis::ChromepolicyV1::
|
393
|
+
# @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadPolicyFileRequest] google_chrome_policy_versions_v1_upload_policy_file_request_object
|
394
394
|
# @param [String] fields
|
395
395
|
# Selector specifying which fields to include in a partial response.
|
396
396
|
# @param [String] quota_user
|
@@ -404,15 +404,15 @@ module Google
|
|
404
404
|
# Request-specific options
|
405
405
|
#
|
406
406
|
# @yield [result, err] Result & error if block supplied
|
407
|
-
# @yieldparam result [Google::Apis::ChromepolicyV1::
|
407
|
+
# @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadPolicyFileResponse] parsed result object
|
408
408
|
# @yieldparam err [StandardError] error object if request failed
|
409
409
|
#
|
410
|
-
# @return [Google::Apis::ChromepolicyV1::
|
410
|
+
# @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadPolicyFileResponse]
|
411
411
|
#
|
412
412
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
413
413
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
414
414
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
415
|
-
def upload_medium(customer,
|
415
|
+
def upload_medium(customer, google_chrome_policy_versions_v1_upload_policy_file_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
416
416
|
if upload_source.nil?
|
417
417
|
command = make_simple_command(:post, 'v1/{+customer}/policies/files:uploadPolicyFile', options)
|
418
418
|
else
|
@@ -420,10 +420,10 @@ module Google
|
|
420
420
|
command.upload_source = upload_source
|
421
421
|
command.upload_content_type = content_type
|
422
422
|
end
|
423
|
-
command.request_representation = Google::Apis::ChromepolicyV1::
|
424
|
-
command.request_object =
|
425
|
-
command.response_representation = Google::Apis::ChromepolicyV1::
|
426
|
-
command.response_class = Google::Apis::ChromepolicyV1::
|
423
|
+
command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadPolicyFileRequest::Representation
|
424
|
+
command.request_object = google_chrome_policy_versions_v1_upload_policy_file_request_object
|
425
|
+
command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadPolicyFileResponse::Representation
|
426
|
+
command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UploadPolicyFileResponse
|
427
427
|
command.params['customer'] = customer unless customer.nil?
|
428
428
|
command.query['fields'] = fields unless fields.nil?
|
429
429
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
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.27.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-09-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.27.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: []
|