Class: Google::Apis::DataformV1beta1::ListWorkspacesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/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.



2044
2045
2046
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2044

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)


2032
2033
2034
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2032

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>)


2037
2038
2039
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2037

def unreachable
  @unreachable
end

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

List of workspaces. Corresponds to the JSON property workspaces



2042
2043
2044
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2042

def workspaces
  @workspaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2049
2050
2051
2052
2053
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2049

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