Class ProjectsResource.LocationsResource.CloudstoragesourcesResource.ReplaceCloudStorageSourceRequest
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.
Inheritance
System.Object
ProjectsResource.LocationsResource.CloudstoragesourcesResource.ReplaceCloudStorageSourceRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRun.v1alpha1
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class ReplaceCloudStorageSourceRequest : CloudRunBaseServiceRequest<CloudStorageSource>, IClientServiceRequest<CloudStorageSource>, IClientServiceRequest
Constructors
ReplaceCloudStorageSourceRequest(IClientService, CloudStorageSource, String)
Constructs a new ReplaceCloudStorageSource request.
Declaration
public ReplaceCloudStorageSourceRequest(IClientService service, CloudStorageSource body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| CloudStorageSource | body | |
| System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1alpha1.Data.CloudStorageSource>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1alpha1.Data.CloudStorageSource>.MethodName
Name
Required. The name of the cloudstoragesource being retrieved. If needed, replace {namespace_id} with the project ID.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1alpha1.Data.CloudStorageSource>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudRun.v1alpha1.Data.CloudStorageSource>.GetBody()
InitParameters()
Initializes ReplaceCloudStorageSource parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudRun.v1alpha1.CloudRunBaseServiceRequest<Google.Apis.CloudRun.v1alpha1.Data.CloudStorageSource>.InitParameters()