Class: Google::Apis::BigtableadminV2::ListAppProfilesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/google/apis/bigtableadmin_v2/representations.rb

Overview

Response message for BigtableInstanceAdmin.ListAppProfiles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListAppProfilesResponse

Returns a new instance of ListAppProfilesResponse



860
861
862
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 860

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_profilesArray<Google::Apis::BigtableadminV2::AppProfile>

The list of requested app profiles. Corresponds to the JSON property appProfiles



843
844
845
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 843

def app_profiles
  @app_profiles
end

#failed_locationsArray<String>

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id> Corresponds to the JSON property failedLocations

Returns:

  • (Array<String>)


851
852
853
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 851

def failed_locations
  @failed_locations
end

#next_page_tokenString

Set if not all app profiles could be returned in a single response. Pass this value to page_token in another request to get the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


858
859
860
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 858

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



865
866
867
868
869
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 865

def update!(**args)
  @app_profiles = args[:app_profiles] if args.key?(:app_profiles)
  @failed_locations = args[:failed_locations] if args.key?(:failed_locations)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end