Class: Google::Apis::CloudbuildV1::ListGitLabRepositoriesResponse

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

Overview

RPC response object returned by the ListGitLabRepositories RPC method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListGitLabRepositoriesResponse

Returns a new instance of ListGitLabRepositoriesResponse.



2975
2976
2977
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2975

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

Instance Attribute Details

#gitlab_repositoriesArray<Google::Apis::CloudbuildV1::GitLabRepository>

List of GitLab repositories Corresponds to the JSON property gitlabRepositories



2967
2968
2969
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2967

def gitlab_repositories
  @gitlab_repositories
end

#next_page_tokenString

A token that 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)


2973
2974
2975
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2973

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2980
2981
2982
2983
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2980

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