google-apis-discoveryengine_v1alpha 0.73.0 → 0.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1638,6 +1638,33 @@ module Google
1638
1638
  end
1639
1639
  end
1640
1640
 
1641
+ # Access Control Configuration.
1642
+ class GoogleCloudDiscoveryengineV1AclConfig
1643
+ include Google::Apis::Core::Hashable
1644
+
1645
+ # Identity Provider Config.
1646
+ # Corresponds to the JSON property `idpConfig`
1647
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1IdpConfig]
1648
+ attr_accessor :idp_config
1649
+
1650
+ # Immutable. The full resource name of the acl configuration. Format: `projects/`
1651
+ # project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
1652
+ # string with a length limit of 1024 characters.
1653
+ # Corresponds to the JSON property `name`
1654
+ # @return [String]
1655
+ attr_accessor :name
1656
+
1657
+ def initialize(**args)
1658
+ update!(**args)
1659
+ end
1660
+
1661
+ # Update properties of this object
1662
+ def update!(**args)
1663
+ @idp_config = args[:idp_config] if args.key?(:idp_config)
1664
+ @name = args[:name] if args.key?(:name)
1665
+ end
1666
+ end
1667
+
1641
1668
  # Configuration data for advance site search.
1642
1669
  class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig
1643
1670
  include Google::Apis::Core::Hashable
@@ -3404,6 +3431,13 @@ module Google
3404
3431
  class GoogleCloudDiscoveryengineV1Engine
3405
3432
  include Google::Apis::Core::Hashable
3406
3433
 
3434
+ # Optional. Immutable. This the application type which this engine resource
3435
+ # represents. NOTE: this is a new concept independ of existing industry vertical
3436
+ # or solution type.
3437
+ # Corresponds to the JSON property `appType`
3438
+ # @return [String]
3439
+ attr_accessor :app_type
3440
+
3407
3441
  # Configurations for a Chat Engine.
3408
3442
  # Corresponds to the JSON property `chatEngineConfig`
3409
3443
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineChatEngineConfig]
@@ -3499,6 +3533,7 @@ module Google
3499
3533
 
3500
3534
  # Update properties of this object
3501
3535
  def update!(**args)
3536
+ @app_type = args[:app_type] if args.key?(:app_type)
3502
3537
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
3503
3538
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
3504
3539
  @common_config = args[:common_config] if args.key?(:common_config)
@@ -3892,6 +3927,50 @@ module Google
3892
3927
  end
3893
3928
  end
3894
3929
 
3930
+ # Identity Provider Config.
3931
+ class GoogleCloudDiscoveryengineV1IdpConfig
3932
+ include Google::Apis::Core::Hashable
3933
+
3934
+ # Third party IDP Config.
3935
+ # Corresponds to the JSON property `externalIdpConfig`
3936
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig]
3937
+ attr_accessor :external_idp_config
3938
+
3939
+ # Identity provider type configured.
3940
+ # Corresponds to the JSON property `idpType`
3941
+ # @return [String]
3942
+ attr_accessor :idp_type
3943
+
3944
+ def initialize(**args)
3945
+ update!(**args)
3946
+ end
3947
+
3948
+ # Update properties of this object
3949
+ def update!(**args)
3950
+ @external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
3951
+ @idp_type = args[:idp_type] if args.key?(:idp_type)
3952
+ end
3953
+ end
3954
+
3955
+ # Third party IDP Config.
3956
+ class GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig
3957
+ include Google::Apis::Core::Hashable
3958
+
3959
+ # Workforce pool name. Example: "locations/global/workforcePools/pool_id"
3960
+ # Corresponds to the JSON property `workforcePoolName`
3961
+ # @return [String]
3962
+ attr_accessor :workforce_pool_name
3963
+
3964
+ def initialize(**args)
3965
+ update!(**args)
3966
+ end
3967
+
3968
+ # Update properties of this object
3969
+ def update!(**args)
3970
+ @workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
3971
+ end
3972
+ end
3973
+
3895
3974
  # Metadata related to the progress of the ImportCompletionSuggestions operation.
