com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.chromemanagement.v1.model;
/**
* Describes the ChromeOS user session that a `CertificateProvisioningProcess` belongs to.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Chrome Management API. For a detailed explanation
* see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession extends com.google.api.client.json.GenericJson {
/**
* Output only. This field contains information about the ChromeOS device that the user session is
* running on. It is only set if the user session is affiliated, i.e. if the user is managed by
* the same organization that managed the ChromeOS device.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleChromeManagementVersionsV1alpha1ChromeOsDevice chromeOsDevice;
/**
* Output only. The unique Directory API ID of the user.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String userDirectoryApiId;
/**
* Output only. The primary e-mail address of the user.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String userPrimaryEmail;
/**
* Output only. This field contains information about the ChromeOS device that the user session is
* running on. It is only set if the user session is affiliated, i.e. if the user is managed by
* the same organization that managed the ChromeOS device.
* @return value or {@code null} for none
*/
public GoogleChromeManagementVersionsV1alpha1ChromeOsDevice getChromeOsDevice() {
return chromeOsDevice;
}
/**
* Output only. This field contains information about the ChromeOS device that the user session is
* running on. It is only set if the user session is affiliated, i.e. if the user is managed by
* the same organization that managed the ChromeOS device.
* @param chromeOsDevice chromeOsDevice or {@code null} for none
*/
public GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession setChromeOsDevice(GoogleChromeManagementVersionsV1alpha1ChromeOsDevice chromeOsDevice) {
this.chromeOsDevice = chromeOsDevice;
return this;
}
/**
* Output only. The unique Directory API ID of the user.
* @return value or {@code null} for none
*/
public java.lang.String getUserDirectoryApiId() {
return userDirectoryApiId;
}
/**
* Output only. The unique Directory API ID of the user.
* @param userDirectoryApiId userDirectoryApiId or {@code null} for none
*/
public GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession setUserDirectoryApiId(java.lang.String userDirectoryApiId) {
this.userDirectoryApiId = userDirectoryApiId;
return this;
}
/**
* Output only. The primary e-mail address of the user.
* @return value or {@code null} for none
*/
public java.lang.String getUserPrimaryEmail() {
return userPrimaryEmail;
}
/**
* Output only. The primary e-mail address of the user.
* @param userPrimaryEmail userPrimaryEmail or {@code null} for none
*/
public GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession setUserPrimaryEmail(java.lang.String userPrimaryEmail) {
this.userPrimaryEmail = userPrimaryEmail;
return this;
}
@Override
public GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession set(String fieldName, Object value) {
return (GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession) super.set(fieldName, value);
}
@Override
public GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession clone() {
return (GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy