Class ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource
The "serviceProjectAttachments" collection of methods.
Inherited Members
Namespace: Google.Apis.AppHub.v1
Assembly: Google.Apis.AppHub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource
Constructors
ServiceProjectAttachmentsResource(IClientService)
Constructs a new resource.
Declaration
public ServiceProjectAttachmentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(ServiceProjectAttachment, string)
Attaches a service project to the host project.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource.CreateRequest Create(ServiceProjectAttachment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ServiceProjectAttachment | body | The body of the request. |
string | parent | Required. Host project ID and location to which service project is being attached. Only global
location is supported. Expected format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource.CreateRequest |
Delete(string)
Deletes a service project attachment.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Fully qualified name of the service project attachment to delete. Expected format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource.DeleteRequest |
Get(string)
Gets a service project attachment.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Fully qualified name of the service project attachment to retrieve. Expected format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource.GetRequest |
List(string)
Lists service projects attached to the host project.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Host project ID and location to list service project attachments. Only global location is
supported. Expected format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource.ListRequest |