Class: Google::Apis::DatastreamV1alpha1::GcsProfile

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

Overview

Cloud Storage bucket profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsProfile

Returns a new instance of GcsProfile.



547
548
549
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 547

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

Instance Attribute Details

#bucket_nameString

Required. The full project and resource path for Cloud Storage bucket including the name. Corresponds to the JSON property bucketName

Returns:

  • (String)


540
541
542
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 540

def bucket_name
  @bucket_name
end

#root_pathString

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

Returns:

  • (String)


545
546
547
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 545

def root_path
  @root_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



552
553
554
555
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 552

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