Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse
- 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
Response message for SiteSearchEngineService.ListTargetSites method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as
page_token
to retrieve the next page. -
#target_sites ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTargetSite>
List of TargetSites.
-
#total_size ⇒ Fixnum
The total number of items matching the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse.
7884 7885 7886 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7884 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
7871 7872 7873 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7871 def next_page_token @next_page_token end |
#target_sites ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTargetSite>
List of TargetSites.
Corresponds to the JSON property targetSites
7876 7877 7878 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7876 def target_sites @target_sites end |
#total_size ⇒ Fixnum
The total number of items matching the request. This will always be populated
in the response.
Corresponds to the JSON property totalSize
7882 7883 7884 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7882 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7889 7890 7891 7892 7893 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7889 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @target_sites = args[:target_sites] if args.key?(:target_sites) @total_size = args[:total_size] if args.key?(:total_size) end |