3896
3975
  # This will be returned by the google.longrunning.Operation.metadata field.
3897
3976
  class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
@@ -11404,6 +11483,14 @@ module Google
11404
11483
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>]
11405
11484
  attr_accessor :errors
11406
11485
 
11486
+ # Optional. If the connector is a hybrid connector, determines whether ingestion
11487
+ # is enabled and appropriate resources are provisioned during connector creation.
11488
+ # If the connector is not a hybrid connector, this field is ignored.
11489
+ # Corresponds to the JSON property `hybridIngestionDisabled`
11490
+ # @return [Boolean]
11491
+ attr_accessor :hybrid_ingestion_disabled
11492
+ alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
11493
+
11407
11494
  # The refresh interval to sync the Access Control List information for the
11408
11495
  # documents ingested by this connector. If not set, the access control list will
11409
11496
  # be refreshed at the default interval of 30 minutes. The identity refresh
@@ -11583,6 +11670,7 @@ module Google
11583
11670
  @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
11584
11671
  @entities = args[:entities] if args.key?(:entities)
11585
11672
  @errors = args[:errors] if args.key?(:errors)
11673
+ @hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
11586
11674
  @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
11587
11675
  @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
11588
11676
  @incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
@@ -13012,6 +13100,13 @@ module Google
13012
13100
  class GoogleCloudDiscoveryengineV1alphaEngine
13013
13101
  include Google::Apis::Core::Hashable
13014
13102
 
13103
+ # Optional. Immutable. This the application type which this engine resource
13104
+ # represents. NOTE: this is a new concept independ of existing industry vertical
13105
+ # or solution type.
13106
+ # Corresponds to the JSON property `appType`
13107
+ # @return [String]
13108
+ attr_accessor :app_type
13109
+
13015
13110
  # Configurations for a Chat Engine.
13016
13111
  # Corresponds to the JSON property `chatEngineConfig`
13017
13112
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig]
@@ -13117,6 +13212,7 @@ module Google
13117
13212
 
13118
13213
  # Update properties of this object
13119
13214
  def update!(**args)
13215
+ @app_type = args[:app_type] if args.key?(:app_type)
13120
13216
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
13121
13217
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
13122
13218
  @common_config = args[:common_config] if args.key?(:common_config)
@@ -19690,6 +19786,8 @@ module Google
19690
19786
 
19691
19787
  # Required. Full resource name of DataStore, such as `projects/`project`/
19692
19788
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
19789
+ # The path must include the project number, project id is not supported for this
19790
+ # field.
19693
19791
  # Corresponds to the JSON property `dataStore`
19694
19792
  # @return [String]
19695
19793
  attr_accessor :data_store
@@ -20751,6 +20849,11 @@ module Google
20751
20849
  # @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDoubleList>]
20752
20850
  attr_accessor :model_scores
20753
20851
 
20852
+ # A set of ranking signals.
20853
+ # Corresponds to the JSON property `rankSignals`
20854
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals]
20855
+ attr_accessor :rank_signals
20856
+
20754
20857
  def initialize(**args)
20755
20858
  update!(**args)
20756
20859
  end
@@ -20761,6 +20864,99 @@ module Google
20761
20864
  @document = args[:document] if args.key?(:document)
20762
20865
  @id = args[:id] if args.key?(:id)
20763
20866
  @model_scores = args[:model_scores] if args.key?(:model_scores)
