@@ -5789,6 +5789,226 @@ public CountChromeHardwareFleetDevices set(String parameterName, Object value) {
57895789 return (CountChromeHardwareFleetDevices ) super .set (parameterName , value );
57905790 }
57915791 }
5792+ /**
5793+ * Generate report of installed Chrome versions on managed profiles.
5794+ *
5795+ * Create a request for the method "reports.countChromeProfileVersions".
5796+ *
5797+ * This request holds the parameters needed by the chromemanagement server. After setting any
5798+ * optional parameters, call the {@link CountChromeProfileVersions#execute()} method to invoke the
5799+ * remote operation.
5800+ *
5801+ * @param customer Required. Customer id or "my_customer" to use the customer associated to the account making the
5802+ * request.
5803+ * @return the request
5804+ */
5805+ public CountChromeProfileVersions countChromeProfileVersions (java .lang .String customer ) throws java .io .IOException {
5806+ CountChromeProfileVersions result = new CountChromeProfileVersions (customer );
5807+ initialize (result );
5808+ return result ;
5809+ }
5810+
5811+ public class CountChromeProfileVersions extends ChromeManagementRequest <com .google .api .services .chromemanagement .v1 .model .GoogleChromeManagementV1CountChromeProfileVersionsResponse > {
5812+
5813+ private static final String REST_PATH = "v1/{+customer}/reports:countChromeProfileVersions" ;
5814+
5815+ private final java .util .regex .Pattern CUSTOMER_PATTERN =
5816+ java .util .regex .Pattern .compile ("^customers/[^/]+$" );
5817+
5818+ /**
5819+ * Generate report of installed Chrome versions on managed profiles.
5820+ *
5821+ * Create a request for the method "reports.countChromeProfileVersions".
5822+ *
5823+ * This request holds the parameters needed by the the chromemanagement server. After setting any
5824+ * optional parameters, call the {@link CountChromeProfileVersions#execute()} method to invoke the
5825+ * remote operation. <p> {@link CountChromeProfileVersions#initialize(com.google.api.client.google
5826+ * apis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
5827+ * immediately after invoking the constructor. </p>
5828+ *
5829+ * @param customer Required. Customer id or "my_customer" to use the customer associated to the account making the
5830+ * request.
5831+ * @since 1.13
5832+ */
5833+ protected CountChromeProfileVersions (java .lang .String customer ) {
5834+ super (ChromeManagement .this , "GET" , REST_PATH , null , com .google .api .services .chromemanagement .v1 .model .GoogleChromeManagementV1CountChromeProfileVersionsResponse .class );
5835+ this .customer = com .google .api .client .util .Preconditions .checkNotNull (customer , "Required parameter customer must be specified." );
5836+ if (!getSuppressPatternChecks ()) {
5837+ com .google .api .client .util .Preconditions .checkArgument (CUSTOMER_PATTERN .matcher (customer ).matches (),
5838+ "Parameter customer must conform to the pattern " +
5839+ "^customers/[^/]+$" );
5840+ }
5841+ }
5842+
5843+ @ Override
5844+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
5845+ return super .executeUsingHead ();
5846+ }
5847+
5848+ @ Override
5849+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
5850+ return super .buildHttpRequestUsingHead ();
5851+ }
5852+
5853+ @ Override
5854+ public CountChromeProfileVersions set$Xgafv (java .lang .String $Xgafv ) {
5855+ return (CountChromeProfileVersions ) super .set$Xgafv ($Xgafv );
5856+ }
5857+
5858+ @ Override
5859+ public CountChromeProfileVersions setAccessToken (java .lang .String accessToken ) {
5860+ return (CountChromeProfileVersions ) super .setAccessToken (accessToken );
5861+ }
5862+
5863+ @ Override
5864+ public CountChromeProfileVersions setAlt (java .lang .String alt ) {
5865+ return (CountChromeProfileVersions ) super .setAlt (alt );
5866+ }
5867+
5868+ @ Override
5869+ public CountChromeProfileVersions setCallback (java .lang .String callback ) {
5870+ return (CountChromeProfileVersions ) super .setCallback (callback );
5871+ }
5872+
5873+ @ Override
5874+ public CountChromeProfileVersions setFields (java .lang .String fields ) {
5875+ return (CountChromeProfileVersions ) super .setFields (fields );
5876+ }
5877+
5878+ @ Override
5879+ public CountChromeProfileVersions setKey (java .lang .String key ) {
5880+ return (CountChromeProfileVersions ) super .setKey (key );
5881+ }
5882+
5883+ @ Override
5884+ public CountChromeProfileVersions setOauthToken (java .lang .String oauthToken ) {
5885+ return (CountChromeProfileVersions ) super .setOauthToken (oauthToken );
5886+ }
5887+
5888+ @ Override
5889+ public CountChromeProfileVersions setPrettyPrint (java .lang .Boolean prettyPrint ) {
5890+ return (CountChromeProfileVersions ) super .setPrettyPrint (prettyPrint );
5891+ }
5892+
5893+ @ Override
5894+ public CountChromeProfileVersions setQuotaUser (java .lang .String quotaUser ) {
5895+ return (CountChromeProfileVersions ) super .setQuotaUser (quotaUser );
5896+ }
5897+
5898+ @ Override
5899+ public CountChromeProfileVersions setUploadType (java .lang .String uploadType ) {
5900+ return (CountChromeProfileVersions ) super .setUploadType (uploadType );
5901+ }
5902+
5903+ @ Override
5904+ public CountChromeProfileVersions setUploadProtocol (java .lang .String uploadProtocol ) {
5905+ return (CountChromeProfileVersions ) super .setUploadProtocol (uploadProtocol );
5906+ }
5907+
5908+ /**
5909+ * Required. Customer id or "my_customer" to use the customer associated to the account
5910+ * making the request.
5911+ */
5912+ @ com .google .api .client .util .Key
5913+ private java .lang .String customer ;
5914+
5915+ /** Required. Customer id or "my_customer" to use the customer associated to the account making the
5916+ request.
5917+ */
5918+ public java .lang .String getCustomer () {
5919+ return customer ;
5920+ }
5921+
5922+ /**
5923+ * Required. Customer id or "my_customer" to use the customer associated to the account
5924+ * making the request.
5925+ */
5926+ public CountChromeProfileVersions setCustomer (java .lang .String customer ) {
5927+ if (!getSuppressPatternChecks ()) {
5928+ com .google .api .client .util .Preconditions .checkArgument (CUSTOMER_PATTERN .matcher (customer ).matches (),
5929+ "Parameter customer must conform to the pattern " +
5930+ "^customers/[^/]+$" );
5931+ }
5932+ this .customer = customer ;
5933+ return this ;
5934+ }
5935+
5936+ /**
5937+ * Optional. Query string to filter results, AND-separated fields in EBNF syntax. Note: OR
5938+ * operations are not supported in this filter. Supported filter fields: * last_active_date
5939+ */
5940+ @ com .google .api .client .util .Key
5941+ private java .lang .String filter ;
5942+
5943+ /** Optional. Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations
5944+ are not supported in this filter. Supported filter fields: * last_active_date
5945+ */
5946+ public java .lang .String getFilter () {
5947+ return filter ;
5948+ }
5949+
5950+ /**
5951+ * Optional. Query string to filter results, AND-separated fields in EBNF syntax. Note: OR
5952+ * operations are not supported in this filter. Supported filter fields: * last_active_date
5953+ */
5954+ public CountChromeProfileVersions setFilter (java .lang .String filter ) {
5955+ this .filter = filter ;
5956+ return this ;
5957+ }
5958+
5959+ /** The ID of the organizational unit. If omitted, all data will be returned. */
5960+ @ com .google .api .client .util .Key
5961+ private java .lang .String orgUnitId ;
5962+
5963+ /** The ID of the organizational unit. If omitted, all data will be returned.
5964+ */
5965+ public java .lang .String getOrgUnitId () {
5966+ return orgUnitId ;
5967+ }
5968+
5969+ /** The ID of the organizational unit. If omitted, all data will be returned. */
5970+ public CountChromeProfileVersions setOrgUnitId (java .lang .String orgUnitId ) {
5971+ this .orgUnitId = orgUnitId ;
5972+ return this ;
5973+ }
5974+
5975+ /** Optional. Maximum number of results to return. Maximum and default are 100. */
5976+ @ com .google .api .client .util .Key
5977+ private java .lang .Integer pageSize ;
5978+
5979+ /** Optional. Maximum number of results to return. Maximum and default are 100.
5980+ */
5981+ public java .lang .Integer getPageSize () {
5982+ return pageSize ;
5983+ }
5984+
5985+ /** Optional. Maximum number of results to return. Maximum and default are 100. */
5986+ public CountChromeProfileVersions setPageSize (java .lang .Integer pageSize ) {
5987+ this .pageSize = pageSize ;
5988+ return this ;
5989+ }
5990+
5991+ /** Optional. Token to specify the page of the request to be returned. */
5992+ @ com .google .api .client .util .Key
5993+ private java .lang .String pageToken ;
5994+
5995+ /** Optional. Token to specify the page of the request to be returned.
5996+ */
5997+ public java .lang .String getPageToken () {
5998+ return pageToken ;
5999+ }
6000+
6001+ /** Optional. Token to specify the page of the request to be returned. */
6002+ public CountChromeProfileVersions setPageToken (java .lang .String pageToken ) {
6003+ this .pageToken = pageToken ;
6004+ return this ;
6005+ }
6006+
6007+ @ Override
6008+ public CountChromeProfileVersions set (String parameterName , Object value ) {
6009+ return (CountChromeProfileVersions ) super .set (parameterName , value );
6010+ }
6011+ }
57926012 /**
57936013 * Generate report of installed Chrome versions.
57946014 *
0 commit comments