Represents a CertificateAuthority.
Package
@google-cloud/security-private-caConstructors
(constructor)(properties)
constructor(properties?: google.cloud.security.privateca.v1beta1.ICertificateAuthority);
Constructs a new CertificateAuthority.
Name | Description |
properties |
ICertificateAuthority
Properties to set |
Properties
accessUrls
public accessUrls?: (google.cloud.security.privateca.v1beta1.CertificateAuthority.IAccessUrls|null);
CertificateAuthority accessUrls.
caCertificateDescriptions
public caCertificateDescriptions: google.cloud.security.privateca.v1beta1.ICertificateDescription[];
CertificateAuthority caCertificateDescriptions.
certificatePolicy
public certificatePolicy?: (google.cloud.security.privateca.v1beta1.CertificateAuthority.ICertificateAuthorityPolicy|null);
CertificateAuthority certificatePolicy.
config
public config?: (google.cloud.security.privateca.v1beta1.ICertificateConfig|null);
CertificateAuthority config.
createTime
public createTime?: (google.protobuf.ITimestamp|null);
CertificateAuthority createTime.
deleteTime
public deleteTime?: (google.protobuf.ITimestamp|null);
CertificateAuthority deleteTime.
gcsBucket
public gcsBucket: string;
CertificateAuthority gcsBucket.
issuingOptions
public issuingOptions?: (google.cloud.security.privateca.v1beta1.CertificateAuthority.IIssuingOptions|null);
CertificateAuthority issuingOptions.
keySpec
public keySpec?: (google.cloud.security.privateca.v1beta1.CertificateAuthority.IKeyVersionSpec|null);
CertificateAuthority keySpec.
labels
public labels: { [k: string]: string };
CertificateAuthority labels.
lifetime
public lifetime?: (google.protobuf.IDuration|null);
CertificateAuthority lifetime.
name
public name: string;
CertificateAuthority name.
pemCaCertificates
public pemCaCertificates: string[];
CertificateAuthority pemCaCertificates.
state
public state: (google.cloud.security.privateca.v1beta1.CertificateAuthority.State|keyof typeof google.cloud.security.privateca.v1beta1.CertificateAuthority.State);
CertificateAuthority state.
subordinateConfig
public subordinateConfig?: (google.cloud.security.privateca.v1beta1.ISubordinateConfig|null);
CertificateAuthority subordinateConfig.
tier
public tier: (google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier|keyof typeof google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier);
CertificateAuthority tier.
type
public type: (google.cloud.security.privateca.v1beta1.CertificateAuthority.Type|keyof typeof google.cloud.security.privateca.v1beta1.CertificateAuthority.Type);
CertificateAuthority type.
updateTime
public updateTime?: (google.protobuf.ITimestamp|null);
CertificateAuthority updateTime.
Methods
create(properties)
public static create(properties?: google.cloud.security.privateca.v1beta1.ICertificateAuthority): google.cloud.security.privateca.v1beta1.CertificateAuthority;
Creates a new CertificateAuthority instance using the specified properties.
Name | Description |
properties |
ICertificateAuthority
Properties to set |
Type | Description |
google.cloud.security.privateca.v1beta1.CertificateAuthority | CertificateAuthority instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.security.privateca.v1beta1.CertificateAuthority;
Decodes a CertificateAuthority message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.cloud.security.privateca.v1beta1.CertificateAuthority | CertificateAuthority |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.security.privateca.v1beta1.CertificateAuthority;
Decodes a CertificateAuthority message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.security.privateca.v1beta1.CertificateAuthority | CertificateAuthority |
encode(message, writer)
public static encode(message: google.cloud.security.privateca.v1beta1.ICertificateAuthority, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified CertificateAuthority message. Does not implicitly messages.
Name | Description |
message |
ICertificateAuthority
CertificateAuthority message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.security.privateca.v1beta1.ICertificateAuthority, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified CertificateAuthority message, length delimited. Does not implicitly messages.
Name | Description |
message |
ICertificateAuthority
CertificateAuthority message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.security.privateca.v1beta1.CertificateAuthority;
Creates a CertificateAuthority message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.security.privateca.v1beta1.CertificateAuthority | CertificateAuthority |
toJSON()
public toJSON(): { [k: string]: any };
Converts this CertificateAuthority to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.security.privateca.v1beta1.CertificateAuthority, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a CertificateAuthority message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.security.privateca.v1beta1.CertificateAuthority
CertificateAuthority |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a CertificateAuthority message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|