Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuerySet
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuerySet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
A SampleQuerySet is the parent resource of SampleQuery, and contains the configurations shared by all SampleQuery under it.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
The description of the SampleQuerySet.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSampleQuerySet
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSampleQuerySet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSampleQuerySet
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSampleQuerySet.
14490 14491 14492 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14490 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp the SampleQuerySet was created at.
Corresponds to the JSON property createTime
14469 14470 14471 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14469 def create_time @create_time end |
#description ⇒ String
The description of the SampleQuerySet.
Corresponds to the JSON property description
14474 14475 14476 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14474 def description @description end |
#display_name ⇒ String
Required. The sample query set display name. This field must be a UTF-8
encoded string with a length limit of 128 characters.
Corresponds to the JSON property displayName
14480 14481 14482 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14480 def display_name @display_name end |
#name ⇒ String
Identifier. The full resource name of the SampleQuerySet, in the format of
projects/
project/locations/
location/sampleQuerySets/
sample_query_set`.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
Corresponds to the JSON property
name`
14488 14489 14490 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14488 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14495 14496 14497 14498 14499 14500 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14495 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |