Class: Google::Apis::MigrationcenterV1alpha1::HostingProviderDetails

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

Details about the hosting platform of the asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#awsGoogle::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_timeString

Optional. The timestamp when resource was created in the hosting provider. Corresponds to the JSON property createTime

Returns:

  • (String)


3958
3959
3960
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3958

def create_time
  @create_time
end

#display_nameString

Optional. Display name of the asset. Corresponds to the JSON property displayName

Returns:

  • (String)


3963
3964
3965
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3963

def display_name
  @display_name
end

#locationGoogle::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_idString

Optional. Unique identifier for the asset in the hosting provider. Corresponds to the JSON property originalId

Returns:

  • (String)


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