Class NamespacesResource.CloudstoragesourcesResource
The "cloudstoragesources" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudRun.v1alpha1
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class CloudstoragesourcesResource
Constructors
CloudstoragesourcesResource(IClientService)
Constructs a new resource.
Declaration
public CloudstoragesourcesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(CloudStorageSource, String)
Creates a new cloudstoragesource.
Declaration
public virtual NamespacesResource.CloudstoragesourcesResource.CreateRequest Create(CloudStorageSource body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| CloudStorageSource | body | The body of the request. |
| System.String | parent | Required. The project ID or project number in which this cloudstoragesource should be created. |
Returns
| Type | Description |
|---|---|
| NamespacesResource.CloudstoragesourcesResource.CreateRequest |
Delete(String)
Rpc to delete a cloudstoragesource.
Declaration
public virtual NamespacesResource.CloudstoragesourcesResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. The name of the cloudstoragesource being deleted. If needed, replace {namespace_id} with the project ID. |
Returns
| Type | Description |
|---|---|
| NamespacesResource.CloudstoragesourcesResource.DeleteRequest |
Get(String)
Rpc to get information about a cloudstoragesource.
Declaration
public virtual NamespacesResource.CloudstoragesourcesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. The name of the cloudstoragesource being retrieved. If needed, replace {namespace_id} with the project ID. |
Returns
| Type | Description |
|---|---|
| NamespacesResource.CloudstoragesourcesResource.GetRequest |
List(String)
Rpc to list cloudstoragesources.
Declaration
public virtual NamespacesResource.CloudstoragesourcesResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | parent | Required. The project ID or project number from which the cloudstoragesources should be listed. |
Returns
| Type | Description |
|---|---|
| NamespacesResource.CloudstoragesourcesResource.ListRequest |
ReplaceCloudStorageSource(CloudStorageSource, String)
Rpc to replace a cloudstoragesource. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.
Declaration
public virtual NamespacesResource.CloudstoragesourcesResource.ReplaceCloudStorageSourceRequest ReplaceCloudStorageSource(CloudStorageSource body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| CloudStorageSource | body | The body of the request. |
| System.String | name | Required. The name of the cloudstoragesource being retrieved. If needed, replace {namespace_id} with the project ID. |
Returns
| Type | Description |
|---|---|
| NamespacesResource.CloudstoragesourcesResource.ReplaceCloudStorageSourceRequest |