Represents a ProjectErrors.
Package
@google-cloud/storageinsightsConstructors
(constructor)(properties)
constructor(properties?: google.cloud.storageinsights.v1.DatasetConfig.IProjectErrors);Constructs a new ProjectErrors.
| Parameter | |
|---|---|
| Name | Description |
properties |
IProjectErrors
Properties to set |
Properties
_internalErrorCount
public _internalErrorCount?: "internalErrorCount";ProjectErrors _internalErrorCount.
_nonManagementHubEntitledErrorCount
public _nonManagementHubEntitledErrorCount?: "nonManagementHubEntitledErrorCount";ProjectErrors _nonManagementHubEntitledErrorCount.
_nonStorageIntelligenceEntitledErrorCount
public _nonStorageIntelligenceEntitledErrorCount?: "nonStorageIntelligenceEntitledErrorCount";ProjectErrors _nonStorageIntelligenceEntitledErrorCount.
_outsideOrgErrorCount
public _outsideOrgErrorCount?: "outsideOrgErrorCount";ProjectErrors _outsideOrgErrorCount.
_validatedCount
public _validatedCount?: "validatedCount";ProjectErrors _validatedCount.
destinationProjectCheckHasInternalError
public destinationProjectCheckHasInternalError?: (boolean|null);ProjectErrors destinationProjectCheckHasInternalError.
destinationProjectCheckResult
public destinationProjectCheckResult?: ("destinationProjectOrgError"|"destinationProjectCheckHasInternalError");ProjectErrors destinationProjectCheckResult.
destinationProjectOrgError
public destinationProjectOrgError?: (boolean|null);ProjectErrors destinationProjectOrgError.
internalErrorCount
public internalErrorCount?: (number|Long|string|null);ProjectErrors internalErrorCount.
nonManagementHubEntitledErrorCount
public nonManagementHubEntitledErrorCount?: (number|Long|string|null);ProjectErrors nonManagementHubEntitledErrorCount.
nonManagementHubEntitledProjectNumbers
public nonManagementHubEntitledProjectNumbers: (number|Long|string)[];ProjectErrors nonManagementHubEntitledProjectNumbers.
nonStorageIntelligenceEntitledErrorCount
public nonStorageIntelligenceEntitledErrorCount?: (number|Long|string|null);ProjectErrors nonStorageIntelligenceEntitledErrorCount.
nonStorageIntelligenceEntitledProjectNumbers
public nonStorageIntelligenceEntitledProjectNumbers: (number|Long|string)[];ProjectErrors nonStorageIntelligenceEntitledProjectNumbers.
outsideOrgErrorCount
public outsideOrgErrorCount?: (number|Long|string|null);ProjectErrors outsideOrgErrorCount.
outsideOrgProjectNumbers
public outsideOrgProjectNumbers: (number|Long|string)[];ProjectErrors outsideOrgProjectNumbers.
validatedCount
public validatedCount?: (number|Long|string|null);ProjectErrors validatedCount.
Methods
create(properties)
public static create(properties?: google.cloud.storageinsights.v1.DatasetConfig.IProjectErrors): google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors;Creates a new ProjectErrors instance using the specified properties.
| Parameter | |
|---|---|
| Name | Description |
properties |
IProjectErrors
Properties to set |
| Returns | |
|---|---|
| Type | Description |
ProjectErrors |
ProjectErrors instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors;Decodes a ProjectErrors message from the specified reader or buffer.
| Parameters | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
| Returns | |
|---|---|
| Type | Description |
ProjectErrors |
ProjectErrors |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors;Decodes a ProjectErrors message from the specified reader or buffer, length delimited.
| Parameter | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
| Returns | |
|---|---|
| Type | Description |
ProjectErrors |
ProjectErrors |
encode(message, writer)
public static encode(message: google.cloud.storageinsights.v1.DatasetConfig.IProjectErrors, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ProjectErrors message. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IProjectErrors
ProjectErrors message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.storageinsights.v1.DatasetConfig.IProjectErrors, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ProjectErrors message, length delimited. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IProjectErrors
ProjectErrors message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors;Creates a ProjectErrors message from a plain object. Also converts values to their respective internal types.
| Parameter | |
|---|---|
| Name | Description |
object |
{ [k: string]: any }
Plain object |
| Returns | |
|---|---|
| Type | Description |
ProjectErrors |
ProjectErrors |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for ProjectErrors
| Parameter | |
|---|---|
| Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Returns | |
|---|---|
| Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this ProjectErrors to JSON.
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a ProjectErrors message. Also converts values to other types if specified.
| Parameters | |
|---|---|
| Name | Description |
message |
ProjectErrors
ProjectErrors |
options |
$protobuf.IConversionOptions
Conversion options |
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a ProjectErrors message.
| Parameter | |
|---|---|
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Returns | |
|---|---|
| Type | Description |
(string|null) |
|