Class: Google::Apis::SourcerepoV1::UpdateProjectConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::SourcerepoV1::UpdateProjectConfigRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sourcerepo_v1/classes.rb,
generated/google/apis/sourcerepo_v1/representations.rb,
generated/google/apis/sourcerepo_v1/representations.rb
Overview
Request for UpdateProjectConfig.
Instance Attribute Summary collapse
-
#project_config ⇒ Google::Apis::SourcerepoV1::ProjectConfig
Cloud Source Repositories configuration of a project.
-
#update_mask ⇒ String
A FieldMask specifying which fields of the project_config to modify.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateProjectConfigRequest
constructor
A new instance of UpdateProjectConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateProjectConfigRequest
Returns a new instance of UpdateProjectConfigRequest
644 645 646 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 644 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_config ⇒ Google::Apis::SourcerepoV1::ProjectConfig
Cloud Source Repositories configuration of a project.
Corresponds to the JSON property projectConfig
635 636 637 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 635 def project_config @project_config end |
#update_mask ⇒ String
A FieldMask specifying which fields of the project_config to modify. Only
the fields in the mask will be modified. If no mask is provided, this
request is no-op.
Corresponds to the JSON property updateMask
642 643 644 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 642 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
649 650 651 652 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 649 def update!(**args) @project_config = args[:project_config] if args.key?(:project_config) @update_mask = args[:update_mask] if args.key?(:update_mask) end |