20867
+ @rank_signals = args[:rank_signals] if args.key?(:rank_signals)
20868
+ end
20869
+ end
20870
+
20871
+ # A set of ranking signals.
20872
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals
20873
+ include Google::Apis::Core::Hashable
20874
+
20875
+ # Optional. Combined custom boosts for a doc.
20876
+ # Corresponds to the JSON property `boostingFactor`
20877
+ # @return [Float]
20878
+ attr_accessor :boosting_factor
20879
+
20880
+ # Optional. A list of custom clearbox signals.
20881
+ # Corresponds to the JSON property `customSignals`
20882
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal>]
20883
+ attr_accessor :custom_signals
20884
+
20885
+ # Optional. The default rank of the result.
20886
+ # Corresponds to the JSON property `defaultRank`
20887
+ # @return [Float]
20888
+ attr_accessor :default_rank
20889
+
20890
+ # Optional. Age of the document in hours.
20891
+ # Corresponds to the JSON property `documentAge`
20892
+ # @return [Float]
20893
+ attr_accessor :document_age
20894
+
20895
+ # Optional. Keyword matching adjustment.
20896
+ # Corresponds to the JSON property `keywordSimilarityScore`
20897
+ # @return [Float]
20898
+ attr_accessor :keyword_similarity_score
20899
+
20900
+ # Optional. Predicted conversion rate adjustment as a rank.
20901
+ # Corresponds to the JSON property `pctrRank`
20902
+ # @return [Float]
20903
+ attr_accessor :pctr_rank
20904
+
20905
+ # Optional. Semantic relevance adjustment.
20906
+ # Corresponds to the JSON property `relevanceScore`
20907
+ # @return [Float]
20908
+ attr_accessor :relevance_score
20909
+
20910
+ # Optional. Semantic similarity adjustment.
20911
+ # Corresponds to the JSON property `semanticSimilarityScore`
20912
+ # @return [Float]
20913
+ attr_accessor :semantic_similarity_score
20914
+
20915
+ # Optional. Topicality adjustment as a rank.
20916
+ # Corresponds to the JSON property `topicalityRank`
20917
+ # @return [Float]
20918
+ attr_accessor :topicality_rank
20919
+
20920
+ def initialize(**args)
20921
+ update!(**args)
20922
+ end
20923
+
20924
+ # Update properties of this object
20925
+ def update!(**args)
20926
+ @boosting_factor = args[:boosting_factor] if args.key?(:boosting_factor)
20927
+ @custom_signals = args[:custom_signals] if args.key?(:custom_signals)
20928
+ @default_rank = args[:default_rank] if args.key?(:default_rank)
20929
+ @document_age = args[:document_age] if args.key?(:document_age)
20930
+ @keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
20931
+ @pctr_rank = args[:pctr_rank] if args.key?(:pctr_rank)
20932
+ @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
20933
+ @semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
20934
+ @topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
20935
+ end
20936
+ end
20937
+
20938
+ # Custom clearbox signal represented by name and value pair.
20939
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal
20940
+ include Google::Apis::Core::Hashable
20941
+
20942
+ # Optional. Name of the signal.
20943
+ # Corresponds to the JSON property `name`
20944
+ # @return [String]
20945
+ attr_accessor :name
20946
+
20947
+ # Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).
20948
+ # Corresponds to the JSON property `value`
20949
+ # @return [Float]
20950
+ attr_accessor :value
20951
+
20952
+ def initialize(**args)
20953
+ update!(**args)
20954
+ end
20955
+
20956
+ # Update properties of this object
20957
+ def update!(**args)
20958
+ @name = args[:name] if args.key?(:name)
20959
+ @value = args[:value] if args.key?(:value)
20764
20960
  end
20765
20961
  end
20766
20962
 
@@ -24163,6 +24359,33 @@ module Google
24163
24359
  end
24164
24360
  end
24165
24361
 
24362
+ # Access Control Configuration.
24363
+ class GoogleCloudDiscoveryengineV1betaAclConfig
24364
+ include Google::Apis::Core::Hashable
24365
+
24366
+ # Identity Provider Config.
24367
+ # Corresponds to the JSON property `idpConfig`
24368
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaIdpConfig]
24369
+ attr_accessor :idp_config
24370
+
24371
+ # Immutable. The full resource name of the acl configuration. Format: `projects/`
24372
+ # project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
24373
+ # string with a length limit of 1024 characters.
24374
+ # Corresponds to the JSON property `name`
24375
+ # @return [String]
24376
+ attr_accessor :name
24377
+
24378
+ def initialize(**args)
24379
+ update!(**args)
24380
+ end
24381
+
24382
+ # Update properties of this object
24383
+ def update!(**args)
24384
+ @idp_config = args[:idp_config] if args.key?(:idp_config)
24385
+ @name = args[:name] if args.key?(:name)
24386
+ end
24387
+ end
24388
+
24166
24389
  # Configuration data for advance site search.
