# Package Classes (2.21.0)

2.21.0 (latest) 2.20.0 2.19.0 2.18.0 2.17.2 2.16.0 2.15.1 2.14.0 2.13.4 2.12.0 2.11.0 2.10.1 2.9.1 2.8.1 2.7.0 2.6.1 2.5.2 2.4.3 2.3.2 2.2.2 2.1.0 2.0.0 1.3.2 Summary of entries of Classes for language.

## Classes

### [LanguageServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.services.language_service.LanguageServiceAsyncClient)

Provides text analysis operations such as sentiment analysis
and entity recognition.

### [LanguageServiceClient](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.services.language_service.LanguageServiceClient)

Provides text analysis operations such as sentiment analysis
and entity recognition.

### [AnalyzeEntitiesRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnalyzeEntitiesRequest)

The entity analysis request message.

### [AnalyzeEntitiesResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnalyzeEntitiesResponse)

The entity analysis response message.

### [AnalyzeEntitySentimentRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnalyzeEntitySentimentRequest)

The entity-level sentiment analysis request message.

### [AnalyzeEntitySentimentResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnalyzeEntitySentimentResponse)

The entity-level sentiment analysis response message.

### [AnalyzeSentimentRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnalyzeSentimentRequest)

The sentiment analysis request message.

### [AnalyzeSentimentResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnalyzeSentimentResponse)

The sentiment analysis response message.

### [AnalyzeSyntaxRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnalyzeSyntaxRequest)

The syntax analysis request message.

### [AnalyzeSyntaxResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnalyzeSyntaxResponse)

The syntax analysis response message.

### [AnnotateTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnnotateTextRequest)

The request message for the text annotation API, which can
perform multiple analysis types (sentiment, entities, and
syntax) in one call.

### [Features](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnnotateTextRequest.Features)

All available features for sentiment, syntax, and semantic
analysis. Setting each one to true will enable that specific
analysis for the input.

### [AnnotateTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.AnnotateTextResponse)

The text annotations response message.

### [ClassificationCategory](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ClassificationCategory)

Represents a category returned from the text classifier.

### [ClassificationModelOptions](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ClassificationModelOptions)

Model options available for classification requests.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [V1Model](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ClassificationModelOptions.V1Model)

Options for the V1 model.

### [V2Model](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ClassificationModelOptions.V2Model)

Options for the V2 model.

### [ContentCategoriesVersion](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ClassificationModelOptions.V2Model.ContentCategoriesVersion)

The content categories used for classification.

### [ClassifyTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ClassifyTextRequest)

The document classification request message.

### [ClassifyTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ClassifyTextResponse)

The document classification response message.

### [DependencyEdge](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.DependencyEdge)

Represents dependency parse tree information for a token.
(For more information on dependency labels, see
<http://www.aclweb.org/anthology/P13-2017>

### [Label](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.DependencyEdge.Label)

The parse label enum for the token.

### [Document](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.Document)

Represents the input to API methods.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.Document.Type)

The document types enum.

### [EncodingType](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.EncodingType)

Represents the text encoding that the caller uses to process the
output. Providing an `EncodingType` is recommended because the API
provides the beginning offsets for various outputs, such as tokens
and mentions, and languages that natively use different text
encodings may access offsets differently.

### [Entity](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.Entity)

Represents a phrase in the text that is a known entity, such
as a person, an organization, or location. The API associates
information, such as salience and mentions, with entities.

### [MetadataEntry](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.Entity.MetadataEntry)

The abstract base class for a message.

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.Entity.Type)

The type of the entity. For most entity types, the associated
metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph
MID (`mid`). The table below lists the associated fields for
entities that have different metadata.

        The metadata lists the phone number, formatted according to
        local convention, plus whichever additional elements appear
        in the text:

        - `number` - the actual number, broken down into sections
          as per local convention
        - `national_prefix` - country code, if detected
        - `area_code` - region or area code, if detected
        - `extension` - phone extension (to be dialed after
          connection), if detected
    ADDRESS (10):
        Address

        The metadata identifies the street number and locality plus
        whichever additional elements appear in the text:

        - `street_number` - street number
        - `locality` - city or town
        - `street_name` - street/route name, if detected
        - `postal_code` - postal code, if detected
        - `country` - country, if detected<
        - `broad_region` - administrative area, such as the state,
          if detected
        - `narrow_region` - smaller administrative area, such as
          county, if detected
        - `sublocality` - used in Asian addresses to demark a
          district within a city, if detected
    DATE (11):
        Date

        The metadata identifies the components of the date:

        - `year` - four digit year, if detected
        - `month` - two digit month number, if detected
        - `day` - two digit day number, if detected
    NUMBER (12):
        Number

        The metadata is the number itself.
    PRICE (13):
        Price

        The metadata identifies the `value` and `currency`.

