Class: Google::Apis::MigrationcenterV1alpha1::GcsPayloadInfo
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::GcsPayloadInfo
- 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
A resource that represents a payload hosted on Google Cloud Storage.
Instance Attribute Summary collapse
-
#format ⇒ String
The import job format.
-
#path ⇒ String
The payload path in Google Cloud Storage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GcsPayloadInfo
constructor
A new instance of GcsPayloadInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GcsPayloadInfo
Returns a new instance of GcsPayloadInfo.
2968 2969 2970 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2968 def initialize(**args) update!(**args) end |
Instance Attribute Details
#format ⇒ String
The import job format.
Corresponds to the JSON property format
2961 2962 2963 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2961 def format @format end |
#path ⇒ String
The payload path in Google Cloud Storage.
Corresponds to the JSON property path
2966 2967 2968 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2966 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2973 2974 2975 2976 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2973 def update!(**args) @format = args[:format] if args.key?(:format) @path = args[:path] if args.key?(:path) end |