24167
24390
  class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
24168
24391
  include Google::Apis::Core::Hashable
@@ -25706,6 +25929,13 @@ module Google
25706
25929
  class GoogleCloudDiscoveryengineV1betaEngine
25707
25930
  include Google::Apis::Core::Hashable
25708
25931
 
25932
+ # Optional. Immutable. This the application type which this engine resource
25933
+ # represents. NOTE: this is a new concept independ of existing industry vertical
25934
+ # or solution type.
25935
+ # Corresponds to the JSON property `appType`
25936
+ # @return [String]
25937
+ attr_accessor :app_type
25938
+
25709
25939
  # Configurations for a Chat Engine.
25710
25940
  # Corresponds to the JSON property `chatEngineConfig`
25711
25941
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig]
@@ -25801,6 +26031,7 @@ module Google
25801
26031
 
25802
26032
  # Update properties of this object
25803
26033
  def update!(**args)
26034
+ @app_type = args[:app_type] if args.key?(:app_type)
25804
26035
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
25805
26036
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
25806
26037
  @common_config = args[:common_config] if args.key?(:common_config)
@@ -26309,6 +26540,50 @@ module Google
26309
26540
  end
26310
26541
  end
26311
26542
 
26543
+ # Identity Provider Config.
26544
+ class GoogleCloudDiscoveryengineV1betaIdpConfig
26545
+ include Google::Apis::Core::Hashable
26546
+
26547
+ # Third party IDP Config.
26548
+ # Corresponds to the JSON property `externalIdpConfig`
26549
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig]
26550
+ attr_accessor :external_idp_config
26551
+
26552
+ # Identity provider type configured.
26553
+ # Corresponds to the JSON property `idpType`
26554
+ # @return [String]
26555
+ attr_accessor :idp_type
26556
+
26557
+ def initialize(**args)
26558
+ update!(**args)
26559
+ end
26560
+
26561
+ # Update properties of this object
26562
+ def update!(**args)
26563
+ @external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
26564
+ @idp_type = args[:idp_type] if args.key?(:idp_type)
26565
+ end
26566
+ end
26567
+
26568
+ # Third party IDP Config.
26569
+ class GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig
26570
+ include Google::Apis::Core::Hashable
26571
+
26572
+ # Workforce pool name. Example: "locations/global/workforcePools/pool_id"
26573
+ # Corresponds to the JSON property `workforcePoolName`
26574
+ # @return [String]
26575
+ attr_accessor :workforce_pool_name
26576
+
26577
+ def initialize(**args)
26578
+ update!(**args)
26579
+ end
26580
+
26581
+ # Update properties of this object
26582
+ def update!(**args)
26583
+ @workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
26584
+ end
26585
+ end
26586
+
26312
26587
  # Metadata related to the progress of the ImportCompletionSuggestions operation.
26313
26588
  # This will be returned by the google.longrunning.Operation.metadata field.
26314
26589
  class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
@@ -28234,6 +28509,8 @@ module Google
28234
28509
 
28235
28510
  # Required. Full resource name of DataStore, such as `projects/`project`/
28236
28511
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
28512
+ # The path must include the project number, project id is not supported for this
28513
+ # field.
28237
28514
  # Corresponds to the JSON property `dataStore`
28238
28515
  # @return [String]
28239
28516
  attr_accessor :data_store
@@ -29253,6 +29530,31 @@ module Google
29253
29530
  end
29254
29531
  end
29255
29532
 
