docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/translate_v3beta1.projects.locations.html b/docs/dyn/translate_v3beta1.projects.locations.html
index 6e5bc00..01242d5 100644
--- a/docs/dyn/translate_v3beta1.projects.locations.html
+++ b/docs/dyn/translate_v3beta1.projects.locations.html
@@ -130,47 +130,6 @@
The object takes the form of:
{ # The batch translation request.
- "glossaries": { # Optional. Glossaries to be applied for translation.
- # It's keyed by target language code.
- "a_key": { # Configures which glossary should be used for a specific target language,
- # and defines options for applying that glossary.
- "glossary": "A String", # Required. Specifies the glossary used for this translation. Use
- # this format: projects/*/locations/*/glossaries/*
- "ignoreCase": True or False, # Optional. Indicates match is case-insensitive.
- # Default value is false if missing.
- },
- },
- "models": { # Optional. The models to use for translation. Map's key is target language
- # code. Map's value is model name. Value can be a built-in general model,
- # or an AutoML Translation model.
- #
- # The value format depends on model type:
- #
- # - AutoML Translation models:
- # `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
- #
- # - General (built-in) models:
- # `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
- # `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
- #
- #
- # If the map is empty or a specific model is
- # not requested for a language pair, then default google model (nmt) is used.
- "a_key": "A String",
- },
- "labels": { # Optional. The labels with user-defined metadata for the request.
- #
- # Label keys and values can be no longer than 63 characters
- # (Unicode codepoints), can only contain lowercase letters, numeric
- # characters, underscores and dashes. International characters are allowed.
- # Label values are optional. Label keys must start with a letter.
- #
- # See https://cloud.google.com/translate/docs/labels for more information.
- "a_key": "A String",
- },
- "targetLanguageCodes": [ # Required. Specify up to 10 language codes here.
- "A String",
- ],
"sourceLanguageCode": "A String", # Required. Source language code.
"outputConfig": { # Output configuration for BatchTranslateText request. # Required. Output configuration.
# If 2 input configs match to the same file (that is, same input path),
@@ -277,6 +236,47 @@
# For `.txt`, this field must be "text/plain" or empty.
},
],
+ "glossaries": { # Optional. Glossaries to be applied for translation.
+ # It's keyed by target language code.
+ "a_key": { # Configures which glossary should be used for a specific target language,
+ # and defines options for applying that glossary.
+ "glossary": "A String", # Required. Specifies the glossary used for this translation. Use
+ # this format: projects/*/locations/*/glossaries/*
+ "ignoreCase": True or False, # Optional. Indicates match is case-insensitive.
+ # Default value is false if missing.
+ },
+ },
+ "models": { # Optional. The models to use for translation. Map's key is target language
+ # code. Map's value is model name. Value can be a built-in general model,
+ # or an AutoML Translation model.
+ #
+ # The value format depends on model type:
+ #
+ # - AutoML Translation models:
+ # `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
+ #
+ # - General (built-in) models:
+ # `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
+ # `projects/{project-number-or-id}/locations/{location-id}/models/general/base`
+ #
+ #
+ # If the map is empty or a specific model is
+ # not requested for a language pair, then default google model (nmt) is used.
+ "a_key": "A String",
+ },
+ "labels": { # Optional. The labels with user-defined metadata for the request.
+ #
+ # Label keys and values can be no longer than 63 characters
+ # (Unicode codepoints), can only contain lowercase letters, numeric
+ # characters, underscores and dashes. International characters are allowed.
+ # Label values are optional. Label keys must start with a letter.
+ #
+ # See https://cloud.google.com/translate/docs/labels for more information.
+ "a_key": "A String",
+ },
+ "targetLanguageCodes": [ # Required. Specify up to 10 language codes here.
+ "A String",
+ ],
}
x__xgafv: string, V1 error format.
@@ -289,6 +289,19 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
+ "done": True or False, # If the value is `false`, it means the operation is still in progress.
+ # If `true`, the operation is completed, and either `error` or `response` is
+ # available.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
@@ -316,19 +329,6 @@
# long-running operation should document the metadata type, if any.
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
- "done": True or False, # If the value is `false`, it means the operation is still in progress.
- # If `true`, the operation is completed, and either `error` or `response` is
- # available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
}</pre>
</div>
@@ -388,9 +388,9 @@
"languages": [ # A list of detected languages sorted by detection confidence in descending
# order. The most probable language first.
{ # The response message for language detection.
- "confidence": 3.14, # The confidence of the detection result for this language.
"languageCode": "A String", # The BCP-47 language code of source content in the request, detected
# automatically.
+ "confidence": 3.14, # The confidence of the detection result for this language.
},
],
}</pre>
@@ -411,6 +411,11 @@
An object of the form:
{ # A resource that represents Google Cloud Platform location.
+ "labels": { # Cross-service attributes for the location. For example
+ #
+ # {"cloud.googleapis.com/region": "us-east1"}
+ "a_key": "A String",
+ },
"name": "A String", # Resource name for the location, which may vary between implementations.
# For example: `"projects/example-project/locations/us-east1"`
"locationId": "A String", # The canonical id for this location. For example: `"us-east1"`.
@@ -420,11 +425,6 @@
# location.
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
- "labels": { # Cross-service attributes for the location. For example
- #
- # {"cloud.googleapis.com/region": "us-east1"}
- "a_key": "A String",
- },
}</pre>
</div>
@@ -509,6 +509,11 @@
{ # The response message for Locations.ListLocations.
"locations": [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
+ "labels": { # Cross-service attributes for the location. For example
+ #
+ # {"cloud.googleapis.com/region": "us-east1"}
+ "a_key": "A String",
+ },
"name": "A String", # Resource name for the location, which may vary between implementations.
# For example: `"projects/example-project/locations/us-east1"`
"locationId": "A String", # The canonical id for this location. For example: `"us-east1"`.
@@ -518,11 +523,6 @@
# location.
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
- "labels": { # Cross-service attributes for the location. For example
- #
- # {"cloud.googleapis.com/region": "us-east1"}
- "a_key": "A String",
- },
},
],
"nextPageToken": "A String", # The standard List next-page token.