com.google.api.services.meet.v2.model.Recording 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.meet.v2.model;
/**
* Metadata about a recording created during a conference.
*
* 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 Google Meet 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 Recording extends com.google.api.client.json.GenericJson {
/**
* Output only. Recording is saved to Google Drive as an MP4 file. The `drive_destination`
* includes the Drive `fileId` that can be used to download the file using the `files.get` method
* of the Drive API.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DriveDestination driveDestination;
/**
* Output only. Timestamp when the recording ended.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endTime;
/**
* Output only. Resource name of the recording. Format:
* `conferenceRecords/{conference_record}/recordings/{recording}` where `{recording}` is a 1:1
* mapping to each unique recording session during the conference.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Output only. Timestamp when the recording started.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String startTime;
/**
* Output only. Current state.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String state;
/**
* Output only. Recording is saved to Google Drive as an MP4 file. The `drive_destination`
* includes the Drive `fileId` that can be used to download the file using the `files.get` method
* of the Drive API.
* @return value or {@code null} for none
*/
public DriveDestination getDriveDestination() {
return driveDestination;
}
/**
* Output only. Recording is saved to Google Drive as an MP4 file. The `drive_destination`
* includes the Drive `fileId` that can be used to download the file using the `files.get` method
* of the Drive API.
* @param driveDestination driveDestination or {@code null} for none
*/
public Recording setDriveDestination(DriveDestination driveDestination) {
this.driveDestination = driveDestination;
return this;
}
/**
* Output only. Timestamp when the recording ended.
* @return value or {@code null} for none
*/
public String getEndTime() {
return endTime;
}
/**
* Output only. Timestamp when the recording ended.
* @param endTime endTime or {@code null} for none
*/
public Recording setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* Output only. Resource name of the recording. Format:
* `conferenceRecords/{conference_record}/recordings/{recording}` where `{recording}` is a 1:1
* mapping to each unique recording session during the conference.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. Resource name of the recording. Format:
* `conferenceRecords/{conference_record}/recordings/{recording}` where `{recording}` is a 1:1
* mapping to each unique recording session during the conference.
* @param name name or {@code null} for none
*/
public Recording setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Output only. Timestamp when the recording started.
* @return value or {@code null} for none
*/
public String getStartTime() {
return startTime;
}
/**
* Output only. Timestamp when the recording started.
* @param startTime startTime or {@code null} for none
*/
public Recording setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
/**
* Output only. Current state.
* @return value or {@code null} for none
*/
public java.lang.String getState() {
return state;
}
/**
* Output only. Current state.
* @param state state or {@code null} for none
*/
public Recording setState(java.lang.String state) {
this.state = state;
return this;
}
@Override
public Recording set(String fieldName, Object value) {
return (Recording) super.set(fieldName, value);
}
@Override
public Recording clone() {
return (Recording) super.clone();
}
}