SaaEnrollmentResponse

google.cloud.assuredworkloads.v1.Workload. SaaEnrollmentResponse

Represents a SaaEnrollmentResponse.

Constructor

new SaaEnrollmentResponse(propertiesopt)

Constructs a new SaaEnrollmentResponse.

Parameters:
Name Type Attributes Description
properties google.cloud.assuredworkloads.v1.Workload.ISaaEnrollmentResponse <optional>

Properties to set

Implements:
  • ISaaEnrollmentResponse

Members

_setupStatus

SaaEnrollmentResponse _setupStatus.

setupErrors

SaaEnrollmentResponse setupErrors.

setupStatus

SaaEnrollmentResponse setupStatus.

SetupError

SetupError enum.

Properties:
Name Type Description
SETUP_ERROR_UNSPECIFIED number

SETUP_ERROR_UNSPECIFIED value

ERROR_INVALID_BASE_SETUP number

ERROR_INVALID_BASE_SETUP value

ERROR_MISSING_EXTERNAL_SIGNING_KEY number

ERROR_MISSING_EXTERNAL_SIGNING_KEY value

ERROR_NOT_ALL_SERVICES_ENROLLED number

ERROR_NOT_ALL_SERVICES_ENROLLED value

ERROR_SETUP_CHECK_FAILED number

ERROR_SETUP_CHECK_FAILED value

SetupState

SetupState enum.

Properties:
Name Type Description
SETUP_STATE_UNSPECIFIED number

SETUP_STATE_UNSPECIFIED value

STATUS_PENDING number

STATUS_PENDING value

STATUS_COMPLETE number

STATUS_COMPLETE value

Methods

toJSON() → {Object.<string, *>}

Converts this SaaEnrollmentResponse to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse}

Creates a new SaaEnrollmentResponse instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.assuredworkloads.v1.Workload.ISaaEnrollmentResponse <optional>

Properties to set

Returns:
Type Description
google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse

SaaEnrollmentResponse instance

(static) decode(reader, lengthopt) → {google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse}

Decodes a SaaEnrollmentResponse message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse

SaaEnrollmentResponse

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse}

Decodes a SaaEnrollmentResponse message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse

SaaEnrollmentResponse

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified SaaEnrollmentResponse message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.assuredworkloads.v1.Workload.ISaaEnrollmentResponse

SaaEnrollmentResponse message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified SaaEnrollmentResponse message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.assuredworkloads.v1.Workload.ISaaEnrollmentResponse

SaaEnrollmentResponse message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse}

Creates a SaaEnrollmentResponse message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse

SaaEnrollmentResponse

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for SaaEnrollmentResponse

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a SaaEnrollmentResponse message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse

SaaEnrollmentResponse

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a SaaEnrollmentResponse message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not