Class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource
The "artifacts" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource
Constructors
ArtifactsResource(IClientService)
Constructs a new resource.
Declaration
public ArtifactsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Artifact, string)
Creates a specified artifact.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.CreateRequest Create(Artifact body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Artifact | body | The body of the request. |
string | parent | Required. The parent, which owns this collection of artifacts. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.CreateRequest |
Delete(string)
Removes a specified artifact.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the artifact to delete. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.DeleteRequest |
Get(string)
Returns a specified artifact.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the artifact to retrieve. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.GetRequest |
GetContents(string)
Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.GetContentsRequest GetContents(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the artifact whose contents should be retrieved. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.GetContentsRequest |
List(string)
Returns matching artifacts.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of artifacts. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.ListRequest |
ReplaceArtifact(Artifact, string)
Used to replace a specified artifact.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.ReplaceArtifactRequest ReplaceArtifact(Artifact body, string name)
Parameters
Type | Name | Description |
---|---|---|
Artifact | body | The body of the request. |
string | name | Resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource.ReplaceArtifactRequest |