Class: Google::Apis::ServicemanagementV1::GenerateConfigReportRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb

Overview

Request message for GenerateConfigReport method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GenerateConfigReportRequest

Returns a new instance of GenerateConfigReportRequest



1594
1595
1596
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1594

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

Instance Attribute Details

#new_configHash<String,Object>

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

Returns:

  • (Hash<String,Object>)


1583
1584
1585
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1583

def new_config
  @new_config
end

#old_configHash<String,Object>

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

Returns:

  • (Hash<String,Object>)


1592
1593
1594
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1592

def old_config
  @old_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1599
1600
1601
1602
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1599

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