public sealed class UpdateApiSpecRequest : IMessage<UpdateApiSpecRequest>, IEquatable<UpdateApiSpecRequest>, IDeepCloneable<UpdateApiSpecRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class UpdateApiSpecRequest.
Request message for UpdateApiSpec.
Implements
IMessageUpdateApiSpecRequest, IEquatableUpdateApiSpecRequest, IDeepCloneableUpdateApiSpecRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ApigeeRegistry.V1Assembly
Google.Cloud.ApigeeRegistry.V1.dll
Constructors
UpdateApiSpecRequest()
public UpdateApiSpecRequest()
UpdateApiSpecRequest(UpdateApiSpecRequest)
public UpdateApiSpecRequest(UpdateApiSpecRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateApiSpecRequest |
Properties
AllowMissing
public bool AllowMissing { get; set; }
If set to true, and the spec is not found, a new spec will be created.
In this situation, update_mask
is ignored.
Property Value | |
---|---|
Type | Description |
bool |
ApiSpec
public ApiSpec ApiSpec { get; set; }
Required. The spec to update.
The name
field is used to identify the spec to update.
Format: projects/*/locations/*/apis/*/versions/*/specs/*
Property Value | |
---|---|
Type | Description |
ApiSpec |
UpdateMask
public FieldMask UpdateMask { get; set; }
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
Property Value | |
---|---|
Type | Description |
FieldMask |