Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.PluginsResource

The "plugins" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.PluginsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PluginsResource

Constructors

PluginsResource(IClientService)

Constructs a new resource.

Declaration
public PluginsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Instances

Gets the Instances resource.

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.InstancesResource Instances { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.PluginsResource.InstancesResource

StyleGuide

Gets the StyleGuide resource.

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.StyleGuideResource StyleGuide { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.PluginsResource.StyleGuideResource

Methods

Create(GoogleCloudApihubV1Plugin, string)

Create an API Hub plugin resource in the API hub. Once a plugin is created, it can be used to create plugin instances.

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.CreateRequest Create(GoogleCloudApihubV1Plugin body, string parent)
Parameters
Type Name Description
GoogleCloudApihubV1Plugin body

The body of the request.

string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.PluginsResource.CreateRequest

Delete(string)

Delete a Plugin in API hub. Note, only user owned plugins can be deleted via this method.

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the Plugin resource to delete. Format: projects/{project}/locations/{location}/plugins/{plugin}

Returns
Type Description
ProjectsResource.LocationsResource.PluginsResource.DeleteRequest

Disable(GoogleCloudApihubV1DisablePluginRequest, string)

Disables a plugin. The state of the plugin after disabling is DISABLED

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.DisableRequest Disable(GoogleCloudApihubV1DisablePluginRequest body, string name)
Parameters
Type Name Description
GoogleCloudApihubV1DisablePluginRequest body

The body of the request.

string name

Required. The name of the plugin to disable. Format: projects/{project}/locations/{location}/plugins/{plugin}.

Returns
Type Description
ProjectsResource.LocationsResource.PluginsResource.DisableRequest

Enable(GoogleCloudApihubV1EnablePluginRequest, string)

Enables a plugin. The state of the plugin after enabling is ENABLED

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.EnableRequest Enable(GoogleCloudApihubV1EnablePluginRequest body, string name)
Parameters
Type Name Description
GoogleCloudApihubV1EnablePluginRequest body

The body of the request.

string name

Required. The name of the plugin to enable. Format: projects/{project}/locations/{location}/plugins/{plugin}.

Returns
Type Description
ProjectsResource.LocationsResource.PluginsResource.EnableRequest

Get(string)

Get an API Hub plugin.

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the plugin to retrieve. Format: projects/{project}/locations/{location}/plugins/{plugin}.

Returns
Type Description
ProjectsResource.LocationsResource.PluginsResource.GetRequest

GetStyleGuide(string)

Get the style guide being used for linting.

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.GetStyleGuideRequest GetStyleGuide(string name)
Parameters
Type Name Description
string name

Required. The name of the spec to retrieve. Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide.

Returns
Type Description
ProjectsResource.LocationsResource.PluginsResource.GetStyleGuideRequest

List(string)

List all the plugins in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.PluginsResource.ListRequest

UpdateStyleGuide(GoogleCloudApihubV1StyleGuide, string)

Update the styleGuide to be used for liniting in by API hub.

Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource.UpdateStyleGuideRequest UpdateStyleGuide(GoogleCloudApihubV1StyleGuide body, string name)
Parameters
Type Name Description
GoogleCloudApihubV1StyleGuide body

The body of the request.

string name

Identifier. The name of the style guide. Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide

Returns
Type Description
ProjectsResource.LocationsResource.PluginsResource.UpdateStyleGuideRequest
In this article
Back to top Generated by DocFX