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.



1126
1127
1128
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1126

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)


1114
1115
1116
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1114

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


1119
1120
1121
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1119

def unreachable
  @unreachable
end

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

List of workspaces. Corresponds to the JSON property workspaces



1124
1125
1126
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1124

def workspaces
  @workspaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1131
1132
1133
1134
1135
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1131

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