Represents a OSPolicyAssignment.
Package
@google-cloud/os-config!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.osconfig.v1alpha.IOSPolicyAssignment);
Constructs a new OSPolicyAssignment.
Name | Description |
properties |
IOSPolicyAssignment
Properties to set |
Properties
baseline
public baseline: boolean;
OSPolicyAssignment baseline.
Type | Description |
boolean |
deleted
public deleted: boolean;
OSPolicyAssignment deleted.
Type | Description |
boolean |
description
public description: string;
OSPolicyAssignment description.
Type | Description |
string |
instanceFilter
public instanceFilter?: (google.cloud.osconfig.v1alpha.OSPolicyAssignment.IInstanceFilter|null);
OSPolicyAssignment instanceFilter.
Type | Description |
(google.cloud.osconfig.v1alpha.OSPolicyAssignment.IInstanceFilter|null) |
name
public name: string;
OSPolicyAssignment name.
Type | Description |
string |
osPolicies
public osPolicies: google.cloud.osconfig.v1alpha.IOSPolicy[];
OSPolicyAssignment osPolicies.
Type | Description |
google.cloud.osconfig.v1alpha.IOSPolicy[] |
reconciling
public reconciling: boolean;
OSPolicyAssignment reconciling.
Type | Description |
boolean |
revisionCreateTime
public revisionCreateTime?: (google.protobuf.ITimestamp|null);
OSPolicyAssignment revisionCreateTime.
Type | Description |
(google.protobuf.ITimestamp|null) |
revisionId
public revisionId: string;
OSPolicyAssignment revisionId.
Type | Description |
string |
rollout
public rollout?: (google.cloud.osconfig.v1alpha.OSPolicyAssignment.IRollout|null);
OSPolicyAssignment rollout.
Type | Description |
(google.cloud.osconfig.v1alpha.OSPolicyAssignment.IRollout|null) |
rolloutState
public rolloutState: (google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState|keyof typeof google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState);
OSPolicyAssignment rolloutState.
Type | Description |
(google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState|keyof typeof google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState) |
uid
public uid: string;
OSPolicyAssignment uid.
Type | Description |
string |
Methods
create(properties)
public static create(properties?: google.cloud.osconfig.v1alpha.IOSPolicyAssignment): google.cloud.osconfig.v1alpha.OSPolicyAssignment;
Creates a new OSPolicyAssignment instance using the specified properties.
Name | Description |
properties |
IOSPolicyAssignment
Properties to set |
Type | Description |
google.cloud.osconfig.v1alpha.OSPolicyAssignment | OSPolicyAssignment instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.osconfig.v1alpha.OSPolicyAssignment;
Decodes a OSPolicyAssignment 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.osconfig.v1alpha.OSPolicyAssignment | OSPolicyAssignment |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.osconfig.v1alpha.OSPolicyAssignment;
Decodes a OSPolicyAssignment 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.osconfig.v1alpha.OSPolicyAssignment | OSPolicyAssignment |
encode(message, writer)
public static encode(message: google.cloud.osconfig.v1alpha.IOSPolicyAssignment, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified OSPolicyAssignment message. Does not implicitly messages.
Name | Description |
message |
IOSPolicyAssignment
OSPolicyAssignment 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.osconfig.v1alpha.IOSPolicyAssignment, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified OSPolicyAssignment message, length delimited. Does not implicitly messages.
Name | Description |
message |
IOSPolicyAssignment
OSPolicyAssignment 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.osconfig.v1alpha.OSPolicyAssignment;
Creates a OSPolicyAssignment 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.osconfig.v1alpha.OSPolicyAssignment | OSPolicyAssignment |
toJSON()
public toJSON(): { [k: string]: any };
Converts this OSPolicyAssignment to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.osconfig.v1alpha.OSPolicyAssignment, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a OSPolicyAssignment message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.osconfig.v1alpha.OSPolicyAssignment
OSPolicyAssignment |
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 OSPolicyAssignment message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|