API hub v1 API - Class CreatePluginRequest (1.1.0)

public sealed class CreatePluginRequest : IMessage<CreatePluginRequest>, IEquatable<CreatePluginRequest>, IDeepCloneable<CreatePluginRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class CreatePluginRequest.

The [CreatePlugin][google.cloud.apihub.v1.ApiHubPlugin.CreatePlugin] method's request.

Inheritance

object > CreatePluginRequest

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

CreatePluginRequest()

public CreatePluginRequest()

CreatePluginRequest(CreatePluginRequest)

public CreatePluginRequest(CreatePluginRequest other)
Parameter
Name Description
other CreatePluginRequest

Properties

Parent

public string Parent { get; set; }

Required. The parent resource where this plugin will be created. Format: projects/{project}/locations/{location}.

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

Plugin

public Plugin Plugin { get; set; }

Required. The plugin to create.

Property Value
Type Description
Plugin

PluginId

public string PluginId { get; set; }

Optional. The ID to use for the Plugin resource, which will become the final component of the Plugin's resource name. This field is optional.

  • If provided, the same will be used. The service will throw an error if the specified id is already used by another Plugin resource in the API hub instance.
  • If not provided, a system generated id will be used.

This value should be 4-63 characters, overall resource name which will be of format projects/{project}/locations/{location}/plugins/{plugin}, its length is limited to 1000 characters and valid characters are /[a-z][A-Z][0-9]-_/.

Property Value
Type Description
string