Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::CollectApiDataRequest.
The CollectApiData method's request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action_id
def action_id() -> ::String
Returns
- (::String) — Required. The action ID to be used for collecting the API data. This should map to one of the action IDs specified in action configs in the plugin.
#action_id=
def action_id=(value) -> ::String
Parameter
- value (::String) — Required. The action ID to be used for collecting the API data. This should map to one of the action IDs specified in action configs in the plugin.
Returns
- (::String) — Required. The action ID to be used for collecting the API data. This should map to one of the action IDs specified in action configs in the plugin.
#api_data
def api_data() -> ::Google::Cloud::ApiHub::V1::ApiData
Returns
- (::Google::Cloud::ApiHub::V1::ApiData) — Required. The API data to be collected.
#api_data=
def api_data=(value) -> ::Google::Cloud::ApiHub::V1::ApiData
Parameter
- value (::Google::Cloud::ApiHub::V1::ApiData) — Required. The API data to be collected.
Returns
- (::Google::Cloud::ApiHub::V1::ApiData) — Required. The API data to be collected.
#collection_type
def collection_type() -> ::Google::Cloud::ApiHub::V1::CollectionType
Returns
- (::Google::Cloud::ApiHub::V1::CollectionType) — Required. The type of collection. Applies to all entries in api_data.
#collection_type=
def collection_type=(value) -> ::Google::Cloud::ApiHub::V1::CollectionType
Parameter
- value (::Google::Cloud::ApiHub::V1::CollectionType) — Required. The type of collection. Applies to all entries in api_data.
Returns
- (::Google::Cloud::ApiHub::V1::CollectionType) — Required. The type of collection. Applies to all entries in api_data.
#location
def location() -> ::String
Returns
-
(::String) — Required. The regional location of the API hub instance and its resources.
Format:
projects/{project}/locations/{location}
#location=
def location=(value) -> ::String
Parameter
-
value (::String) — Required. The regional location of the API hub instance and its resources.
Format:
projects/{project}/locations/{location}
Returns
-
(::String) — Required. The regional location of the API hub instance and its resources.
Format:
projects/{project}/locations/{location}
#plugin_instance
def plugin_instance() -> ::String
Returns
-
(::String) — Required. The plugin instance collecting the API data.
Format:
projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
.
#plugin_instance=
def plugin_instance=(value) -> ::String
Parameter
-
value (::String) — Required. The plugin instance collecting the API data.
Format:
projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
.
Returns
-
(::String) — Required. The plugin instance collecting the API data.
Format:
projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
.