29533
+ # Account and role information.
29534
+ class GoogleCloudNotebooklmV1alphaAccountAndRole
29535
+ include Google::Apis::Core::Hashable
29536
+
29537
+ # Required. The email address associated with the account.
29538
+ # Corresponds to the JSON property `email`
29539
+ # @return [String]
29540
+ attr_accessor :email
29541
+
29542
+ # Required. The role in the notebook.
29543
+ # Corresponds to the JSON property `role`
29544
+ # @return [String]
29545
+ attr_accessor :role
29546
+
29547
+ def initialize(**args)
29548
+ update!(**args)
29549
+ end
29550
+
29551
+ # Update properties of this object
29552
+ def update!(**args)
29553
+ @email = args[:email] if args.key?(:email)
29554
+ @role = args[:role] if args.key?(:role)
29555
+ end
29556
+ end
29557
+
29256
29558
  # Metadata about an agentspace source.
29257
29559
  class GoogleCloudNotebooklmV1alphaAgentspaceMetadata
29258
29560
  include Google::Apis::Core::Hashable
@@ -29278,6 +29580,100 @@ module Google
29278
29580
  end
29279
29581
  end
29280
29582
 
29583
+ # An audio overview of a notebook. This is a summary of the notebook in audio
29584
+ # format.
29585
+ class GoogleCloudNotebooklmV1alphaAudioOverview
29586
+ include Google::Apis::Core::Hashable
29587
+
29588
+ # The audio overview in wav format. This is only present if the status is
29589
+ # AUDIO_OVERVIEW_STATUS_COMPLETE.
29590
+ # Corresponds to the JSON property `audio`
29591
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
29592
+ # @return [String]
29593
+ attr_accessor :audio
29594
+
29595
+ # Output only. Unique ID of the audio overview.
29596
+ # Corresponds to the JSON property `audioOverviewId`
29597
+ # @return [String]
29598
+ attr_accessor :audio_overview_id
29599
+
29600
+ # The language code of the generated audio overview. Use the BCP 47 language
29601
+ # code (e.g. "en", "es", "hi", etc.). Examples: google3/i18n/identifiers/tools/
29602
+ # language_code_constants.txt
29603
+ # Corresponds to the JSON property `languageCode`
29604
+ # @return [String]
29605
+ attr_accessor :language_code
29606
+
29607
+ # The mime type of the audio overview.
29608
+ # Corresponds to the JSON property `mimeType`
29609
+ # @return [String]
29610
+ attr_accessor :mime_type
29611
+
29612
+ # Identifier. The full resource name of the notebook. Format: `projects/`project`
29613
+ # /locations/`location`/notebooks/`notebook`/audioOverviews/`audio_overview_id``.
29614
+ # This field must be a UTF-8 encoded string with a length limit of 1024
29615
+ # characters.
29616
+ # Corresponds to the JSON property `name`
29617
+ # @return [String]
29618
+ attr_accessor :name
29619
+
29620
+ # The url used to play the audio overview.
29621
+ # Corresponds to the JSON property `playbackUrl`
29622
+ # @return [String]
29623
+ attr_accessor :playback_url
29624
+
29625
+ # The status of the audio overview.
29626
+ # Corresponds to the JSON property `status`
29627
+ # @return [String]
29628
+ attr_accessor :status
29629
+
29630
+ def initialize(**args)
29631
+ update!(**args)
29632
+ end
29633
+
29634
+ # Update properties of this object
29635
+ def update!(**args)
29636
+ @audio = args[:audio] if args.key?(:audio)
29637
+ @audio_overview_id = args[:audio_overview_id] if args.key?(:audio_overview_id)
29638
+ @language_code = args[:language_code] if args.key?(:language_code)
29639
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
29640
+ @name = args[:name] if args.key?(:name)
29641
+ @playback_url = args[:playback_url] if args.key?(:playback_url)
29642
+ @status = args[:status] if args.key?(:status)
29643
+ end
29644
+ end
29645
+
29646
+ # Options used during audio overview generation.
29647
+ class GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions
29648
+ include Google::Apis::Core::Hashable
29649
+
29650
+ # What the hosts of the show should focus on.
29651
+ # Corresponds to the JSON property `episodeFocus`
29652
+ # @return [String]
29653
+ attr_accessor :episode_focus
29654
+
29655
+ # The language that the audio overview was requested in.
29656
+ # Corresponds to the JSON property `languageCode`
29657
+ # @return [String]
29658
+ attr_accessor :language_code
29659
+
29660
+ # Optional. The sources in which the audio overview is grounded.
29661
+ # Corresponds to the JSON property `sourceIds`
29662
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSourceId>]
29663
+ attr_accessor :source_ids
29664
+
29665
+ def initialize(**args)
29666
+ update!(**args)
29667
+ end
29668
+
29669
+ # Update properties of this object
29670
+ def update!(**args)
29671
+ @episode_focus = args[:episode_focus] if args.key?(:episode_focus)
29672
+ @language_code = args[:language_code] if args.key?(:language_code)
29673
+ @source_ids = args[:source_ids] if args.key?(:source_ids)
29674
+ end
29675
+ end
29676
+
29281
29677
  # Request for SourceService.BatchCreateSources method.
