google-apis-chromepolicy_v1 0.20.0 → 0.21.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: b2d4342d18ba9d60023901e2509916f0b5515fc435ce4e09645f78cd61778ff4
4
- data.tar.gz: 6218a28da2d53bfbcad754b681bdba41e0f0513a18a77467e5feda5886f163ad
3
+ metadata.gz: 25c49a5256fef4e9fb0b564116bf16a4528480924262689284ee7364c055c817
4
+ data.tar.gz: 5e25b5de217c66fdb26a4bd82ec416584a748293a91b3f3177b4f65458fc21b6
5
5
  SHA512:
6
- metadata.gz: 398b25bee025dabd921c0647d2a4608c1d5928bde8372521b191cd74f250772b4fc9eb6af1aafb5f803f60d7f132781024032441aa2cdffd7e3c3bef517634ea
7
- data.tar.gz: baa6e651cdba3fb09604b49fbc40d7b867c9a1304f5bfc211b07c2dbc0dfff53cf2721eddb7172ba6ad56607ae9621f9d5006cfdbee73d379e477f0c7d73cf21
6
+ metadata.gz: 04d66e34bde9993f6b9bf33ecb6f4e78ad7db6f9e3ed472ed21612fcf22397e5809eadccc5b8869ed221ff8d7163e1bbdbd3a3f2a50877ed2ba57040299f99e6
7
+ data.tar.gz: 22b38f426286332b3c398742fa92275537589f589b074a16105e7888da674b1b24b6e171a383f29323de9ffa80d95653d9b26dad012fefa242d66517e3fb21eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.21.0 (2022-07-08)
4
+
5
+ * Regenerated from discovery document revision 20220706
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.20.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -651,46 +651,6 @@ module Google
651
651
  end
652
652
  end
653
653
 
654
- # Request message for uploading a file for a policy. Next ID: 5
655
- class GoogleChromePolicyV1UploadPolicyFileRequest
656
- include Google::Apis::Core::Hashable
657
-
658
- # Required. The fully qualified policy schema and field name this file is
659
- # uploaded for. This information will be used to validate the content type of
660
- # the file.
661
- # Corresponds to the JSON property `policyField`
662
- # @return [String]
663
- attr_accessor :policy_field
664
-
665
- def initialize(**args)
666
- update!(**args)
667
- end
668
-
669
- # Update properties of this object
670
- def update!(**args)
671
- @policy_field = args[:policy_field] if args.key?(:policy_field)
672
- end
673
- end
674
-
675
- # Response message for downloading an uploaded file. Next ID: 2
676
- class GoogleChromePolicyV1UploadPolicyFileResponse
677
- include Google::Apis::Core::Hashable
678
-
679
- # The uri for end user to download the file.
680
- # Corresponds to the JSON property `downloadUri`
681
- # @return [String]
682
- attr_accessor :download_uri
683
-
684
- def initialize(**args)
685
- update!(**args)
686
- end
687
-
688
- # Update properties of this object
689
- def update!(**args)
690
- @download_uri = args[:download_uri] if args.key?(:download_uri)
691
- end
692
- end
693
-
694
654
  # A generic empty message that you can re-use to avoid defining duplicated empty
695
655
  # messages in your APIs. A typical example is to use it as the request or the
696
656
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220627"
25
+ REVISION = "20220706"
26
26
  end
27
27
  end
28
28
  end
@@ -130,18 +130,6 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class GoogleChromePolicyV1UploadPolicyFileRequest
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
- class GoogleChromePolicyV1UploadPolicyFileResponse
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
133
  class GoogleProtobufEmpty
146
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
135
 
@@ -376,20 +364,6 @@ module Google
376
364
  end
377
365
  end
378
366
 
379
- class GoogleChromePolicyV1UploadPolicyFileRequest
380
- # @private
381
- class Representation < Google::Apis::Core::JsonRepresentation
382
- property :policy_field, as: 'policyField'
383
- end
384
- end
385
-
386
- class GoogleChromePolicyV1UploadPolicyFileResponse
387
- # @private
388
- class Representation < Google::Apis::Core::JsonRepresentation
389
- property :download_uri, as: 'downloadUri'
390
- end
391
- end
392
-
393
367
  class GoogleProtobufEmpty
394
368
  # @private
395
369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -235,50 +235,6 @@ module Google
235
235
  command.query['quotaUser'] = quota_user unless quota_user.nil?
236
236
  execute_or_queue_command(command, &block)
237
237
  end
238
-
239
- # Creates an enterprise file from the content provided by user. Returns a public
240
- # download url for end user.
241
- # @param [String] customer
242
- # Required. The customer for which the file upload will apply.
243
- # @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UploadPolicyFileRequest] google_chrome_policy_v1_upload_policy_file_request_object
244
- # @param [String] fields
245
- # Selector specifying which fields to include in a partial response.
246
- # @param [String] quota_user
247
- # Available to use for quota purposes for server-side applications. Can be any
248
- # arbitrary string assigned to a user, but should not exceed 40 characters.
249
- # @param [IO, String] upload_source
250
- # IO stream or filename containing content to upload
251
- # @param [String] content_type
252
- # Content type of the uploaded content.
253
- # @param [Google::Apis::RequestOptions] options
254
- # Request-specific options
255
- #
256
- # @yield [result, err] Result & error if block supplied
257
- # @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UploadPolicyFileResponse] parsed result object
258
- # @yieldparam err [StandardError] error object if request failed
259
- #
260
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UploadPolicyFileResponse]
261
- #
262
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
263
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
264
- # @raise [Google::Apis::AuthorizationError] Authorization is required
265
- def upload_medium(customer, google_chrome_policy_v1_upload_policy_file_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
266
- if upload_source.nil?
267
- command = make_simple_command(:post, 'v1/{+customer}/policies/files:uploadPolicyFile', options)
268
- else
269
- command = make_upload_command(:post, 'v1/{+customer}/policies/files:uploadPolicyFile', options)
270
- command.upload_source = upload_source
271
- command.upload_content_type = content_type
272
- end
273
- command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UploadPolicyFileRequest::Representation
274
- command.request_object = google_chrome_policy_v1_upload_policy_file_request_object
275
- command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UploadPolicyFileResponse::Representation
276
- command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UploadPolicyFileResponse
277
- command.params['customer'] = customer unless customer.nil?
278
- command.query['fields'] = fields unless fields.nil?
279
- command.query['quotaUser'] = quota_user unless quota_user.nil?
280
- execute_or_queue_command(command, &block)
281
- end
282
238
 
283
239
  protected
284
240
 
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.20.0
4
+ version: 0.21.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-11 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/main/generated/google-apis-chromepolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.21.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: []