Class: Google::Apis::CloudbuildV1::BatchCreateBitbucketServerConnectedRepositoriesRequest

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 request object accepted by BatchCreateBitbucketServerConnectedRepositories RPC method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreateBitbucketServerConnectedRepositoriesRequest

Returns a new instance of BatchCreateBitbucketServerConnectedRepositoriesRequest.



246
247
248
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 246

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

Instance Attribute Details

#requestsArray<Google::Apis::CloudbuildV1::CreateBitbucketServerConnectedRepositoryRequest>

Required. Requests to connect Bitbucket Server repositories. Corresponds to the JSON property requests



244
245
246
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 244

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



251
252
253
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 251

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