29282
29678
  class GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest
29283
29679
  include Google::Apis::Core::Hashable
@@ -29316,6 +29712,46 @@ module Google
29316
29712
  end
29317
29713
  end
29318
29714
 
29715
+ # Request for NotebookService.BatchDeleteNotebooks method.
29716
+ class GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest
29717
+ include Google::Apis::Core::Hashable
29718
+
29719
+ # Required. Full resource names of Notebook, such as `projects/`project`/
29720
+ # locations/`location`/notebooks/`notebook_id``.
29721
+ # Corresponds to the JSON property `names`
29722
+ # @return [Array<String>]
29723
+ attr_accessor :names
29724
+
29725
+ def initialize(**args)
29726
+ update!(**args)
29727
+ end
29728
+
29729
+ # Update properties of this object
29730
+ def update!(**args)
29731
+ @names = args[:names] if args.key?(:names)
29732
+ end
29733
+ end
29734
+
29735
+ # Request for SourceService.BatchDeleteSourcesRequest method.
29736
+ class GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest
29737
+ include Google::Apis::Core::Hashable
29738
+
29739
+ # Required. Names of sources to be deleted. Format: projects/`project`/locations/
29740
+ # `location`/notebooks/`notebook`/sources/`source`
29741
+ # Corresponds to the JSON property `names`
29742
+ # @return [Array<String>]
29743
+ attr_accessor :names
29744
+
29745
+ def initialize(**args)
29746
+ update!(**args)
29747
+ end
29748
+
29749
+ # Update properties of this object
29750
+ def update!(**args)
29751
+ @names = args[:names] if args.key?(:names)
29752
+ end
29753
+ end
29754
+
29319
29755
  # Customer-managed encryption configuration for Notebooks.
29320
29756
  class GoogleCloudNotebooklmV1alphaCmekConfig
29321
29757
  include Google::Apis::Core::Hashable
@@ -29336,6 +29772,45 @@ module Google
29336
29772
  end
29337
29773
  end
29338
29774
 
29775
+ # Request for AudioOverviewService.CreateAudioOverview method.
29776
+ class GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest
29777
+ include Google::Apis::Core::Hashable
29778
+
29779
+ # Options used during audio overview generation.
29780
+ # Corresponds to the JSON property `generationOptions`
29781
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions]
29782
+ attr_accessor :generation_options
29783
+
29784
+ def initialize(**args)
29785
+ update!(**args)
29786
+ end
29787
+
29788
+ # Update properties of this object
29789
+ def update!(**args)
29790
+ @generation_options = args[:generation_options] if args.key?(:generation_options)
29791
+ end
29792
+ end
29793
+
29794
+ # Response for AudioOverviewService.CreateAudioOverview method.
29795
+ class GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse
29796
+ include Google::Apis::Core::Hashable
29797
+
29798
+ # An audio overview of a notebook. This is a summary of the notebook in audio
29799
+ # format.
29800
+ # Corresponds to the JSON property `audioOverview`
29801
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaAudioOverview]
29802
+ attr_accessor :audio_overview
29803
+
29804
+ def initialize(**args)
29805
+ update!(**args)
29806
+ end
29807
+
29808
+ # Update properties of this object
29809
+ def update!(**args)
29810
+ @audio_overview = args[:audio_overview] if args.key?(:audio_overview)
29811
+ end
29812
+ end
29813
+
29339
29814
  # Response for NotebookService.ListRecentlyViewedNotebooks method.
