Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

docs: Fix formatting of request arg in docstring #632

Merged
merged 2 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions google/cloud/dialogflow_v2/services/agents/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,6 @@ def __call__(
request (~.agent.DeleteAgentRequest):
The request object. The request message for
[Agents.DeleteAgent][google.cloud.dialogflow.v2.Agents.DeleteAgent].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -703,7 +702,6 @@ def __call__(
request (~.agent.ExportAgentRequest):
The request object. The request message for
[Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -806,7 +804,6 @@ def __call__(
request (~.agent.GetAgentRequest):
The request object. The request message for
[Agents.GetAgent][google.cloud.dialogflow.v2.Agents.GetAgent].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -910,7 +907,6 @@ def __call__(
request (~.agent.GetValidationResultRequest):
The request object. The request message for
[Agents.GetValidationResult][google.cloud.dialogflow.v2.Agents.GetValidationResult].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1006,7 +1002,6 @@ def __call__(
request (~.agent.ImportAgentRequest):
The request object. The request message for
[Agents.ImportAgent][google.cloud.dialogflow.v2.Agents.ImportAgent].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1109,7 +1104,6 @@ def __call__(
request (~.agent.RestoreAgentRequest):
The request object. The request message for
[Agents.RestoreAgent][google.cloud.dialogflow.v2.Agents.RestoreAgent].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1212,7 +1206,6 @@ def __call__(
request (~.agent.SearchAgentsRequest):
The request object. The request message for
[Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1306,7 +1299,6 @@ def __call__(
request (~.gcd_agent.SetAgentRequest):
The request object. The request message for
[Agents.SetAgent][google.cloud.dialogflow.v2.Agents.SetAgent].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1420,7 +1412,6 @@ def __call__(
request (~.agent.TrainAgentRequest):
The request object. The request message for
[Agents.TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ def __call__(
request (~.answer_record.ListAnswerRecordsRequest):
The request object. Request message for
[AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords].
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -471,7 +470,6 @@ def __call__(
request (~.gcd_answer_record.UpdateAnswerRecordRequest):
The request object. Request message for
[AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord].
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ def __call__(
request (~.gcd_context.CreateContextRequest):
The request object. The request message for
[Contexts.CreateContext][google.cloud.dialogflow.v2.Contexts.CreateContext].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -587,7 +586,6 @@ def __call__(
request (~.context.DeleteAllContextsRequest):
The request object. The request message for
[Contexts.DeleteAllContexts][google.cloud.dialogflow.v2.Contexts.DeleteAllContexts].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -677,7 +675,6 @@ def __call__(
request (~.context.DeleteContextRequest):
The request object. The request message for
[Contexts.DeleteContext][google.cloud.dialogflow.v2.Contexts.DeleteContext].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -765,7 +762,6 @@ def __call__(
request (~.context.GetContextRequest):
The request object. The request message for
[Contexts.GetContext][google.cloud.dialogflow.v2.Contexts.GetContext].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -884,7 +880,6 @@ def __call__(
request (~.context.ListContextsRequest):
The request object. The request message for
[Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -986,7 +981,6 @@ def __call__(
request (~.gcd_context.UpdateContextRequest):
The request object. The request message for
[Contexts.UpdateContext][google.cloud.dialogflow.v2.Contexts.UpdateContext].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ def __call__(
request (~.gcd_conversation_dataset.CreateConversationDatasetRequest):
The request object. The request message for
[ConversationDatasets.CreateConversationDataset][google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -651,7 +650,6 @@ def __call__(
request (~.conversation_dataset.DeleteConversationDatasetRequest):
The request object. The request message for
[ConversationDatasets.DeleteConversationDataset][google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -744,7 +742,6 @@ def __call__(
request (~.conversation_dataset.GetConversationDatasetRequest):
The request object. The request message for
[ConversationDatasets.GetConversationDataset][google.cloud.dialogflow.v2.ConversationDatasets.GetConversationDataset].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -845,7 +842,6 @@ def __call__(
request (~.conversation_dataset.ImportConversationDataRequest):
The request object. The request message for
[ConversationDatasets.ImportConversationData][google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -951,7 +947,6 @@ def __call__(
request (~.conversation_dataset.ListConversationDatasetsRequest):
The request object. The request message for
[ConversationDatasets.ListConversationDatasets][google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,6 @@ def __call__(
request (~.gcd_conversation_model.CreateConversationModelRequest):
The request object. The request message for
[ConversationModels.CreateConversationModel][google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -787,7 +786,6 @@ def __call__(
request (~.conversation_model.CreateConversationModelEvaluationRequest):
The request object. The request message for
[ConversationModels.CreateConversationModelEvaluation][google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -892,7 +890,6 @@ def __call__(
request (~.conversation_model.DeleteConversationModelRequest):
The request object. The request message for
[ConversationModels.DeleteConversationModel][google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -987,7 +984,6 @@ def __call__(
request (~.conversation_model.DeployConversationModelRequest):
The request object. The request message for
[ConversationModels.DeployConversationModel][google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1092,7 +1088,6 @@ def __call__(
request (~.conversation_model.GetConversationModelRequest):
The request object. The request message for
[ConversationModels.GetConversationModel][google.cloud.dialogflow.v2.ConversationModels.GetConversationModel]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1187,7 +1182,6 @@ def __call__(
request (~.conversation_model.GetConversationModelEvaluationRequest):
The request object. The request message for
[ConversationModels.GetConversationModelEvaluation][google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluation]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1286,7 +1280,6 @@ def __call__(
request (~.conversation_model.ListConversationModelEvaluationsRequest):
The request object. The request message for
[ConversationModels.ListConversationModelEvaluations][google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluations]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1389,7 +1382,6 @@ def __call__(
request (~.conversation_model.ListConversationModelsRequest):
The request object. The request message for
[ConversationModels.ListConversationModels][google.cloud.dialogflow.v2.ConversationModels.ListConversationModels]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1486,7 +1478,6 @@ def __call__(
request (~.conversation_model.UndeployConversationModelRequest):
The request object. The request message for
[ConversationModels.UndeployConversationModel][google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModel]

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ async def sample_delete_conversation_profile():
request (Optional[Union[google.cloud.dialogflow_v2.types.DeleteConversationProfileRequest, dict]]):
The request object. The request message for
[ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile].

This operation fails if the conversation profile is
still referenced from a phone number.
name (:class:`str`):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,7 @@ def sample_delete_conversation_profile():
request (Union[google.cloud.dialogflow_v2.types.DeleteConversationProfileRequest, dict]):
The request object. The request message for
[ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile].

This operation fails if the conversation profile is
still referenced from a phone number.
name (str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,6 @@ def __call__(
request (~.gcd_conversation_profile.ClearSuggestionFeatureConfigRequest):
The request object. The request message for
[ConversationProfiles.ClearFeature][].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -710,7 +709,6 @@ def __call__(
request (~.gcd_conversation_profile.CreateConversationProfileRequest):
The request object. The request message for
[ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -822,7 +820,6 @@ def __call__(

This operation fails if the conversation profile is
still referenced from a phone number.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -906,7 +903,6 @@ def __call__(
request (~.conversation_profile.GetConversationProfileRequest):
The request object. The request message for
[ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1003,7 +999,6 @@ def __call__(
request (~.conversation_profile.ListConversationProfilesRequest):
The request object. The request message for
[ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1102,7 +1097,6 @@ def __call__(
request (~.gcd_conversation_profile.SetSuggestionFeatureConfigRequest):
The request object. The request message for
[ConversationProfiles.SetSuggestionFeature][].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1212,7 +1206,6 @@ def __call__(
request (~.gcd_conversation_profile.UpdateConversationProfileRequest):
The request object. The request message for
[ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfile].

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Loading