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.



3372
3373
3374
# File 'lib/google/apis/apihub_v1/classes.rb', line 3372

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#actionString

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

Returns:

  • (String)


3354
3355
3356
# File 'lib/google/apis/apihub_v1/classes.rb', line 3354

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)


3360
3361
3362
# File 'lib/google/apis/apihub_v1/classes.rb', line 3360

def data
  @data
end

#data_typeString

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

Returns:

  • (String)


3365
3366
3367
# File 'lib/google/apis/apihub_v1/classes.rb', line 3365

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)


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