Class: Google::Apis::CloudbuildV2::BatchCreateRepositoriesRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::BatchCreateRepositoriesRequest
- 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 creating repositoritories in batch.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreateRepositoriesRequest
constructor
A new instance of BatchCreateRepositoriesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchCreateRepositoriesRequest
Returns a new instance of BatchCreateRepositoriesRequest.
105 106 107 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::CloudbuildV2::CreateRepositoryRequest>
Required. The request messages specifying the repositories to create.
Corresponds to the JSON property requests
103 104 105 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 103 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
110 111 112 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 110 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |