Class: Google::Apis::AlloydbV1alpha::GcsDestination

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb

Overview

Destination for Export. Export will be done to cloud storage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsDestination

Returns a new instance of GcsDestination.



1105
1106
1107
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1105

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

Instance Attribute Details

#uriString

Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/fileName. Corresponds to the JSON property uri

Returns:

  • (String)


1103
1104
1105
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1103

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1110
1111
1112
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1110

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