### [EntityMention](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.EntityMention)

Represents a mention for an entity in the text. Currently,
proper noun mentions are supported.

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.EntityMention.Type)

The supported types of mentions.

### [ModerateTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ModerateTextRequest)

The document moderation request message.

### [ModerateTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.ModerateTextResponse)

The document moderation response message.

### [PartOfSpeech](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech)

Represents part of speech information for a token. Parts of speech
are as defined in
<http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf>

### [Aspect](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Aspect)

The characteristic of a verb that expresses time flow during
an event.

### [Case](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Case)

The grammatical function performed by a noun or pronoun in a
phrase, clause, or sentence. In some languages, other parts of
speech, such as adjective and determiner, take case inflection
in agreement with the noun.

### [Form](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Form)

Depending on the language, Form can be categorizing different
forms of verbs, adjectives, adverbs, etc. For example,
categorizing inflected endings of verbs and adjectives or
distinguishing between short and long forms of adjectives and
participles

### [Gender](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Gender)

Gender classes of nouns reflected in the behaviour of
associated words.

### [Mood](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Mood)

The grammatical feature of verbs, used for showing modality
and attitude.

### [Number](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Number)

Count distinctions.

### [Person](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Person)

The distinction between the speaker, second person, third
person, etc.

### [Proper](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Proper)

This category shows if the token is part of a proper name.

### [Reciprocity](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Reciprocity)

Reciprocal features of a pronoun.

### [Tag](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Tag)

The part of speech tags enum.

### [Tense](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Tense)

Time reference.

### [Voice](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.PartOfSpeech.Voice)

The relationship between the action that a verb expresses and
the participants identified by its arguments.

### [Sentence](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.Sentence)

Represents a sentence in the input document.

### [Sentiment](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.Sentiment)

Represents the feeling associated with the entire text or
entities in the text.

### [TextSpan](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.TextSpan)

Represents an output piece of text.

### [Token](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1.types.Token)

Represents the smallest syntactic building block of the text.

### [LanguageServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.services.language_service.LanguageServiceAsyncClient)

Provides text analysis operations such as sentiment analysis
and entity recognition.

### [LanguageServiceClient](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.services.language_service.LanguageServiceClient)

Provides text analysis operations such as sentiment analysis
and entity recognition.

### [AnalyzeEntitiesRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnalyzeEntitiesRequest)

The entity analysis request message.

### [AnalyzeEntitiesResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnalyzeEntitiesResponse)

The entity analysis response message.

### [AnalyzeEntitySentimentRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnalyzeEntitySentimentRequest)

The entity-level sentiment analysis request message.

### [AnalyzeEntitySentimentResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnalyzeEntitySentimentResponse)

The entity-level sentiment analysis response message.

### [AnalyzeSentimentRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnalyzeSentimentRequest)

The sentiment analysis request message.

### [AnalyzeSentimentResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnalyzeSentimentResponse)

The sentiment analysis response message.

### [AnalyzeSyntaxRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnalyzeSyntaxRequest)

The syntax analysis request message.

### [AnalyzeSyntaxResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnalyzeSyntaxResponse)

The syntax analysis response message.

### [AnnotateTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnnotateTextRequest)

The request message for the text annotation API, which can
perform multiple analysis types (sentiment, entities, and
syntax) in one call.

### [Features](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnnotateTextRequest.Features)

All available features for sentiment, syntax, and semantic
analysis. Setting each one to true will enable that specific
analysis for the input. Next ID: 12

### [AnnotateTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.AnnotateTextResponse)

The text annotations response message.

### [ClassificationCategory](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ClassificationCategory)

Represents a category returned from the text classifier.

### [ClassificationModelOptions](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ClassificationModelOptions)

