diff --git a/api_names_out.yaml b/api_names_out.yaml index 8649edff29a..c71fbfcf9c8 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -215884,6 +215884,19 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment": google_cloud_discoveryengine_v1_alert_policy_config_alert_enrollment "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment/alertId": alert_id "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment/enrollState": enroll_state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig": google_cloud_discoveryengine_v1_alert_policy_resource_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig/alertEnrollments": alert_enrollments +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig/alertEnrollments/alert_enrollment": alert_enrollment +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig/alertPolicy": alert_policy +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig/contactDetails": contact_details +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig/contactDetails/contact_detail": contact_detail +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig/languageCode": language_code +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment": google_cloud_discoveryengine_v1_alert_policy_resource_config_alert_enrollment +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment/alertId": alert_id +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment/enrollState": enroll_state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment/notificationParams": notification_params +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment/notificationParams/notification_param" +: notification_param "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AnswerGenerationSpec": google_cloud_discoveryengine_v1_answer_generation_spec "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AnswerGenerationSpec/userDefinedClassifierSpec": user_defined_classifier_spec "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec": google_cloud_discoveryengine_v1_answer_generation_spec_user_defined_classifier_spec @@ -215972,6 +215985,8 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1ConditionTimeRange": google_cloud_discoveryengine_v1_condition_time_range "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1ConditionTimeRange/endTime": end_time "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1ConditionTimeRange/startTime": start_time +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1ContactDetails": google_cloud_discoveryengine_v1_contact_details +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1ContactDetails/emailAddress": email_address "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Control": google_cloud_discoveryengine_v1_control "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Control/associatedServingConfigIds": associated_serving_config_ids "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Control/associatedServingConfigIds/associated_serving_config_id": associated_serving_config_id @@ -216337,6 +216352,17 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1ImportUserEventsResponse/errorSamples/error_sample": error_sample "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1ImportUserEventsResponse/joinedEventsCount": joined_events_count "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1ImportUserEventsResponse/unjoinedEventsCount": unjoined_events_count +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig": google_cloud_discoveryengine_v1_license_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/alertPolicyResourceConfig": alert_policy_resource_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/autoRenew": auto_renew +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/endDate": end_date +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/freeTrial": free_trial +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/licenseCount": license_count +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/name": name +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/startDate": start_date +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/state": state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/subscriptionTerm": subscription_term +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1LicenseConfig/subscriptionTier": subscription_tier "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1OcrParsingConfig": google_cloud_discoveryengine_v1_ocr_parsing_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1OcrParsingConfig/enhancedDocumentElements": enhanced_document_elements "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1OcrParsingConfig/enhancedDocumentElements/enhanced_document_element": enhanced_document_element @@ -216556,6 +216582,19 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment": google_cloud_discoveryengine_v1alpha_alert_policy_config_alert_enrollment "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment/alertId": alert_id "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment/enrollState": enroll_state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig": google_cloud_discoveryengine_v1alpha_alert_policy_resource_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig/alertEnrollments": alert_enrollments +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig/alertEnrollments/alert_enrollment": alert_enrollment +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig/alertPolicy": alert_policy +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig/contactDetails": contact_details +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig/contactDetails/contact_detail": contact_detail +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig/languageCode": language_code +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment": google_cloud_discoveryengine_v1alpha_alert_policy_resource_config_alert_enrollment +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment/alertId": alert_id +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment/enrollState": enroll_state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment/notificationParams": notification_params +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment/notificationParams/notification_param" +: notification_param "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswer": google_cloud_discoveryengine_v1alpha_answer "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswer/answerSkippedReasons": answer_skipped_reasons "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswer/answerSkippedReasons/answer_skipped_reason": answer_skipped_reason @@ -216678,6 +216717,88 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo/snippetStatus": snippet_status "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction": google_cloud_discoveryengine_v1alpha_answer_step_action_search_action "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction/query": query +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswer": google_cloud_discoveryengine_v1alpha_assist_answer +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswer/assistSkippedReasons": assist_skipped_reasons +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswer/assistSkippedReasons/assist_skipped_reason": assist_skipped_reason +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswer/customerPolicyEnforcementResult": customer_policy_enforcement_result +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswer/name": name +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswer/replies": replies +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswer/replies/reply": reply +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswer/state": state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult": google_cloud_discoveryengine_v1alpha_assist_answer_customer_policy_enforcement_result +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult/policyResults": policy_results +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult/policyResults/policy_result": policy_result +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult/verdict": verdict +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult" +: google_cloud_discoveryengine_v1alpha_assist_answer_customer_policy_enforcement_result_banned_phrase_enforcement_result +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult/bannedPhrases" +: banned_phrases +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult/bannedPhrases/banned_phrase" +: banned_phrase +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult": google_cloud_discoveryengine_v1alpha_assist_answer_customer_policy_enforcement_result_model_armor_enforcement_result +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult/error" +: error +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult/modelArmorViolation" +: model_armor_violation +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult": google_cloud_discoveryengine_v1alpha_assist_answer_customer_policy_enforcement_result_policy_enforcement_result +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult/bannedPhraseEnforcementResult" +: banned_phrase_enforcement_result +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult/modelArmorEnforcementResult" +: model_armor_enforcement_result +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerReply": google_cloud_discoveryengine_v1alpha_assist_answer_reply +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerReply/groundedContent": grounded_content +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistAnswerReply/replyId": reply_id +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContent": google_cloud_discoveryengine_v1alpha_assistant_content +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContent/codeExecutionResult": code_execution_result +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContent/executableCode": executable_code +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContent/file": file +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContent/inlineData": inline_data +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContent/role": role +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContent/text": text +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContent/thought": thought +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentBlob": google_cloud_discoveryengine_v1alpha_assistant_content_blob +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentBlob/data": data +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentBlob/mimeType": mime_type +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult": google_cloud_discoveryengine_v1alpha_assistant_content_code_execution_result +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult/outcome": outcome +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult/output": output +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode": google_cloud_discoveryengine_v1alpha_assistant_content_executable_code +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode/code": code +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentFile": google_cloud_discoveryengine_v1alpha_assistant_content_file +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentFile/fileId": file_id +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantContentFile/mimeType": mime_type +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent": google_cloud_discoveryengine_v1alpha_assistant_grounded_content +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent/content": content +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent/textGroundingMetadata": text_grounding_metadata +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata": google_cloud_discoveryengine_v1alpha_assistant_grounded_content_text_grounding_metadata +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata/references": references +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata/references/reference": reference +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata/segments": segments +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata/segments/segment": segment +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference": google_cloud_discoveryengine_v1alpha_assistant_grounded_content_text_grounding_metadata_reference +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference/content": content +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference/documentMetadata": document_metadata +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata": google_cloud_discoveryengine_v1alpha_assistant_grounded_content_text_grounding_metadata_reference_document_metadata +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata/document" +: document +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata/domain" +: domain +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata/mimeType" +: mime_type +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata/pageIdentifier" +: page_identifier +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata/title" +: title +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata/uri" +: uri +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment": google_cloud_discoveryengine_v1alpha_assistant_grounded_content_text_grounding_metadata_segment +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment/endIndex": end_index +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment/groundingScore": grounding_score +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment/referenceIndices": reference_indices +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment/referenceIndices/reference_index" +: reference_index +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment/startIndex": start_index +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment/text": text "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaBAPConfig": google_cloud_discoveryengine_v1alpha_bap_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaBAPConfig/enabledActions": enabled_actions "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaBAPConfig/enabledActions/enabled_action": enabled_action @@ -216757,6 +216878,8 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress/currentCount": current_count "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress/percentile": percentile "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress/totalCount": total_count +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaContactDetails": google_cloud_discoveryengine_v1alpha_contact_details +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaContactDetails/emailAddress": email_address "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaControl": google_cloud_discoveryengine_v1alpha_control "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaControl/associatedServingConfigIds": associated_serving_config_ids "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaControl/associatedServingConfigIds/associated_serving_config_id": associated_serving_config_id @@ -217248,6 +217371,17 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLanguageInfo/normalizedLanguageCode": normalized_language_code "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLanguageInfo/region": region "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig": google_cloud_discoveryengine_v1alpha_layout_parsing_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig": google_cloud_discoveryengine_v1alpha_license_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/alertPolicyResourceConfig": alert_policy_resource_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/autoRenew": auto_renew +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/endDate": end_date +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/freeTrial": free_trial +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/licenseCount": license_count +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/name": name +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/startDate": start_date +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/state": state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/subscriptionTerm": subscription_term +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaLicenseConfig/subscriptionTier": subscription_tier "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse": google_cloud_discoveryengine_v1alpha_list_custom_models_response "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse/models": models "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse/models/model": model @@ -217589,6 +217723,7 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSessionTurn": google_cloud_discoveryengine_v1alpha_session_turn "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSessionTurn/answer": answer "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSessionTurn/detailedAnswer": detailed_answer +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSessionTurn/detailedAssistAnswer": detailed_assist_answer "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSessionTurn/query": query "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSessionTurn/queryConfig": query_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSessionTurn/queryConfig/query_config": query_config @@ -217748,6 +217883,19 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig": google_cloud_discoveryengine_v1beta_advanced_site_search_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig/disableAutomaticRefresh": disable_automatic_refresh "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig/disableInitialIndex": disable_initial_index +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig": google_cloud_discoveryengine_v1beta_alert_policy_resource_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig/alertEnrollments": alert_enrollments +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig/alertEnrollments/alert_enrollment": alert_enrollment +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig/alertPolicy": alert_policy +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig/contactDetails": contact_details +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig/contactDetails/contact_detail": contact_detail +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig/languageCode": language_code +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment": google_cloud_discoveryengine_v1beta_alert_policy_resource_config_alert_enrollment +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment/alertId": alert_id +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment/enrollState": enroll_state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment/notificationParams": notification_params +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment/notificationParams/notification_param" +: notification_param "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlloyDbSource": google_cloud_discoveryengine_v1beta_alloy_db_source "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlloyDbSource/clusterId": cluster_id "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAlloyDbSource/databaseId": database_id @@ -218329,6 +218477,8 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaConditionTimeRange": google_cloud_discoveryengine_v1beta_condition_time_range "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaConditionTimeRange/endTime": end_time "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaConditionTimeRange/startTime": start_time +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaContactDetails": google_cloud_discoveryengine_v1beta_contact_details +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaContactDetails/emailAddress": email_address "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaControl": google_cloud_discoveryengine_v1beta_control "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaControl/associatedServingConfigIds": associated_serving_config_ids "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaControl/associatedServingConfigIds/associated_serving_config_id": associated_serving_config_id @@ -218960,6 +219110,17 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLanguageInfo/languageCode": language_code "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLanguageInfo/normalizedLanguageCode": normalized_language_code "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLanguageInfo/region": region +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig": google_cloud_discoveryengine_v1beta_license_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/alertPolicyResourceConfig": alert_policy_resource_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/autoRenew": auto_renew +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/endDate": end_date +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/freeTrial": free_trial +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/licenseCount": license_count +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/name": name +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/startDate": start_date +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/state": state +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/subscriptionTerm": subscription_term +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/subscriptionTier": subscription_tier "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse": google_cloud_discoveryengine_v1beta_list_cmek_configs_response "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse/cmekConfigs": cmek_configs "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse/cmekConfigs/cmek_config": cmek_config @@ -219678,6 +219839,7 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSessionTurn": google_cloud_discoveryengine_v1beta_session_turn "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSessionTurn/answer": answer "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSessionTurn/detailedAnswer": detailed_answer +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSessionTurn/detailedAssistAnswer": detailed_assist_answer "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSessionTurn/query": query "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSessionTurn/queryConfig": query_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSessionTurn/queryConfig/query_config": query_config @@ -220567,6 +220729,14 @@ "/discoveryengine:v1beta/discoveryengine.projects.locations.identityMappingStores.operations.list/returnPartialSuccess": return_partial_success "/discoveryengine:v1beta/discoveryengine.projects.locations.identityMappingStores.purgeIdentityMappings": purge_project_location_identity_mapping_store_identity_mappings "/discoveryengine:v1beta/discoveryengine.projects.locations.identityMappingStores.purgeIdentityMappings/identityMappingStore": identity_mapping_store +"/discoveryengine:v1beta/discoveryengine.projects.locations.licenseConfigs.create": create_project_location_license_config +"/discoveryengine:v1beta/discoveryengine.projects.locations.licenseConfigs.create/licenseConfigId": license_config_id +"/discoveryengine:v1beta/discoveryengine.projects.locations.licenseConfigs.create/parent": parent +"/discoveryengine:v1beta/discoveryengine.projects.locations.licenseConfigs.get": get_project_location_license_config +"/discoveryengine:v1beta/discoveryengine.projects.locations.licenseConfigs.get/name": name +"/discoveryengine:v1beta/discoveryengine.projects.locations.licenseConfigs.patch": patch_project_location_license_config +"/discoveryengine:v1beta/discoveryengine.projects.locations.licenseConfigs.patch/name": name +"/discoveryengine:v1beta/discoveryengine.projects.locations.licenseConfigs.patch/updateMask": update_mask "/discoveryengine:v1beta/discoveryengine.projects.locations.obtainCrawlRate": obtain_project_location_crawl_rate "/discoveryengine:v1beta/discoveryengine.projects.locations.obtainCrawlRate/location": location "/discoveryengine:v1beta/discoveryengine.projects.locations.operations.get": get_project_location_operation diff --git a/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md b/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md index 5b58ad11ac2..d2fb34338d9 100644 --- a/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md +++ b/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-discoveryengine_v1beta +### v0.85.0 (2025-10-05) + +* Regenerated from discovery document revision 20250929 + ### v0.84.0 (2025-09-28) * Regenerated from discovery document revision 20250924 diff --git a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb index 17749778695..98ac3d116a1 100644 --- a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb +++ b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb @@ -1586,6 +1586,77 @@ def update!(**args) end end + # The resource level alert config. Used in: * UserLicense * EngineUserData The + # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. + class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig + include Google::Apis::Core::Hashable + + # Optional. The enrollment state of each alert. + # Corresponds to the JSON property `alertEnrollments` + # @return [Array] + attr_accessor :alert_enrollments + + # Immutable. The fully qualified resource name of the AlertPolicy. + # Corresponds to the JSON property `alertPolicy` + # @return [String] + attr_accessor :alert_policy + + # Optional. The contact details for each alert policy. + # Corresponds to the JSON property `contactDetails` + # @return [Array] + attr_accessor :contact_details + + # Optional. The language code used for notifications + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments) + @alert_policy = args[:alert_policy] if args.key?(:alert_policy) + @contact_details = args[:contact_details] if args.key?(:contact_details) + @language_code = args[:language_code] if args.key?(:language_code) + end + end + + # The alert enrollment status. + class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment + include Google::Apis::Core::Hashable + + # Immutable. The id of an alert. + # Corresponds to the JSON property `alertId` + # @return [String] + attr_accessor :alert_id + + # Required. The enrollment status of a customer. + # Corresponds to the JSON property `enrollState` + # @return [String] + attr_accessor :enroll_state + + # Optional. Parameters used to instantiate a notification. Used for + # notifications that are triggered when registered. Not stored. * Gemini + # Business welcome emails. * Gemini Business user invitation emails. + # Corresponds to the JSON property `notificationParams` + # @return [Hash] + attr_accessor :notification_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_id = args[:alert_id] if args.key?(:alert_id) + @enroll_state = args[:enroll_state] if args.key?(:enroll_state) + @notification_params = args[:notification_params] if args.key?(:notification_params) + end + end + # The specification for answer generation. class GoogleCloudDiscoveryengineV1AnswerGenerationSpec include Google::Apis::Core::Hashable @@ -2239,6 +2310,27 @@ def update!(**args) end end + # The contact info stored in resource level. If both project level and resource + # level is populated, the resource level contact info will override the project + # level contact info. + class GoogleCloudDiscoveryengineV1ContactDetails + include Google::Apis::Core::Hashable + + # Optional. The email address of the contact. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email_address = args[:email_address] if args.key?(:email_address) + end + end + # Defines a conditioned behavior to employ during serving. Must be attached to a # ServingConfig to be considered at serving time. Permitted actions dependent on # `SolutionType`. @@ -3248,8 +3340,7 @@ class GoogleCloudDiscoveryengineV1DataStore # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CmekConfig] attr_accessor :cmek_config - # Optional. Configuration for configurable billing approach. See go/vais- - # repricing-billing-dd for more details, only apply to non-Spark UCS Search. + # Optional. Configuration for configurable billing approach. See # Corresponds to the JSON property `configurableBillingApproach` # @return [String] attr_accessor :configurable_billing_approach @@ -4069,8 +4160,7 @@ class GoogleCloudDiscoveryengineV1Engine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineCommonConfig] attr_accessor :common_config - # Optional. Configuration for configurable billing approach. See go/vais- - # repricing-billing-dd for more details. + # Optional. Configuration for configurable billing approach. # Corresponds to the JSON property `configurableBillingApproach` # @return [String] attr_accessor :configurable_billing_approach @@ -4107,8 +4197,9 @@ class GoogleCloudDiscoveryengineV1Engine # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt- # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search- # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * ` - # personalization-memory` * `disable-image-generation` * `disable-video- - # generation` * `disable-onedrive-upload` + # personalization-memory` * `disable-agent-sharing` * `disable-image-generation` + # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to- + # content` * `disable-google-drive-upload` # Corresponds to the JSON property `features` # @return [Hash] attr_accessor :features @@ -4950,6 +5041,99 @@ def update!(**args) end end + # Information about users' licenses. + class GoogleCloudDiscoveryengineV1LicenseConfig + include Google::Apis::Core::Hashable + + # The resource level alert config. Used in: * UserLicense * EngineUserData The + # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. + # Corresponds to the JSON property `alertPolicyResourceConfig` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig] + attr_accessor :alert_policy_resource_config + + # Optional. Whether the license config should be auto renewed when it reaches + # the end date. + # Corresponds to the JSON property `autoRenew` + # @return [Boolean] + attr_accessor :auto_renew + alias_method :auto_renew?, :auto_renew + + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values. * A month + # and day, with a zero year (for example, an anniversary). * A year on its own, + # with a zero month and a zero day. * A year and month, with a zero day (for + # example, a credit card expiration date). Related types: * google.type. + # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + # Corresponds to the JSON property `endDate` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate] + attr_accessor :end_date + + # Optional. Whether the license config is for free trial. + # Corresponds to the JSON property `freeTrial` + # @return [Boolean] + attr_accessor :free_trial + alias_method :free_trial?, :free_trial + + # Required. Number of licenses purchased. + # Corresponds to the JSON property `licenseCount` + # @return [Fixnum] + attr_accessor :license_count + + # Immutable. Identifier. The fully qualified resource name of the license config. + # Format: `projects/`project`/locations/`location`/licenseConfigs/` + # license_config`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values. * A month + # and day, with a zero year (for example, an anniversary). * A year on its own, + # with a zero month and a zero day. * A year and month, with a zero day (for + # example, a credit card expiration date). Related types: * google.type. + # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + # Corresponds to the JSON property `startDate` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate] + attr_accessor :start_date + + # Output only. The state of the license config. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Required. Subscription term. + # Corresponds to the JSON property `subscriptionTerm` + # @return [String] + attr_accessor :subscription_term + + # Required. Subscription tier information for the license config. + # Corresponds to the JSON property `subscriptionTier` + # @return [String] + attr_accessor :subscription_tier + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config) + @auto_renew = args[:auto_renew] if args.key?(:auto_renew) + @end_date = args[:end_date] if args.key?(:end_date) + @free_trial = args[:free_trial] if args.key?(:free_trial) + @license_count = args[:license_count] if args.key?(:license_count) + @name = args[:name] if args.key?(:name) + @start_date = args[:start_date] if args.key?(:start_date) + @state = args[:state] if args.key?(:state) + @subscription_term = args[:subscription_term] if args.key?(:subscription_term) + @subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier) + end + end + # Metadata and configurations for a Google Cloud project in the service. class GoogleCloudDiscoveryengineV1Project include Google::Apis::Core::Hashable @@ -6674,6 +6858,77 @@ def update!(**args) end end + # The resource level alert config. Used in: * UserLicense * EngineUserData The + # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. + class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig + include Google::Apis::Core::Hashable + + # Optional. The enrollment state of each alert. + # Corresponds to the JSON property `alertEnrollments` + # @return [Array] + attr_accessor :alert_enrollments + + # Immutable. The fully qualified resource name of the AlertPolicy. + # Corresponds to the JSON property `alertPolicy` + # @return [String] + attr_accessor :alert_policy + + # Optional. The contact details for each alert policy. + # Corresponds to the JSON property `contactDetails` + # @return [Array] + attr_accessor :contact_details + + # Optional. The language code used for notifications + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments) + @alert_policy = args[:alert_policy] if args.key?(:alert_policy) + @contact_details = args[:contact_details] if args.key?(:contact_details) + @language_code = args[:language_code] if args.key?(:language_code) + end + end + + # The alert enrollment status. + class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment + include Google::Apis::Core::Hashable + + # Immutable. The id of an alert. + # Corresponds to the JSON property `alertId` + # @return [String] + attr_accessor :alert_id + + # Required. The enrollment status of a customer. + # Corresponds to the JSON property `enrollState` + # @return [String] + attr_accessor :enroll_state + + # Optional. Parameters used to instantiate a notification. Used for + # notifications that are triggered when registered. Not stored. * Gemini + # Business welcome emails. * Gemini Business user invitation emails. + # Corresponds to the JSON property `notificationParams` + # @return [Hash] + attr_accessor :notification_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_id = args[:alert_id] if args.key?(:alert_id) + @enroll_state = args[:enroll_state] if args.key?(:enroll_state) + @notification_params = args[:notification_params] if args.key?(:notification_params) + end + end + # Defines an answer. class GoogleCloudDiscoveryengineV1alphaAnswer include Google::Apis::Core::Hashable @@ -7389,19 +7644,497 @@ def update!(**args) end end - # Snippet information. - class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo - include Google::Apis::Core::Hashable + # Snippet information. + class GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo + include Google::Apis::Core::Hashable + + # Snippet content. + # Corresponds to the JSON property `snippet` + # @return [String] + attr_accessor :snippet + + # Status of the snippet defined by the search team. + # Corresponds to the JSON property `snippetStatus` + # @return [String] + attr_accessor :snippet_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @snippet = args[:snippet] if args.key?(:snippet) + @snippet_status = args[:snippet_status] if args.key?(:snippet_status) + end + end + + # Search action. + class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction + include Google::Apis::Core::Hashable + + # The query to search. + # Corresponds to the JSON property `query` + # @return [String] + attr_accessor :query + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query = args[:query] if args.key?(:query) + end + end + + # AssistAnswer resource, main part of AssistResponse. + class GoogleCloudDiscoveryengineV1alphaAssistAnswer + include Google::Apis::Core::Hashable + + # Reasons for not answering the assist call. + # Corresponds to the JSON property `assistSkippedReasons` + # @return [Array] + attr_accessor :assist_skipped_reasons + + # Customer policy enforcement results. Contains the results of the various + # policy checks, like the banned phrases or the Model Armor checks. + # Corresponds to the JSON property `customerPolicyEnforcementResult` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult] + attr_accessor :customer_policy_enforcement_result + + # Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/` + # project`/locations/`location`/collections/`collection`/engines/`engine`/ + # sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8 + # encoded string with a length limit of 1024 characters. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Replies of the assistant. + # Corresponds to the JSON property `replies` + # @return [Array] + attr_accessor :replies + + # State of the answer generation. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons) + @customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result) + @name = args[:name] if args.key?(:name) + @replies = args[:replies] if args.key?(:replies) + @state = args[:state] if args.key?(:state) + end + end + + # Customer policy enforcement results. Contains the results of the various + # policy checks, like the banned phrases or the Model Armor checks. + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult + include Google::Apis::Core::Hashable + + # Customer policy enforcement results. Populated only if the assist call was + # skipped due to a policy violation. It contains results from those filters that + # blocked the processing of the query. + # Corresponds to the JSON property `policyResults` + # @return [Array] + attr_accessor :policy_results + + # Final verdict of the customer policy enforcement. If only one policy blocked + # the processing, the verdict is BLOCK. + # Corresponds to the JSON property `verdict` + # @return [String] + attr_accessor :verdict + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy_results = args[:policy_results] if args.key?(:policy_results) + @verdict = args[:verdict] if args.key?(:verdict) + end + end + + # Customer policy enforcement result for the banned phrase policy. + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult + include Google::Apis::Core::Hashable + + # The banned phrases that were found in the query or the answer. + # Corresponds to the JSON property `bannedPhrases` + # @return [Array] + attr_accessor :banned_phrases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases) + end + end + + # Customer policy enforcement result for the Model Armor policy. + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult + include Google::Apis::Core::Hashable + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `error` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus] + attr_accessor :error + + # The Model Armor violation that was found. + # Corresponds to the JSON property `modelArmorViolation` + # @return [String] + attr_accessor :model_armor_violation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error = args[:error] if args.key?(:error) + @model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation) + end + end + + # Customer policy enforcement result for a single policy type. + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult + include Google::Apis::Core::Hashable + + # Customer policy enforcement result for the banned phrase policy. + # Corresponds to the JSON property `bannedPhraseEnforcementResult` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult] + attr_accessor :banned_phrase_enforcement_result + + # Customer policy enforcement result for the Model Armor policy. + # Corresponds to the JSON property `modelArmorEnforcementResult` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult] + attr_accessor :model_armor_enforcement_result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result) + @model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result) + end + end + + # One part of the multi-part response of the assist call. + class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply + include Google::Apis::Core::Hashable + + # A piece of content and possibly its grounding information. Not all content + # needs grounding. Phrases like "Of course, I will gladly search it for you." do + # not need grounding. + # Corresponds to the JSON property `groundedContent` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent] + attr_accessor :grounded_content + + # Output only. When set, uniquely identifies a reply within the `AssistAnswer` + # resource. During an AssistantService.StreamAssist call, multiple `Reply` + # messages with the same ID can occur within the response stream (across + # multiple AssistantService.StreamAssistResponse messages). These represent + # parts of a single `Reply` message in the final `AssistAnswer` resource. + # Corresponds to the JSON property `replyId` + # @return [String] + attr_accessor :reply_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @grounded_content = args[:grounded_content] if args.key?(:grounded_content) + @reply_id = args[:reply_id] if args.key?(:reply_id) + end + end + + # Multi-modal content. + class GoogleCloudDiscoveryengineV1alphaAssistantContent + include Google::Apis::Core::Hashable + + # Result of executing ExecutableCode. + # Corresponds to the JSON property `codeExecutionResult` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult] + attr_accessor :code_execution_result + + # Code generated by the model that is meant to be executed by the model. + # Corresponds to the JSON property `executableCode` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode] + attr_accessor :executable_code + + # A file, e.g., an audio summary. + # Corresponds to the JSON property `file` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile] + attr_accessor :file + + # Inline blob. + # Corresponds to the JSON property `inlineData` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob] + attr_accessor :inline_data + + # The producer of the content. Can be "model" or "user". + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # Inline text. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # Optional. Indicates if the part is thought from the model. + # Corresponds to the JSON property `thought` + # @return [Boolean] + attr_accessor :thought + alias_method :thought?, :thought + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result) + @executable_code = args[:executable_code] if args.key?(:executable_code) + @file = args[:file] if args.key?(:file) + @inline_data = args[:inline_data] if args.key?(:inline_data) + @role = args[:role] if args.key?(:role) + @text = args[:text] if args.key?(:text) + @thought = args[:thought] if args.key?(:thought) + end + end + + # Inline blob. + class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob + include Google::Apis::Core::Hashable + + # Required. Raw bytes. + # Corresponds to the JSON property `data` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :data + + # Required. The media type (MIME type) of the generated data. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @mime_type = args[:mime_type] if args.key?(:mime_type) + end + end + + # Result of executing ExecutableCode. + class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult + include Google::Apis::Core::Hashable + + # Required. Outcome of the code execution. + # Corresponds to the JSON property `outcome` + # @return [String] + attr_accessor :outcome + + # Optional. Contains stdout when code execution is successful, stderr or other + # description otherwise. + # Corresponds to the JSON property `output` + # @return [String] + attr_accessor :output + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @outcome = args[:outcome] if args.key?(:outcome) + @output = args[:output] if args.key?(:output) + end + end + + # Code generated by the model that is meant to be executed by the model. + class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode + include Google::Apis::Core::Hashable + + # Required. The code content. Currently only supports Python. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + end + end + + # A file, e.g., an audio summary. + class GoogleCloudDiscoveryengineV1alphaAssistantContentFile + include Google::Apis::Core::Hashable + + # Required. The file ID. + # Corresponds to the JSON property `fileId` + # @return [String] + attr_accessor :file_id + + # Required. The media type (MIME type) of the file. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_id = args[:file_id] if args.key?(:file_id) + @mime_type = args[:mime_type] if args.key?(:mime_type) + end + end + + # A piece of content and possibly its grounding information. Not all content + # needs grounding. Phrases like "Of course, I will gladly search it for you." do + # not need grounding. + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent + include Google::Apis::Core::Hashable + + # Multi-modal content. + # Corresponds to the JSON property `content` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContent] + attr_accessor :content + + # Grounding details for text sources. + # Corresponds to the JSON property `textGroundingMetadata` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata] + attr_accessor :text_grounding_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata) + end + end + + # Grounding details for text sources. + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata + include Google::Apis::Core::Hashable + + # References for the grounded text. + # Corresponds to the JSON property `references` + # @return [Array] + attr_accessor :references + + # Grounding information for parts of the text. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @references = args[:references] if args.key?(:references) + @segments = args[:segments] if args.key?(:segments) + end + end + + # Referenced content and related document metadata. + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference + include Google::Apis::Core::Hashable + + # Referenced text content. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # Document metadata. + # Corresponds to the JSON property `documentMetadata` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata] + attr_accessor :document_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @document_metadata = args[:document_metadata] if args.key?(:document_metadata) + end + end + + # Document metadata. + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata + include Google::Apis::Core::Hashable + + # Document resource name. + # Corresponds to the JSON property `document` + # @return [String] + attr_accessor :document + + # Domain name from the document URI. Note that the `uri` field may contain a URL + # that redirects to the actual website, in which case this will contain the + # domain name of the target site. + # Corresponds to the JSON property `domain` + # @return [String] + attr_accessor :domain + + # The mime type of the document. https://www.iana.org/assignments/media-types/ + # media-types.xhtml. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type - # Snippet content. - # Corresponds to the JSON property `snippet` + # Page identifier. + # Corresponds to the JSON property `pageIdentifier` # @return [String] - attr_accessor :snippet + attr_accessor :page_identifier - # Status of the snippet defined by the search team. - # Corresponds to the JSON property `snippetStatus` + # Title. + # Corresponds to the JSON property `title` # @return [String] - attr_accessor :snippet_status + attr_accessor :title + + # URI for the document. It may contain a URL that redirects to the actual + # website. + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri def initialize(**args) update!(**args) @@ -7409,19 +8142,45 @@ def initialize(**args) # Update properties of this object def update!(**args) - @snippet = args[:snippet] if args.key?(:snippet) - @snippet_status = args[:snippet_status] if args.key?(:snippet_status) + @document = args[:document] if args.key?(:document) + @domain = args[:domain] if args.key?(:domain) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @page_identifier = args[:page_identifier] if args.key?(:page_identifier) + @title = args[:title] if args.key?(:title) + @uri = args[:uri] if args.key?(:uri) end end - # Search action. - class GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction + # Grounding information for a segment of the text. + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment include Google::Apis::Core::Hashable - # The query to search. - # Corresponds to the JSON property `query` + # End of the segment, exclusive. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # Score for the segment. + # Corresponds to the JSON property `groundingScore` + # @return [Float] + attr_accessor :grounding_score + + # References for the segment. + # Corresponds to the JSON property `referenceIndices` + # @return [Array] + attr_accessor :reference_indices + + # Zero-based index indicating the start of the segment, measured in bytes of a + # UTF-8 string (i.e. characters encoded on multiple bytes have a length of more + # than one). + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The text segment itself. + # Corresponds to the JSON property `text` # @return [String] - attr_accessor :query + attr_accessor :text def initialize(**args) update!(**args) @@ -7429,7 +8188,11 @@ def initialize(**args) # Update properties of this object def update!(**args) - @query = args[:query] if args.key?(:query) + @end_index = args[:end_index] if args.key?(:end_index) + @grounding_score = args[:grounding_score] if args.key?(:grounding_score) + @reference_indices = args[:reference_indices] if args.key?(:reference_indices) + @start_index = args[:start_index] if args.key?(:start_index) + @text = args[:text] if args.key?(:text) end end @@ -7972,6 +8735,27 @@ def update!(**args) end end + # The contact info stored in resource level. If both project level and resource + # level is populated, the resource level contact info will override the project + # level contact info. + class GoogleCloudDiscoveryengineV1alphaContactDetails + include Google::Apis::Core::Hashable + + # Optional. The email address of the contact. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email_address = args[:email_address] if args.key?(:email_address) + end + end + # Defines a conditioned behavior to employ during serving. Must be attached to a # ServingConfig to be considered at serving time. Permitted actions dependent on # `SolutionType`. @@ -9036,8 +9820,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCmekConfig] attr_accessor :cmek_config - # Optional. Configuration for configurable billing approach. See go/vais- - # repricing-billing-dd for more details, only apply to non-Spark UCS Search. + # Optional. Configuration for configurable billing approach. See # Corresponds to the JSON property `configurableBillingApproach` # @return [String] attr_accessor :configurable_billing_approach @@ -9935,8 +10718,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig] attr_accessor :common_config - # Optional. Configuration for configurable billing approach. See go/vais- - # repricing-billing-dd for more details. + # Optional. Configuration for configurable billing approach. # Corresponds to the JSON property `configurableBillingApproach` # @return [String] attr_accessor :configurable_billing_approach @@ -9973,8 +10755,9 @@ class GoogleCloudDiscoveryengineV1alphaEngine # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt- # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search- # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * ` - # personalization-memory` * `disable-image-generation` * `disable-video- - # generation` * `disable-onedrive-upload` + # personalization-memory` * `disable-agent-sharing` * `disable-image-generation` + # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to- + # content` * `disable-google-drive-upload` # Corresponds to the JSON property `features` # @return [Hash] attr_accessor :features @@ -11447,6 +12230,99 @@ def update!(**args) end end + # Information about users' licenses. + class GoogleCloudDiscoveryengineV1alphaLicenseConfig + include Google::Apis::Core::Hashable + + # The resource level alert config. Used in: * UserLicense * EngineUserData The + # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. + # Corresponds to the JSON property `alertPolicyResourceConfig` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig] + attr_accessor :alert_policy_resource_config + + # Optional. Whether the license config should be auto renewed when it reaches + # the end date. + # Corresponds to the JSON property `autoRenew` + # @return [Boolean] + attr_accessor :auto_renew + alias_method :auto_renew?, :auto_renew + + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values. * A month + # and day, with a zero year (for example, an anniversary). * A year on its own, + # with a zero month and a zero day. * A year and month, with a zero day (for + # example, a credit card expiration date). Related types: * google.type. + # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + # Corresponds to the JSON property `endDate` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate] + attr_accessor :end_date + + # Optional. Whether the license config is for free trial. + # Corresponds to the JSON property `freeTrial` + # @return [Boolean] + attr_accessor :free_trial + alias_method :free_trial?, :free_trial + + # Required. Number of licenses purchased. + # Corresponds to the JSON property `licenseCount` + # @return [Fixnum] + attr_accessor :license_count + + # Immutable. Identifier. The fully qualified resource name of the license config. + # Format: `projects/`project`/locations/`location`/licenseConfigs/` + # license_config`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values. * A month + # and day, with a zero year (for example, an anniversary). * A year on its own, + # with a zero month and a zero day. * A year and month, with a zero day (for + # example, a credit card expiration date). Related types: * google.type. + # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + # Corresponds to the JSON property `startDate` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate] + attr_accessor :start_date + + # Output only. The state of the license config. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Required. Subscription term. + # Corresponds to the JSON property `subscriptionTerm` + # @return [String] + attr_accessor :subscription_term + + # Required. Subscription tier information for the license config. + # Corresponds to the JSON property `subscriptionTier` + # @return [String] + attr_accessor :subscription_tier + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config) + @auto_renew = args[:auto_renew] if args.key?(:auto_renew) + @end_date = args[:end_date] if args.key?(:end_date) + @free_trial = args[:free_trial] if args.key?(:free_trial) + @license_count = args[:license_count] if args.key?(:license_count) + @name = args[:name] if args.key?(:name) + @start_date = args[:start_date] if args.key?(:start_date) + @state = args[:state] if args.key?(:state) + @subscription_term = args[:subscription_term] if args.key?(:subscription_term) + @subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier) + end + end + # Request for ListSessions method. class GoogleCloudDiscoveryengineV1alphaListSessionsRequest include Google::Apis::Core::Hashable @@ -14034,6 +14910,11 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswer] attr_accessor :detailed_answer + # AssistAnswer resource, main part of AssistResponse. + # Corresponds to the JSON property `detailedAssistAnswer` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswer] + attr_accessor :detailed_assist_answer + # Defines a user inputed query. # Corresponds to the JSON property `query` # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQuery] @@ -14054,6 +14935,7 @@ def initialize(**args) def update!(**args) @answer = args[:answer] if args.key?(:answer) @detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer) + @detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer) @query = args[:query] if args.key?(:query) @query_config = args[:query_config] if args.key?(:query_config) end @@ -15261,6 +16143,77 @@ def update!(**args) end end + # The resource level alert config. Used in: * UserLicense * EngineUserData The + # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. + class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig + include Google::Apis::Core::Hashable + + # Optional. The enrollment state of each alert. + # Corresponds to the JSON property `alertEnrollments` + # @return [Array] + attr_accessor :alert_enrollments + + # Immutable. The fully qualified resource name of the AlertPolicy. + # Corresponds to the JSON property `alertPolicy` + # @return [String] + attr_accessor :alert_policy + + # Optional. The contact details for each alert policy. + # Corresponds to the JSON property `contactDetails` + # @return [Array] + attr_accessor :contact_details + + # Optional. The language code used for notifications + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments) + @alert_policy = args[:alert_policy] if args.key?(:alert_policy) + @contact_details = args[:contact_details] if args.key?(:contact_details) + @language_code = args[:language_code] if args.key?(:language_code) + end + end + + # The alert enrollment status. + class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment + include Google::Apis::Core::Hashable + + # Immutable. The id of an alert. + # Corresponds to the JSON property `alertId` + # @return [String] + attr_accessor :alert_id + + # Required. The enrollment status of a customer. + # Corresponds to the JSON property `enrollState` + # @return [String] + attr_accessor :enroll_state + + # Optional. Parameters used to instantiate a notification. Used for + # notifications that are triggered when registered. Not stored. * Gemini + # Business welcome emails. * Gemini Business user invitation emails. + # Corresponds to the JSON property `notificationParams` + # @return [Hash] + attr_accessor :notification_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_id = args[:alert_id] if args.key?(:alert_id) + @enroll_state = args[:enroll_state] if args.key?(:enroll_state) + @notification_params = args[:notification_params] if args.key?(:notification_params) + end + end + # AlloyDB source import data from. class GoogleCloudDiscoveryengineV1betaAlloyDbSource include Google::Apis::Core::Hashable @@ -19165,6 +20118,27 @@ def update!(**args) end end + # The contact info stored in resource level. If both project level and resource + # level is populated, the resource level contact info will override the project + # level contact info. + class GoogleCloudDiscoveryengineV1betaContactDetails + include Google::Apis::Core::Hashable + + # Optional. The email address of the contact. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email_address = args[:email_address] if args.key?(:email_address) + end + end + # Defines a conditioned behavior to employ during serving. Must be attached to a # ServingConfig to be considered at serving time. Permitted actions dependent on # `SolutionType`. @@ -20049,8 +21023,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig] attr_accessor :cmek_config - # Optional. Configuration for configurable billing approach. See go/vais- - # repricing-billing-dd for more details, only apply to non-Spark UCS Search. + # Optional. Configuration for configurable billing approach. See # Corresponds to the JSON property `configurableBillingApproach` # @return [String] attr_accessor :configurable_billing_approach @@ -21159,8 +22132,7 @@ class GoogleCloudDiscoveryengineV1betaEngine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineCommonConfig] attr_accessor :common_config - # Optional. Configuration for configurable billing approach. See go/vais- - # repricing-billing-dd for more details. + # Optional. Configuration for configurable billing approach. # Corresponds to the JSON property `configurableBillingApproach` # @return [String] attr_accessor :configurable_billing_approach @@ -21197,8 +22169,9 @@ class GoogleCloudDiscoveryengineV1betaEngine # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt- # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search- # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * ` - # personalization-memory` * `disable-image-generation` * `disable-video- - # generation` * `disable-onedrive-upload` + # personalization-memory` * `disable-agent-sharing` * `disable-image-generation` + # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to- + # content` * `disable-google-drive-upload` # Corresponds to the JSON property `features` # @return [Hash] attr_accessor :features @@ -23030,6 +24003,99 @@ def update!(**args) end end + # Information about users' licenses. + class GoogleCloudDiscoveryengineV1betaLicenseConfig + include Google::Apis::Core::Hashable + + # The resource level alert config. Used in: * UserLicense * EngineUserData The + # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. + # Corresponds to the JSON property `alertPolicyResourceConfig` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig] + attr_accessor :alert_policy_resource_config + + # Optional. Whether the license config should be auto renewed when it reaches + # the end date. + # Corresponds to the JSON property `autoRenew` + # @return [Boolean] + attr_accessor :auto_renew + alias_method :auto_renew?, :auto_renew + + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values. * A month + # and day, with a zero year (for example, an anniversary). * A year on its own, + # with a zero month and a zero day. * A year and month, with a zero day (for + # example, a credit card expiration date). Related types: * google.type. + # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + # Corresponds to the JSON property `endDate` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate] + attr_accessor :end_date + + # Optional. Whether the license config is for free trial. + # Corresponds to the JSON property `freeTrial` + # @return [Boolean] + attr_accessor :free_trial + alias_method :free_trial?, :free_trial + + # Required. Number of licenses purchased. + # Corresponds to the JSON property `licenseCount` + # @return [Fixnum] + attr_accessor :license_count + + # Immutable. Identifier. The fully qualified resource name of the license config. + # Format: `projects/`project`/locations/`location`/licenseConfigs/` + # license_config`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values. * A month + # and day, with a zero year (for example, an anniversary). * A year on its own, + # with a zero month and a zero day. * A year and month, with a zero day (for + # example, a credit card expiration date). Related types: * google.type. + # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + # Corresponds to the JSON property `startDate` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeDate] + attr_accessor :start_date + + # Output only. The state of the license config. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Required. Subscription term. + # Corresponds to the JSON property `subscriptionTerm` + # @return [String] + attr_accessor :subscription_term + + # Required. Subscription tier information for the license config. + # Corresponds to the JSON property `subscriptionTier` + # @return [String] + attr_accessor :subscription_tier + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config) + @auto_renew = args[:auto_renew] if args.key?(:auto_renew) + @end_date = args[:end_date] if args.key?(:end_date) + @free_trial = args[:free_trial] if args.key?(:free_trial) + @license_count = args[:license_count] if args.key?(:license_count) + @name = args[:name] if args.key?(:name) + @start_date = args[:start_date] if args.key?(:start_date) + @state = args[:state] if args.key?(:state) + @subscription_term = args[:subscription_term] if args.key?(:subscription_term) + @subscription_tier = args[:subscription_tier] if args.key?(:subscription_tier) + end + end + # Response message for CmekConfigService.ListCmekConfigs method. class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse include Google::Apis::Core::Hashable @@ -28200,6 +29266,11 @@ class GoogleCloudDiscoveryengineV1betaSessionTurn # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer] attr_accessor :detailed_answer + # AssistAnswer resource, main part of AssistResponse. + # Corresponds to the JSON property `detailedAssistAnswer` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer] + attr_accessor :detailed_assist_answer + # Defines a user inputed query. # Corresponds to the JSON property `query` # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery] @@ -28220,6 +29291,7 @@ def initialize(**args) def update!(**args) @answer = args[:answer] if args.key?(:answer) @detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer) + @detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer) @query = args[:query] if args.key?(:query) @query_config = args[:query_config] if args.key?(:query_config) end diff --git a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb index 61095a7910c..17463a7d9c1 100644 --- a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb +++ b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DiscoveryengineV1beta # Version of the google-apis-discoveryengine_v1beta gem - GEM_VERSION = "0.84.0" + GEM_VERSION = "0.85.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250924" + REVISION = "20250929" end end end diff --git a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb index 5caf5406177..3e21446f615 100644 --- a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb +++ b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb @@ -226,6 +226,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1AnswerGenerationSpec class Representation < Google::Apis::Core::JsonRepresentation; end @@ -346,6 +358,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1ContactDetails + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1Control class Representation < Google::Apis::Core::JsonRepresentation; end @@ -760,6 +778,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1LicenseConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1Project class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1024,6 +1048,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaAnswer class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1150,6 +1186,102 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaAssistAnswer + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContentFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaBapConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1228,6 +1360,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaContactDetails + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaControl class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1768,6 +1906,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaLicenseConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaListSessionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2344,6 +2488,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1betaAlloyDbSource class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3022,6 +3178,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1betaContactDetails + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1betaControl class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3670,6 +3832,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1betaLicenseConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5155,6 +5323,27 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment::Representation + + property :alert_policy, as: 'alertPolicy' + collection :contact_details, as: 'contactDetails', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ContactDetails, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ContactDetails::Representation + + property :language_code, as: 'languageCode' + end + end + + class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alert_id, as: 'alertId' + property :enroll_state, as: 'enrollState' + hash :notification_params, as: 'notificationParams' + end + end + class GoogleCloudDiscoveryengineV1AnswerGenerationSpec # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5346,6 +5535,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1ContactDetails + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email_address, as: 'emailAddress' + end + end + class GoogleCloudDiscoveryengineV1Control # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6065,6 +6261,25 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1LicenseConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alert_policy_resource_config, as: 'alertPolicyResourceConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig::Representation + + property :auto_renew, as: 'autoRenew' + property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate::Representation + + property :free_trial, as: 'freeTrial' + property :license_count, :numeric_string => true, as: 'licenseCount' + property :name, as: 'name' + property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate::Representation + + property :state, as: 'state' + property :subscription_term, as: 'subscriptionTerm' + property :subscription_tier, as: 'subscriptionTier' + end + end + class GoogleCloudDiscoveryengineV1Project # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6501,6 +6716,27 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment::Representation + + property :alert_policy, as: 'alertPolicy' + collection :contact_details, as: 'contactDetails', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaContactDetails, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaContactDetails::Representation + + property :language_code, as: 'languageCode' + end + end + + class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alert_id, as: 'alertId' + property :enroll_state, as: 'enrollState' + hash :notification_params, as: 'notificationParams' + end + end + class GoogleCloudDiscoveryengineV1alphaAnswer # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6725,6 +6961,163 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaAssistAnswer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :assist_skipped_reasons, as: 'assistSkippedReasons' + property :customer_policy_enforcement_result, as: 'customerPolicyEnforcementResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult::Representation + + property :name, as: 'name' + collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply::Representation + + property :state, as: 'state' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :policy_results, as: 'policyResults', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult::Representation + + property :verdict, as: 'verdict' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :banned_phrases, as: 'bannedPhrases' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error, as: 'error', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation + + property :model_armor_violation, as: 'modelArmorViolation' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banned_phrase_enforcement_result, as: 'bannedPhraseEnforcementResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult::Representation + + property :model_armor_enforcement_result, as: 'modelArmorEnforcementResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult::Representation + + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :grounded_content, as: 'groundedContent', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent::Representation + + property :reply_id, as: 'replyId' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult::Representation + + property :executable_code, as: 'executableCode', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode::Representation + + property :file, as: 'file', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile::Representation + + property :inline_data, as: 'inlineData', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob::Representation + + property :role, as: 'role' + property :text, as: 'text' + property :thought, as: 'thought' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, :base64 => true, as: 'data' + property :mime_type, as: 'mimeType' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :outcome, as: 'outcome' + property :output, as: 'output' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantContentFile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_id, as: 'fileId' + property :mime_type, as: 'mimeType' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContent::Representation + + property :text_grounding_metadata, as: 'textGroundingMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata::Representation + + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference::Representation + + collection :segments, as: 'segments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment::Representation + + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata::Representation + + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :document, as: 'document' + property :domain, as: 'domain' + property :mime_type, as: 'mimeType' + property :page_identifier, as: 'pageIdentifier' + property :title, as: 'title' + property :uri, as: 'uri' + end + end + + class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_index, :numeric_string => true, as: 'endIndex' + property :grounding_score, as: 'groundingScore' + collection :reference_indices, as: 'referenceIndices' + property :start_index, :numeric_string => true, as: 'startIndex' + property :text, as: 'text' + end + end + class GoogleCloudDiscoveryengineV1alphaBapConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6869,6 +7262,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaContactDetails + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email_address, as: 'emailAddress' + end + end + class GoogleCloudDiscoveryengineV1alphaControl # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -7795,6 +8195,25 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaLicenseConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alert_policy_resource_config, as: 'alertPolicyResourceConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig::Representation + + property :auto_renew, as: 'autoRenew' + property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate::Representation + + property :free_trial, as: 'freeTrial' + property :license_count, :numeric_string => true, as: 'licenseCount' + property :name, as: 'name' + property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate::Representation + + property :state, as: 'state' + property :subscription_term, as: 'subscriptionTerm' + property :subscription_tier, as: 'subscriptionTier' + end + end + class GoogleCloudDiscoveryengineV1alphaListSessionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8431,6 +8850,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :answer, as: 'answer' property :detailed_answer, as: 'detailedAnswer', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswer, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswer::Representation + property :detailed_assist_answer, as: 'detailedAssistAnswer', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswer, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswer::Representation + property :query, as: 'query', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQuery::Representation hash :query_config, as: 'queryConfig' @@ -8768,6 +9189,27 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment::Representation + + property :alert_policy, as: 'alertPolicy' + collection :contact_details, as: 'contactDetails', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaContactDetails, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaContactDetails::Representation + + property :language_code, as: 'languageCode' + end + end + + class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alert_id, as: 'alertId' + property :enroll_state, as: 'enrollState' + hash :notification_params, as: 'notificationParams' + end + end + class GoogleCloudDiscoveryengineV1betaAlloyDbSource # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9899,6 +10341,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1betaContactDetails + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email_address, as: 'emailAddress' + end + end + class GoogleCloudDiscoveryengineV1betaControl # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10994,6 +11443,25 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1betaLicenseConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alert_policy_resource_config, as: 'alertPolicyResourceConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig::Representation + + property :auto_renew, as: 'autoRenew' + property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate::Representation + + property :free_trial, as: 'freeTrial' + property :license_count, :numeric_string => true, as: 'licenseCount' + property :name, as: 'name' + property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate::Representation + + property :state, as: 'state' + property :subscription_term, as: 'subscriptionTerm' + property :subscription_tier, as: 'subscriptionTier' + end + end + class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12376,6 +12844,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :answer, as: 'answer' property :detailed_answer, as: 'detailedAnswer', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer::Representation + property :detailed_assist_answer, as: 'detailedAssistAnswer', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer::Representation + property :query, as: 'query', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery::Representation hash :query_config, as: 'queryConfig' diff --git a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/service.rb b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/service.rb index 9cda0539433..39d3e3ede90 100644 --- a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/service.rb +++ b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/service.rb @@ -8825,6 +8825,120 @@ def list_project_location_identity_mapping_store_operations(name, filter: nil, p execute_or_queue_command(command, &block) end + # Creates a LicenseConfig + # @param [String] parent + # Required. The parent resource name, such as `projects/`project`/locations/` + # location``. + # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] google_cloud_discoveryengine_v1beta_license_config_object + # @param [String] license_config_id + # Optional. The ID to use for the LicenseConfig, which will become the final + # component of the LicenseConfig's resource name. We are using the tier (product + # edition) name as the license config id such as `search` or ` + # search_and_assistant`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_license_config(parent, google_cloud_discoveryengine_v1beta_license_config_object = nil, license_config_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta/{+parent}/licenseConfigs', options) + command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation + command.request_object = google_cloud_discoveryengine_v1beta_license_config_object + command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation + command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig + command.params['parent'] = parent unless parent.nil? + command.query['licenseConfigId'] = license_config_id unless license_config_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a LicenseConfig. + # @param [String] name + # Required. Full resource name of LicenseConfig, such as `projects/`project`/ + # locations/`location`/licenseConfigs/*`. If the caller does not have permission + # to access the LicenseConfig, regardless of whether or not it exists, a + # PERMISSION_DENIED error is returned. If the requested LicenseConfig does not + # exist, a NOT_FOUND error is returned. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_license_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta/{+name}', options) + command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation + command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the LicenseConfig + # @param [String] name + # Immutable. Identifier. The fully qualified resource name of the license config. + # Format: `projects/`project`/locations/`location`/licenseConfigs/` + # license_config`` + # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] google_cloud_discoveryengine_v1beta_license_config_object + # @param [String] update_mask + # Optional. Indicates which fields in the provided LicenseConfig to update. If + # an unsupported or unknown field is provided, an INVALID_ARGUMENT error is + # returned. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_license_config(name, google_cloud_discoveryengine_v1beta_license_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta/{+name}', options) + command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation + command.request_object = google_cloud_discoveryengine_v1beta_license_config_object + command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation + command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets the latest state of a long-running operation. Clients can use this method # to poll the operation result at intervals as recommended by the API service. # @param [String] name