Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListTargetSitesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListTargetSitesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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_tokento retrieve the next page. -
#target_sites ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TargetSite>
List of TargetSites.
-
#total_size ⇒ Fixnum
The total number of items matching the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListTargetSitesResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1ListTargetSitesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListTargetSitesResponse
Returns a new instance of GoogleCloudDiscoveryengineV1ListTargetSitesResponse.
5288 5289 5290 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5288 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
5275 5276 5277 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5275 def next_page_token @next_page_token end |
#target_sites ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TargetSite>
List of TargetSites.
Corresponds to the JSON property targetSites
5280 5281 5282 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5280 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
5286 5287 5288 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5286 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5293 5294 5295 5296 5297 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5293 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 |