| GitHub Repository | Product Reference |
Service Description: REST API for services dealing with conference records.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ConferenceRecordName name = ConferenceRecordName.of("[CONFERENCE_RECORD]");
ConferenceRecord response = conferenceRecordsServiceClient.getConferenceRecord(name);
}
Note: close() needs to be called on the ConferenceRecordsServiceClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
| Method | Description | Method Variants |
|---|---|---|
GetConferenceRecord |
Gets a conference record by conference ID. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
ListConferenceRecords |
Lists the conference records. By default, ordered by start time and in descending order. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
GetParticipant |
Gets a participant by participant ID. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
ListParticipants |
Lists the participants in a conference record. By default, ordered by join time and in descending order. This API supports |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
GetParticipantSession |
Gets a participant session by participant session ID. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
ListParticipantSessions |
Lists the participant sessions of a participant in a conference record. By default, ordered by join time and in descending order. This API supports |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
GetRecording |
Gets a recording by recording ID. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
ListRecordings |
Lists the recording resources from the conference record. By default, ordered by start time and in ascending order. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
GetTranscript |
Gets a transcript by transcript ID. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
ListTranscripts |
Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
GetTranscriptEntry |
Gets a Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
ListTranscriptEntries |
Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order. Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation. |
Request object method variants only take one parameter, a request object, which must be constructed before the call.
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
|
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of ConferenceRecordsServiceSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ConferenceRecordsServiceSettings conferenceRecordsServiceSettings =
ConferenceRecordsServiceSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create(conferenceRecordsServiceSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ConferenceRecordsServiceSettings conferenceRecordsServiceSettings =
ConferenceRecordsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create(conferenceRecordsServiceSettings);
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ConferenceRecordsServiceSettings conferenceRecordsServiceSettings =
ConferenceRecordsServiceSettings.newHttpJsonBuilder().build();
ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create(conferenceRecordsServiceSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
Static Methods
create()
public static final ConferenceRecordsServiceClient create()Constructs an instance of ConferenceRecordsServiceClient with default settings.
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
create(ConferenceRecordsServiceSettings settings)
public static final ConferenceRecordsServiceClient create(ConferenceRecordsServiceSettings settings)Constructs an instance of ConferenceRecordsServiceClient, using the given settings. The channels are created based on the settings passed in, or defaults for any settings that are not set.
| Parameter | |
|---|---|
| Name | Description |
settings |
ConferenceRecordsServiceSettings |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
create(ConferenceRecordsServiceStub stub)
public static final ConferenceRecordsServiceClient create(ConferenceRecordsServiceStub stub)Constructs an instance of ConferenceRecordsServiceClient, using the given stub for making calls. This is for advanced usage - prefer using create(ConferenceRecordsServiceSettings).
| Parameter | |
|---|---|
| Name | Description |
stub |
ConferenceRecordsServiceStub |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient |
|
Constructors
ConferenceRecordsServiceClient(ConferenceRecordsServiceSettings settings)
protected ConferenceRecordsServiceClient(ConferenceRecordsServiceSettings settings)Constructs an instance of ConferenceRecordsServiceClient, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
| Parameter | |
|---|---|
| Name | Description |
settings |
ConferenceRecordsServiceSettings |
ConferenceRecordsServiceClient(ConferenceRecordsServiceStub stub)
protected ConferenceRecordsServiceClient(ConferenceRecordsServiceStub stub)| Parameter | |
|---|---|
| Name | Description |
stub |
ConferenceRecordsServiceStub |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)| Parameters | |
|---|---|
| Name | Description |
duration |
long |
unit |
TimeUnit |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
| Exceptions | |
|---|---|
| Type | Description |
InterruptedException |
|
close()
public final void close()getConferenceRecord(ConferenceRecordName name)
public final ConferenceRecord getConferenceRecord(ConferenceRecordName name)Gets a conference record by conference ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ConferenceRecordName name = ConferenceRecordName.of("[CONFERENCE_RECORD]");
ConferenceRecord response = conferenceRecordsServiceClient.getConferenceRecord(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
ConferenceRecordNameRequired. Resource name of the conference. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecord |
|
getConferenceRecord(GetConferenceRecordRequest request)
public final ConferenceRecord getConferenceRecord(GetConferenceRecordRequest request)Gets a conference record by conference ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetConferenceRecordRequest request =
GetConferenceRecordRequest.newBuilder()
.setName(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.build();
ConferenceRecord response = conferenceRecordsServiceClient.getConferenceRecord(request);
}
| Parameter | |
|---|---|
| Name | Description |
request |
GetConferenceRecordRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecord |
|
getConferenceRecord(String name)
public final ConferenceRecord getConferenceRecord(String name)Gets a conference record by conference ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String name = ConferenceRecordName.of("[CONFERENCE_RECORD]").toString();
ConferenceRecord response = conferenceRecordsServiceClient.getConferenceRecord(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
StringRequired. Resource name of the conference. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecord |
|
getConferenceRecordCallable()
public final UnaryCallable<GetConferenceRecordRequest,ConferenceRecord> getConferenceRecordCallable()Gets a conference record by conference ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetConferenceRecordRequest request =
GetConferenceRecordRequest.newBuilder()
.setName(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.build();
ApiFuture<ConferenceRecord> future =
conferenceRecordsServiceClient.getConferenceRecordCallable().futureCall(request);
// Do something.
ConferenceRecord response = future.get();
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<GetConferenceRecordRequest,ConferenceRecord> |
|
getParticipant(GetParticipantRequest request)
public final Participant getParticipant(GetParticipantRequest request)Gets a participant by participant ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetParticipantRequest request =
GetParticipantRequest.newBuilder()
.setName(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
.build();
Participant response = conferenceRecordsServiceClient.getParticipant(request);
}
| Parameter | |
|---|---|
| Name | Description |
request |
GetParticipantRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
Participant |
|
getParticipant(ParticipantName name)
public final Participant getParticipant(ParticipantName name)Gets a participant by participant ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ParticipantName name = ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]");
Participant response = conferenceRecordsServiceClient.getParticipant(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
ParticipantNameRequired. Resource name of the participant. |
| Returns | |
|---|---|
| Type | Description |
Participant |
|
getParticipant(String name)
public final Participant getParticipant(String name)Gets a participant by participant ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String name = ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString();
Participant response = conferenceRecordsServiceClient.getParticipant(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
StringRequired. Resource name of the participant. |
| Returns | |
|---|---|
| Type | Description |
Participant |
|
getParticipantCallable()
public final UnaryCallable<GetParticipantRequest,Participant> getParticipantCallable()Gets a participant by participant ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetParticipantRequest request =
GetParticipantRequest.newBuilder()
.setName(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
.build();
ApiFuture<Participant> future =
conferenceRecordsServiceClient.getParticipantCallable().futureCall(request);
// Do something.
Participant response = future.get();
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<GetParticipantRequest,Participant> |
|
getParticipantSession(GetParticipantSessionRequest request)
public final ParticipantSession getParticipantSession(GetParticipantSessionRequest request)Gets a participant session by participant session ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetParticipantSessionRequest request =
GetParticipantSessionRequest.newBuilder()
.setName(
ParticipantSessionName.of(
"[CONFERENCE_RECORD]", "[PARTICIPANT]", "[PARTICIPANT_SESSION]")
.toString())
.build();
ParticipantSession response = conferenceRecordsServiceClient.getParticipantSession(request);
}
| Parameter | |
|---|---|
| Name | Description |
request |
GetParticipantSessionRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
ParticipantSession |
|
getParticipantSession(ParticipantSessionName name)
public final ParticipantSession getParticipantSession(ParticipantSessionName name)Gets a participant session by participant session ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ParticipantSessionName name =
ParticipantSessionName.of(
"[CONFERENCE_RECORD]", "[PARTICIPANT]", "[PARTICIPANT_SESSION]");
ParticipantSession response = conferenceRecordsServiceClient.getParticipantSession(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
ParticipantSessionNameRequired. Resource name of the participant. |
| Returns | |
|---|---|
| Type | Description |
ParticipantSession |
|
getParticipantSession(String name)
public final ParticipantSession getParticipantSession(String name)Gets a participant session by participant session ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String name =
ParticipantSessionName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]", "[PARTICIPANT_SESSION]")
.toString();
ParticipantSession response = conferenceRecordsServiceClient.getParticipantSession(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
StringRequired. Resource name of the participant. |
| Returns | |
|---|---|
| Type | Description |
ParticipantSession |
|
getParticipantSessionCallable()
public final UnaryCallable<GetParticipantSessionRequest,ParticipantSession> getParticipantSessionCallable()Gets a participant session by participant session ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetParticipantSessionRequest request =
GetParticipantSessionRequest.newBuilder()
.setName(
ParticipantSessionName.of(
"[CONFERENCE_RECORD]", "[PARTICIPANT]", "[PARTICIPANT_SESSION]")
.toString())
.build();
ApiFuture<ParticipantSession> future =
conferenceRecordsServiceClient.getParticipantSessionCallable().futureCall(request);
// Do something.
ParticipantSession response = future.get();
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<GetParticipantSessionRequest,ParticipantSession> |
|
getRecording(GetRecordingRequest request)
public final Recording getRecording(GetRecordingRequest request)Gets a recording by recording ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetRecordingRequest request =
GetRecordingRequest.newBuilder()
.setName(RecordingName.of("[CONFERENCE_RECORD]", "[RECORDING]").toString())
.build();
Recording response = conferenceRecordsServiceClient.getRecording(request);
}
| Parameter | |
|---|---|
| Name | Description |
request |
GetRecordingRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
Recording |
|
getRecording(RecordingName name)
public final Recording getRecording(RecordingName name)Gets a recording by recording ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
RecordingName name = RecordingName.of("[CONFERENCE_RECORD]", "[RECORDING]");
Recording response = conferenceRecordsServiceClient.getRecording(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
RecordingNameRequired. Resource name of the recording. |
| Returns | |
|---|---|
| Type | Description |
Recording |
|
getRecording(String name)
public final Recording getRecording(String name)Gets a recording by recording ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String name = RecordingName.of("[CONFERENCE_RECORD]", "[RECORDING]").toString();
Recording response = conferenceRecordsServiceClient.getRecording(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
StringRequired. Resource name of the recording. |
| Returns | |
|---|---|
| Type | Description |
Recording |
|
getRecordingCallable()
public final UnaryCallable<GetRecordingRequest,Recording> getRecordingCallable()Gets a recording by recording ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetRecordingRequest request =
GetRecordingRequest.newBuilder()
.setName(RecordingName.of("[CONFERENCE_RECORD]", "[RECORDING]").toString())
.build();
ApiFuture<Recording> future =
conferenceRecordsServiceClient.getRecordingCallable().futureCall(request);
// Do something.
Recording response = future.get();
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<GetRecordingRequest,Recording> |
|
getSettings()
public final ConferenceRecordsServiceSettings getSettings()| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceSettings |
|
getStub()
public ConferenceRecordsServiceStub getStub()| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceStub |
|
getTranscript(GetTranscriptRequest request)
public final Transcript getTranscript(GetTranscriptRequest request)Gets a transcript by transcript ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetTranscriptRequest request =
GetTranscriptRequest.newBuilder()
.setName(TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString())
.build();
Transcript response = conferenceRecordsServiceClient.getTranscript(request);
}
| Parameter | |
|---|---|
| Name | Description |
request |
GetTranscriptRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
Transcript |
|
getTranscript(TranscriptName name)
public final Transcript getTranscript(TranscriptName name)Gets a transcript by transcript ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
TranscriptName name = TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]");
Transcript response = conferenceRecordsServiceClient.getTranscript(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
TranscriptNameRequired. Resource name of the transcript. |
| Returns | |
|---|---|
| Type | Description |
Transcript |
|
getTranscript(String name)
public final Transcript getTranscript(String name)Gets a transcript by transcript ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String name = TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString();
Transcript response = conferenceRecordsServiceClient.getTranscript(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
StringRequired. Resource name of the transcript. |
| Returns | |
|---|---|
| Type | Description |
Transcript |
|
getTranscriptCallable()
public final UnaryCallable<GetTranscriptRequest,Transcript> getTranscriptCallable()Gets a transcript by transcript ID.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetTranscriptRequest request =
GetTranscriptRequest.newBuilder()
.setName(TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString())
.build();
ApiFuture<Transcript> future =
conferenceRecordsServiceClient.getTranscriptCallable().futureCall(request);
// Do something.
Transcript response = future.get();
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<GetTranscriptRequest,Transcript> |
|
getTranscriptEntry(GetTranscriptEntryRequest request)
public final TranscriptEntry getTranscriptEntry(GetTranscriptEntryRequest request)Gets a TranscriptEntry resource by entry ID.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetTranscriptEntryRequest request =
GetTranscriptEntryRequest.newBuilder()
.setName(
TranscriptEntryName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]", "[ENTRY]")
.toString())
.build();
TranscriptEntry response = conferenceRecordsServiceClient.getTranscriptEntry(request);
}
| Parameter | |
|---|---|
| Name | Description |
request |
GetTranscriptEntryRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
TranscriptEntry |
|
getTranscriptEntry(TranscriptEntryName name)
public final TranscriptEntry getTranscriptEntry(TranscriptEntryName name)Gets a TranscriptEntry resource by entry ID.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
TranscriptEntryName name =
TranscriptEntryName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]", "[ENTRY]");
TranscriptEntry response = conferenceRecordsServiceClient.getTranscriptEntry(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
TranscriptEntryNameRequired. Resource name of the |
| Returns | |
|---|---|
| Type | Description |
TranscriptEntry |
|
getTranscriptEntry(String name)
public final TranscriptEntry getTranscriptEntry(String name)Gets a TranscriptEntry resource by entry ID.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String name =
TranscriptEntryName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]", "[ENTRY]").toString();
TranscriptEntry response = conferenceRecordsServiceClient.getTranscriptEntry(name);
}
| Parameter | |
|---|---|
| Name | Description |
name |
StringRequired. Resource name of the |
| Returns | |
|---|---|
| Type | Description |
TranscriptEntry |
|
getTranscriptEntryCallable()
public final UnaryCallable<GetTranscriptEntryRequest,TranscriptEntry> getTranscriptEntryCallable()Gets a TranscriptEntry resource by entry ID.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
GetTranscriptEntryRequest request =
GetTranscriptEntryRequest.newBuilder()
.setName(
TranscriptEntryName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]", "[ENTRY]")
.toString())
.build();
ApiFuture<TranscriptEntry> future =
conferenceRecordsServiceClient.getTranscriptEntryCallable().futureCall(request);
// Do something.
TranscriptEntry response = future.get();
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<GetTranscriptEntryRequest,TranscriptEntry> |
|
isShutdown()
public boolean isShutdown()| Returns | |
|---|---|
| Type | Description |
boolean |
|
isTerminated()
public boolean isTerminated()| Returns | |
|---|---|
| Type | Description |
boolean |
|
listConferenceRecords(ListConferenceRecordsRequest request)
public final ConferenceRecordsServiceClient.ListConferenceRecordsPagedResponse listConferenceRecords(ListConferenceRecordsRequest request)Lists the conference records. By default, ordered by start time and in descending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListConferenceRecordsRequest request =
ListConferenceRecordsRequest.newBuilder()
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
for (ConferenceRecord element :
conferenceRecordsServiceClient.listConferenceRecords(request).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
request |
ListConferenceRecordsRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListConferenceRecordsPagedResponse |
|
listConferenceRecordsCallable()
public final UnaryCallable<ListConferenceRecordsRequest,ListConferenceRecordsResponse> listConferenceRecordsCallable()Lists the conference records. By default, ordered by start time and in descending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListConferenceRecordsRequest request =
ListConferenceRecordsRequest.newBuilder()
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
while (true) {
ListConferenceRecordsResponse response =
conferenceRecordsServiceClient.listConferenceRecordsCallable().call(request);
for (ConferenceRecord element : response.getConferenceRecordsList()) {
// doThingsWith(element);
}
String nextPageToken = response.getNextPageToken();
if (!Strings.isNullOrEmpty(nextPageToken)) {
request = request.toBuilder().setPageToken(nextPageToken).build();
} else {
break;
}
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListConferenceRecordsRequest,ListConferenceRecordsResponse> |
|
listConferenceRecordsPagedCallable()
public final UnaryCallable<ListConferenceRecordsRequest,ConferenceRecordsServiceClient.ListConferenceRecordsPagedResponse> listConferenceRecordsPagedCallable()Lists the conference records. By default, ordered by start time and in descending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListConferenceRecordsRequest request =
ListConferenceRecordsRequest.newBuilder()
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
ApiFuture<ConferenceRecord> future =
conferenceRecordsServiceClient.listConferenceRecordsPagedCallable().futureCall(request);
// Do something.
for (ConferenceRecord element : future.get().iterateAll()) {
// doThingsWith(element);
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListConferenceRecordsRequest,ListConferenceRecordsPagedResponse> |
|
listParticipantSessions(ListParticipantSessionsRequest request)
public final ConferenceRecordsServiceClient.ListParticipantSessionsPagedResponse listParticipantSessions(ListParticipantSessionsRequest request)Lists the participant sessions of a participant in a conference record. By default, ordered by
join time and in descending order. This API supports fields as standard parameters like every
other API. However, when the fields request parameter is omitted this API defaults to
'participantsessions/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListParticipantSessionsRequest request =
ListParticipantSessionsRequest.newBuilder()
.setParent(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
for (ParticipantSession element :
conferenceRecordsServiceClient.listParticipantSessions(request).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
request |
ListParticipantSessionsRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListParticipantSessionsPagedResponse |
|
listParticipantSessions(ParticipantName parent)
public final ConferenceRecordsServiceClient.ListParticipantSessionsPagedResponse listParticipantSessions(ParticipantName parent)Lists the participant sessions of a participant in a conference record. By default, ordered by
join time and in descending order. This API supports fields as standard parameters like every
other API. However, when the fields request parameter is omitted this API defaults to
'participantsessions/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ParticipantName parent = ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]");
for (ParticipantSession element :
conferenceRecordsServiceClient.listParticipantSessions(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
ParticipantNameRequired. Format:
|
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListParticipantSessionsPagedResponse |
|
listParticipantSessions(String parent)
public final ConferenceRecordsServiceClient.ListParticipantSessionsPagedResponse listParticipantSessions(String parent)Lists the participant sessions of a participant in a conference record. By default, ordered by
join time and in descending order. This API supports fields as standard parameters like every
other API. However, when the fields request parameter is omitted this API defaults to
'participantsessions/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String parent = ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString();
for (ParticipantSession element :
conferenceRecordsServiceClient.listParticipantSessions(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
StringRequired. Format:
|
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListParticipantSessionsPagedResponse |
|
listParticipantSessionsCallable()
public final UnaryCallable<ListParticipantSessionsRequest,ListParticipantSessionsResponse> listParticipantSessionsCallable()Lists the participant sessions of a participant in a conference record. By default, ordered by
join time and in descending order. This API supports fields as standard parameters like every
other API. However, when the fields request parameter is omitted this API defaults to
'participantsessions/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListParticipantSessionsRequest request =
ListParticipantSessionsRequest.newBuilder()
.setParent(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
while (true) {
ListParticipantSessionsResponse response =
conferenceRecordsServiceClient.listParticipantSessionsCallable().call(request);
for (ParticipantSession element : response.getParticipantSessionsList()) {
// doThingsWith(element);
}
String nextPageToken = response.getNextPageToken();
if (!Strings.isNullOrEmpty(nextPageToken)) {
request = request.toBuilder().setPageToken(nextPageToken).build();
} else {
break;
}
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListParticipantSessionsRequest,ListParticipantSessionsResponse> |
|
listParticipantSessionsPagedCallable()
public final UnaryCallable<ListParticipantSessionsRequest,ConferenceRecordsServiceClient.ListParticipantSessionsPagedResponse> listParticipantSessionsPagedCallable()Lists the participant sessions of a participant in a conference record. By default, ordered by
join time and in descending order. This API supports fields as standard parameters like every
other API. However, when the fields request parameter is omitted this API defaults to
'participantsessions/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListParticipantSessionsRequest request =
ListParticipantSessionsRequest.newBuilder()
.setParent(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
ApiFuture<ParticipantSession> future =
conferenceRecordsServiceClient.listParticipantSessionsPagedCallable().futureCall(request);
// Do something.
for (ParticipantSession element : future.get().iterateAll()) {
// doThingsWith(element);
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListParticipantSessionsRequest,ListParticipantSessionsPagedResponse> |
|
listParticipants(ConferenceRecordName parent)
public final ConferenceRecordsServiceClient.ListParticipantsPagedResponse listParticipants(ConferenceRecordName parent)Lists the participants in a conference record. By default, ordered by join time and in
descending order. This API supports fields as standard parameters like every other API.
However, when the fields request parameter is omitted, this API defaults to
'participants/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ConferenceRecordName parent = ConferenceRecordName.of("[CONFERENCE_RECORD]");
for (Participant element :
conferenceRecordsServiceClient.listParticipants(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
ConferenceRecordNameRequired. Format: |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListParticipantsPagedResponse |
|
listParticipants(ListParticipantsRequest request)
public final ConferenceRecordsServiceClient.ListParticipantsPagedResponse listParticipants(ListParticipantsRequest request)Lists the participants in a conference record. By default, ordered by join time and in
descending order. This API supports fields as standard parameters like every other API.
However, when the fields request parameter is omitted, this API defaults to
'participants/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListParticipantsRequest request =
ListParticipantsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
for (Participant element :
conferenceRecordsServiceClient.listParticipants(request).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
request |
ListParticipantsRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListParticipantsPagedResponse |
|
listParticipants(String parent)
public final ConferenceRecordsServiceClient.ListParticipantsPagedResponse listParticipants(String parent)Lists the participants in a conference record. By default, ordered by join time and in
descending order. This API supports fields as standard parameters like every other API.
However, when the fields request parameter is omitted, this API defaults to
'participants/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String parent = ConferenceRecordName.of("[CONFERENCE_RECORD]").toString();
for (Participant element :
conferenceRecordsServiceClient.listParticipants(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
StringRequired. Format: |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListParticipantsPagedResponse |
|
listParticipantsCallable()
public final UnaryCallable<ListParticipantsRequest,ListParticipantsResponse> listParticipantsCallable()Lists the participants in a conference record. By default, ordered by join time and in
descending order. This API supports fields as standard parameters like every other API.
However, when the fields request parameter is omitted, this API defaults to
'participants/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListParticipantsRequest request =
ListParticipantsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
while (true) {
ListParticipantsResponse response =
conferenceRecordsServiceClient.listParticipantsCallable().call(request);
for (Participant element : response.getParticipantsList()) {
// doThingsWith(element);
}
String nextPageToken = response.getNextPageToken();
if (!Strings.isNullOrEmpty(nextPageToken)) {
request = request.toBuilder().setPageToken(nextPageToken).build();
} else {
break;
}
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListParticipantsRequest,ListParticipantsResponse> |
|
listParticipantsPagedCallable()
public final UnaryCallable<ListParticipantsRequest,ConferenceRecordsServiceClient.ListParticipantsPagedResponse> listParticipantsPagedCallable()Lists the participants in a conference record. By default, ordered by join time and in
descending order. This API supports fields as standard parameters like every other API.
However, when the fields request parameter is omitted, this API defaults to
'participants/*, next_page_token'.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListParticipantsRequest request =
ListParticipantsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.setFilter("filter-1274492040")
.build();
ApiFuture<Participant> future =
conferenceRecordsServiceClient.listParticipantsPagedCallable().futureCall(request);
// Do something.
for (Participant element : future.get().iterateAll()) {
// doThingsWith(element);
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListParticipantsRequest,ListParticipantsPagedResponse> |
|
listRecordings(ConferenceRecordName parent)
public final ConferenceRecordsServiceClient.ListRecordingsPagedResponse listRecordings(ConferenceRecordName parent)Lists the recording resources from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ConferenceRecordName parent = ConferenceRecordName.of("[CONFERENCE_RECORD]");
for (Recording element : conferenceRecordsServiceClient.listRecordings(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
ConferenceRecordNameRequired. Format: |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListRecordingsPagedResponse |
|
listRecordings(ListRecordingsRequest request)
public final ConferenceRecordsServiceClient.ListRecordingsPagedResponse listRecordings(ListRecordingsRequest request)Lists the recording resources from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListRecordingsRequest request =
ListRecordingsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
for (Recording element :
conferenceRecordsServiceClient.listRecordings(request).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
request |
ListRecordingsRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListRecordingsPagedResponse |
|
listRecordings(String parent)
public final ConferenceRecordsServiceClient.ListRecordingsPagedResponse listRecordings(String parent)Lists the recording resources from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String parent = ConferenceRecordName.of("[CONFERENCE_RECORD]").toString();
for (Recording element : conferenceRecordsServiceClient.listRecordings(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
StringRequired. Format: |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListRecordingsPagedResponse |
|
listRecordingsCallable()
public final UnaryCallable<ListRecordingsRequest,ListRecordingsResponse> listRecordingsCallable()Lists the recording resources from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListRecordingsRequest request =
ListRecordingsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
while (true) {
ListRecordingsResponse response =
conferenceRecordsServiceClient.listRecordingsCallable().call(request);
for (Recording element : response.getRecordingsList()) {
// doThingsWith(element);
}
String nextPageToken = response.getNextPageToken();
if (!Strings.isNullOrEmpty(nextPageToken)) {
request = request.toBuilder().setPageToken(nextPageToken).build();
} else {
break;
}
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListRecordingsRequest,ListRecordingsResponse> |
|
listRecordingsPagedCallable()
public final UnaryCallable<ListRecordingsRequest,ConferenceRecordsServiceClient.ListRecordingsPagedResponse> listRecordingsPagedCallable()Lists the recording resources from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListRecordingsRequest request =
ListRecordingsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
ApiFuture<Recording> future =
conferenceRecordsServiceClient.listRecordingsPagedCallable().futureCall(request);
// Do something.
for (Recording element : future.get().iterateAll()) {
// doThingsWith(element);
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListRecordingsRequest,ListRecordingsPagedResponse> |
|
listTranscriptEntries(ListTranscriptEntriesRequest request)
public final ConferenceRecordsServiceClient.ListTranscriptEntriesPagedResponse listTranscriptEntries(ListTranscriptEntriesRequest request)Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListTranscriptEntriesRequest request =
ListTranscriptEntriesRequest.newBuilder()
.setParent(TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
for (TranscriptEntry element :
conferenceRecordsServiceClient.listTranscriptEntries(request).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
request |
ListTranscriptEntriesRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListTranscriptEntriesPagedResponse |
|
listTranscriptEntries(TranscriptName parent)
public final ConferenceRecordsServiceClient.ListTranscriptEntriesPagedResponse listTranscriptEntries(TranscriptName parent)Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
TranscriptName parent = TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]");
for (TranscriptEntry element :
conferenceRecordsServiceClient.listTranscriptEntries(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
TranscriptNameRequired. Format:
|
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListTranscriptEntriesPagedResponse |
|
listTranscriptEntries(String parent)
public final ConferenceRecordsServiceClient.ListTranscriptEntriesPagedResponse listTranscriptEntries(String parent)Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String parent = TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString();
for (TranscriptEntry element :
conferenceRecordsServiceClient.listTranscriptEntries(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
StringRequired. Format:
|
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListTranscriptEntriesPagedResponse |
|
listTranscriptEntriesCallable()
public final UnaryCallable<ListTranscriptEntriesRequest,ListTranscriptEntriesResponse> listTranscriptEntriesCallable()Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListTranscriptEntriesRequest request =
ListTranscriptEntriesRequest.newBuilder()
.setParent(TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
while (true) {
ListTranscriptEntriesResponse response =
conferenceRecordsServiceClient.listTranscriptEntriesCallable().call(request);
for (TranscriptEntry element : response.getTranscriptEntriesList()) {
// doThingsWith(element);
}
String nextPageToken = response.getNextPageToken();
if (!Strings.isNullOrEmpty(nextPageToken)) {
request = request.toBuilder().setPageToken(nextPageToken).build();
} else {
break;
}
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListTranscriptEntriesRequest,ListTranscriptEntriesResponse> |
|
listTranscriptEntriesPagedCallable()
public final UnaryCallable<ListTranscriptEntriesRequest,ConferenceRecordsServiceClient.ListTranscriptEntriesPagedResponse> listTranscriptEntriesPagedCallable()Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order.
Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when the Google Docs transcript file is modified after generation.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListTranscriptEntriesRequest request =
ListTranscriptEntriesRequest.newBuilder()
.setParent(TranscriptName.of("[CONFERENCE_RECORD]", "[TRANSCRIPT]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
ApiFuture<TranscriptEntry> future =
conferenceRecordsServiceClient.listTranscriptEntriesPagedCallable().futureCall(request);
// Do something.
for (TranscriptEntry element : future.get().iterateAll()) {
// doThingsWith(element);
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListTranscriptEntriesRequest,ListTranscriptEntriesPagedResponse> |
|
listTranscripts(ConferenceRecordName parent)
public final ConferenceRecordsServiceClient.ListTranscriptsPagedResponse listTranscripts(ConferenceRecordName parent)Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ConferenceRecordName parent = ConferenceRecordName.of("[CONFERENCE_RECORD]");
for (Transcript element :
conferenceRecordsServiceClient.listTranscripts(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
ConferenceRecordNameRequired. Format: |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListTranscriptsPagedResponse |
|
listTranscripts(ListTranscriptsRequest request)
public final ConferenceRecordsServiceClient.ListTranscriptsPagedResponse listTranscripts(ListTranscriptsRequest request)Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListTranscriptsRequest request =
ListTranscriptsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
for (Transcript element :
conferenceRecordsServiceClient.listTranscripts(request).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
request |
ListTranscriptsRequestThe request object containing all of the parameters for the API call. |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListTranscriptsPagedResponse |
|
listTranscripts(String parent)
public final ConferenceRecordsServiceClient.ListTranscriptsPagedResponse listTranscripts(String parent)Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
String parent = ConferenceRecordName.of("[CONFERENCE_RECORD]").toString();
for (Transcript element :
conferenceRecordsServiceClient.listTranscripts(parent).iterateAll()) {
// doThingsWith(element);
}
}
| Parameter | |
|---|---|
| Name | Description |
parent |
StringRequired. Format: |
| Returns | |
|---|---|
| Type | Description |
ConferenceRecordsServiceClient.ListTranscriptsPagedResponse |
|
listTranscriptsCallable()
public final UnaryCallable<ListTranscriptsRequest,ListTranscriptsResponse> listTranscriptsCallable()Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListTranscriptsRequest request =
ListTranscriptsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
while (true) {
ListTranscriptsResponse response =
conferenceRecordsServiceClient.listTranscriptsCallable().call(request);
for (Transcript element : response.getTranscriptsList()) {
// doThingsWith(element);
}
String nextPageToken = response.getNextPageToken();
if (!Strings.isNullOrEmpty(nextPageToken)) {
request = request.toBuilder().setPageToken(nextPageToken).build();
} else {
break;
}
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListTranscriptsRequest,ListTranscriptsResponse> |
|
listTranscriptsPagedCallable()
public final UnaryCallable<ListTranscriptsRequest,ConferenceRecordsServiceClient.ListTranscriptsPagedResponse> listTranscriptsPagedCallable()Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order.
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
ConferenceRecordsServiceClient.create()) {
ListTranscriptsRequest request =
ListTranscriptsRequest.newBuilder()
.setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
ApiFuture<Transcript> future =
conferenceRecordsServiceClient.listTranscriptsPagedCallable().futureCall(request);
// Do something.
for (Transcript element : future.get().iterateAll()) {
// doThingsWith(element);
}
}
| Returns | |
|---|---|
| Type | Description |
UnaryCallable<ListTranscriptsRequest,ListTranscriptsPagedResponse> |
|
shutdown()
public void shutdown()shutdownNow()
public void shutdownNow()