Class: Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/proximitybeacon_v1beta1/classes.rb,
 generated/google/apis/proximitybeacon_v1beta1/representations.rb,
 generated/google/apis/proximitybeacon_v1beta1/representations.rb
Overview
Response that contains list beacon results and pagination help.
Instance Attribute Summary collapse
- 
  
    
      #beacons  ⇒ Array<Google::Apis::ProximitybeaconV1beta1::Beacon> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The beacons that matched the search criteria. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An opaque pagination token that the client may provide in their next request to retrieve the next page of results. 
- 
  
    
      #total_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Estimate of the total number of beacons matched by the query. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListBeaconsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListBeaconsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListBeaconsResponse
Returns a new instance of ListBeaconsResponse
| 715 716 717 | # File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 715 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#beacons ⇒ Array<Google::Apis::ProximitybeaconV1beta1::Beacon>
The beacons that matched the search criteria.
Corresponds to the JSON property beacons
| 701 702 703 | # File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 701 def beacons @beacons end | 
#next_page_token ⇒ String
An opaque pagination token that the client may provide in their next
request to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
| 707 708 709 | # File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 707 def next_page_token @next_page_token end | 
#total_count ⇒ Fixnum
Estimate of the total number of beacons matched by the query. Higher
values may be less accurate.
Corresponds to the JSON property totalCount
| 713 714 715 | # File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 713 def total_count @total_count end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 720 721 722 723 724 | # File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 720 def update!(**args) @beacons = args[:beacons] if args.key?(:beacons) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_count = args[:total_count] if args.key?(:total_count) end |