diff --git a/api_names_out.yaml b/api_names_out.yaml index 991f81d4ec5..7f190276eb9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -217343,6 +217343,8 @@ : enable_get_processed_document ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig/enableImageAnnotation" : enable_image_annotation +? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig/enableLlmLayoutParsing" +: enable_llm_layout_parsing ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig/enableTableAnnotation" : enable_table_annotation "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig/excludeHtmlClasses": exclude_html_classes @@ -217373,6 +217375,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/appType": app_type "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/chatEngineConfig": chat_engine_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/chatEngineMetadata": chat_engine_metadata +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/cmekConfig": cmek_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/commonConfig": common_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/configurableBillingApproach": configurable_billing_approach "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/createTime": create_time @@ -217384,6 +217387,8 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/features/feature": feature "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/industryVertical": industry_vertical "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/mediaRecommendationEngineConfig": media_recommendation_engine_config +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/modelConfigs": model_configs +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/modelConfigs/model_config": model_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/name": name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/searchEngineConfig": search_engine_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1Engine/solutionType": solution_type @@ -217809,6 +217814,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgent/languageCode": language_code "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgent/name": name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgent/rejectionReason": rejection_reason +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgent/sharingConfig": sharing_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgent/starterPrompts": starter_prompts "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgent/starterPrompts/starter_prompt": starter_prompt "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgent/state": state @@ -217821,8 +217827,37 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentImage": google_cloud_discoveryengine_v1alpha_agent_image "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentImage/content": content "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentImage/uri": uri +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentSharingConfig": google_cloud_discoveryengine_v1alpha_agent_sharing_config +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentSharingConfig/scope": scope "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt": google_cloud_discoveryengine_v1alpha_agent_starter_prompt "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt/text": text +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView": google_cloud_discoveryengine_v1alpha_agent_view +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/agentOrigin": agent_origin +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/agentSharingState": agent_sharing_state +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/agentType": agent_type +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/customPlaceholderText": custom_placeholder_text +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/deploymentFailureReason": deployment_failure_reason +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/description": description +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/displayName": display_name +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/icon": icon +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/name": name +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/rejectionReason": rejection_reason +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/state": state +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/suggestedPrompts": suggested_prompts +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/suggestedPrompts/suggested_prompt": suggested_prompt +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/suspensionReason": suspension_reason +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/userAnnotations": user_annotations +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentView/userPermissions": user_permissions +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt": google_cloud_discoveryengine_v1alpha_agent_view_suggested_prompt +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt/text": text +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions": google_cloud_discoveryengine_v1alpha_agent_view_user_permissions +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions/canDelete": can_delete +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions/canEdit": can_edit +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions/canProposeUsers": can_propose_users +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions/canRequestReview": can_request_review +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions/canRun": can_run +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions/canView": can_view +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions/canWithdraw": can_withdraw "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig": google_cloud_discoveryengine_v1alpha_alert_policy_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig/alertEnrollments": alert_enrollments "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig/alertEnrollments/alert_enrollment": alert_enrollment @@ -218941,6 +218976,8 @@ : enable_get_processed_document ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableImageAnnotation" : enable_image_annotation +? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableLlmLayoutParsing" +: enable_llm_layout_parsing ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableTableAnnotation" : enable_table_annotation ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig/excludeHtmlClasses" @@ -218980,6 +219017,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/appType": app_type "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/chatEngineConfig": chat_engine_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/chatEngineMetadata": chat_engine_metadata +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/cmekConfig": cmek_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/commonConfig": common_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/configurableBillingApproach": configurable_billing_approach "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/createTime": create_time @@ -218991,6 +219029,8 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/features/feature": feature "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/industryVertical": industry_vertical "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/mediaRecommendationEngineConfig": media_recommendation_engine_config +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/modelConfigs": model_configs +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/modelConfigs/model_config": model_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/name": name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/recommendationMetadata": recommendation_metadata "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaEngine/searchEngineConfig": search_engine_config @@ -219278,6 +219318,8 @@ : rendered_content ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint/sdkBlob" : sdk_blob +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse": google_cloud_discoveryengine_v1alpha_get_agent_view_response +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse/agentView": agent_view "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse": google_cloud_discoveryengine_v1alpha_get_connector_secret_response "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse/app": app "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse/authorizationUri": authorization_uri @@ -219476,6 +219518,9 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/state": state "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/subscriptionTerm": subscription_term "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/subscriptionTier": subscription_tier +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats": google_cloud_discoveryengine_v1alpha_license_config_usage_stats +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats/licenseConfig": license_config +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats/usedLicenseCount": used_license_count "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAgentsResponse": google_cloud_discoveryengine_v1alpha_list_agents_response "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAgentsResponse/agents": agents "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAgentsResponse/agents/agent": agent @@ -219484,6 +219529,10 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse/authorizations": authorizations "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse/authorizations/authorization": authorization "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse/nextPageToken": next_page_token +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse": google_cloud_discoveryengine_v1alpha_list_available_agent_views_response +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse/agentViews": agent_views +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse/agentViews/agent_view": agent_view +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse/nextPageToken": next_page_token "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse": google_cloud_discoveryengine_v1alpha_list_billing_account_license_configs_response "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse/billingAccountLicenseConfigs": billing_account_license_configs ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse/billingAccountLicenseConfigs/billing_account_license_config" @@ -219559,6 +219608,10 @@ ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse/identityMappingEntries/identity_mapping_entry" : identity_mapping_entry "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse/nextPageToken": next_page_token +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse": google_cloud_discoveryengine_v1alpha_list_license_configs_usage_stats_response +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse/licenseConfigUsageStats": license_config_usage_stats +? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse/licenseConfigUsageStats/license_config_usage_stat" +: license_config_usage_stat "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse": google_cloud_discoveryengine_v1alpha_list_sample_queries_response "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse/nextPageToken": next_page_token "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse/sampleQueries": sample_queries @@ -220535,6 +220588,9 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse": google_cloud_discoveryengine_v1alpha_upload_session_file_response "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse/fileId": file_id "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse/mediaResponseInfo": media_response_info +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUserAnnotations": google_cloud_discoveryengine_v1alpha_user_annotations +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUserAnnotations/pinned": pinned +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUserAnnotations/viewed": viewed "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUserEvent": google_cloud_discoveryengine_v1alpha_user_event "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUserEvent/attributes": attributes "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaUserEvent/attributes/attribute": attribute @@ -220723,6 +220779,8 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings/features/feature": feature "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings/generativeAnswerConfig": generative_answer_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings/interactionType": interaction_type +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings/modelConfigs": model_configs +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings/modelConfigs/model_config": model_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings/resultDescriptionType": result_description_type "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings/searchAddonSpec": search_addon_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig": google_cloud_discoveryengine_v1alpha_widget_config_ui_settings_generative_answer_config @@ -220976,6 +221034,8 @@ : enable_get_processed_document ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableImageAnnotation" : enable_image_annotation +? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableLlmLayoutParsing" +: enable_llm_layout_parsing ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableTableAnnotation" : enable_table_annotation ? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig/excludeHtmlClasses" @@ -221007,6 +221067,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/appType": app_type "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/chatEngineConfig": chat_engine_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/chatEngineMetadata": chat_engine_metadata +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/cmekConfig": cmek_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/commonConfig": common_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/configurableBillingApproach": configurable_billing_approach "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/createTime": create_time @@ -221018,6 +221079,8 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/features/feature": feature "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/industryVertical": industry_vertical "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/mediaRecommendationEngineConfig": media_recommendation_engine_config +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/modelConfigs": model_configs +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/modelConfigs/model_config": model_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/name": name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/searchEngineConfig": search_engine_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaEngine/solutionType": solution_type @@ -221651,6 +221714,18 @@ "/discoveryengine:v1alpha/GoogleCloudNotebooklmV1alphaYoutubeMetadata": google_cloud_notebooklm_v1alpha_youtube_metadata "/discoveryengine:v1alpha/GoogleCloudNotebooklmV1alphaYoutubeMetadata/channelName": channel_name "/discoveryengine:v1alpha/GoogleCloudNotebooklmV1alphaYoutubeMetadata/videoId": video_id +"/discoveryengine:v1alpha/GoogleIamV1Binding": google_iam_v1_binding +"/discoveryengine:v1alpha/GoogleIamV1Binding/condition": condition +"/discoveryengine:v1alpha/GoogleIamV1Binding/members": members +"/discoveryengine:v1alpha/GoogleIamV1Binding/members/member": member +"/discoveryengine:v1alpha/GoogleIamV1Binding/role": role +"/discoveryengine:v1alpha/GoogleIamV1Policy": google_iam_v1_policy +"/discoveryengine:v1alpha/GoogleIamV1Policy/bindings": bindings +"/discoveryengine:v1alpha/GoogleIamV1Policy/bindings/binding": binding +"/discoveryengine:v1alpha/GoogleIamV1Policy/etag": etag +"/discoveryengine:v1alpha/GoogleIamV1Policy/version": version +"/discoveryengine:v1alpha/GoogleIamV1SetIamPolicyRequest": google_iam_v1_set_iam_policy_request +"/discoveryengine:v1alpha/GoogleIamV1SetIamPolicyRequest/policy": policy "/discoveryengine:v1alpha/GoogleLongrunningCancelOperationRequest": google_longrunning_cancel_operation_request "/discoveryengine:v1alpha/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response "/discoveryengine:v1alpha/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token @@ -222097,10 +222172,23 @@ "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.create/parent": parent "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.delete": delete_project_location_collection_engine_assistant_agent "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.delete/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.disableAgent": disable_project_location_collection_engine_assistant_agent_agent +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.disableAgent/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.enableAgent": enable_project_location_collection_engine_assistant_agent_agent +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.enableAgent/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.files.import": import_project_location_collection_engine_assistant_agent_file "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.files.import/parent": parent "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.get": get_project_location_collection_engine_assistant_agent "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.get/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.getAgentView": get_project_location_collection_engine_assistant_agent_agent_view +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.getAgentView/languageCode": language_code +? "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.getAgentView/maxSuggestedPrompts" +: max_suggested_prompts +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.getAgentView/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.getIamPolicy": get_project_location_collection_engine_assistant_agent_iam_policy +? "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.getIamPolicy/options.requestedPolicyVersion" +: options_requested_policy_version +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.getIamPolicy/resource": resource "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.list": list_project_location_collection_engine_assistant_agents "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.list/orderBy": order_by "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.list/pageSize": page_size @@ -222109,6 +222197,11 @@ "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.patch": patch_project_location_collection_engine_assistant_agent "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.patch/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.patch/updateMask": update_mask +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.setIamPolicy": set_project_location_collection_engine_assistant_agent_iam_policy +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.setIamPolicy/resource": resource +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.suspendAgent": suspend_project_location_collection_engine_assistant_agent_agent +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.suspendAgent/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.agents.suspendAgent/suspensionReason": suspension_reason "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.create": create_project_location_collection_engine_assistant_canned_query "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.create/cannedQueryId": canned_query_id "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.create/parent": parent @@ -222126,6 +222219,16 @@ "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.cannedQueries.patch/updateMask": update_mask "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.get": get_project_location_collection_engine_assistant "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.get/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews": list_project_location_collection_engine_assistant_available_agent_views +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews/agentOrigin": agent_origin +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews/filter": filter +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews/languageCode": language_code +? "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews/maxSuggestedPrompts" +: max_suggested_prompts +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews/pageSize": page_size +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews/pageToken": page_token +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews/parent": parent +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.listAvailableAgentViews/sortBy": sort_by "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.patch": patch_project_location_collection_engine_assistant "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.patch/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.assistants.patch/updateMask": update_mask @@ -222701,6 +222804,8 @@ "/discoveryengine:v1alpha/discoveryengine.projects.locations.userStores.delete/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.userStores.get": get_project_location_user_store "/discoveryengine:v1alpha/discoveryengine.projects.locations.userStores.get/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.userStores.licenseConfigsUsageStats.list": list_project_location_user_store_license_configs_usage_stats +"/discoveryengine:v1alpha/discoveryengine.projects.locations.userStores.licenseConfigsUsageStats.list/parent": parent "/discoveryengine:v1alpha/discoveryengine.projects.locations.userStores.operations.get": get_project_location_user_store_operation "/discoveryengine:v1alpha/discoveryengine.projects.locations.userStores.operations.get/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.userStores.operations.list": list_project_location_user_store_operations diff --git a/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md b/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md index 3b20cbe5a31..4341c233935 100644 --- a/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md +++ b/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-discoveryengine_v1alpha +### v0.83.0 (2025-11-16) + +* Regenerated from discovery document revision 20251109 + ### v0.82.0 (2025-11-02) * Regenerated from discovery document revision 20251030 diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb index 2fe2ca25289..92252bda9d7 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb @@ -4148,6 +4148,12 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar attr_accessor :enable_image_annotation alias_method :enable_image_annotation?, :enable_image_annotation + # Optional. If true, the pdf layout will be refined using an LLM. + # Corresponds to the JSON property `enableLlmLayoutParsing` + # @return [Boolean] + attr_accessor :enable_llm_layout_parsing + alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing + # Optional. If true, the LLM based annotation is added to the table during # parsing. # Corresponds to the JSON property `enableTableAnnotation` @@ -4184,6 +4190,7 @@ def initialize(**args) def update!(**args) @enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document) @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation) + @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing) @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation) @exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes) @exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements) @@ -4283,6 +4290,11 @@ class GoogleCloudDiscoveryengineV1Engine # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata] attr_accessor :chat_engine_metadata + # Configurations used to enable CMEK data encryption with Cloud KMS keys. + # Corresponds to the JSON property `cmekConfig` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1CmekConfig] + attr_accessor :cmek_config + # Common configurations for an Engine. # Corresponds to the JSON property `commonConfig` # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineCommonConfig] @@ -4344,6 +4356,17 @@ class GoogleCloudDiscoveryengineV1Engine # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig] attr_accessor :media_recommendation_engine_config + # Optional. Maps a model name to its specific configuration for this engine. + # This allows admin users to turn on/off individual models. This only stores + # models whose states are overridden by the admin. When the state is unspecified, + # or model_configs is empty for this model, the system will decide if this + # model should be available or not based on the default configuration. For + # example, a preview model should be disabled by default if the admin has not + # chosen to enable it. + # Corresponds to the JSON property `modelConfigs` + # @return [Hash] + attr_accessor :model_configs + # Immutable. Identifier. The fully qualified resource name of the engine. This # field must be a UTF-8 encoded string with a length limit of 1024 characters. # Format: `projects/`project`/locations/`location`/collections/`collection`/ @@ -4377,6 +4400,7 @@ def update!(**args) @app_type = args[:app_type] if args.key?(:app_type) @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config) @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata) + @cmek_config = args[:cmek_config] if args.key?(:cmek_config) @common_config = args[:common_config] if args.key?(:common_config) @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach) @create_time = args[:create_time] if args.key?(:create_time) @@ -4386,6 +4410,7 @@ def update!(**args) @features = args[:features] if args.key?(:features) @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical) @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config) + @model_configs = args[:model_configs] if args.key?(:model_configs) @name = args[:name] if args.key?(:name) @search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config) @solution_type = args[:solution_type] if args.key?(:solution_type) @@ -7637,6 +7662,11 @@ class GoogleCloudDiscoveryengineV1alphaAgent # @return [String] attr_accessor :rejection_reason + # Sharing related configuration. + # Corresponds to the JSON property `sharingConfig` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig] + attr_accessor :sharing_config + # Optional. The starter prompt suggestions to show the user on the landing page # of the agent. # Corresponds to the JSON property `starterPrompts` @@ -7678,6 +7708,7 @@ def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason) + @sharing_config = args[:sharing_config] if args.key?(:sharing_config) @starter_prompts = args[:starter_prompts] if args.key?(:starter_prompts) @state = args[:state] if args.key?(:state) @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason) @@ -7743,6 +7774,25 @@ def update!(**args) end end + # Sharing related configuration. + class GoogleCloudDiscoveryengineV1alphaAgentSharingConfig + include Google::Apis::Core::Hashable + + # Optional. The sharing scope of the agent. + # Corresponds to the JSON property `scope` + # @return [String] + attr_accessor :scope + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @scope = args[:scope] if args.key?(:scope) + end + end + # The starter prompt suggestion to show the user on the landing page of the # agent. class GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt @@ -7763,6 +7813,204 @@ def update!(**args) end end + # The data for displaying an Agent. + class GoogleCloudDiscoveryengineV1alphaAgentView + include Google::Apis::Core::Hashable + + # Immutable. The origin of the Agent. + # Corresponds to the JSON property `agentOrigin` + # @return [String] + attr_accessor :agent_origin + + # Output only. The sharing state of the agent. + # Corresponds to the JSON property `agentSharingState` + # @return [String] + attr_accessor :agent_sharing_state + + # Output only. The type of the agent. + # Corresponds to the JSON property `agentType` + # @return [String] + attr_accessor :agent_type + + # The custom placeholder text that appears in the text box before the user + # enters any text. + # Corresponds to the JSON property `customPlaceholderText` + # @return [String] + attr_accessor :custom_placeholder_text + + # The reason why the agent deployment failed. Only set if the state is + # DEPLOYMENT_FAILED. + # Corresponds to the JSON property `deploymentFailureReason` + # @return [String] + attr_accessor :deployment_failure_reason + + # Required. Human-readable description of the agent. This might be used by an + # LLM to automatically select an agent to respond to a user query and to + # generate the first version of the steps for the agent that can be modified by + # the user. The language of this is either Agent.language_code, or + # ListAvailableAgentViewsRequest.language_code if translations are enabled. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. Display name of the agent. The language of this is either Agent. + # language_code, or ListAvailableAgentViewsRequest.language_code if translations + # are enabled. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Represents an image. + # Corresponds to the JSON property `icon` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage] + attr_accessor :icon + + # Resource name of the agent. Format: `projects/`project`/locations/`location`/ + # collections/`collection`/engines/`engine`/assistants/`assistant`/agents/`agent` + # ` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The reason why the agent was rejected. Only set if the state is PRIVATE, and + # got there via rejection. + # Corresponds to the JSON property `rejectionReason` + # @return [String] + attr_accessor :rejection_reason + + # Output only. The state of the Agent. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Optional. The suggested prompts for the agent, to be shown on the agent + # landing page. + # Corresponds to the JSON property `suggestedPrompts` + # @return [Array] + attr_accessor :suggested_prompts + + # The reason why the agent was suspended. Only set if the state is SUSPENDED. + # Corresponds to the JSON property `suspensionReason` + # @return [String] + attr_accessor :suspension_reason + + # Per-user annotations for an Agent, based on UserAnnotation. + # Corresponds to the JSON property `userAnnotations` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserAnnotations] + attr_accessor :user_annotations + + # The permissions of the user on an Agent. + # Corresponds to the JSON property `userPermissions` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions] + attr_accessor :user_permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent_origin = args[:agent_origin] if args.key?(:agent_origin) + @agent_sharing_state = args[:agent_sharing_state] if args.key?(:agent_sharing_state) + @agent_type = args[:agent_type] if args.key?(:agent_type) + @custom_placeholder_text = args[:custom_placeholder_text] if args.key?(:custom_placeholder_text) + @deployment_failure_reason = args[:deployment_failure_reason] if args.key?(:deployment_failure_reason) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @icon = args[:icon] if args.key?(:icon) + @name = args[:name] if args.key?(:name) + @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason) + @state = args[:state] if args.key?(:state) + @suggested_prompts = args[:suggested_prompts] if args.key?(:suggested_prompts) + @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason) + @user_annotations = args[:user_annotations] if args.key?(:user_annotations) + @user_permissions = args[:user_permissions] if args.key?(:user_permissions) + end + end + + # A suggested prompt for the agent, to be shown on the agent landing page. + class GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt + include Google::Apis::Core::Hashable + + # Required. The text of the suggested prompt. The language of this is either + # Agent.language_code, or ListAvailableAgentViewsRequest.language_code if + # translations are enabled. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + end + end + + # The permissions of the user on an Agent. + class GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions + include Google::Apis::Core::Hashable + + # If the user can delete this Agent. + # Corresponds to the JSON property `canDelete` + # @return [Boolean] + attr_accessor :can_delete + alias_method :can_delete?, :can_delete + + # If the user can edit this Agent. + # Corresponds to the JSON property `canEdit` + # @return [Boolean] + attr_accessor :can_edit + alias_method :can_edit?, :can_edit + + # If the user can propose other users to share the Agent with. + # Corresponds to the JSON property `canProposeUsers` + # @return [Boolean] + attr_accessor :can_propose_users + alias_method :can_propose_users?, :can_propose_users + + # If the user can request a review for this Agent. + # Corresponds to the JSON property `canRequestReview` + # @return [Boolean] + attr_accessor :can_request_review + alias_method :can_request_review?, :can_request_review + + # If the user can run this Agent. + # Corresponds to the JSON property `canRun` + # @return [Boolean] + attr_accessor :can_run + alias_method :can_run?, :can_run + + # If the user can view the source of this Agent. + # Corresponds to the JSON property `canView` + # @return [Boolean] + attr_accessor :can_view + alias_method :can_view?, :can_view + + # If the user can withdraw this Agent. + # Corresponds to the JSON property `canWithdraw` + # @return [Boolean] + attr_accessor :can_withdraw + alias_method :can_withdraw?, :can_withdraw + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @can_delete = args[:can_delete] if args.key?(:can_delete) + @can_edit = args[:can_edit] if args.key?(:can_edit) + @can_propose_users = args[:can_propose_users] if args.key?(:can_propose_users) + @can_request_review = args[:can_request_review] if args.key?(:can_request_review) + @can_run = args[:can_run] if args.key?(:can_run) + @can_view = args[:can_view] if args.key?(:can_view) + @can_withdraw = args[:can_withdraw] if args.key?(:can_withdraw) + end + end + # The connector level alert config. class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig include Google::Apis::Core::Hashable @@ -15508,6 +15756,12 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo attr_accessor :enable_image_annotation alias_method :enable_image_annotation?, :enable_image_annotation + # Optional. If true, the pdf layout will be refined using an LLM. + # Corresponds to the JSON property `enableLlmLayoutParsing` + # @return [Boolean] + attr_accessor :enable_llm_layout_parsing + alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing + # Optional. If true, the LLM based annotation is added to the table during # parsing. # Corresponds to the JSON property `enableTableAnnotation` @@ -15544,6 +15798,7 @@ def initialize(**args) def update!(**args) @enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document) @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation) + @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing) @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation) @exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes) @exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements) @@ -15694,6 +15949,11 @@ class GoogleCloudDiscoveryengineV1alphaEngine # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata] attr_accessor :chat_engine_metadata + # Configurations used to enable CMEK data encryption with Cloud KMS keys. + # Corresponds to the JSON property `cmekConfig` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCmekConfig] + attr_accessor :cmek_config + # Common configurations for an Engine. # Corresponds to the JSON property `commonConfig` # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig] @@ -15755,6 +16015,17 @@ class GoogleCloudDiscoveryengineV1alphaEngine # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig] attr_accessor :media_recommendation_engine_config + # Optional. Maps a model name to its specific configuration for this engine. + # This allows admin users to turn on/off individual models. This only stores + # models whose states are overridden by the admin. When the state is unspecified, + # or model_configs is empty for this model, the system will decide if this + # model should be available or not based on the default configuration. For + # example, a preview model should be disabled by default if the admin has not + # chosen to enable it. + # Corresponds to the JSON property `modelConfigs` + # @return [Hash] + attr_accessor :model_configs + # Immutable. Identifier. The fully qualified resource name of the engine. This # field must be a UTF-8 encoded string with a length limit of 1024 characters. # Format: `projects/`project`/locations/`location`/collections/`collection`/ @@ -15798,6 +16069,7 @@ def update!(**args) @app_type = args[:app_type] if args.key?(:app_type) @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config) @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata) + @cmek_config = args[:cmek_config] if args.key?(:cmek_config) @common_config = args[:common_config] if args.key?(:common_config) @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach) @create_time = args[:create_time] if args.key?(:create_time) @@ -15807,6 +16079,7 @@ def update!(**args) @features = args[:features] if args.key?(:features) @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical) @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config) + @model_configs = args[:model_configs] if args.key?(:model_configs) @name = args[:name] if args.key?(:name) @recommendation_metadata = args[:recommendation_metadata] if args.key?(:recommendation_metadata) @search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config) @@ -17120,6 +17393,25 @@ def update!(**args) end end + # Response message for the AgentService.GetAgentView method. + class GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse + include Google::Apis::Core::Hashable + + # The data for displaying an Agent. + # Corresponds to the JSON property `agentView` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentView] + attr_accessor :agent_view + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent_view = args[:agent_view] if args.key?(:agent_view) + end + end + # Response message for DataConnectorService.GetConnectorSecret. class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse include Google::Apis::Core::Hashable @@ -18560,6 +18852,31 @@ def update!(**args) end end + # Stats about users' licenses. + class GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats + include Google::Apis::Core::Hashable + + # Required. The LicenseConfig name. + # Corresponds to the JSON property `licenseConfig` + # @return [String] + attr_accessor :license_config + + # Required. The number of licenses used. + # Corresponds to the JSON property `usedLicenseCount` + # @return [Fixnum] + attr_accessor :used_license_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @license_config = args[:license_config] if args.key?(:license_config) + @used_license_count = args[:used_license_count] if args.key?(:used_license_count) + end + end + # Response message for the AgentService.ListAgents method. class GoogleCloudDiscoveryengineV1alphaListAgentsResponse include Google::Apis::Core::Hashable @@ -18612,6 +18929,33 @@ def update!(**args) end end + # Response message for the AgentService.ListAvailableAgentViews method. + class GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse + include Google::Apis::Core::Hashable + + # The agent sources visible to the caller under the parent Assistant. + # Corresponds to the JSON property `agentViews` + # @return [Array] + attr_accessor :agent_views + + # A token that can be sent as ListAvailableAgentViewsRequest.page_token to + # retrieve the next page. If this field is omitted, there are no subsequent + # pages. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent_views = args[:agent_views] if args.key?(:agent_views) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for LicenseConfigService.ListBillingAccountLicenseConfigs # method. class GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse @@ -19085,6 +19429,25 @@ def update!(**args) end end + # Response message for UserLicenseService.ListLicenseConfigUsageStats method. + class GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse + include Google::Apis::Core::Hashable + + # All the customer's LicenseConfigUsageStats. + # Corresponds to the JSON property `licenseConfigUsageStats` + # @return [Array] + attr_accessor :license_config_usage_stats + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @license_config_usage_stats = args[:license_config_usage_stats] if args.key?(:license_config_usage_stats) + end + end + # Response message for SampleQueryService.ListSampleQueries method. class GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse include Google::Apis::Core::Hashable @@ -26218,6 +26581,34 @@ def update!(**args) end end + # Per-user annotations for an Agent, based on UserAnnotation. + class GoogleCloudDiscoveryengineV1alphaUserAnnotations + include Google::Apis::Core::Hashable + + # Optional. Whether the agent is pinned, pinned agent will be displayed on the + # top of the agent list. + # Corresponds to the JSON property `pinned` + # @return [Boolean] + attr_accessor :pinned + alias_method :pinned?, :pinned + + # Optional. Whether the agent has been viewed by the user. + # Corresponds to the JSON property `viewed` + # @return [Boolean] + attr_accessor :viewed + alias_method :viewed?, :viewed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pinned = args[:pinned] if args.key?(:pinned) + @viewed = args[:viewed] if args.key?(:viewed) + end + end + # UserEvent captures all metadata information Discovery Engine API needs to know # about how end users interact with your website. class GoogleCloudDiscoveryengineV1alphaUserEvent @@ -27462,6 +27853,17 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings # @return [String] attr_accessor :interaction_type + # Output only. Maps a model name to its specific configuration for this engine. + # This allows admin users to turn on/off individual models. This only stores + # models whose states are overridden by the admin. When the state is unspecified, + # or model_configs is empty for this model, the system will decide if this + # model should be available or not based on the default configuration. For + # example, a preview model should be disabled by default if the admin has not + # chosen to enable it. + # Corresponds to the JSON property `modelConfigs` + # @return [Hash] + attr_accessor :model_configs + # Controls whether result extract is display and how (snippet or extractive # answer). Default to no result if unspecified. # Corresponds to the JSON property `resultDescriptionType` @@ -27493,6 +27895,7 @@ def update!(**args) @features = args[:features] if args.key?(:features) @generative_answer_config = args[:generative_answer_config] if args.key?(:generative_answer_config) @interaction_type = args[:interaction_type] if args.key?(:interaction_type) + @model_configs = args[:model_configs] if args.key?(:model_configs) @result_description_type = args[:result_description_type] if args.key?(:result_description_type) @search_addon_spec = args[:search_addon_spec] if args.key?(:search_addon_spec) end @@ -29147,6 +29550,12 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou attr_accessor :enable_image_annotation alias_method :enable_image_annotation?, :enable_image_annotation + # Optional. If true, the pdf layout will be refined using an LLM. + # Corresponds to the JSON property `enableLlmLayoutParsing` + # @return [Boolean] + attr_accessor :enable_llm_layout_parsing + alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing + # Optional. If true, the LLM based annotation is added to the table during # parsing. # Corresponds to the JSON property `enableTableAnnotation` @@ -29183,6 +29592,7 @@ def initialize(**args) def update!(**args) @enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document) @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation) + @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing) @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation) @exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes) @exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements) @@ -29282,6 +29692,11 @@ class GoogleCloudDiscoveryengineV1betaEngine # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata] attr_accessor :chat_engine_metadata + # Configurations used to enable CMEK data encryption with Cloud KMS keys. + # Corresponds to the JSON property `cmekConfig` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCmekConfig] + attr_accessor :cmek_config + # Common configurations for an Engine. # Corresponds to the JSON property `commonConfig` # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineCommonConfig] @@ -29343,6 +29758,17 @@ class GoogleCloudDiscoveryengineV1betaEngine # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig] attr_accessor :media_recommendation_engine_config + # Optional. Maps a model name to its specific configuration for this engine. + # This allows admin users to turn on/off individual models. This only stores + # models whose states are overridden by the admin. When the state is unspecified, + # or model_configs is empty for this model, the system will decide if this + # model should be available or not based on the default configuration. For + # example, a preview model should be disabled by default if the admin has not + # chosen to enable it. + # Corresponds to the JSON property `modelConfigs` + # @return [Hash] + attr_accessor :model_configs + # Immutable. Identifier. The fully qualified resource name of the engine. This # field must be a UTF-8 encoded string with a length limit of 1024 characters. # Format: `projects/`project`/locations/`location`/collections/`collection`/ @@ -29376,6 +29802,7 @@ def update!(**args) @app_type = args[:app_type] if args.key?(:app_type) @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config) @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata) + @cmek_config = args[:cmek_config] if args.key?(:cmek_config) @common_config = args[:common_config] if args.key?(:common_config) @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach) @create_time = args[:create_time] if args.key?(:create_time) @@ -29385,6 +29812,7 @@ def update!(**args) @features = args[:features] if args.key?(:features) @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical) @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config) + @model_configs = args[:model_configs] if args.key?(:model_configs) @name = args[:name] if args.key?(:name) @search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config) @solution_type = args[:solution_type] if args.key?(:solution_type) @@ -34426,6 +34854,241 @@ def update!(**args) end end + # Associates `members`, or principals, with a `role`. + class GoogleIamV1Binding + include Google::Apis::Core::Hashable + + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeExpr] + attr_accessor :condition + + # Specifies the principals requesting access for a Google Cloud resource. ` + # members` can have the following values: * `allUsers`: A special identifier + # that represents anyone who is on the internet; with or without a Google + # account. * `allAuthenticatedUsers`: A special identifier that represents + # anyone who is authenticated with a Google account or a service account. Does + # not include identities that come from external identity providers (IdPs) + # through identity federation. * `user:`emailid``: An email address that + # represents a specific Google account. For example, `alice@example.com` . * ` + # serviceAccount:`emailid``: An email address that represents a Google service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. * ` + # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An + # identifier for a [Kubernetes service account](https://cloud.google.com/ + # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my- + # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An + # email address that represents a Google group. For example, `admins@example.com` + # . * `domain:`domain``: The G Suite domain (primary) that represents all the + # users of that domain. For example, `google.com` or `example.com`. * `principal: + # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/` + # subject_attribute_value``: A single identity in a workforce identity pool. * ` + # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/ + # group/`group_id``: All workforce identities in a group. * `principalSet://iam. + # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.` + # attribute_name`/`attribute_value``: All workforce identities with a specific + # attribute value. * `principalSet://iam.googleapis.com/locations/global/ + # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * ` + # principal://iam.googleapis.com/projects/`project_number`/locations/global/ + # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single + # identity in a workload identity pool. * `principalSet://iam.googleapis.com/ + # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/ + # group/`group_id``: A workload identity pool group. * `principalSet://iam. + # googleapis.com/projects/`project_number`/locations/global/ + # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``: + # All identities in a workload identity pool with a certain attribute. * ` + # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/ + # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool. + # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a user that has been recently deleted. For example, ` + # alice@example.com?uid=123456789012345678901`. If the user is recovered, this + # value reverts to `user:`emailid`` and the recovered user retains the role in + # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email + # address (plus unique identifier) representing a service account that has been + # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid= + # 123456789012345678901`. If the service account is undeleted, this value + # reverts to `serviceAccount:`emailid`` and the undeleted service account + # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``: + # An email address (plus unique identifier) representing a Google group that has + # been recently deleted. For example, `admins@example.com?uid= + # 123456789012345678901`. If the group is recovered, this value reverts to ` + # group:`emailid`` and the recovered group retains the role in the binding. * ` + # deleted:principal://iam.googleapis.com/locations/global/workforcePools/` + # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a + # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/ + # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to the list of `members`, or principals. For example, ` + # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + # roles and permissions, see the [IAM documentation](https://cloud.google.com/ + # iam/docs/roles-overview). For a list of the available pre-defined roles, see [ + # here](https://cloud.google.com/iam/docs/understanding-roles). + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # An Identity and Access Management (IAM) policy, which specifies access + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members`, or principals, to a single `role`. + # Principals can be user accounts, service accounts, Google groups, and domains ( + # such as G Suite). A `role` is a named list of permissions; each `role` can be + # an IAM predefined role or a user-created custom role. For some types of Google + # Cloud resources, a `binding` can also specify a `condition`, which is a + # logical expression that allows access to a resource only if the expression + # evaluates to `true`. A condition can add constraints based on attributes of + # the request, the resource, or both. To learn which resources support + # conditions in their IAM policies, see the [IAM documentation](https://cloud. + # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` " + # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [ + # "user:mike@example.com", "group:admins@example.com", "domain:google.com", " + # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant + # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: + # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML + # example:** ``` bindings: - members: - user:mike@example.com - group:admins@ + # example.com - domain:google.com - serviceAccount:my-project-id@appspot. + # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - + # user:eve@example.com role: roles/resourcemanager.organizationViewer condition: + # title: expirable access description: Does not grant access after Sep 2020 + # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: + # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the + # [IAM documentation](https://cloud.google.com/iam/docs/). + class GoogleIamV1Policy + include Google::Apis::Core::Hashable + + # Associates a list of `members`, or principals, with a `role`. Optionally, may + # specify a `condition` that determines how and when the `bindings` are applied. + # Each of the `bindings` must contain at least one principal. The `bindings` in + # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals + # can be Google groups. Each occurrence of a principal counts towards these + # limits. For example, if the `bindings` grant 50 different roles to `user:alice@ + # example.com`, and not to any other principal, then you can add another 1,450 + # principals to the `bindings` in the `Policy`. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help prevent + # simultaneous updates of a policy from overwriting each other. It is strongly + # suggested that systems make use of the `etag` in the read-modify-write cycle + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. **Important:** If you use IAM + # Conditions, you must include the `etag` field whenever you call `setIamPolicy`. + # If you omit this field, then IAM allows you to overwrite a version `3` policy + # with a version `1` policy, and all of the conditions in the version `3` policy + # are lost. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + # Requests that specify an invalid value are rejected. Any operation that + # affects conditional role bindings must specify version `3`. This requirement + # applies to the following operations: * Getting a policy that includes a + # conditional role binding * Adding a conditional role binding to a policy * + # Changing a conditional role binding in a policy * Removing any role binding, + # with or without a condition, from a policy that includes conditions ** + # Important:** If you use IAM Conditions, you must include the `etag` field + # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you + # to overwrite a version `3` policy with a version `1` policy, and all of the + # conditions in the version `3` policy are lost. If a policy does not include + # any conditions, operations on that policy may specify any valid version or + # leave the field unset. To learn which resources support conditions in their + # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/ + # conditions/resource-policies). + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) + end + end + + # Request message for `SetIamPolicy` method. + class GoogleIamV1SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # An Identity and Access Management (IAM) policy, which specifies access + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members`, or principals, to a single `role`. + # Principals can be user accounts, service accounts, Google groups, and domains ( + # such as G Suite). A `role` is a named list of permissions; each `role` can be + # an IAM predefined role or a user-created custom role. For some types of Google + # Cloud resources, a `binding` can also specify a `condition`, which is a + # logical expression that allows access to a resource only if the expression + # evaluates to `true`. A condition can add constraints based on attributes of + # the request, the resource, or both. To learn which resources support + # conditions in their IAM policies, see the [IAM documentation](https://cloud. + # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` " + # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [ + # "user:mike@example.com", "group:admins@example.com", "domain:google.com", " + # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant + # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: + # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML + # example:** ``` bindings: - members: - user:mike@example.com - group:admins@ + # example.com - domain:google.com - serviceAccount:my-project-id@appspot. + # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - + # user:eve@example.com role: roles/resourcemanager.organizationViewer condition: + # title: expirable access description: Does not grant access after Sep 2020 + # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: + # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the + # [IAM documentation](https://cloud.google.com/iam/docs/). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + end + end + # The request message for Operations.CancelOperation. class GoogleLongrunningCancelOperationRequest include Google::Apis::Core::Hashable diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb index 70f1e04bf36..416e5fdf331 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DiscoveryengineV1alpha # Version of the google-apis-discoveryengine_v1alpha gem - GEM_VERSION = "0.82.0" + GEM_VERSION = "0.83.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 = "20251030" + REVISION = "20251109" end end end diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb index 9c846790d31..7e0839bc64f 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb @@ -1144,12 +1144,36 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaAgentSharingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaAgentView + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2650,6 +2674,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2902,6 +2932,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaListAgentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2914,6 +2950,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3028,6 +3070,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4180,6 +4228,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaUserAnnotations + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaUserEvent class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5470,6 +5524,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleIamV1Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleLongrunningCancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -6587,6 +6659,7 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar class Representation < Google::Apis::Core::JsonRepresentation property :enable_get_processed_document, as: 'enableGetProcessedDocument' property :enable_image_annotation, as: 'enableImageAnnotation' + property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing' property :enable_table_annotation, as: 'enableTableAnnotation' collection :exclude_html_classes, as: 'excludeHtmlClasses' collection :exclude_html_elements, as: 'excludeHtmlElements' @@ -6625,6 +6698,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata::Representation + property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1CmekConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1CmekConfig::Representation + property :common_config, as: 'commonConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineCommonConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineCommonConfig::Representation property :configurable_billing_approach, as: 'configurableBillingApproach' @@ -6636,6 +6711,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :industry_vertical, as: 'industryVertical' property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig::Representation + hash :model_configs, as: 'modelConfigs' property :name, as: 'name' property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig::Representation @@ -7491,6 +7567,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :language_code, as: 'languageCode' property :name, as: 'name' property :rejection_reason, as: 'rejectionReason' + property :sharing_config, as: 'sharingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig::Representation + collection :starter_prompts, as: 'starterPrompts', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt::Representation property :state, as: 'state' @@ -7516,6 +7594,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaAgentSharingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :scope, as: 'scope' + end + end + class GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -7523,6 +7608,51 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaAgentView + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent_origin, as: 'agentOrigin' + property :agent_sharing_state, as: 'agentSharingState' + property :agent_type, as: 'agentType' + property :custom_placeholder_text, as: 'customPlaceholderText' + property :deployment_failure_reason, as: 'deploymentFailureReason' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :icon, as: 'icon', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage::Representation + + property :name, as: 'name' + property :rejection_reason, as: 'rejectionReason' + property :state, as: 'state' + collection :suggested_prompts, as: 'suggestedPrompts', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt::Representation + + property :suspension_reason, as: 'suspensionReason' + property :user_annotations, as: 'userAnnotations', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserAnnotations, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserAnnotations::Representation + + property :user_permissions, as: 'userPermissions', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions::Representation + + end + end + + class GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + end + end + + class GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :can_delete, as: 'canDelete' + property :can_edit, as: 'canEdit' + property :can_propose_users, as: 'canProposeUsers' + property :can_request_review, as: 'canRequestReview' + property :can_run, as: 'canRun' + property :can_view, as: 'canView' + property :can_withdraw, as: 'canWithdraw' + end + end + class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9675,6 +9805,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo class Representation < Google::Apis::Core::JsonRepresentation property :enable_get_processed_document, as: 'enableGetProcessedDocument' property :enable_image_annotation, as: 'enableImageAnnotation' + property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing' property :enable_table_annotation, as: 'enableTableAnnotation' collection :exclude_html_classes, as: 'excludeHtmlClasses' collection :exclude_html_elements, as: 'excludeHtmlElements' @@ -9733,6 +9864,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation + property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCmekConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCmekConfig::Representation + property :common_config, as: 'commonConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig::Representation property :configurable_billing_approach, as: 'configurableBillingApproach' @@ -9744,6 +9877,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :industry_vertical, as: 'industryVertical' property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig::Representation + hash :model_configs, as: 'modelConfigs' property :name, as: 'name' property :recommendation_metadata, as: 'recommendationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata::Representation @@ -10097,6 +10231,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent_view, as: 'agentView', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentView, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentView::Representation + + end + end + class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10526,6 +10668,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :license_config, as: 'licenseConfig' + property :used_license_count, :numeric_string => true, as: 'usedLicenseCount' + end + end + class GoogleCloudDiscoveryengineV1alphaListAgentsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10544,6 +10694,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :agent_views, as: 'agentViews', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentView, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentView::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10713,6 +10872,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :license_config_usage_stats, as: 'licenseConfigUsageStats', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats::Representation + + end + end + class GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12626,6 +12793,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaUserAnnotations + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pinned, as: 'pinned' + property :viewed, as: 'viewed' + end + end + class GoogleCloudDiscoveryengineV1alphaUserEvent # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12899,6 +13074,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :generative_answer_config, as: 'generativeAnswerConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig::Representation property :interaction_type, as: 'interactionType' + hash :model_configs, as: 'modelConfigs' property :result_description_type, as: 'resultDescriptionType' property :search_addon_spec, as: 'searchAddonSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec::Representation @@ -13367,6 +13543,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou class Representation < Google::Apis::Core::JsonRepresentation property :enable_get_processed_document, as: 'enableGetProcessedDocument' property :enable_image_annotation, as: 'enableImageAnnotation' + property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing' property :enable_table_annotation, as: 'enableTableAnnotation' collection :exclude_html_classes, as: 'excludeHtmlClasses' collection :exclude_html_elements, as: 'excludeHtmlElements' @@ -13405,6 +13582,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata::Representation + property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCmekConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCmekConfig::Representation + property :common_config, as: 'commonConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineCommonConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineCommonConfig::Representation property :configurable_billing_approach, as: 'configurableBillingApproach' @@ -13416,6 +13595,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :industry_vertical, as: 'industryVertical' property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig::Representation + hash :model_configs, as: 'modelConfigs' property :name, as: 'name' property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig::Representation @@ -14823,6 +15003,34 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleIamV1Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeExpr, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeExpr::Representation + + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class GoogleIamV1Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bindings, as: 'bindings', class: Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Binding, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + end + end + + class GoogleIamV1SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy::Representation + + end + end + class GoogleLongrunningCancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb index 236c7beef4e..836ca8ead1d 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb @@ -5696,6 +5696,74 @@ def get_project_location_collection_engine_assistant(name, fields: nil, quota_us execute_or_queue_command(command, &block) end + # Lists the data for displaying the Agents under an Assistant which are + # available to the caller. + # @param [String] parent + # Required. The parent resource name. Format: `projects/`project`/locations/` + # location`/collections/`collection`/engines/`engine`/assistants/`assistant`` + # @param [String] agent_origin + # Optional. The origin of the Agent. + # @param [String] filter + # Optional. The filter syntax consists of an expression language for + # constructing a predicate from one or more fields of the files being filtered. + # Filter expression is case-sensitive. Allowed fields are: * `display_name` * ` + # state` Some examples of filters would be: * `display_name = 'agent_1'` * ` + # display_name = 'agent_1' AND state = ENABLED` For a full description of the + # filter format, please see https://google.aip.dev/160. + # @param [String] language_code + # Optional. The UI language currently shown to the user. Specifying this field + # request that the texts in the AgentViews in the response should be translated + # to this language. + # @param [Fixnum] max_suggested_prompts + # Optional. The maximum number of suggested prompts to return per agent. + # @param [Fixnum] page_size + # Optional. Maximum number of AgentViewss to return. If unspecified, defaults to + # 100. The maximum allowed value is 1000; anything above that will be coerced + # down to 1000. + # @param [String] page_token + # Optional. A page token ListAvailableAgentViewsResponse.next_page_token, + # received from a previous AgentService.ListAvailableAgentViews call. Provide + # this to retrieve the subsequent page. When paginating, all other parameters + # provided to ListAvailableAgentViews must match the call that provided the page + # token. + # @param [String] sort_by + # Optional. The field to sort by. Can have the following values: - display-name: + # The display name of the agent. - description: The description of the agent. - + # create-time: The creation time of the agent. - state: The state of the agent. + # @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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse] + # + # @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 list_project_location_collection_engine_assistant_available_agent_views(parent, agent_origin: nil, filter: nil, language_code: nil, max_suggested_prompts: nil, page_size: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+parent}:listAvailableAgentViews', options) + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse + command.params['parent'] = parent unless parent.nil? + command.query['agentOrigin'] = agent_origin unless agent_origin.nil? + command.query['filter'] = filter unless filter.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['maxSuggestedPrompts'] = max_suggested_prompts unless max_suggested_prompts.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['sortBy'] = sort_by unless sort_by.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 an Assistant # @param [String] name # Immutable. Resource name of the assistant. Format: `projects/`project`/ @@ -5839,6 +5907,73 @@ def delete_project_location_collection_engine_assistant_agent(name, fields: nil, execute_or_queue_command(command, &block) end + # Disables an Agent. The `state` of the Agent becomes `DISABLED`. Can be called + # on an Agent in the state `ENABLED` or`SUSPENDED`, otherwise it returns an + # error. + # @param [String] name + # Required. The name of the Agent to disable. Format: `projects/`project`/ + # locations/`location`/collections/`collection`/engines/`engine`/assistants/` + # assistant`/agents/`agent`` + # @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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] + # + # @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 disable_project_location_collection_engine_assistant_agent_agent(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+name}:disableAgent', options) + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent + 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 + + # Enables an Agent. The `state` of the Agent becomes `ENABLED`. Can be called on + # an Agent in the state `DISABLED` or 'SUSPENDED', otherwise it returns an error. + # @param [String] name + # Required. The name of the Agent to enable. Format: `projects/`project`/ + # locations/`location`/collections/`collection`/engines/`engine`/assistants/` + # assistant`/agents/`agent`` + # @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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] + # + # @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 enable_project_location_collection_engine_assistant_agent_agent(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+name}:enableAgent', options) + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent + 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 + # Gets an Agent. # @param [String] name # Required. Resource name of Agent. Format: `projects/`project`/locations/` @@ -5871,6 +6006,93 @@ def get_project_location_collection_engine_assistant_agent(name, fields: nil, qu execute_or_queue_command(command, &block) end + # Returns a AgentView for a given Agent, which contains additional information + # about the Agent. + # @param [String] name + # Required. The name of the Agent to get. Format: `projects/`project`/locations/` + # location`/collections/`collection`/engines/`engine`/assistants/`assistant`/ + # agents/`agent`` + # @param [String] language_code + # Optional. The UI language currently shown to the user. Specifying this field + # request that the texts in the AgentView in the response should be translated + # to this language. + # @param [Fixnum] max_suggested_prompts + # Optional. The maximum number of suggested prompts to return per agent. + # @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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse] + # + # @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_collection_engine_assistant_agent_agent_view(name, language_code: nil, max_suggested_prompts: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+name}:getAgentView', options) + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['maxSuggestedPrompts'] = max_suggested_prompts unless max_suggested_prompts.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 access control policy for an agent resource. A `NOT_FOUND` error is + # returned if the resource does not exist. An empty policy is returned if the + # resource exists but does not have a policy set on it. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. See [Resource + # names](https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The maximum policy version that will be used to format the policy. + # Valid values are 0, 1, and 3. Requests specifying an invalid value will be + # rejected. Requests for policies with any conditional role bindings must + # specify version 3. Policies with no conditional role bindings may specify any + # valid value or leave the field unset. The policy in the response might use the + # policy version that you specified, or it might use a lower policy version. For + # example, if you specify version 3, but the policy has no conditional role + # bindings, the response uses version 1. To learn which resources support + # conditions in their IAM policies, see the [IAM documentation](https://cloud. + # google.com/iam/help/conditions/resource-policies). + # @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::DiscoveryengineV1alpha::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy] + # + # @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_collection_engine_assistant_agent_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists all Agents under an Assistant which were created by the caller. # @param [String] parent # Required. The parent resource name. Format: `projects/`project`/locations/` @@ -5957,6 +6179,82 @@ def patch_project_location_collection_engine_assistant_agent(name, google_cloud_ execute_or_queue_command(command, &block) end + # Sets the access control policy for an agent resource. A `NOT_FOUND` error is + # returned if the resource does not exist. Policy can only contain `roles/ + # discoveryengine.agentUser`, `roles/discoveryengine.agentViewer` and `roles/ + # discoveryengine.agentEditor` roles. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. See [Resource + # names](https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object + # @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::DiscoveryengineV1alpha::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy] + # + # @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 set_project_location_collection_engine_assistant_agent_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1SetIamPolicyRequest::Representation + command.request_object = google_iam_v1_set_iam_policy_request_object + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Suspends an Agent. It is still available for viewing but not for use. The ` + # state` of the Agent becomes `SUSPENDED`. Can be called on an Agent in the + # state `ENABLED`, otherwise it returns an error. + # @param [String] name + # Required. The name of the Agent to suspend. Format: `projects/`project`/ + # locations/`location`/collections/`collection`/engines/`engine`/assistants/` + # assistant`/agents/`agent`` + # @param [String] suspension_reason + # Required. The reason for suspending the Agent. This will be shown to the users + # of the Agent. + # @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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] + # + # @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 suspend_project_location_collection_engine_assistant_agent_agent(name, suspension_reason: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+name}:suspendAgent', options) + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent + command.params['name'] = name unless name.nil? + command.query['suspensionReason'] = suspension_reason unless suspension_reason.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Imports a file to an Agent. Currently only No-Code agents are supported. # @param [String] parent # Required. The resource name of the Agent. Format: `projects/`project`/ @@ -12733,6 +13031,37 @@ def patch_project_location_user_store(name, google_cloud_discoveryengine_v1alpha execute_or_queue_command(command, &block) end + # Lists all the LicenseConfigUsageStatss associated with the project. + # @param [String] parent + # Required. The parent branch resource name, such as `projects/`project`/ + # locations/`location`/userStores/`user_store_id``. + # @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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse] + # + # @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 list_project_location_user_store_license_configs_usage_stats(parent, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+parent}/licenseConfigsUsageStats', options) + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse + command.params['parent'] = parent unless parent.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 @@ -12817,13 +13146,14 @@ def list_project_location_user_store_operations(name, filter: nil, page_size: ni # Required. The parent UserStore resource name, format: `projects/`project`/ # locations/`location`/userStores/`user_store_id``. # @param [String] filter - # Optional. Filter for the list request. Supported fields: * ` - # license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to - # list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list - # not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` - # to list users who attempted login but no license assigned. * ` - # license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users - # who attempted login but no license assigned. + # Optional. Filter for the list request. Supported fields: * `license`_` + # assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_` + # assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_` + # assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_` + # assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted + # login but no license assigned. * `license`_`assignment`_`state != + # NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no + # license assigned. # @param [Fixnum] page_size # Optional. Requested page size. Server may return fewer items than requested. # If unspecified, defaults to 10. The maximum value is 50; values above 50 will