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.



608
609
610
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 608

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)


601
602
603
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 601

def next_page_token
  @next_page_token
end

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

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



606
607
608
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 606

def repositories
  @repositories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



613
614
615
616
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 613

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