29340
29815
  class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
29341
29816
  include Google::Apis::Core::Hashable
@@ -29454,6 +29929,45 @@ module Google
29454
29929
  end
29455
29930
  end
29456
29931
 
29932
+ # Request for NotebookService.ShareNotebook method.
29933
+ class GoogleCloudNotebooklmV1alphaShareNotebookRequest
29934
+ include Google::Apis::Core::Hashable
29935
+
29936
+ # Required. The list of accounts and roles to share the notebook with.
29937
+ # Corresponds to the JSON property `accountAndRoles`
29938
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaAccountAndRole>]
29939
+ attr_accessor :account_and_roles
29940
+
29941
+ # Required. Whether to notify the shared users via email.
29942
+ # Corresponds to the JSON property `notifyViaEmail`
29943
+ # @return [Boolean]
29944
+ attr_accessor :notify_via_email
29945
+ alias_method :notify_via_email?, :notify_via_email
29946
+
29947
+ def initialize(**args)
29948
+ update!(**args)
29949
+ end
29950
+
29951
+ # Update properties of this object
29952
+ def update!(**args)
29953
+ @account_and_roles = args[:account_and_roles] if args.key?(:account_and_roles)
29954
+ @notify_via_email = args[:notify_via_email] if args.key?(:notify_via_email)
29955
+ end
29956
+ end
29957
+
29958
+ # Response for NotebookService.ShareNotebook method.
29959
+ class GoogleCloudNotebooklmV1alphaShareNotebookResponse
29960
+ include Google::Apis::Core::Hashable
29961
+
29962
+ def initialize(**args)
29963
+ update!(**args)
29964
+ end
29965
+
29966
+ # Update properties of this object
29967
+ def update!(**args)
29968
+ end
29969
+ end
29970
+
29457
29971
  # Source represents a single source of content.
29458
29972
  class GoogleCloudNotebooklmV1alphaSource
29459
29973
  include Google::Apis::Core::Hashable
@@ -29622,6 +30136,26 @@ module Google
29622
30136
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent]
29623
30137
  attr_accessor :agentspace_content
29624
30138
 
30139
+ # The content from Google Drive.
30140
+ # Corresponds to the JSON property `googleDriveContent`
30141
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent]
30142
+ attr_accessor :google_drive_content
30143
+
30144
+ # The text content uploaded as source.
30145
+ # Corresponds to the JSON property `textContent`
30146
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentTextContent]
30147
+ attr_accessor :text_content
30148
+
30149
+ # Video content uploaded as source.
30150
+ # Corresponds to the JSON property `videoContent`
30151
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentVideoContent]
30152
+ attr_accessor :video_content
30153
+
30154
+ # The web content uploaded as source.
30155
+ # Corresponds to the JSON property `webContent`
30156
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentWebContent]
30157
+ attr_accessor :web_content
30158
+
29625
30159
  def initialize(**args)
29626
30160
  update!(**args)
29627
30161
  end
@@ -29629,6 +30163,10 @@ module Google
29629
30163
  # Update properties of this object
29630
30164
  def update!(**args)
29631
30165
  @agentspace_content = args[:agentspace_content] if args.key?(:agentspace_content)
30166
+ @google_drive_content = args[:google_drive_content] if args.key?(:google_drive_content)
30167
+ @text_content = args[:text_content] if args.key?(:text_content)
30168
+ @video_content = args[:video_content] if args.key?(:video_content)
30169
+ @web_content = args[:web_content] if args.key?(:web_content)
29632
30170
  end
