Skip to content

Commit

Permalink
docs: clarified the behavior of language_code in EventInput in the co…
Browse files Browse the repository at this point in the history
…ntext of a followup event input

docs: clarified wording around Cloud Storage usage
docs: added a new resource name pattern for ConversationModel

PiperOrigin-RevId: 432962774

Source-Link: googleapis/googleapis@5556688

Source-Link: googleapis/googleapis-gen@ca6f30a
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGlhbG9nZmxvdy5WMi8uT3dsQm90LnlhbWwiLCJoIjoiY2E2ZjMwYTIyMzM0NjlmZjdkYTM2MWZlOWZiNzg3ODRkY2JjNmM3ZSJ9
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Mar 8, 2022
1 parent 300879d commit 3449846
Show file tree
Hide file tree
Showing 13 changed files with 5,925 additions and 5,900 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public async Task CreateConversationModelEvaluationAsync()
// Create client
ConversationModelsClient conversationModelsClient = await ConversationModelsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/conversationModels/[CONVERSATION_MODEL]";
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversationModels/[CONVERSATION_MODEL]";
ConversationModelEvaluation conversationModelEvaluation = new ConversationModelEvaluation();
// Make the request
Operation<ConversationModelEvaluation, CreateConversationModelEvaluationOperationMetadata> response = await conversationModelsClient.CreateConversationModelEvaluationAsync(parent, conversationModelEvaluation);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public async Task CreateConversationModelEvaluationRequestObjectAsync()
// Initialize request argument(s)
CreateConversationModelEvaluationRequest request = new CreateConversationModelEvaluationRequest
{
ParentAsConversationModelName = ConversationModelName.FromProjectConversationModel("[PROJECT]", "[CONVERSATION_MODEL]"),
ParentAsConversationModelName = ConversationModelName.FromProjectLocationConversationModel("[PROJECT]", "[LOCATION]", "[CONVERSATION_MODEL]"),
ConversationModelEvaluation = new ConversationModelEvaluation(),
};
// Make the request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void CreateConversationModelEvaluationRequestObject()
// Initialize request argument(s)
CreateConversationModelEvaluationRequest request = new CreateConversationModelEvaluationRequest
{
ParentAsConversationModelName = ConversationModelName.FromProjectConversationModel("[PROJECT]", "[CONVERSATION_MODEL]"),
ParentAsConversationModelName = ConversationModelName.FromProjectLocationConversationModel("[PROJECT]", "[LOCATION]", "[CONVERSATION_MODEL]"),
ConversationModelEvaluation = new ConversationModelEvaluation(),
};
// Make the request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public async Task CreateConversationModelEvaluationResourceNamesAsync()
// Create client
ConversationModelsClient conversationModelsClient = await ConversationModelsClient.CreateAsync();
// Initialize request argument(s)
ConversationModelName parent = ConversationModelName.FromProjectConversationModel("[PROJECT]", "[CONVERSATION_MODEL]");
ConversationModelName parent = ConversationModelName.FromProjectLocationConversationModel("[PROJECT]", "[LOCATION]", "[CONVERSATION_MODEL]");
ConversationModelEvaluation conversationModelEvaluation = new ConversationModelEvaluation();
// Make the request
Operation<ConversationModelEvaluation, CreateConversationModelEvaluationOperationMetadata> response = await conversationModelsClient.CreateConversationModelEvaluationAsync(parent, conversationModelEvaluation);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void CreateConversationModelEvaluationResourceNames()
// Create client
ConversationModelsClient conversationModelsClient = ConversationModelsClient.Create();
// Initialize request argument(s)
ConversationModelName parent = ConversationModelName.FromProjectConversationModel("[PROJECT]", "[CONVERSATION_MODEL]");
ConversationModelName parent = ConversationModelName.FromProjectLocationConversationModel("[PROJECT]", "[LOCATION]", "[CONVERSATION_MODEL]");
ConversationModelEvaluation conversationModelEvaluation = new ConversationModelEvaluation();
// Make the request
Operation<ConversationModelEvaluation, CreateConversationModelEvaluationOperationMetadata> response = conversationModelsClient.CreateConversationModelEvaluation(parent, conversationModelEvaluation);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void CreateConversationModelEvaluation()
// Create client
ConversationModelsClient conversationModelsClient = ConversationModelsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/conversationModels/[CONVERSATION_MODEL]";
string parent = "projects/[PROJECT]/locations/[LOCATION]/conversationModels/[CONVERSATION_MODEL]";
ConversationModelEvaluation conversationModelEvaluation = new ConversationModelEvaluation();
// Make the request
Operation<ConversationModelEvaluation, CreateConversationModelEvaluationOperationMetadata> response = conversationModelsClient.CreateConversationModelEvaluation(parent, conversationModelEvaluation);
Expand Down
Loading

0 comments on commit 3449846

Please sign in to comment.