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.



1107
1108
1109
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1107

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)


1095
1096
1097
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1095

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


1100
1101
1102
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1100

def unreachable
  @unreachable
end

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

List of workspaces. Corresponds to the JSON property workspaces



1105
1106
1107
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1105

def workspaces
  @workspaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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