Class: Google::Apis::DatastreamV1::GcsProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::GcsProfile
- 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
Cloud Storage bucket profile.
Instance Attribute Summary collapse
-
#bucket ⇒ String
Required.
-
#root_path ⇒ String
The root path inside the Cloud Storage bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GcsProfile
constructor
A new instance of GcsProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GcsProfile
Returns a new instance of GcsProfile.
725 726 727 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 725 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket ⇒ String
Required. The Cloud Storage bucket name.
Corresponds to the JSON property bucket
718 719 720 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 718 def bucket @bucket end |
#root_path ⇒ String
The root path inside the Cloud Storage bucket.
Corresponds to the JSON property rootPath
723 724 725 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 723 def root_path @root_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
730 731 732 733 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 730 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) @root_path = args[:root_path] if args.key?(:root_path) end |