Class: Google::Apis::ServicemanagementV1::GenerateConfigReportRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServicemanagementV1::GenerateConfigReportRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicemanagement_v1/classes.rb,
lib/google/apis/servicemanagement_v1/representations.rb,
lib/google/apis/servicemanagement_v1/representations.rb
Overview
Request message for GenerateConfigReport method.
Instance Attribute Summary collapse
-
#new_config ⇒ Hash<String,Object>
Required.
-
#old_config ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateConfigReportRequest
constructor
A new instance of GenerateConfigReportRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateConfigReportRequest
Returns a new instance of GenerateConfigReportRequest.
1791 1792 1793 |
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_config ⇒ Hash<String,Object>
Required. Service configuration for which we want to generate the report. For
this version of API, the supported types are google.api.servicemanagement.v1.
ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.
Service
Corresponds to the JSON property newConfig
1781 1782 1783 |
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1781 def new_config @new_config end |
#old_config ⇒ Hash<String,Object>
Optional. Service configuration against which the comparison will be done. For
this version of API, the supported types are google.api.servicemanagement.v1.
ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.
Service
Corresponds to the JSON property oldConfig
1789 1790 1791 |
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1789 def old_config @old_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1796 1797 1798 1799 |
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1796 def update!(**args) @new_config = args[:new_config] if args.key?(:new_config) @old_config = args[:old_config] if args.key?(:old_config) end |