Class: Google::Apis::DataformV1::ListWorkspacesResponse

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

Overview

ListWorkspaces response message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListWorkspacesResponse

Returns a new instance of ListWorkspacesResponse.



2061
2062
2063
# File 'lib/google/apis/dataform_v1/classes.rb', line 2061

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

Instance Attribute Details

#next_page_tokenString

A token, which 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

Returns:

  • (String)


2049
2050
2051
# File 'lib/google/apis/dataform_v1/classes.rb', line 2049

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations which could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


2054
2055
2056
# File 'lib/google/apis/dataform_v1/classes.rb', line 2054

def unreachable
  @unreachable
end

#workspacesArray<Google::Apis::DataformV1::Workspace>

List of workspaces. Corresponds to the JSON property workspaces



2059
2060
2061
# File 'lib/google/apis/dataform_v1/classes.rb', line 2059

def workspaces
  @workspaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2066
2067
2068
2069
2070
# File 'lib/google/apis/dataform_v1/classes.rb', line 2066

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