Class OrganizationsResource.NotificationConfigsResource.PatchRequest
Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter
Inheritance
System.Object
OrganizationsResource.NotificationConfigsResource.PatchRequest
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.SecurityCommandCenter.v1p1beta1
Assembly: Google.Apis.SecurityCommandCenter.v1p1beta1.dll
Syntax
public class PatchRequest : SecurityCommandCenterBaseServiceRequest<NotificationConfig>, IClientServiceRequest<NotificationConfig>, IClientServiceRequest
Constructors
PatchRequest(IClientService, NotificationConfig, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, NotificationConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
NotificationConfig | 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.SecurityCommandCenter.v1p1beta1.Data.NotificationConfig>.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.SecurityCommandCenter.v1p1beta1.Data.NotificationConfig>.MethodName
Name
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket".
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.SecurityCommandCenter.v1p1beta1.Data.NotificationConfig>.RestPath
UpdateMask
The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
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.SecurityCommandCenter.v1p1beta1.Data.NotificationConfig>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.SecurityCommandCenter.v1p1beta1.SecurityCommandCenterBaseServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.NotificationConfig>.InitParameters()