Class: Google::Apis::MigrationcenterV1alpha1::ReportConfig

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

Overview

The groups and associated preference sets on which we can generate reports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportConfig

Returns a new instance of ReportConfig.



7110
7111
7112
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7110

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

Instance Attribute Details

#create_timeString

Output only. The timestamp when the resource was created. Corresponds to the JSON property createTime

Returns:

  • (String)


7083
7084
7085
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7083

def create_time
  @create_time
end

#descriptionString

Free-text description. Corresponds to the JSON property description

Returns:

  • (String)


7088
7089
7090
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7088

def description
  @description
end

#display_nameString

User-friendly display name. Maximum length is 63 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


7093
7094
7095
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7093

def display_name
  @display_name
end

#group_preferenceset_assignmentsArray<Google::Apis::MigrationcenterV1alpha1::ReportConfigGroupPreferenceSetAssignment>

Required. Collection of combinations of groups and preference sets. Corresponds to the JSON property groupPreferencesetAssignments



7098
7099
7100
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7098

def group_preferenceset_assignments
  @group_preferenceset_assignments
end

#nameString

Output only. Name of resource. Corresponds to the JSON property name

Returns:

  • (String)


7103
7104
7105
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7103

def name
  @name
end

#update_timeString

Output only. The timestamp when the resource was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


7108
7109
7110
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7108

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7115
7116
7117
7118
7119
7120
7121
7122
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7115

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @group_preferenceset_assignments = args[:group_preferenceset_assignments] if args.key?(:group_preferenceset_assignments)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end