Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#actionString

Required. Action to be performed. Corresponds to the JSON property action

Returns:

  • (String)


3456
3457
3458
# File 'lib/google/apis/apihub_v1/classes.rb', line 3456

def action
  @action
end

#dataString

Required. Data to be managed. Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


3462
3463
3464
# File 'lib/google/apis/apihub_v1/classes.rb', line 3462

def data
  @data
end

#data_typeString

Required. Type of data to be managed. Corresponds to the JSON property dataType

Returns:

  • (String)


3467
3468
3469
# File 'lib/google/apis/apihub_v1/classes.rb', line 3467

def data_type
  @data_type
end

#relative_pathString

Required. Relative path of data being managed for a given plugin instance. Corresponds to the JSON property relativePath

Returns:

  • (String)


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