google-apis-discoveryengine_v1alpha 0.74.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +528 -0
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +283 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +264 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ab54e0c6bb67b37f116bbf8cb058db253a6ebefee17e59875ed4a55713afe74
|
4
|
+
data.tar.gz: 1ed496e3ca4c695b5678cfd0ab1e40620064704ca59091ba2caac326cead30ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7977eb0d571cff311cde2ce3dc281a886b57599eb37a950c3460ea50d7417b270224539bf591264bd00e479fe6c30c89a78e8050dfb1fb3f6f4076eba7760dc6
|
7
|
+
data.tar.gz: 38a6ddbc426c6efdd8c09bd8399c768c4f39abfe595dcd782434d954816c1e28dd5f6b5ce53f72950f04b168a29f07889bc137ac9213f6ab9bc60c4069685bdc
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -13021,6 +13100,13 @@ module Google
|
|
13021
13100
|
class GoogleCloudDiscoveryengineV1alphaEngine
|
13022
13101
|
include Google::Apis::Core::Hashable
|
13023
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
|
+
|
13024
13110
|
# Configurations for a Chat Engine.
|
13025
13111
|
# Corresponds to the JSON property `chatEngineConfig`
|
13026
13112
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig]
|
@@ -13126,6 +13212,7 @@ module Google
|
|
13126
13212
|
|
13127
13213
|
# Update properties of this object
|
13128
13214
|
def update!(**args)
|
13215
|
+
@app_type = args[:app_type] if args.key?(:app_type)
|
13129
13216
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
13130
13217
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
13131
13218
|
@common_config = args[:common_config] if args.key?(:common_config)
|
@@ -24272,6 +24359,33 @@ module Google
|
|
24272
24359
|
end
|
24273
24360
|
end
|
24274
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
|
+
|
24275
24389
|
# Configuration data for advance site search.
|
24276
24390
|
class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
|
24277
24391
|
include Google::Apis::Core::Hashable
|
@@ -25815,6 +25929,13 @@ module Google
|
|
25815
25929
|
class GoogleCloudDiscoveryengineV1betaEngine
|
25816
25930
|
include Google::Apis::Core::Hashable
|
25817
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
|
+
|
25818
25939
|
# Configurations for a Chat Engine.
|
25819
25940
|
# Corresponds to the JSON property `chatEngineConfig`
|
25820
25941
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig]
|
@@ -25910,6 +26031,7 @@ module Google
|
|
25910
26031
|
|
25911
26032
|
# Update properties of this object
|
25912
26033
|
def update!(**args)
|
26034
|
+
@app_type = args[:app_type] if args.key?(:app_type)
|
25913
26035
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
25914
26036
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
25915
26037
|
@common_config = args[:common_config] if args.key?(:common_config)
|
@@ -26418,6 +26540,50 @@ module Google
|
|
26418
26540
|
end
|
26419
26541
|
end
|
26420
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
|
+
|
26421
26587
|
# Metadata related to the progress of the ImportCompletionSuggestions operation.
|
26422
26588
|
# This will be returned by the google.longrunning.Operation.metadata field.
|
26423
26589
|
class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
|
@@ -29364,6 +29530,31 @@ module Google
|
|
29364
29530
|
end
|
29365
29531
|
end
|
29366
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
|
+
|
29367
29558
|
# Metadata about an agentspace source.
|
29368
29559
|
class GoogleCloudNotebooklmV1alphaAgentspaceMetadata
|
29369
29560
|
include Google::Apis::Core::Hashable
|
@@ -29389,6 +29580,100 @@ module Google
|
|
29389
29580
|
end
|
29390
29581
|
end
|
29391
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
|
+
|
29392
29677
|
# Request for SourceService.BatchCreateSources method.
|
29393
29678
|
class GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest
|
29394
29679
|
include Google::Apis::Core::Hashable
|
@@ -29427,6 +29712,46 @@ module Google
|
|
29427
29712
|
end
|
29428
29713
|
end
|
29429
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
|
+
|
29430
29755
|
# Customer-managed encryption configuration for Notebooks.
|
29431
29756
|
class GoogleCloudNotebooklmV1alphaCmekConfig
|
29432
29757
|
include Google::Apis::Core::Hashable
|
@@ -29447,6 +29772,45 @@ module Google
|
|
29447
29772
|
end
|
29448
29773
|
end
|
29449
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
|
+
|
29450
29814
|
# Response for NotebookService.ListRecentlyViewedNotebooks method.
|
29451
29815
|
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
29452
29816
|
include Google::Apis::Core::Hashable
|
@@ -29565,6 +29929,45 @@ module Google
|
|
29565
29929
|
end
|
29566
29930
|
end
|
29567
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
|
+
|
29568
29971
|
# Source represents a single source of content.
|
29569
29972
|
class GoogleCloudNotebooklmV1alphaSource
|
29570
29973
|
include Google::Apis::Core::Hashable
|
@@ -29733,6 +30136,26 @@ module Google
|
|
29733
30136
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent]
|
29734
30137
|
attr_accessor :agentspace_content
|
29735
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
|
+
|
29736
30159
|
def initialize(**args)
|
29737
30160
|
update!(**args)
|
29738
30161
|
end
|
@@ -29740,6 +30163,10 @@ module Google
|
|
29740
30163
|
# Update properties of this object
|
29741
30164
|
def update!(**args)
|
29742
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)
|
29743
30170
|
end
|
29744
30171
|
end
|
29745
30172
|
|
@@ -29774,6 +30201,107 @@ module Google
|
|
29774
30201
|
end
|
29775
30202
|
end
|
29776
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
|
+
|
29777
30305
|
# The request message for Operations.CancelOperation.
|
29778
30306
|
class GoogleLongrunningCancelOperationRequest
|
29779
30307
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1alpha
|
18
18
|
# Version of the google-apis-discoveryengine_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.75.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250824"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|