Class: Google::Apis::CloudbuildV2::BatchCreateRepositoriesResponse

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

Message for response of creating repositories in batch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreateRepositoriesResponse

Returns a new instance of BatchCreateRepositoriesResponse.



124
125
126
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 124

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

Instance Attribute Details

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

Repository resources created. Corresponds to the JSON property repositories



122
123
124
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 122

def repositories
  @repositories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



129
130
131
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 129

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