Class: Google::Apis::RapidmigrationassessmentV1::Collector

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

Overview

Message describing Collector object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Collector

Returns a new instance of Collector.



161
162
163
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 161

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

Instance Attribute Details

#bucketString

Output only. Store cloud storage bucket name (which is a guid) created with this Collector. Corresponds to the JSON property bucket

Returns:

  • (String)


89
90
91
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 89

def bucket
  @bucket
end

#client_versionString

Output only. Client version. Corresponds to the JSON property clientVersion

Returns:

  • (String)


94
95
96
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 94

def client_version
  @client_version
end

#collection_daysFixnum

How many days to collect data. Corresponds to the JSON property collectionDays

Returns:

  • (Fixnum)


99
100
101
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 99

def collection_days
  @collection_days
end

#create_timeString

Output only. Create time stamp. Corresponds to the JSON property createTime

Returns:

  • (String)


104
105
106
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 104

def create_time
  @create_time
end

#descriptionString

User specified description of the Collector. Corresponds to the JSON property description

Returns:

  • (String)


109
110
111
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 109

def description
  @description
end

#display_nameString

User specified name of the Collector. Corresponds to the JSON property displayName

Returns:

  • (String)


114
115
116
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 114

def display_name
  @display_name
end

#eula_uriString

Uri for EULA (End User License Agreement) from customer. Corresponds to the JSON property eulaUri

Returns:

  • (String)


119
120
121
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 119

def eula_uri
  @eula_uri
end

#expected_asset_countFixnum

User specified expected asset count. Corresponds to the JSON property expectedAssetCount

Returns:

  • (Fixnum)


124
125
126
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 124

def expected_asset_count
  @expected_asset_count
end

#guest_os_scanGoogle::Apis::RapidmigrationassessmentV1::GuestOsScan

Message describing a MC Source of type Guest OS Scan. Corresponds to the JSON property guestOsScan



129
130
131
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 129

def guest_os_scan
  @guest_os_scan
end

#labelsHash<String,String>

Labels as key value pairs. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


134
135
136
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 134

def labels
  @labels
end

#nameString

name of resource. Corresponds to the JSON property name

Returns:

  • (String)


139
140
141
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 139

def name
  @name
end

#service_accountString

Service Account email used to ingest data to this Collector. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


144
145
146
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 144

def 
  @service_account
end

#stateString

Output only. State of the Collector. Corresponds to the JSON property state

Returns:

  • (String)


149
150
151
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 149

def state
  @state
end

#update_timeString

Output only. Update time stamp. Corresponds to the JSON property updateTime

Returns:

  • (String)


154
155
156
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 154

def update_time
  @update_time
end

#vsphere_scanGoogle::Apis::RapidmigrationassessmentV1::VSphereScan

Message describing a MC Source of type VSphere Scan. Corresponds to the JSON property vsphereScan



159
160
161
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 159

def vsphere_scan
  @vsphere_scan
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 166

def update!(**args)
  @bucket = args[:bucket] if args.key?(:bucket)
  @client_version = args[:client_version] if args.key?(:client_version)
  @collection_days = args[:collection_days] if args.key?(:collection_days)
  @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)
  @eula_uri = args[:eula_uri] if args.key?(:eula_uri)
  @expected_asset_count = args[:expected_asset_count] if args.key?(:expected_asset_count)
  @guest_os_scan = args[:guest_os_scan] if args.key?(:guest_os_scan)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @service_account = args[:service_account] if args.key?(:service_account)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
  @vsphere_scan = args[:vsphere_scan] if args.key?(:vsphere_scan)
end