Constructor
new Workload(propertiesopt)
Constructs a new Workload.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.assuredworkloads.v1.IWorkload |
<optional> |
Properties to set |
- Implements:
-
- IWorkload
Classes
Members
billingAccount
Workload billingAccount.
complianceRegime
Workload complianceRegime.
compliantButDisallowedServices
Workload compliantButDisallowedServices.
createTime
Workload createTime.
displayName
Workload displayName.
enableSovereignControls
Workload enableSovereignControls.
etag
Workload etag.
kajEnrollmentState
Workload kajEnrollmentState.
kmsSettings
Workload kmsSettings.
labels
Workload labels.
name
Workload name.
partner
Workload partner.
provisionedResourcesParent
Workload provisionedResourcesParent.
resourceSettings
Workload resourceSettings.
resources
Workload resources.
saaEnrollmentResponse
Workload saaEnrollmentResponse.
ComplianceRegime
ComplianceRegime enum.
Properties:
Name | Type | Description |
---|---|---|
COMPLIANCE_REGIME_UNSPECIFIED |
number |
COMPLIANCE_REGIME_UNSPECIFIED value |
IL4 |
number |
IL4 value |
CJIS |
number |
CJIS value |
FEDRAMP_HIGH |
number |
FEDRAMP_HIGH value |
FEDRAMP_MODERATE |
number |
FEDRAMP_MODERATE value |
US_REGIONAL_ACCESS |
number |
US_REGIONAL_ACCESS value |
HIPAA |
number |
HIPAA value |
HITRUST |
number |
HITRUST value |
EU_REGIONS_AND_SUPPORT |
number |
EU_REGIONS_AND_SUPPORT value |
CA_REGIONS_AND_SUPPORT |
number |
CA_REGIONS_AND_SUPPORT value |
ITAR |
number |
ITAR value |
AU_REGIONS_AND_US_SUPPORT |
number |
AU_REGIONS_AND_US_SUPPORT value |
ASSURED_WORKLOADS_FOR_PARTNERS |
number |
ASSURED_WORKLOADS_FOR_PARTNERS value |
KajEnrollmentState
KajEnrollmentState enum.
Properties:
Name | Type | Description |
---|---|---|
KAJ_ENROLLMENT_STATE_UNSPECIFIED |
number |
KAJ_ENROLLMENT_STATE_UNSPECIFIED value |
KAJ_ENROLLMENT_STATE_PENDING |
number |
KAJ_ENROLLMENT_STATE_PENDING value |
KAJ_ENROLLMENT_STATE_COMPLETE |
number |
KAJ_ENROLLMENT_STATE_COMPLETE value |
Partner
Partner enum.
Properties:
Name | Type | Description |
---|---|---|
PARTNER_UNSPECIFIED |
number |
PARTNER_UNSPECIFIED value |
LOCAL_CONTROLS_BY_S3NS |
number |
LOCAL_CONTROLS_BY_S3NS value |
Methods
toJSON() → {Object.<string, *>}
Converts this Workload to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.cloud.assuredworkloads.v1.Workload}
Creates a new Workload instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.assuredworkloads.v1.IWorkload |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.cloud.assuredworkloads.v1.Workload |
Workload instance |
(static) decode(reader, lengthopt) → {google.cloud.assuredworkloads.v1.Workload}
Decodes a Workload 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 |
Workload |
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}
Decodes a Workload 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 |
Workload |
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 Workload message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.assuredworkloads.v1.IWorkload |
Workload 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 Workload message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.assuredworkloads.v1.IWorkload |
Workload 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}
Creates a Workload 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 |
Workload |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for Workload
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 Workload message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.assuredworkloads.v1.Workload |
Workload |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies a Workload message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|