Class: Google::Apis::ServicemanagementV1::GenerateConfigReportResponse

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

Response 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) ⇒ GenerateConfigReportResponse

Returns a new instance of GenerateConfigReportResponse



1620
1621
1622
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1620

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

Instance Attribute Details

#change_reportsArray<Google::Apis::ServicemanagementV1::ChangeReport>

list of ChangeReport, each corresponding to comparison between two service configurations. Corresponds to the JSON property changeReports



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

def change_reports
  @change_reports
end

#diagnosticsArray<Google::Apis::ServicemanagementV1::Diagnostic>

Errors / Linter warnings associated with the service definition this report belongs to. Corresponds to the JSON property diagnostics



1608
1609
1610
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1608

def diagnostics
  @diagnostics
end

#idString

ID of the service configuration this report belongs to. Corresponds to the JSON property id

Returns:

  • (String)


1613
1614
1615
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1613

def id
  @id
end

#service_nameString

Name of the service this report belongs to. Corresponds to the JSON property serviceName

Returns:

  • (String)


1618
1619
1620
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1618

def service_name
  @service_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1625
1626
1627
1628
1629
1630
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1625

def update!(**args)
  @change_reports = args[:change_reports] if args.key?(:change_reports)
  @diagnostics = args[:diagnostics] if args.key?(:diagnostics)
  @id = args[:id] if args.key?(:id)
  @service_name = args[:service_name] if args.key?(:service_name)
end