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.



1682
1683
1684
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1682

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)


1680
1681
1682
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1680

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1687
1688
1689
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1687

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