Model options available for classification requests.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [V1Model](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ClassificationModelOptions.V1Model)

Options for the V1 model.

### [V2Model](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ClassificationModelOptions.V2Model)

Options for the V2 model.

### [ContentCategoriesVersion](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ClassificationModelOptions.V2Model.ContentCategoriesVersion)

The content categories used for classification.

### [ClassifyTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ClassifyTextRequest)

The document classification request message.

### [ClassifyTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ClassifyTextResponse)

The document classification response message.

### [DependencyEdge](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.DependencyEdge)

Represents dependency parse tree information for a token.

### [Label](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.DependencyEdge.Label)

The parse label enum for the token.

### [Document](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Document)

Represents the input to API methods.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BoilerplateHandling](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Document.BoilerplateHandling)

Ways of handling boilerplate detected in the document

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Document.Type)

The document types enum.

### [EncodingType](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.EncodingType)

Represents the text encoding that the caller uses to process the
output. Providing an `EncodingType` is recommended because the API
provides the beginning offsets for various outputs, such as tokens
and mentions, and languages that natively use different text
encodings may access offsets differently.

### [Entity](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Entity)

Represents a phrase in the text that is a known entity, such
as a person, an organization, or location. The API associates
information, such as salience and mentions, with entities.

### [MetadataEntry](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Entity.MetadataEntry)

The abstract base class for a message.

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Entity.Type)

The type of the entity. For most entity types, the associated
metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph
MID (`mid`). The table below lists the associated fields for
entities that have different metadata.

        The metadata lists the phone number, formatted according to
        local convention, plus whichever additional elements appear
        in the text:

        - `number` - the actual number, broken down into sections
          as per local convention
        - `national_prefix` - country code, if detected
        - `area_code` - region or area code, if detected
        - `extension` - phone extension (to be dialed after
          connection), if detected
    ADDRESS (10):
        Address

        The metadata identifies the street number and locality plus
        whichever additional elements appear in the text:

        - `street_number` - street number
        - `locality` - city or town
        - `street_name` - street/route name, if detected
        - `postal_code` - postal code, if detected
        - `country` - country, if detected<
        - `broad_region` - administrative area, such as the state,
          if detected
        - `narrow_region` - smaller administrative area, such as
          county, if detected
        - `sublocality` - used in Asian addresses to demark a
          district within a city, if detected
    DATE (11):
        Date

        The metadata identifies the components of the date:

        - `year` - four digit year, if detected
        - `month` - two digit month number, if detected
        - `day` - two digit day number, if detected
    NUMBER (12):
        Number

        The metadata is the number itself.
    PRICE (13):
        Price

        The metadata identifies the `value` and `currency`.

### [EntityMention](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.EntityMention)

Represents a mention for an entity in the text. Currently,
proper noun mentions are supported.

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.EntityMention.Type)

The supported types of mentions.

### [ModerateTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ModerateTextRequest)

The document moderation request message.

### [ModerateTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.ModerateTextResponse)

The document moderation response message.

### [PartOfSpeech](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech)

Represents part of speech information for a token.

### [Aspect](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Aspect)

The characteristic of a verb that expresses time flow during
an event.

### [Case](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Case)

The grammatical function performed by a noun or pronoun in a
phrase, clause, or sentence. In some languages, other parts of
speech, such as adjective and determiner, take case inflection
in agreement with the noun.

### [Form](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Form)

Depending on the language, Form can be categorizing different
forms of verbs, adjectives, adverbs, etc. For example,
categorizing inflected endings of verbs and adjectives or
distinguishing between short and long forms of adjectives and
participles

### [Gender](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Gender)

Gender classes of nouns reflected in the behaviour of
associated words.

### [Mood](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Mood)

The grammatical feature of verbs, used for showing modality
and attitude.

### [Number](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Number)

Count distinctions.

### [Person](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Person)

The distinction between the speaker, second person, third
person, etc.

### [Proper](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Proper)

This category shows if the token is part of a proper name.

### [Reciprocity](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Reciprocity)

Reciprocal features of a pronoun.

### [Tag](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Tag)

The part of speech tags enum.

### [Tense](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Tense)

Time reference.

### [Voice](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.PartOfSpeech.Voice)

The relationship between the action that a verb expresses and
the participants identified by its arguments.

### [Sentence](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Sentence)

