Class: Google::Apis::MigrationcenterV1alpha1::HostingProviderDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::HostingProviderDetails
- 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
Details about the hosting platform of the asset.
Instance Attribute Summary collapse
-
#aws ⇒ Google::Apis::MigrationcenterV1alpha1::HostingProviderDetailsAws
Details for AWS platform.
-
#create_time ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#location ⇒ Google::Apis::MigrationcenterV1alpha1::ResourceLocation
Location of a resource.
-
#original_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HostingProviderDetails
constructor
A new instance of HostingProviderDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HostingProviderDetails
Returns a new instance of HostingProviderDetails.
3975 3976 3977 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3975 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aws ⇒ Google::Apis::MigrationcenterV1alpha1::HostingProviderDetailsAws
Details for AWS platform.
Corresponds to the JSON property aws
3953 3954 3955 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3953 def aws @aws end |
#create_time ⇒ String
Optional. The timestamp when resource was created in the hosting provider.
Corresponds to the JSON property createTime
3958 3959 3960 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3958 def create_time @create_time end |
#display_name ⇒ String
Optional. Display name of the asset.
Corresponds to the JSON property displayName
3963 3964 3965 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3963 def display_name @display_name end |
#location ⇒ Google::Apis::MigrationcenterV1alpha1::ResourceLocation
Location of a resource.
Corresponds to the JSON property location
3968 3969 3970 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3968 def location @location end |
#original_id ⇒ String
Optional. Unique identifier for the asset in the hosting provider.
Corresponds to the JSON property originalId
3973 3974 3975 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3973 def original_id @original_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3980 3981 3982 3983 3984 3985 3986 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3980 def update!(**args) @aws = args[:aws] if args.key?(:aws) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @location = args[:location] if args.key?(:location) @original_id = args[:original_id] if args.key?(:original_id) end |