Class: Google::Apis::CloudbuildV1::CreateGitLabConnectedRepositoryRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::CreateGitLabConnectedRepositoryRequest
- 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
Request to connect a repository from a connected GitLab host.
Instance Attribute Summary collapse
-
#gitlab_connected_repository ⇒ Google::Apis::CloudbuildV1::GitLabConnectedRepository
GitLabConnectedRepository represents a GitLab connected repository request response.
-
#parent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateGitLabConnectedRepositoryRequest
constructor
A new instance of CreateGitLabConnectedRepositoryRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateGitLabConnectedRepositoryRequest
Returns a new instance of CreateGitLabConnectedRepositoryRequest.
1746 1747 1748 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gitlab_connected_repository ⇒ Google::Apis::CloudbuildV1::GitLabConnectedRepository
GitLabConnectedRepository represents a GitLab connected repository request
response.
Corresponds to the JSON property gitlabConnectedRepository
1738 1739 1740 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1738 def gitlab_connected_repository @gitlab_connected_repository end |
#parent ⇒ String
Required. The name of the GitLabConfig
that adds connected repository.
Format: projects/
project/locations/
location/gitLabConfigs/
config`
Corresponds to the JSON property
parent`
1744 1745 1746 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1744 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1751 1752 1753 1754 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1751 def update!(**args) @gitlab_connected_repository = args[:gitlab_connected_repository] if args.key?(:gitlab_connected_repository) @parent = args[:parent] if args.key?(:parent) end |