# GoogleDocsBatch

A provider-neutral batch representation of a Word document that can later be translated to Google Docs API calls.

Class 

`OfficeIMO.Word.GoogleDocs`

**Namespace**

`OfficeIMO.Word.GoogleDocs`

**Assembly**

`OfficeIMO.Word.GoogleDocs`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleDocsBatch.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsBatch.cs#L9)

**Modifiers**

sealed

A provider-neutral batch representation of a Word document that can later be translated to Google Docs API calls.

## Inheritance

- object
- GoogleDocsBatch

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Method [GoogleDocsExporter.BuildBatch](/api/word-google-docs/officeimo-word-googledocs-googledocsexporter/#method-buildbatch-officeimo-word-worddocument-officeimo-word-googledocs-googledocssaveoptions)
- Method [IGoogleDocsExporter.BuildBatch](/api/word-google-docs/officeimo-word-googledocs-igoogledocsexporter/#method-buildbatch-officeimo-word-worddocument-officeimo-word-googledocs-googledocssaveoptions)
- Method [WordGoogleDocsExtensions.BuildGoogleDocsBatch](/api/word-google-docs/officeimo-word-googledocs-wordgoogledocsextensions/#method-buildgoogledocsbatch-officeimo-word-worddocument-officeimo-word-googledocs-googledocssaveoptions)

Filter members 

Show inherited

## Constructors

`public GoogleDocsBatch(string title, GoogleDocsTranslationPlan plan, TranslationReport report, WordDocumentInfo snapshot)` [#](#constructor-ctor-string-officeimo-word-googledocs-googledocstranslationplan-officeimo-googleworkspace-translationreport-officeimo-word-worddocumentinfo)

[GoogleDocsBatch.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsBatch.cs#L9)

Creates an empty batch; a blank title becomes Document.

Parameters

**title string required**

**plan OfficeIMO.Word.GoogleDocs.GoogleDocsTranslationPlan required**

**report OfficeIMO.GoogleWorkspace.TranslationReport required**

**snapshot OfficeIMO.Word.WordDocumentInfo required**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Title { get; }` [#](#property-title)

[GoogleDocsBatch.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsBatch.cs#L25)

Gets the title used when creating a Google document; replacement keeps the existing title.

`public GoogleDocsTranslationPlan Plan { get; }` [#](#property-plan)

[GoogleDocsBatch.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsBatch.cs#L27)

Gets counts and fidelity classification for the source.

`public TranslationReport Report { get; }` [#](#property-report)

[GoogleDocsBatch.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsBatch.cs#L29)

Gets translation notices associated with this batch.

`public WordDocumentInfo Snapshot { get; }` [#](#property-snapshot)

[GoogleDocsBatch.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsBatch.cs#L31)

Gets the Word snapshot used to compile this batch.

`public IReadOnlyList<GoogleDocsRequest> Requests { get; }` [#](#property-requests)

[GoogleDocsBatch.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsBatch.cs#L33)

Gets provider-neutral body requests in source order.

`public IReadOnlyList<GoogleDocsSegment> Segments { get; }` [#](#property-segments)

[GoogleDocsBatch.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsBatch.cs#L35)

Gets compiled header and footer segments.

<!-- PowerForge markdown artifact sha256:8D2E21BC3491E9A71F5175D7E02F33546D2E86BB686FE8D08C7CEDCFE127205C -->
