Class: Google::Apis::DatastreamV1::GcsProfile

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

Overview

Profile for connecting to a Cloud Storage destination.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsProfile

Returns a new instance of GcsProfile.



1225
1226
1227
# File 'lib/google/apis/datastream_v1/classes.rb', line 1225

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

Instance Attribute Details

#bucketString

Required. The Cloud Storage bucket name. Corresponds to the JSON property bucket

Returns:

  • (String)


1218
1219
1220
# File 'lib/google/apis/datastream_v1/classes.rb', line 1218

def bucket
  @bucket
end

#root_pathString

Optional. The root path inside the Cloud Storage bucket. Corresponds to the JSON property rootPath

Returns:

  • (String)


1223
1224
1225
# File 'lib/google/apis/datastream_v1/classes.rb', line 1223

def root_path
  @root_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1230
1231
1232
1233
# File 'lib/google/apis/datastream_v1/classes.rb', line 1230

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