Class: Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse

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

Response message for FetchWorkspaceBranches method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchWorkspaceBranchesResponse

Returns a new instance of FetchWorkspaceBranchesResponse.



1543
1544
1545
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1543

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

Instance Attribute Details

#branchesArray<Google::Apis::DataformV1beta1::BranchMetadata>

The branches in the workspace. Corresponds to the JSON property branches



1535
1536
1537
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1535

def branches
  @branches
end

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


1541
1542
1543
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1541

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1548
1549
1550
1551
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1548

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