Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
The ManagePluginInstanceSourceData method's request.
Instance Attribute Summary collapse
-
#action ⇒ String
Required.
-
#data ⇒ String
Required.
-
#data_type ⇒ String
Required.
-
#relative_path ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
constructor
A new instance of GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
Returns a new instance of GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest.
3372 3373 3374 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Required. Action to be performed.
Corresponds to the JSON property action
3354 3355 3356 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3354 def action @action end |
#data ⇒ String
Required. Data to be managed.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
3360 3361 3362 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3360 def data @data end |
#data_type ⇒ String
Required. Type of data to be managed.
Corresponds to the JSON property dataType
3365 3366 3367 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3365 def data_type @data_type end |
#relative_path ⇒ String
Required. Relative path of data being managed for a given plugin instance.
Corresponds to the JSON property relativePath
3370 3371 3372 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3370 def relative_path @relative_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3377 3378 3379 3380 3381 3382 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3377 def update!(**args) @action = args[:action] if args.key?(:action) @data = args[:data] if args.key?(:data) @data_type = args[:data_type] if args.key?(:data_type) @relative_path = args[:relative_path] if args.key?(:relative_path) end |