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.
3474 3475 3476 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Required. Action to be performed.
Corresponds to the JSON property action
3456 3457 3458 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3456 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.
3462 3463 3464 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3462 def data @data end |
#data_type ⇒ String
Required. Type of data to be managed.
Corresponds to the JSON property dataType
3467 3468 3469 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3467 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
3472 3473 3474 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3472 def relative_path @relative_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3479 3480 3481 3482 3483 3484 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3479 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 |