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.
Constructor Details
#initialize(**args) ⇒ UpdateProjectConfigRequest
Returns a new instance of UpdateProjectConfigRequest.
769 770 771 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 769 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
760 761 762 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 760 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
767 768 769 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 767 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
774 775 776 777 |
# File 'generated/google/apis/sourcerepo_v1/classes.rb', line 774 def update!(**args) @project_config = args[:project_config] if args.key?(:project_config) @update_mask = args[:update_mask] if args.key?(:update_mask) end |