Class: Google::Apis::CloudbuildV2::FetchLinkableRepositoriesResponse

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

Overview

Response message for FetchLinkableRepositories.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchLinkableRepositoriesResponse

Returns a new instance of FetchLinkableRepositoriesResponse.



746
747
748
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 746

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

Instance Attribute Details

#next_page_tokenString

A token identifying a page of results the server should return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


739
740
741
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 739

def next_page_token
  @next_page_token
end

#repositoriesArray<Google::Apis::CloudbuildV2::Repository>

repositories ready to be created. Corresponds to the JSON property repositories



744
745
746
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 744

def repositories
  @repositories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



751
752
753
754
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 751

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