Class: Google::Apis::DatastreamV1alpha1::GcsProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::GcsProfile
- 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
-
#bucket_name ⇒ 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.
504 505 506 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 504 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_name ⇒ String
Required. The full project and resource path for Cloud Storage bucket
including the name.
Corresponds to the JSON property bucketName
497 498 499 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 497 def bucket_name @bucket_name end |
#root_path ⇒ String
The root path inside the Cloud Storage bucket.
Corresponds to the JSON property rootPath
502 503 504 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 502 def root_path @root_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
509 510 511 512 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 509 def update!(**args) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) @root_path = args[:root_path] if args.key?(:root_path) end |