google-apis-chromepolicy_v1 0.26.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,10 @@
|
|
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
|
+
|
3
8
|
### v0.26.0 (2022-09-10)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220908
|
@@ -874,7 +874,7 @@ module Google
|
|
874
874
|
end
|
875
875
|
|
876
876
|
# Request message for uploading a file for a policy. Next ID: 5
|
877
|
-
class
|
877
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileRequest
|
878
878
|
include Google::Apis::Core::Hashable
|
879
879
|
|
880
880
|
# Required. The fully qualified policy schema and field name this file is
|
@@ -895,7 +895,7 @@ module Google
|
|
895
895
|
end
|
896
896
|
|
897
897
|
# Response message for downloading an uploaded file. Next ID: 2
|
898
|
-
class
|
898
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileResponse
|
899
899
|
include Google::Apis::Core::Hashable
|
900
900
|
|
901
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
|
@@ -488,14 +488,14 @@ module Google
|
|
488
488
|
end
|
489
489
|
end
|
490
490
|
|
491
|
-
class
|
491
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileRequest
|
492
492
|
# @private
|
493
493
|
class Representation < Google::Apis::Core::JsonRepresentation
|
494
494
|
property :policy_field, as: 'policyField'
|
495
495
|
end
|
496
496
|
end
|
497
497
|
|
498
|
-
class
|
498
|
+
class GoogleChromePolicyVersionsV1UploadPolicyFileResponse
|
499
499
|
# @private
|
500
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
501
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: []
|