lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.8.0 vs lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.9.0

- old
+ new

@@ -484,10 +484,15 @@ # Information related to the Google Cloud resource. class GoogleCloudSecuritycenterV1Resource include Google::Apis::Core::Hashable + # The human readable name of the resource. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # Output only. Contains a Folder message for each folder in the assets ancestry. # The first folder is the deepest nested folder, and the last folder is the # folder directly under the Organization. # Corresponds to the JSON property `folders` # @return [Array<Google::Apis::SecuritycenterV1beta2::Folder>] @@ -528,9 +533,10 @@ update!(**args) end # Update properties of this object def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) @folders = args[:folders] if args.key?(:folders) @name = args[:name] if args.key?(:name) @parent = args[:parent] if args.key?(:parent) @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name) @project = args[:project] if args.key?(:project)