Class: Google::Apis::MigrationcenterV1alpha1::GcsPayloadInfo

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

A resource that represents a payload hosted on Google Cloud Storage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsPayloadInfo

Returns a new instance of GcsPayloadInfo.



2769
2770
2771
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2769

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

Instance Attribute Details

#formatString

The import job format. Corresponds to the JSON property format

Returns:

  • (String)


2762
2763
2764
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2762

def format
  @format
end

#pathString

The payload path in Google Cloud Storage. Corresponds to the JSON property path

Returns:

  • (String)


2767
2768
2769
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2767

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2774
2775
2776
2777
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2774

def update!(**args)
  @format = args[:format] if args.key?(:format)
  @path = args[:path] if args.key?(:path)
end