Represents an AccessControlList.
Package
@google-cloud/assetConstructors
(constructor)(properties)
constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList);
Constructs a new AccessControlList.
Name | Description |
properties |
IAccessControlList
Properties to set |
Properties
accesses
public accesses: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccess[];
AccessControlList accesses.
Type | Description |
google.cloud.asset.v1.IamPolicyAnalysisResult.IAccess[] |
conditionEvaluation
public conditionEvaluation?: (google.cloud.asset.v1.IConditionEvaluation|null);
AccessControlList conditionEvaluation.
Type | Description |
(google.cloud.asset.v1.IConditionEvaluation|null) |
resourceEdges
public resourceEdges: google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge[];
AccessControlList resourceEdges.
Type | Description |
google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge[] |
resources
public resources: google.cloud.asset.v1.IamPolicyAnalysisResult.IResource[];
AccessControlList resources.
Type | Description |
google.cloud.asset.v1.IamPolicyAnalysisResult.IResource[] |
Methods
create(properties)
public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList): google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList;
Creates a new AccessControlList instance using the specified properties.
Name | Description |
properties |
IAccessControlList
Properties to set |
Type | Description |
google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList | AccessControlList instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList;
Decodes an AccessControlList 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.asset.v1.IamPolicyAnalysisResult.AccessControlList | AccessControlList |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList;
Decodes an AccessControlList 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.asset.v1.IamPolicyAnalysisResult.AccessControlList | AccessControlList |
encode(message, writer)
public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified AccessControlList message. Does not implicitly messages.
Name | Description |
message |
IAccessControlList
AccessControlList 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.asset.v1.IamPolicyAnalysisResult.IAccessControlList, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified AccessControlList message, length delimited. Does not implicitly messages.
Name | Description |
message |
IAccessControlList
AccessControlList 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.asset.v1.IamPolicyAnalysisResult.AccessControlList;
Creates an AccessControlList 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.asset.v1.IamPolicyAnalysisResult.AccessControlList | AccessControlList |
toJSON()
public toJSON(): { [k: string]: any };
Converts this AccessControlList to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from an AccessControlList message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
AccessControlList |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies an AccessControlList message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|