google-apis-chromemanagement_v1 0.33.0 → 0.35.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +38 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +17 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +37 -2
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 1760d71c3de348f135c9773ae1544ab9a9629ebfb81f6c1608074eea1f7c634a
         | 
| 4 | 
            +
              data.tar.gz: b03aae5a9d491ff4d2607e1aef344fba3cbea2ae82d786c1cc027044a2725dc8
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4b756386e45bfff0ea20ce637744ad7135999e7d8d250754499c93a9a9eed6f6d45514276fccf8731b9db889a1cc2f196b5457d51a3018c80ffa449da520554b
         | 
| 7 | 
            +
              data.tar.gz: e3abc72ca762a4205170f2a79135445e5765f1d10d62253d76d9bce3b9705186a2394ad4b35451a322fb6f59aa54a699bff360d4269c0d7d507ae4036dfe66ab
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Release history for google-apis-chromemanagement_v1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.35.0 (2023-02-12)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20230209
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.34.0 (2023-02-05)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20230202
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ### v0.33.0 (2023-01-29)
         | 
| 4 12 |  | 
| 5 13 | 
             
            * Regenerated from discovery document revision 20230127
         | 
| @@ -789,6 +789,37 @@ module Google | |
| 789 789 | 
             
                    end
         | 
| 790 790 | 
             
                  end
         | 
| 791 791 |  | 
| 792 | 
            +
                  # Response containing counts for browsers that need attention.
         | 
| 793 | 
            +
                  class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
         | 
| 794 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 795 | 
            +
                  
         | 
| 796 | 
            +
                    # Number of browsers that haven’t had any recent activity
         | 
| 797 | 
            +
                    # Corresponds to the JSON property `noRecentActivityCount`
         | 
| 798 | 
            +
                    # @return [Fixnum]
         | 
| 799 | 
            +
                    attr_accessor :no_recent_activity_count
         | 
| 800 | 
            +
                  
         | 
| 801 | 
            +
                    # Number of browsers that are pending an OS update
         | 
| 802 | 
            +
                    # Corresponds to the JSON property `pendingBrowserUpdateCount`
         | 
| 803 | 
            +
                    # @return [Fixnum]
         | 
| 804 | 
            +
                    attr_accessor :pending_browser_update_count
         | 
| 805 | 
            +
                  
         | 
| 806 | 
            +
                    # Number of browsers that have been recently enrolled
         | 
| 807 | 
            +
                    # Corresponds to the JSON property `recentlyEnrolledCount`
         | 
| 808 | 
            +
                    # @return [Fixnum]
         | 
| 809 | 
            +
                    attr_accessor :recently_enrolled_count
         | 
| 810 | 
            +
                  
         | 
| 811 | 
            +
                    def initialize(**args)
         | 
| 812 | 
            +
                       update!(**args)
         | 
| 813 | 
            +
                    end
         | 
| 814 | 
            +
                  
         | 
| 815 | 
            +
                    # Update properties of this object
         | 
| 816 | 
            +
                    def update!(**args)
         | 
| 817 | 
            +
                      @no_recent_activity_count = args[:no_recent_activity_count] if args.key?(:no_recent_activity_count)
         | 
| 818 | 
            +
                      @pending_browser_update_count = args[:pending_browser_update_count] if args.key?(:pending_browser_update_count)
         | 
| 819 | 
            +
                      @recently_enrolled_count = args[:recently_enrolled_count] if args.key?(:recently_enrolled_count)
         | 
| 820 | 
            +
                    end
         | 
| 821 | 
            +
                  end
         | 
| 822 | 
            +
                  
         | 
| 792 823 | 
             
                  # Response containing a list of devices expiring in each month of a selected
         | 
| 793 824 | 
             
                  # time frame. Counts are grouped by model and Auto Update Expiration date.
         | 
| 794 825 | 
             
                  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
         | 
| @@ -2274,6 +2305,12 @@ module Google | |
| 2274 2305 | 
             
                    # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus>]
         | 
| 2275 2306 | 
             
                    attr_accessor :os_update_status
         | 
| 2276 2307 |  | 
| 2308 | 
            +
                    # Output only. Peripherals reports collected periodically sorted in a decreasing
         | 
| 2309 | 
            +
                    # order of report_time.
         | 
| 2310 | 
            +
                    # Corresponds to the JSON property `peripheralsReport`
         | 
| 2311 | 
            +
                    # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport>]
         | 
| 2312 | 
            +
                    attr_accessor :peripherals_report
         | 
| 2313 | 
            +
                  
         | 
| 2277 2314 | 
             
                    # Output only. Device serial number. This value is the same as the Admin Console'
         | 
| 2278 2315 | 
             
                    # s Serial Number in the ChromeOS Devices tab.
         | 
| 2279 2316 | 
             
                    # Corresponds to the JSON property `serialNumber`
         | 
| @@ -2326,6 +2363,7 @@ module Google | |
| 2326 2363 | 
             
                      @network_status_report = args[:network_status_report] if args.key?(:network_status_report)
         | 
| 2327 2364 | 
             
                      @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
         | 
| 2328 2365 | 
             
                      @os_update_status = args[:os_update_status] if args.key?(:os_update_status)
         | 
| 2366 | 
            +
                      @peripherals_report = args[:peripherals_report] if args.key?(:peripherals_report)
         | 
| 2329 2367 | 
             
                      @serial_number = args[:serial_number] if args.key?(:serial_number)
         | 
| 2330 2368 | 
             
                      @storage_info = args[:storage_info] if args.key?(:storage_info)
         | 