Represents a sentence in the input document.

### [Sentiment](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Sentiment)

Represents the feeling associated with the entire text or
entities in the text.
Next ID: 6

### [TextSpan](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.TextSpan)

Represents an output piece of text.

### [Token](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v1beta2.types.Token)

Represents the smallest syntactic building block of the text.

### [LanguageServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.services.language_service.LanguageServiceAsyncClient)

Provides text analysis operations such as sentiment analysis
and entity recognition.

### [LanguageServiceClient](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.services.language_service.LanguageServiceClient)

Provides text analysis operations such as sentiment analysis
and entity recognition.

### [AnalyzeEntitiesRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.AnalyzeEntitiesRequest)

The entity analysis request message.

### [AnalyzeEntitiesResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.AnalyzeEntitiesResponse)

The entity analysis response message.

### [AnalyzeSentimentRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.AnalyzeSentimentRequest)

The sentiment analysis request message.

### [AnalyzeSentimentResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.AnalyzeSentimentResponse)

The sentiment analysis response message.

### [AnnotateTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.AnnotateTextRequest)

The request message for the text annotation API, which can
perform multiple analysis types in one call.

### [Features](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.AnnotateTextRequest.Features)

All available features.
Setting each one to true will enable that specific analysis for
the input.

### [AnnotateTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.AnnotateTextResponse)

The text annotations response message.

### [ClassificationCategory](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.ClassificationCategory)

Represents a category returned from the text classifier.

### [ClassifyTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.ClassifyTextRequest)

The document classification request message.

### [ClassifyTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.ClassifyTextResponse)

The document classification response message.

### [Document](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.Document)

Represents the input to API methods.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.Document.Type)

The document types enum.

### [EncodingType](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.EncodingType)

Represents the text encoding that the caller uses to process the
output. Providing an `EncodingType` is recommended because the API
provides the beginning offsets for various outputs, such as tokens
and mentions, and languages that natively use different text
encodings may access offsets differently.

### [Entity](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.Entity)

Represents a phrase in the text that is a known entity, such
as a person, an organization, or location. The API associates
information, such as probability and mentions, with entities.

### [MetadataEntry](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.Entity.MetadataEntry)

The abstract base class for a message.

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.Entity.Type)

The type of the entity. The table
below lists the associated fields for entities that have
different metadata.

        The metadata lists the phone number, formatted according to
        local convention, plus whichever additional elements appear
        in the text:

        - `number` - the actual number, broken down into sections
          as per local convention
        - `national_prefix` - country code, if detected
        - `area_code` - region or area code, if detected
        - `extension` - phone extension (to be dialed after
          connection), if detected
    ADDRESS (10):
        Address

        The metadata identifies the street number and locality plus
        whichever additional elements appear in the text:

        - `street_number` - street number
        - `locality` - city or town
        - `street_name` - street/route name, if detected
        - `postal_code` - postal code, if detected
        - `country` - country, if detected
        - `broad_region` - administrative area, such as the state,
          if detected
        - `narrow_region` - smaller administrative area, such as
          county, if detected
        - `sublocality` - used in Asian addresses to demark a
          district within a city, if detected
    DATE (11):
        Date

        The metadata identifies the components of the date:

        - `year` - four digit year, if detected
        - `month` - two digit month number, if detected
        - `day` - two digit day number, if detected
    NUMBER (12):
        Number

        The metadata is the number itself.
    PRICE (13):
        Price

        The metadata identifies the `value` and `currency`.

### [EntityMention](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.EntityMention)

Represents a mention for an entity in the text. Currently,
proper noun mentions are supported.

### [Type](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.EntityMention.Type)

The supported types of mentions.

### [ModerateTextRequest](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.ModerateTextRequest)

The document moderation request message.

### [ModelVersion](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.ModerateTextRequest.ModelVersion)

The model version to use for ModerateText.

### [ModerateTextResponse](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.ModerateTextResponse)

The document moderation response message.

### [Sentence](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.Sentence)

Represents a sentence in the input document.

### [Sentiment](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.Sentiment)

Represents the feeling associated with the entire text or
entities in the text.

### [TextSpan](https://docs.cloud.google.com/python/docs/reference/language/latest/google.cloud.language_v2.types.TextSpan)

Represents a text span in the input document.