public sealed class CreateSecretRequest : IMessage<CreateSecretRequest>, IEquatable<CreateSecretRequest>, IDeepCloneable<CreateSecretRequest>, IBufferMessage, IMessage
Request message for [SecretManagerService.CreateSecret][google.cloud.secretmanager.v1.SecretManagerService.CreateSecret].
Inheritance
System.Object > CreateSecretRequestImplements
Google.Protobuf.IMessage<CreateSecretRequest>, System.IEquatable<CreateSecretRequest>, Google.Protobuf.IDeepCloneable<CreateSecretRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.dll
Constructors
CreateSecretRequest()
public CreateSecretRequest()
CreateSecretRequest(CreateSecretRequest)
public CreateSecretRequest(CreateSecretRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateSecretRequest |
Properties
Parent
public string Parent { get; set; }
Required. The resource name of the project to associate with the
[Secret][google.cloud.secretmanager.v1.Secret], in the format projects/*
.
Property Value | |
---|---|
Type | Description |
System.String |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
Google.Api.Gax.ResourceNames.ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
Google.Api.Gax.ResourceNames.ProjectName |
Secret
public Secret Secret { get; set; }
Required. A [Secret][google.cloud.secretmanager.v1.Secret] with initial field values.
Property Value | |
---|---|
Type | Description |
Secret |
SecretId
public string SecretId { get; set; }
Required. This must be unique within the project.
A secret ID is a string with a maximum length of 255 characters and can
contain uppercase and lowercase letters, numerals, and the hyphen (-
) and
underscore (_
) characters.
Property Value | |
---|---|
Type | Description |
System.String |