| 2331 2369 | 
             
                      @storage_status_report = args[:storage_status_report] if args.key?(:storage_status_report)
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module ChromemanagementV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-chromemanagement_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.35.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.11.1"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20230209"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -106,6 +106,12 @@ module Google | |
| 106 106 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 107 107 | 
             
                  end
         | 
| 108 108 |  | 
| 109 | 
            +
                  class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
         | 
| 110 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 111 | 
            +
                  
         | 
| 112 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 113 | 
            +
                  end
         | 
| 114 | 
            +
                  
         | 
| 109 115 | 
             
                  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
         | 
| 110 116 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 111 117 |  | 
| @@ -565,6 +571,15 @@ module Google | |
| 565 571 | 
             
                    end
         | 
| 566 572 | 
             
                  end
         | 
| 567 573 |  | 
| 574 | 
            +
                  class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
         | 
| 575 | 
            +
                    # @private
         | 
| 576 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 577 | 
            +
                      property :no_recent_activity_count, :numeric_string => true, as: 'noRecentActivityCount'
         | 
| 578 | 
            +
                      property :pending_browser_update_count, :numeric_string => true, as: 'pendingBrowserUpdateCount'
         | 
| 579 | 
            +
                      property :recently_enrolled_count, :numeric_string => true, as: 'recentlyEnrolledCount'
         | 
| 580 | 
            +
                    end
         | 
| 581 | 
            +
                  end
         | 
| 582 | 
            +
                  
         | 
| 568 583 | 
             
                  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
         | 
| 569 584 | 
             
                    # @private
         | 
| 570 585 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -952,6 +967,8 @@ module Google | |
| 952 967 | 
             
                      property :org_unit_id, as: 'orgUnitId'
         | 
| 953 968 | 
             
                      collection :os_update_status, as: 'osUpdateStatus', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus::Representation
         | 
| 954 969 |  | 
| 970 | 
            +
                      collection :peripherals_report, as: 'peripheralsReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport::Representation
         | 
| 971 | 
            +
                  
         | 
| 955 972 | 
             
                      property :serial_number, as: 'serialNumber'
         | 
| 956 973 | 
             
                      property :storage_info, as: 'storageInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo::Representation
         | 
| 957 974 |  | 
| @@ -198,6 +198,41 @@ module Google | |
| 198 198 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 199 199 | 
             
                    end
         | 
| 200 200 |  | 
| 201 | 
            +
                    # Count of Chrome Browsers that have been recently enrolled, have new policy to
         | 
| 202 | 
            +
                    # be synced, or have no recent activity.
         | 
| 203 | 
            +
                    # @param [String] customer
         | 
| 204 | 
            +
                    #   Required. The customer ID or "my_customer" prefixed with "customers/".
         | 
| 205 | 
            +
                    # @param [String] org_unit_id
         | 
| 206 | 
            +
                    #   Optional. The ID of the organizational unit. If omitted, all data will be
         | 
| 207 | 
            +
                    #   returned.
         | 
| 208 | 
            +
                    # @param [String] fields
         | 
| 209 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 210 | 
            +
                    # @param [String] quota_user
         | 
| 211 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 212 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 213 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 214 | 
            +
                    #   Request-specific options
         | 
| 215 | 
            +
                    #
         | 
| 216 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 217 | 
            +
                    # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse] parsed result object
         | 
| 218 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 219 | 
            +
                    #
         | 
| 220 | 
            +
                    # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse]
         | 
| 221 | 
            +
                    #
         | 
| 222 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 223 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 224 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 225 | 
            +
                    def count_customer_report_chrome_browsers_needing_attention(customer, org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 226 | 
            +
                      command = make_simple_command(:get, 'v1/{+customer}/reports:countChromeBrowsersNeedingAttention', options)
         | 
| 227 | 
            +
                      command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse::Representation
         | 
| 228 | 
            +
                      command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
         | 
| 229 | 
            +
                      command.params['customer'] = customer unless customer.nil?
         | 
| 230 | 
            +
                      command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
         | 
| 231 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 232 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 233 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 234 | 
            +
                    end
         | 
| 235 | 
            +
                    
         | 
| 201 236 | 
             
                    # Generate report of the number of devices expiring in each month of the
         | 
| 202 237 | 
             
                    # selected time frame. Devices are grouped by auto update expiration date and
         | 
| 203 238 | 
             
                    # model. Further information can be found [here](https://support.google.com/
         | 
| @@ -377,10 +412,10 @@ module Google | |
| 377 412 | 
             
                    #   Query string to filter results, AND-separated fields in EBNF syntax. Note: OR
         | 
| 378 413 | 
             
                    #   operations are not supported in this filter. Supported filter fields: *
         | 
| 379 414 | 
             
                    #   app_name * app_type * install_type * number_of_permissions *
         | 
| 380 | 
            -
                    #   total_install_count * latest_profile_active_date * permission_name
         | 
| 415 | 
            +
                    #   total_install_count * latest_profile_active_date * permission_name * app_id
         | 
| 381 416 | 
             
                    # @param [String] order_by
         | 
| 382 417 | 
             
                    #   Field used to order results. Supported order by fields: * app_name * app_type *
         | 
| 383 | 
            -
                    #   install_type * number_of_permissions * total_install_count
         | 
| 418 | 
            +
                    #   install_type * number_of_permissions * total_install_count * app_id
         | 
| 384 419 | 
             
                    # @param [String] org_unit_id
         | 
| 385 420 | 
             
                    #   The ID of the organizational unit.
         | 
| 386 421 | 
             
                    # @param [Fixnum] page_size
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-chromemanagement_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.35.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: 2023- | 
| 11 | 
            +
            date: 2023-02-12 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-chromemanagement_v1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.35.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |