Class: Google::Apis::RapidmigrationassessmentV1::Collector
- Inherits:
-
Object
- Object
- Google::Apis::RapidmigrationassessmentV1::Collector
- 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
-
#bucket ⇒ String
Output only.
-
#client_version ⇒ String
Output only.
-
#collection_days ⇒ Fixnum
How many days to collect data.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
User specified description of the Collector.
-
#display_name ⇒ String
User specified name of the Collector.
-
#eula_uri ⇒ String
Uri for EULA (End User License Agreement) from customer.
-
#expected_asset_count ⇒ Fixnum
User specified expected asset count.
-
#guest_os_scan ⇒ Google::Apis::RapidmigrationassessmentV1::GuestOsScan
Message describing a MC Source of type Guest OS Scan.
-
#labels ⇒ Hash<String,String>
Labels as key value pairs.
-
#name ⇒ String
name of resource.
-
#service_account ⇒ String
Service Account email used to ingest data to this Collector.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#vsphere_scan ⇒ Google::Apis::RapidmigrationassessmentV1::VSphereScan
Message describing a MC Source of type VSphere Scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Collector
constructor
A new instance of Collector.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#bucket ⇒ String
Output only. Store cloud storage bucket name (which is a guid) created with
this Collector.
Corresponds to the JSON property bucket
89 90 91 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 89 def bucket @bucket end |
#client_version ⇒ String
Output only. Client version.
Corresponds to the JSON property clientVersion
94 95 96 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 94 def client_version @client_version end |
#collection_days ⇒ Fixnum
How many days to collect data.
Corresponds to the JSON property collectionDays
99 100 101 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 99 def collection_days @collection_days end |
#create_time ⇒ String
Output only. Create time stamp.
Corresponds to the JSON property createTime
104 105 106 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 104 def create_time @create_time end |
#description ⇒ String
User specified description of the Collector.
Corresponds to the JSON property description
109 110 111 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 109 def description @description end |
#display_name ⇒ String
User specified name of the Collector.
Corresponds to the JSON property displayName
114 115 116 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 114 def display_name @display_name end |
#eula_uri ⇒ String
Uri for EULA (End User License Agreement) from customer.
Corresponds to the JSON property eulaUri
119 120 121 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 119 def eula_uri @eula_uri end |
#expected_asset_count ⇒ Fixnum
User specified expected asset count.
Corresponds to the JSON property expectedAssetCount
124 125 126 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 124 def expected_asset_count @expected_asset_count end |
#guest_os_scan ⇒ Google::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 |
#labels ⇒ Hash<String,String>
Labels as key value pairs.
Corresponds to the JSON property labels
134 135 136 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 134 def labels @labels end |
#name ⇒ String
name of resource.
Corresponds to the JSON property name
139 140 141 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 139 def name @name end |
#service_account ⇒ String
Service Account email used to ingest data to this Collector.
Corresponds to the JSON property serviceAccount
144 145 146 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 144 def service_account @service_account end |
#state ⇒ String
Output only. State of the Collector.
Corresponds to the JSON property state
149 150 151 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 149 def state @state end |
#update_time ⇒ String
Output only. Update time stamp.
Corresponds to the JSON property updateTime
154 155 156 |
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 154 def update_time @update_time end |
#vsphere_scan ⇒ Google::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 |