Class ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource
The "runtimeProjectAttachments" collection of methods.
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource
Constructors
RuntimeProjectAttachmentsResource(IClientService)
Constructs a new resource.
Declaration
public RuntimeProjectAttachmentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudApihubV1RuntimeProjectAttachment, string)
Attaches a runtime project to the host project.
Declaration
public virtual ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource.CreateRequest Create(GoogleCloudApihubV1RuntimeProjectAttachment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudApihubV1RuntimeProjectAttachment | body | The body of the request. |
string | parent | Required. The parent resource for the Runtime Project Attachment. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource.CreateRequest |
Delete(string)
Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.
Declaration
public virtual ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Runtime Project Attachment to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource.DeleteRequest |
Get(string)
Gets a runtime project attachment.
Declaration
public virtual ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the API resource to retrieve. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource.GetRequest |
List(string)
List runtime projects attached to the host project.
Declaration
public virtual ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of runtime project attachments. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource.ListRequest |