29633
30171
  end
29634
30172
 
@@ -29663,6 +30201,107 @@ module Google
29663
30201
  end
29664
30202
  end
29665
30203
 
30204
+ # The content from Google Drive.
30205
+ class GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent
30206
+ include Google::Apis::Core::Hashable
30207
+
30208
+ # The document id of the selected document.
30209
+ # Corresponds to the JSON property `documentId`
30210
+ # @return [String]
30211
+ attr_accessor :document_id
30212
+
30213
+ # The mime type of the selected document. This can be used to differentiate type
30214
+ # of content selected in the drive picker.
30215
+ # Corresponds to the JSON property `mimeType`
30216
+ # @return [String]
30217
+ attr_accessor :mime_type
30218
+
30219
+ # Should track this from Drive Picker.
30220
+ # Corresponds to the JSON property `sourceName`
30221
+ # @return [String]
30222
+ attr_accessor :source_name
30223
+
30224
+ def initialize(**args)
30225
+ update!(**args)
30226
+ end
30227
+
30228
+ # Update properties of this object
30229
+ def update!(**args)
30230
+ @document_id = args[:document_id] if args.key?(:document_id)
30231
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
30232
+ @source_name = args[:source_name] if args.key?(:source_name)
30233
+ end
30234
+ end
30235
+
30236
+ # The text content uploaded as source.
30237
+ class GoogleCloudNotebooklmV1alphaUserContentTextContent
30238
+ include Google::Apis::Core::Hashable
30239
+
30240
+ # The content of the text source.
30241
+ # Corresponds to the JSON property `content`
30242
+ # @return [String]
30243
+ attr_accessor :content
30244
+
30245
+ # The name of the text source.
30246
+ # Corresponds to the JSON property `sourceName`
30247
+ # @return [String]
30248
+ attr_accessor :source_name
30249
+
30250
+ def initialize(**args)
30251
+ update!(**args)
30252
+ end
30253
+
30254
+ # Update properties of this object
30255
+ def update!(**args)
30256
+ @content = args[:content] if args.key?(:content)
30257
+ @source_name = args[:source_name] if args.key?(:source_name)
30258
+ end
30259
+ end
30260
+
30261
+ # Video content uploaded as source.
30262
+ class GoogleCloudNotebooklmV1alphaUserContentVideoContent
30263
+ include Google::Apis::Core::Hashable
30264
+
30265
+ # The youtube url of the video content.
30266
+ # Corresponds to the JSON property `youtubeUrl`
30267
+ # @return [String]
30268
+ attr_accessor :youtube_url
30269
+
30270
+ def initialize(**args)
30271
+ update!(**args)
30272
+ end
30273
+
30274
+ # Update properties of this object
30275
+ def update!(**args)
30276
+ @youtube_url = args[:youtube_url] if args.key?(:youtube_url)
30277
+ end
30278
+ end
30279
+
30280
+ # The web content uploaded as source.
30281
+ class GoogleCloudNotebooklmV1alphaUserContentWebContent
30282
+ include Google::Apis::Core::Hashable
30283
+
30284
+ # The name of the web source.
30285
+ # Corresponds to the JSON property `sourceName`
30286
+ # @return [String]
30287
+ attr_accessor :source_name
30288
+
30289
+ # If URL is supplied, will fetch the webpage in the backend.
30290
+ # Corresponds to the JSON property `url`
30291
+ # @return [String]
30292
+ attr_accessor :url
30293
+
30294
+ def initialize(**args)
30295
+ update!(**args)
30296
+ end
30297
+
30298
+ # Update properties of this object
30299
+ def update!(**args)
30300
+ @source_name = args[:source_name] if args.key?(:source_name)
30301
+ @url = args[:url] if args.key?(:url)
30302
+ end
30303
+ end
30304
+
29666
30305
  # The request message for Operations.CancelOperation.
29667
30306
  class GoogleLongrunningCancelOperationRequest
29668
30307
  include Google::Apis::Core::Hashable