From 504ba33da0953a9e0f88f9370833fa115dc58cb2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 19 Oct 2025 10:31:55 +0000 Subject: [PATCH] feat: Automated regeneration of discoveryengine v1alpha client --- api_names_out.yaml | 38 ++ .../CHANGELOG.md | 4 +- .../google/apis/discoveryengine_v1alpha.rb | 6 + .../apis/discoveryengine_v1alpha/classes.rb | 398 +++++++++--------- .../discoveryengine_v1alpha/gem_version.rb | 2 +- .../representations.rb | 181 ++++---- .../apis/discoveryengine_v1alpha/service.rb | 58 +++ 7 files changed, 390 insertions(+), 297 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 3e72c8b351a..9b6c994482b 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -212743,6 +212743,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1LicenseConfig/autoRenew": auto_renew "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1LicenseConfig/endDate": end_date "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1LicenseConfig/freeTrial": free_trial +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1LicenseConfig/geminiBundle": gemini_bundle "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1LicenseConfig/licenseCount": license_count "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1LicenseConfig/name": name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1LicenseConfig/startDate": start_date @@ -213417,6 +213418,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction": google_cloud_discoveryengine_v1alpha_assistant_generation_config_system_instruction "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction/additionalSystemInstruction": additional_system_instruction "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent": google_cloud_discoveryengine_v1alpha_assistant_grounded_content +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent/citationMetadata": citation_metadata "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent/content": content "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent/textGroundingMetadata": text_grounding_metadata "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata": google_cloud_discoveryengine_v1alpha_assistant_grounded_content_text_grounding_metadata @@ -213624,6 +213626,16 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkStructuredContent": google_cloud_discoveryengine_v1alpha_chunk_structured_content "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkStructuredContent/content": content "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaChunkStructuredContent/structureType": structure_type +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitation": google_cloud_discoveryengine_v1alpha_citation +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitation/endIndex": end_index +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitation/license": license +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitation/publicationDate": publication_date +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitation/startIndex": start_index +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitation/title": title +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitation/uri": uri +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitationMetadata": google_cloud_discoveryengine_v1alpha_citation_metadata +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitationMetadata/citations": citations +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCitationMetadata/citations/citation": citation "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCloudSqlSource": google_cloud_discoveryengine_v1alpha_cloud_sql_source "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCloudSqlSource/databaseId": database_id "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaCloudSqlSource/gcsStagingDir": gcs_staging_dir @@ -213688,6 +213700,19 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConditionTimeRange": google_cloud_discoveryengine_v1alpha_condition_time_range "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConditionTimeRange/endTime": end_time "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConditionTimeRange/startTime": start_time +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats": google_cloud_discoveryengine_v1alpha_configurable_pricing_usage_stats +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats/metricUsages": metric_usages +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats/metricUsages/metric_usage": metric_usage +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats/name": name +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage": google_cloud_discoveryengine_v1alpha_configurable_pricing_usage_stats_dated_usage +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage/date": date +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage/usage": usage +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage": google_cloud_discoveryengine_v1alpha_configurable_pricing_usage_stats_metric_usage +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage/datedUsages": dated_usages +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage/datedUsages/dated_usage": dated_usage +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage/metricType": metric_type +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage/totalUsages": total_usages +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage/totalUsages/total_usage": total_usage "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConnectorRun": google_cloud_discoveryengine_v1alpha_connector_run "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConnectorRun/endTime": end_time "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaConnectorRun/entityRuns": entity_runs @@ -214581,6 +214606,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/autoRenew": auto_renew "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/endDate": end_date "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/freeTrial": free_trial +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/geminiBundle": gemini_bundle "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/licenseCount": license_count "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/name": name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaLicenseConfig/startDate": start_date @@ -215432,6 +215458,8 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSession/displayName": display_name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSession/endTime": end_time "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSession/isPinned": is_pinned +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSession/labels": labels +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSession/labels/label": label "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSession/name": name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSession/startTime": start_time "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSession/state": state @@ -216224,6 +216252,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaLicenseConfig/autoRenew": auto_renew "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaLicenseConfig/endDate": end_date "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaLicenseConfig/freeTrial": free_trial +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaLicenseConfig/geminiBundle": gemini_bundle "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaLicenseConfig/licenseCount": license_count "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaLicenseConfig/name": name "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaLicenseConfig/startDate": start_date @@ -217520,6 +217549,15 @@ "/discoveryengine:v1alpha/discoveryengine.projects.locations.getAclConfig/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.getCmekConfig": get_project_location_single_cmek_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.getCmekConfig/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats": get_project_location_configurable_pricing_usage_stats +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats/metricTypes": metric_types +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats/name": name +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats/timeRange.endDate.day": time_range_end_date_day +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats/timeRange.endDate.month": time_range_end_date_month +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats/timeRange.endDate.year": time_range_end_date_year +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats/timeRange.startDate.day": time_range_start_date_day +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats/timeRange.startDate.month": time_range_start_date_month +"/discoveryengine:v1alpha/discoveryengine.projects.locations.getConfigurablePricingUsageStats/timeRange.startDate.year": time_range_start_date_year "/discoveryengine:v1alpha/discoveryengine.projects.locations.groundingConfigs.check": check_project_location_grounding_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.groundingConfigs.check/groundingConfig": grounding_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.identityMappingStores.create": create_project_location_identity_mapping_store diff --git a/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md b/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md index 93f36f78077..8fe1063d8e8 100644 --- a/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md +++ b/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md @@ -1,8 +1,8 @@ # Release history for google-apis-discoveryengine_v1alpha -### v0.80.0 (2025-10-12) +### v0.80.0 (2025-10-19) -* Regenerated from discovery document revision 20251008 +* Regenerated from discovery document revision 20251017 ### v0.79.0 (2025-10-05) diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha.rb index 74554a47740..596ae7ebd2c 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha.rb @@ -34,6 +34,12 @@ module DiscoveryengineV1alpha # Search your organization's data in the Cloud Search index AUTH_CLOUD_SEARCH_QUERY = 'https://www.googleapis.com/auth/cloud_search.query' + + # View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf. + AUTH_DISCOVERYENGINE_ASSIST_READWRITE = 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite' + + # View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data. + AUTH_DISCOVERYENGINE_READWRITE = 'https://www.googleapis.com/auth/discoveryengine.readwrite' end end end 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 f34f7033e4d..50ef2a60bba 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 @@ -1800,77 +1800,6 @@ def update!(**args) end end - # The resource level alert config. Used in: * UserLicense * EngineUserData The - # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig - include Google::Apis::Core::Hashable - - # Optional. The enrollment state of each alert. - # Corresponds to the JSON property `alertEnrollments` - # @return [Array] - attr_accessor :alert_enrollments - - # Immutable. The fully qualified resource name of the AlertPolicy. - # Corresponds to the JSON property `alertPolicy` - # @return [String] - attr_accessor :alert_policy - - # Optional. The contact details for each alert policy. - # Corresponds to the JSON property `contactDetails` - # @return [Array] - attr_accessor :contact_details - - # Optional. The language code used for notifications - # Corresponds to the JSON property `languageCode` - # @return [String] - attr_accessor :language_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments) - @alert_policy = args[:alert_policy] if args.key?(:alert_policy) - @contact_details = args[:contact_details] if args.key?(:contact_details) - @language_code = args[:language_code] if args.key?(:language_code) - end - end - - # The alert enrollment status. - class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment - include Google::Apis::Core::Hashable - - # Immutable. The id of an alert. - # Corresponds to the JSON property `alertId` - # @return [String] - attr_accessor :alert_id - - # Required. The enrollment status of a customer. - # Corresponds to the JSON property `enrollState` - # @return [String] - attr_accessor :enroll_state - - # Optional. Parameters used to instantiate a notification. Used for - # notifications that are triggered when registered. Not stored. * Gemini - # Business welcome emails. * Gemini Business user invitation emails. - # Corresponds to the JSON property `notificationParams` - # @return [Hash] - attr_accessor :notification_params - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alert_id = args[:alert_id] if args.key?(:alert_id) - @enroll_state = args[:enroll_state] if args.key?(:enroll_state) - @notification_params = args[:notification_params] if args.key?(:notification_params) - end - end - # The specification for answer generation. class GoogleCloudDiscoveryengineV1AnswerGenerationSpec include Google::Apis::Core::Hashable @@ -2524,27 +2453,6 @@ def update!(**args) end end - # The contact info stored in resource level. If both project level and resource - # level is populated, the resource level contact info will override the project - # level contact info. - class GoogleCloudDiscoveryengineV1ContactDetails - include Google::Apis::Core::Hashable - - # Optional. The email address of the contact. - # Corresponds to the JSON property `emailAddress` - # @return [String] - attr_accessor :email_address - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @email_address = args[:email_address] if args.key?(:email_address) - end - end - # Defines a conditioned behavior to employ during serving. Must be attached to a # ServingConfig to be considered at serving time. Permitted actions dependent on # `SolutionType`. @@ -5259,12 +5167,6 @@ def update!(**args) class GoogleCloudDiscoveryengineV1LicenseConfig include Google::Apis::Core::Hashable - # The resource level alert config. Used in: * UserLicense * EngineUserData The - # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - # Corresponds to the JSON property `alertPolicyResourceConfig` - # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig] - attr_accessor :alert_policy_resource_config - # Optional. Whether the license config should be auto renewed when it reaches # the end date. # Corresponds to the JSON property `autoRenew` @@ -5290,6 +5192,12 @@ class GoogleCloudDiscoveryengineV1LicenseConfig attr_accessor :free_trial alias_method :free_trial?, :free_trial + # Output only. Whether the license config is for Gemini bundle. + # Corresponds to the JSON property `geminiBundle` + # @return [Boolean] + attr_accessor :gemini_bundle + alias_method :gemini_bundle?, :gemini_bundle + # Required. Number of licenses purchased. # Corresponds to the JSON property `licenseCount` # @return [Fixnum] @@ -5335,10 +5243,10 @@ def initialize(**args) # Update properties of this object def update!(**args) - @alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config) @auto_renew = args[:auto_renew] if args.key?(:auto_renew) @end_date = args[:end_date] if args.key?(:end_date) @free_trial = args[:free_trial] if args.key?(:free_trial) + @gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle) @license_count = args[:license_count] if args.key?(:license_count) @name = args[:name] if args.key?(:name) @start_date = args[:start_date] if args.key?(:start_date) @@ -9980,6 +9888,11 @@ def update!(**args) class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent include Google::Apis::Core::Hashable + # A collection of source attributions for a piece of content. + # Corresponds to the JSON property `citationMetadata` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitationMetadata] + attr_accessor :citation_metadata + # Multi-modal content. # Corresponds to the JSON property `content` # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContent] @@ -9996,6 +9909,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata) @content = args[:content] if args.key?(:content) @text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata) end @@ -11430,6 +11344,81 @@ def update!(**args) end end + # Source attributions for content. + class GoogleCloudDiscoveryengineV1alphaCitation + include Google::Apis::Core::Hashable + + # Output only. End index into the content. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # Output only. License of the attribution. + # Corresponds to the JSON property `license` + # @return [String] + attr_accessor :license + + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values. * A month + # and day, with a zero year (for example, an anniversary). * A year on its own, + # with a zero month and a zero day. * A year and month, with a zero day (for + # example, a credit card expiration date). Related types: * google.type. + # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + # Corresponds to the JSON property `publicationDate` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate] + attr_accessor :publication_date + + # Output only. Start index into the content. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # Output only. Title of the attribution. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # Output only. Url reference of the attribution. + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_index = args[:end_index] if args.key?(:end_index) + @license = args[:license] if args.key?(:license) + @publication_date = args[:publication_date] if args.key?(:publication_date) + @start_index = args[:start_index] if args.key?(:start_index) + @title = args[:title] if args.key?(:title) + @uri = args[:uri] if args.key?(:uri) + end + end + + # A collection of source attributions for a piece of content. + class GoogleCloudDiscoveryengineV1alphaCitationMetadata + include Google::Apis::Core::Hashable + + # Output only. List of citations. + # Corresponds to the JSON property `citations` + # @return [Array] + attr_accessor :citations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @citations = args[:citations] if args.key?(:citations) + end + end + # Cloud SQL source import data from. class GoogleCloudDiscoveryengineV1alphaCloudSqlSource include Google::Apis::Core::Hashable @@ -11831,6 +11820,97 @@ def update!(**args) end end + # Response for [EstimateBillingService.GetConfigurablePricingUsageStats] method. + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats + include Google::Apis::Core::Hashable + + # A list of metric usages, one for each requested resource type that has data in + # the requested time range. + # Corresponds to the JSON property `metricUsages` + # @return [Array] + attr_accessor :metric_usages + + # Identifier. The name of the ConfigurablePricingUsageStats. Format: projects/` + # project`/locations/`location`/configurablePricingUsageStats + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_usages = args[:metric_usages] if args.key?(:metric_usages) + @name = args[:name] if args.key?(:name) + end + end + + # A list of usages for a specific day. + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage + include Google::Apis::Core::Hashable + + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values. * A month + # and day, with a zero year (for example, an anniversary). * A year on its own, + # with a zero month and a zero day. * A year and month, with a zero day (for + # example, a credit card expiration date). Related types: * google.type. + # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp + # Corresponds to the JSON property `date` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate] + attr_accessor :date + + # The usage value on the date. + # Corresponds to the JSON property `usage` + # @return [Float] + attr_accessor :usage + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @date = args[:date] if args.key?(:date) + @usage = args[:usage] if args.key?(:usage) + end + end + + # The usage of a metric over a list of days. + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage + include Google::Apis::Core::Hashable + + # The list of usages for this resource type, chronologically sorted by date. + # This is populated for metrics with daily aggregation like DAILY_MDN_QPM. + # Corresponds to the JSON property `datedUsages` + # @return [Array] + attr_accessor :dated_usages + + # The metric type. + # Corresponds to the JSON property `metricType` + # @return [String] + attr_accessor :metric_type + + # The list of total usages for this resource type + # Corresponds to the JSON property `totalUsages` + # @return [Array] + attr_accessor :total_usages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dated_usages = args[:dated_usages] if args.key?(:dated_usages) + @metric_type = args[:metric_type] if args.key?(:metric_type) + @total_usages = args[:total_usages] if args.key?(:total_usages) + end + end + # A data sync run of DataConnector. After DataConnector is successfully # initialized, data syncs are scheduled at DataConnector.refresh_interval. A # ConnectorRun represents a data sync either in the past or onging that the @@ -17480,6 +17560,12 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig attr_accessor :free_trial alias_method :free_trial?, :free_trial + # Output only. Whether the license config is for Gemini bundle. + # Corresponds to the JSON property `geminiBundle` + # @return [Boolean] + attr_accessor :gemini_bundle + alias_method :gemini_bundle?, :gemini_bundle + # Required. Number of licenses purchased. # Corresponds to the JSON property `licenseCount` # @return [Fixnum] @@ -17529,6 +17615,7 @@ def update!(**args) @auto_renew = args[:auto_renew] if args.key?(:auto_renew) @end_date = args[:end_date] if args.key?(:end_date) @free_trial = args[:free_trial] if args.key?(:free_trial) + @gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle) @license_count = args[:license_count] if args.key?(:license_count) @name = args[:name] if args.key?(:name) @start_date = args[:start_date] if args.key?(:start_date) @@ -23471,6 +23558,12 @@ class GoogleCloudDiscoveryengineV1alphaSession attr_accessor :is_pinned alias_method :is_pinned?, :is_pinned + # Optional. The labels for the session. Can be set as filter in + # ListSessionsRequest. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + # Immutable. Fully qualified name `projects/`project`/locations/global/ # collections/`collection`/engines/`engine`/sessions/*` # Corresponds to the JSON property `name` @@ -23506,6 +23599,7 @@ def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @end_time = args[:end_time] if args.key?(:end_time) @is_pinned = args[:is_pinned] if args.key?(:is_pinned) + @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @@ -26332,77 +26426,6 @@ def update!(**args) end end - # The resource level alert config. Used in: * UserLicense * EngineUserData The - # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig - include Google::Apis::Core::Hashable - - # Optional. The enrollment state of each alert. - # Corresponds to the JSON property `alertEnrollments` - # @return [Array] - attr_accessor :alert_enrollments - - # Immutable. The fully qualified resource name of the AlertPolicy. - # Corresponds to the JSON property `alertPolicy` - # @return [String] - attr_accessor :alert_policy - - # Optional. The contact details for each alert policy. - # Corresponds to the JSON property `contactDetails` - # @return [Array] - attr_accessor :contact_details - - # Optional. The language code used for notifications - # Corresponds to the JSON property `languageCode` - # @return [String] - attr_accessor :language_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments) - @alert_policy = args[:alert_policy] if args.key?(:alert_policy) - @contact_details = args[:contact_details] if args.key?(:contact_details) - @language_code = args[:language_code] if args.key?(:language_code) - end - end - - # The alert enrollment status. - class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment - include Google::Apis::Core::Hashable - - # Immutable. The id of an alert. - # Corresponds to the JSON property `alertId` - # @return [String] - attr_accessor :alert_id - - # Required. The enrollment status of a customer. - # Corresponds to the JSON property `enrollState` - # @return [String] - attr_accessor :enroll_state - - # Optional. Parameters used to instantiate a notification. Used for - # notifications that are triggered when registered. Not stored. * Gemini - # Business welcome emails. * Gemini Business user invitation emails. - # Corresponds to the JSON property `notificationParams` - # @return [Hash] - attr_accessor :notification_params - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alert_id = args[:alert_id] if args.key?(:alert_id) - @enroll_state = args[:enroll_state] if args.key?(:enroll_state) - @notification_params = args[:notification_params] if args.key?(:notification_params) - end - end - # Metadata related to the progress of the SiteSearchEngineService. # BatchCreateTargetSites operation. This will be returned by the google. # longrunning.Operation.metadata field. @@ -26669,27 +26692,6 @@ def update!(**args) end end - # The contact info stored in resource level. If both project level and resource - # level is populated, the resource level contact info will override the project - # level contact info. - class GoogleCloudDiscoveryengineV1betaContactDetails - include Google::Apis::Core::Hashable - - # Optional. The email address of the contact. - # Corresponds to the JSON property `emailAddress` - # @return [String] - attr_accessor :email_address - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @email_address = args[:email_address] if args.key?(:email_address) - end - end - # Defines a conditioned behavior to employ during serving. Must be attached to a # ServingConfig to be considered at serving time. Permitted actions dependent on # `SolutionType`. @@ -29078,12 +29080,6 @@ def update!(**args) class GoogleCloudDiscoveryengineV1betaLicenseConfig include Google::Apis::Core::Hashable - # The resource level alert config. Used in: * UserLicense * EngineUserData The - # AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - # Corresponds to the JSON property `alertPolicyResourceConfig` - # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig] - attr_accessor :alert_policy_resource_config - # Optional. Whether the license config should be auto renewed when it reaches # the end date. # Corresponds to the JSON property `autoRenew` @@ -29109,6 +29105,12 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig attr_accessor :free_trial alias_method :free_trial?, :free_trial + # Output only. Whether the license config is for Gemini bundle. + # Corresponds to the JSON property `geminiBundle` + # @return [Boolean] + attr_accessor :gemini_bundle + alias_method :gemini_bundle?, :gemini_bundle + # Required. Number of licenses purchased. # Corresponds to the JSON property `licenseCount` # @return [Fixnum] @@ -29154,10 +29156,10 @@ def initialize(**args) # Update properties of this object def update!(**args) - @alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config) @auto_renew = args[:auto_renew] if args.key?(:auto_renew) @end_date = args[:end_date] if args.key?(:end_date) @free_trial = args[:free_trial] if args.key?(:free_trial) + @gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle) @license_count = args[:license_count] if args.key?(:license_count) @name = args[:name] if args.key?(:name) @start_date = args[:start_date] if args.key?(:start_date) 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 92bc763d917..1d737731ab2 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 @@ -22,7 +22,7 @@ module DiscoveryengineV1alpha GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251008" + REVISION = "20251017" 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 bb9928befd6..daa15a27297 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 @@ -238,18 +238,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDiscoveryengineV1AnswerGenerationSpec class Representation < Google::Apis::Core::JsonRepresentation; end @@ -370,12 +358,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDiscoveryengineV1ContactDetails - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDiscoveryengineV1Control class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1810,6 +1792,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaCitation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaCitationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaCloudSqlSource class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1870,6 +1864,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaConnectorRun class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4108,18 +4120,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4168,12 +4168,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDiscoveryengineV1betaContactDetails - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudDiscoveryengineV1betaControl class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5742,27 +5736,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment::Representation - - property :alert_policy, as: 'alertPolicy' - collection :contact_details, as: 'contactDetails', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ContactDetails, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ContactDetails::Representation - - property :language_code, as: 'languageCode' - end - end - - class GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :alert_id, as: 'alertId' - property :enroll_state, as: 'enrollState' - hash :notification_params, as: 'notificationParams' - end - end - class GoogleCloudDiscoveryengineV1AnswerGenerationSpec # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5954,13 +5927,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GoogleCloudDiscoveryengineV1ContactDetails - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :email_address, as: 'emailAddress' - end - end - class GoogleCloudDiscoveryengineV1Control # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6683,12 +6649,11 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudDiscoveryengineV1LicenseConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :alert_policy_resource_config, as: 'alertPolicyResourceConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig::Representation - property :auto_renew, as: 'autoRenew' property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation property :free_trial, as: 'freeTrial' + property :gemini_bundle, as: 'geminiBundle' property :license_count, :numeric_string => true, as: 'licenseCount' property :name, as: 'name' property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation @@ -7985,6 +7950,8 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent # @private class Representation < Google::Apis::Core::JsonRepresentation + property :citation_metadata, as: 'citationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitationMetadata::Representation + property :content, as: 'content', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContent::Representation property :text_grounding_metadata, as: 'textGroundingMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata::Representation @@ -8395,6 +8362,27 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaCitation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_index, as: 'endIndex' + property :license, as: 'license' + property :publication_date, as: 'publicationDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation + + property :start_index, as: 'startIndex' + property :title, as: 'title' + property :uri, as: 'uri' + end + end + + class GoogleCloudDiscoveryengineV1alphaCitationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitation, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCitation::Representation + + end + end + class GoogleCloudDiscoveryengineV1alphaCloudSqlSource # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8498,6 +8486,34 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metric_usages, as: 'metricUsages', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage::Representation + + property :name, as: 'name' + end + end + + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date, as: 'date', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation + + property :usage, as: 'usage' + end + end + + class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dated_usages, as: 'datedUsages', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage::Representation + + property :metric_type, as: 'metricType' + collection :total_usages, as: 'totalUsages' + end + end + class GoogleCloudDiscoveryengineV1alphaConnectorRun # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10030,6 +10046,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation property :free_trial, as: 'freeTrial' + property :gemini_bundle, as: 'geminiBundle' property :license_count, :numeric_string => true, as: 'licenseCount' property :name, as: 'name' property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation @@ -11638,6 +11655,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :end_time, as: 'endTime' property :is_pinned, as: 'isPinned' + collection :labels, as: 'labels' property :name, as: 'name' property :start_time, as: 'startTime' property :state, as: 'state' @@ -12370,27 +12388,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment::Representation - - property :alert_policy, as: 'alertPolicy' - collection :contact_details, as: 'contactDetails', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaContactDetails, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaContactDetails::Representation - - property :language_code, as: 'languageCode' - end - end - - class GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :alert_id, as: 'alertId' - property :enroll_state, as: 'enrollState' - hash :notification_params, as: 'notificationParams' - end - end - class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12469,13 +12466,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GoogleCloudDiscoveryengineV1betaContactDetails - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :email_address, as: 'emailAddress' - end - end - class GoogleCloudDiscoveryengineV1betaControl # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13152,12 +13142,11 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudDiscoveryengineV1betaLicenseConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :alert_policy_resource_config, as: 'alertPolicyResourceConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig::Representation - property :auto_renew, as: 'autoRenew' property :end_date, as: 'endDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation property :free_trial, as: 'freeTrial' + property :gemini_bundle, as: 'geminiBundle' property :license_count, :numeric_string => true, as: 'licenseCount' property :name, as: 'name' property :start_date, as: 'startDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation 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 009bc96128a..518ee065f75 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 @@ -338,6 +338,64 @@ def get_project_location_single_cmek_config(name, fields: nil, quota_user: nil, execute_or_queue_command(command, &block) end + # Gets configurable pricing usage stats. + # @param [String] name + # Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: + # projects/`project`/locations/`location`/configurablePricingUsageStats + # @param [Array, String] metric_types + # Optional. The metric types to return usage for. + # @param [Fixnum] time_range_end_date_day + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. + # @param [Fixnum] time_range_end_date_month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month + # and day. + # @param [Fixnum] time_range_end_date_year + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. + # @param [Fixnum] time_range_start_date_day + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. + # @param [Fixnum] time_range_start_date_month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month + # and day. + # @param [Fixnum] time_range_start_date_year + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. + # @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::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats] + # + # @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_configurable_pricing_usage_stats(name, metric_types: nil, time_range_end_date_day: nil, time_range_end_date_month: nil, time_range_end_date_year: nil, time_range_start_date_day: nil, time_range_start_date_month: nil, time_range_start_date_year: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+name}', options) + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats + command.params['name'] = name unless name.nil? + command.query['metricTypes'] = metric_types unless metric_types.nil? + command.query['timeRange.endDate.day'] = time_range_end_date_day unless time_range_end_date_day.nil? + command.query['timeRange.endDate.month'] = time_range_end_date_month unless time_range_end_date_month.nil? + command.query['timeRange.endDate.year'] = time_range_end_date_year unless time_range_end_date_year.nil? + command.query['timeRange.startDate.day'] = time_range_start_date_day unless time_range_start_date_day.nil? + command.query['timeRange.startDate.month'] = time_range_start_date_month unless time_range_start_date_month.nil? + command.query['timeRange.startDate.year'] = time_range_start_date_year unless time_range_start_date_year.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Obtains the time series data of organic or dedicated crawl rate for monitoring. # When dedicated crawl rate is not set, it will return vertex AI's organic # crawl rate time series. Organic crawl means Google automatically crawl the