Constants
SaasDeployments_ListSaas_FullMethodName, SaasDeployments_GetSaas_FullMethodName, SaasDeployments_CreateSaas_FullMethodName, SaasDeployments_UpdateSaas_FullMethodName, SaasDeployments_DeleteSaas_FullMethodName, SaasDeployments_ListTenants_FullMethodName, SaasDeployments_GetTenant_FullMethodName, SaasDeployments_CreateTenant_FullMethodName, SaasDeployments_UpdateTenant_FullMethodName, SaasDeployments_DeleteTenant_FullMethodName, SaasDeployments_ListUnitKinds_FullMethodName, SaasDeployments_GetUnitKind_FullMethodName, SaasDeployments_CreateUnitKind_FullMethodName, SaasDeployments_UpdateUnitKind_FullMethodName, SaasDeployments_DeleteUnitKind_FullMethodName, SaasDeployments_ListUnits_FullMethodName, SaasDeployments_GetUnit_FullMethodName, SaasDeployments_CreateUnit_FullMethodName, SaasDeployments_UpdateUnit_FullMethodName, SaasDeployments_DeleteUnit_FullMethodName, SaasDeployments_ListUnitOperations_FullMethodName, SaasDeployments_GetUnitOperation_FullMethodName, SaasDeployments_CreateUnitOperation_FullMethodName, SaasDeployments_UpdateUnitOperation_FullMethodName, SaasDeployments_DeleteUnitOperation_FullMethodName, SaasDeployments_ListReleases_FullMethodName, SaasDeployments_GetRelease_FullMethodName, SaasDeployments_CreateRelease_FullMethodName, SaasDeployments_UpdateRelease_FullMethodName, SaasDeployments_DeleteRelease_FullMethodName
const (
SaasDeployments_ListSaas_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/ListSaas"
SaasDeployments_GetSaas_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/GetSaas"
SaasDeployments_CreateSaas_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/CreateSaas"
SaasDeployments_UpdateSaas_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/UpdateSaas"
SaasDeployments_DeleteSaas_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/DeleteSaas"
SaasDeployments_ListTenants_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/ListTenants"
SaasDeployments_GetTenant_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/GetTenant"
SaasDeployments_CreateTenant_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/CreateTenant"
SaasDeployments_UpdateTenant_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/UpdateTenant"
SaasDeployments_DeleteTenant_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/DeleteTenant"
SaasDeployments_ListUnitKinds_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/ListUnitKinds"
SaasDeployments_GetUnitKind_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/GetUnitKind"
SaasDeployments_CreateUnitKind_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/CreateUnitKind"
SaasDeployments_UpdateUnitKind_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/UpdateUnitKind"
SaasDeployments_DeleteUnitKind_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/DeleteUnitKind"
SaasDeployments_ListUnits_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/ListUnits"
SaasDeployments_GetUnit_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/GetUnit"
SaasDeployments_CreateUnit_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/CreateUnit"
SaasDeployments_UpdateUnit_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/UpdateUnit"
SaasDeployments_DeleteUnit_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/DeleteUnit"
SaasDeployments_ListUnitOperations_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/ListUnitOperations"
SaasDeployments_GetUnitOperation_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/GetUnitOperation"
SaasDeployments_CreateUnitOperation_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/CreateUnitOperation"
SaasDeployments_UpdateUnitOperation_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/UpdateUnitOperation"
SaasDeployments_DeleteUnitOperation_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/DeleteUnitOperation"
SaasDeployments_ListReleases_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/ListReleases"
SaasDeployments_GetRelease_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/GetRelease"
SaasDeployments_CreateRelease_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/CreateRelease"
SaasDeployments_UpdateRelease_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/UpdateRelease"
SaasDeployments_DeleteRelease_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments/DeleteRelease"
)SaasRollouts_ListRollouts_FullMethodName, SaasRollouts_GetRollout_FullMethodName, SaasRollouts_CreateRollout_FullMethodName, SaasRollouts_UpdateRollout_FullMethodName, SaasRollouts_DeleteRollout_FullMethodName, SaasRollouts_ListRolloutKinds_FullMethodName, SaasRollouts_GetRolloutKind_FullMethodName, SaasRollouts_CreateRolloutKind_FullMethodName, SaasRollouts_UpdateRolloutKind_FullMethodName, SaasRollouts_DeleteRolloutKind_FullMethodName
const (
SaasRollouts_ListRollouts_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/ListRollouts"
SaasRollouts_GetRollout_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/GetRollout"
SaasRollouts_CreateRollout_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/CreateRollout"
SaasRollouts_UpdateRollout_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/UpdateRollout"
SaasRollouts_DeleteRollout_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/DeleteRollout"
SaasRollouts_ListRolloutKinds_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/ListRolloutKinds"
SaasRollouts_GetRolloutKind_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/GetRolloutKind"
SaasRollouts_CreateRolloutKind_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/CreateRolloutKind"
SaasRollouts_UpdateRolloutKind_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/UpdateRolloutKind"
SaasRollouts_DeleteRolloutKind_FullMethodName = "/google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts/DeleteRolloutKind"
)Variables
UnitOperationErrorCategory_name, UnitOperationErrorCategory_value
var (
UnitOperationErrorCategory_name = map[int32]string{
0: "UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED",
1: "NOT_APPLICABLE",
2: "FATAL",
3: "RETRIABLE",
4: "IGNORABLE",
5: "STANDARD",
}
UnitOperationErrorCategory_value = map[string]int32{
"UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED": 0,
"NOT_APPLICABLE": 1,
"FATAL": 2,
"RETRIABLE": 3,
"IGNORABLE": 4,
"STANDARD": 5,
}
)Enum value maps for UnitOperationErrorCategory.
UnitVariable_Type_name, UnitVariable_Type_value
var (
UnitVariable_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "STRING",
2: "INT",
3: "BOOL",
4: "STRUCT",
5: "LIST",
}
UnitVariable_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"STRING": 1,
"INT": 2,
"BOOL": 3,
"STRUCT": 4,
"LIST": 5,
}
)Enum value maps for UnitVariable_Type.
UnitCondition_Status_name, UnitCondition_Status_value
var (
UnitCondition_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_UNKNOWN",
2: "STATUS_TRUE",
3: "STATUS_FALSE",
}
UnitCondition_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_UNKNOWN": 1,
"STATUS_TRUE": 2,
"STATUS_FALSE": 3,
}
)Enum value maps for UnitCondition_Status.
UnitCondition_Type_name, UnitCondition_Type_value
var (
UnitCondition_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_READY",
2: "TYPE_UPDATING",
3: "TYPE_PROVISIONED",
4: "TYPE_OPERATION_ERROR",
6: "TYPE_APP_CREATED_OR_ALREADY_EXISTS",
7: "TYPE_APP_COMPONENTS_REGISTERED",
}
UnitCondition_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_READY": 1,
"TYPE_UPDATING": 2,
"TYPE_PROVISIONED": 3,
"TYPE_OPERATION_ERROR": 4,
"TYPE_APP_CREATED_OR_ALREADY_EXISTS": 6,
"TYPE_APP_COMPONENTS_REGISTERED": 7,
}
)Enum value maps for UnitCondition_Type.
UnitOperationCondition_Status_name, UnitOperationCondition_Status_value
var (
UnitOperationCondition_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_UNKNOWN",
2: "STATUS_TRUE",
3: "STATUS_FALSE",
}
UnitOperationCondition_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_UNKNOWN": 1,
"STATUS_TRUE": 2,
"STATUS_FALSE": 3,
}
)Enum value maps for UnitOperationCondition_Status.
UnitOperationCondition_Type_name, UnitOperationCondition_Type_value
var (
UnitOperationCondition_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
2: "TYPE_SCHEDULED",
3: "TYPE_RUNNING",
4: "TYPE_SUCCEEDED",
5: "TYPE_CANCELLED",
6: "TYPE_APP_CREATED",
7: "TYPE_APP_COMPONENTS_REGISTERED",
8: "TYPE_WORKLOAD_SUCCEEDED",
}
UnitOperationCondition_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_SCHEDULED": 2,
"TYPE_RUNNING": 3,
"TYPE_SUCCEEDED": 4,
"TYPE_CANCELLED": 5,
"TYPE_APP_CREATED": 6,
"TYPE_APP_COMPONENTS_REGISTERED": 7,
"TYPE_WORKLOAD_SUCCEEDED": 8,
}
)Enum value maps for UnitOperationCondition_Type.
SaasCondition_Status_name, SaasCondition_Status_value
var (
SaasCondition_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_UNKNOWN",
2: "STATUS_TRUE",
3: "STATUS_FALSE",
}
SaasCondition_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_UNKNOWN": 1,
"STATUS_TRUE": 2,
"STATUS_FALSE": 3,
}
)Enum value maps for SaasCondition_Status.
SaasCondition_Type_name, SaasCondition_Type_value
var (
SaasCondition_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_READY",
2: "TYPE_SYNCHRONIZED",
}
SaasCondition_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_READY": 1,
"TYPE_SYNCHRONIZED": 2,
}
)Enum value maps for SaasCondition_Type.
Saas_State_name, Saas_State_value
var (
Saas_State_name = map[int32]string{
0: "STATE_TYPE_UNSPECIFIED",
1: "STATE_ACTIVE",
2: "STATE_RUNNING",
3: "STATE_FAILED",
}
Saas_State_value = map[string]int32{
"STATE_TYPE_UNSPECIFIED": 0,
"STATE_ACTIVE": 1,
"STATE_RUNNING": 2,
"STATE_FAILED": 3,
"ACTIVE": 1,
"RUNNING": 2,
"FAILED": 3,
}
)Enum value maps for Saas_State.
Unit_UnitState_name, Unit_UnitState_value
var (
Unit_UnitState_name = map[int32]string{
0: "UNIT_STATE_UNSPECIFIED",
1: "UNIT_STATE_NOT_PROVISIONED",
2: "UNIT_STATE_PROVISIONING",
3: "UNIT_STATE_UPDATING",
4: "UNIT_STATE_DEPROVISIONING",
5: "UNIT_STATE_READY",
6: "UNIT_STATE_ERROR",
}
Unit_UnitState_value = map[string]int32{
"UNIT_STATE_UNSPECIFIED": 0,
"UNIT_STATE_NOT_PROVISIONED": 1,
"UNIT_STATE_PROVISIONING": 2,
"UNIT_STATE_UPDATING": 3,
"UNIT_STATE_DEPROVISIONING": 4,
"UNIT_STATE_READY": 5,
"UNIT_STATE_ERROR": 6,
}
)Enum value maps for Unit_UnitState.
Unit_ManagementMode_name, Unit_ManagementMode_value
var (
Unit_ManagementMode_name = map[int32]string{
0: "MANAGEMENT_MODE_UNSPECIFIED",
1: "MANAGEMENT_MODE_USER",
2: "MANAGEMENT_MODE_SYSTEM",
}
Unit_ManagementMode_value = map[string]int32{
"MANAGEMENT_MODE_UNSPECIFIED": 0,
"MANAGEMENT_MODE_USER": 1,
"MANAGEMENT_MODE_SYSTEM": 2,
}
)Enum value maps for Unit_ManagementMode.
Unit_SystemManagedState_name, Unit_SystemManagedState_value
var (
Unit_SystemManagedState_name = map[int32]string{
0: "SYSTEM_MANAGED_STATE_UNSPECIFIED",
1: "SYSTEM_MANAGED_STATE_ACTIVE",
2: "SYSTEM_MANAGED_STATE_INACTIVE",
3: "SYSTEM_MANAGED_STATE_DECOMMISSIONED",
}
Unit_SystemManagedState_value = map[string]int32{
"SYSTEM_MANAGED_STATE_UNSPECIFIED": 0,
"SYSTEM_MANAGED_STATE_ACTIVE": 1,
"SYSTEM_MANAGED_STATE_INACTIVE": 2,
"SYSTEM_MANAGED_STATE_DECOMMISSIONED": 3,
}
)Enum value maps for Unit_SystemManagedState.
UnitOperation_UnitOperationState_name, UnitOperation_UnitOperationState_value
var (
UnitOperation_UnitOperationState_name = map[int32]string{
0: "UNIT_OPERATION_STATE_UNKNOWN",
1: "UNIT_OPERATION_STATE_PENDING",
2: "UNIT_OPERATION_STATE_SCHEDULED",
4: "UNIT_OPERATION_STATE_RUNNING",
5: "UNIT_OPERATION_STATE_SUCCEEDED",
6: "UNIT_OPERATION_STATE_FAILED",
7: "UNIT_OPERATION_STATE_CANCELLED",
}
UnitOperation_UnitOperationState_value = map[string]int32{
"UNIT_OPERATION_STATE_UNKNOWN": 0,
"UNIT_OPERATION_STATE_PENDING": 1,
"UNIT_OPERATION_STATE_SCHEDULED": 2,
"UNIT_OPERATION_STATE_RUNNING": 4,
"UNIT_OPERATION_STATE_SUCCEEDED": 5,
"UNIT_OPERATION_STATE_FAILED": 6,
"UNIT_OPERATION_STATE_CANCELLED": 7,
}
)Enum value maps for UnitOperation_UnitOperationState.
AppParams_Scope_Type_name, AppParams_Scope_Type_value
var (
AppParams_Scope_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_REGIONAL",
2: "TYPE_GLOBAL",
}
AppParams_Scope_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_REGIONAL": 1,
"TYPE_GLOBAL": 2,
"REGIONAL": 1,
"GLOBAL": 2,
}
)Enum value maps for AppParams_Scope_Type.
RolloutAction_name, RolloutAction_value
var (
RolloutAction_name = map[int32]string{
0: "ROLLOUT_ACTION_UNSPECIFIED",
1: "ROLLOUT_ACTION_RUN",
2: "ROLLOUT_ACTION_PAUSE",
3: "ROLLOUT_ACTION_CANCEL",
}
RolloutAction_value = map[string]int32{
"ROLLOUT_ACTION_UNSPECIFIED": 0,
"ROLLOUT_ACTION_RUN": 1,
"ROLLOUT_ACTION_PAUSE": 2,
"ROLLOUT_ACTION_CANCEL": 3,
}
)Enum value maps for RolloutAction.
Rollout_RolloutState_name, Rollout_RolloutState_value
var (
Rollout_RolloutState_name = map[int32]string{
0: "ROLLOUT_STATE_UNSPECIFIED",
1: "ROLLOUT_STATE_RUNNING",
2: "ROLLOUT_STATE_PAUSED",
3: "ROLLOUT_STATE_SUCCEEDED",
4: "ROLLOUT_STATE_FAILED",
5: "ROLLOUT_STATE_CANCELLED",
6: "ROLLOUT_STATE_WAITING",
7: "ROLLOUT_STATE_CANCELLING",
8: "ROLLOUT_STATE_RESUMING",
9: "ROLLOUT_STATE_PAUSING",
}
Rollout_RolloutState_value = map[string]int32{
"ROLLOUT_STATE_UNSPECIFIED": 0,
"ROLLOUT_STATE_RUNNING": 1,
"ROLLOUT_STATE_PAUSED": 2,
"ROLLOUT_STATE_SUCCEEDED": 3,
"ROLLOUT_STATE_FAILED": 4,
"ROLLOUT_STATE_CANCELLED": 5,
"ROLLOUT_STATE_WAITING": 6,
"ROLLOUT_STATE_CANCELLING": 7,
"ROLLOUT_STATE_RESUMING": 8,
"ROLLOUT_STATE_PAUSING": 9,
}
)Enum value maps for Rollout_RolloutState.
RolloutKind_UpdateUnitKindStrategy_name, RolloutKind_UpdateUnitKindStrategy_value
var (
RolloutKind_UpdateUnitKindStrategy_name = map[int32]string{
0: "UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED",
1: "UPDATE_UNIT_KIND_STRATEGY_ON_START",
2: "UPDATE_UNIT_KIND_STRATEGY_NEVER",
}
RolloutKind_UpdateUnitKindStrategy_value = map[string]int32{
"UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED": 0,
"UPDATE_UNIT_KIND_STRATEGY_ON_START": 1,
"UPDATE_UNIT_KIND_STRATEGY_NEVER": 2,
}
)Enum value maps for RolloutKind_UpdateUnitKindStrategy.
File_google_cloud_saasplatform_saasservicemgmt_v1beta1_common_proto
var File_google_cloud_saasplatform_saasservicemgmt_v1beta1_common_proto protoreflect.FileDescriptorFile_google_cloud_saasplatform_saasservicemgmt_v1beta1_deployments_resources_proto
var File_google_cloud_saasplatform_saasservicemgmt_v1beta1_deployments_resources_proto protoreflect.FileDescriptorFile_google_cloud_saasplatform_saasservicemgmt_v1beta1_deployments_service_proto
var File_google_cloud_saasplatform_saasservicemgmt_v1beta1_deployments_service_proto protoreflect.FileDescriptorFile_google_cloud_saasplatform_saasservicemgmt_v1beta1_rollouts_resources_proto
var File_google_cloud_saasplatform_saasservicemgmt_v1beta1_rollouts_resources_proto protoreflect.FileDescriptorFile_google_cloud_saasplatform_saasservicemgmt_v1beta1_rollouts_service_proto
var File_google_cloud_saasplatform_saasservicemgmt_v1beta1_rollouts_service_proto protoreflect.FileDescriptorSaasDeployments_ServiceDesc
var SaasDeployments_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments",
HandlerType: (*SaasDeploymentsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListSaas",
Handler: _SaasDeployments_ListSaas_Handler,
},
{
MethodName: "GetSaas",
Handler: _SaasDeployments_GetSaas_Handler,
},
{
MethodName: "CreateSaas",
Handler: _SaasDeployments_CreateSaas_Handler,
},
{
MethodName: "UpdateSaas",
Handler: _SaasDeployments_UpdateSaas_Handler,
},
{
MethodName: "DeleteSaas",
Handler: _SaasDeployments_DeleteSaas_Handler,
},
{
MethodName: "ListTenants",
Handler: _SaasDeployments_ListTenants_Handler,
},
{
MethodName: "GetTenant",
Handler: _SaasDeployments_GetTenant_Handler,
},
{
MethodName: "CreateTenant",
Handler: _SaasDeployments_CreateTenant_Handler,
},
{
MethodName: "UpdateTenant",
Handler: _SaasDeployments_UpdateTenant_Handler,
},
{
MethodName: "DeleteTenant",
Handler: _SaasDeployments_DeleteTenant_Handler,
},
{
MethodName: "ListUnitKinds",
Handler: _SaasDeployments_ListUnitKinds_Handler,
},
{
MethodName: "GetUnitKind",
Handler: _SaasDeployments_GetUnitKind_Handler,
},
{
MethodName: "CreateUnitKind",
Handler: _SaasDeployments_CreateUnitKind_Handler,
},
{
MethodName: "UpdateUnitKind",
Handler: _SaasDeployments_UpdateUnitKind_Handler,
},
{
MethodName: "DeleteUnitKind",
Handler: _SaasDeployments_DeleteUnitKind_Handler,
},
{
MethodName: "ListUnits",
Handler: _SaasDeployments_ListUnits_Handler,
},
{
MethodName: "GetUnit",
Handler: _SaasDeployments_GetUnit_Handler,
},
{
MethodName: "CreateUnit",
Handler: _SaasDeployments_CreateUnit_Handler,
},
{
MethodName: "UpdateUnit",
Handler: _SaasDeployments_UpdateUnit_Handler,
},
{
MethodName: "DeleteUnit",
Handler: _SaasDeployments_DeleteUnit_Handler,
},
{
MethodName: "ListUnitOperations",
Handler: _SaasDeployments_ListUnitOperations_Handler,
},
{
MethodName: "GetUnitOperation",
Handler: _SaasDeployments_GetUnitOperation_Handler,
},
{
MethodName: "CreateUnitOperation",
Handler: _SaasDeployments_CreateUnitOperation_Handler,
},
{
MethodName: "UpdateUnitOperation",
Handler: _SaasDeployments_UpdateUnitOperation_Handler,
},
{
MethodName: "DeleteUnitOperation",
Handler: _SaasDeployments_DeleteUnitOperation_Handler,
},
{
MethodName: "ListReleases",
Handler: _SaasDeployments_ListReleases_Handler,
},
{
MethodName: "GetRelease",
Handler: _SaasDeployments_GetRelease_Handler,
},
{
MethodName: "CreateRelease",
Handler: _SaasDeployments_CreateRelease_Handler,
},
{
MethodName: "UpdateRelease",
Handler: _SaasDeployments_UpdateRelease_Handler,
},
{
MethodName: "DeleteRelease",
Handler: _SaasDeployments_DeleteRelease_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service.proto",
}SaasDeployments_ServiceDesc is the grpc.ServiceDesc for SaasDeployments service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
SaasRollouts_ServiceDesc
var SaasRollouts_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts",
HandlerType: (*SaasRolloutsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListRollouts",
Handler: _SaasRollouts_ListRollouts_Handler,
},
{
MethodName: "GetRollout",
Handler: _SaasRollouts_GetRollout_Handler,
},
{
MethodName: "CreateRollout",
Handler: _SaasRollouts_CreateRollout_Handler,
},
{
MethodName: "UpdateRollout",
Handler: _SaasRollouts_UpdateRollout_Handler,
},
{
MethodName: "DeleteRollout",
Handler: _SaasRollouts_DeleteRollout_Handler,
},
{
MethodName: "ListRolloutKinds",
Handler: _SaasRollouts_ListRolloutKinds_Handler,
},
{
MethodName: "GetRolloutKind",
Handler: _SaasRollouts_GetRolloutKind_Handler,
},
{
MethodName: "CreateRolloutKind",
Handler: _SaasRollouts_CreateRolloutKind_Handler,
},
{
MethodName: "UpdateRolloutKind",
Handler: _SaasRollouts_UpdateRolloutKind_Handler,
},
{
MethodName: "DeleteRolloutKind",
Handler: _SaasRollouts_DeleteRolloutKind_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.proto",
}SaasRollouts_ServiceDesc is the grpc.ServiceDesc for SaasRollouts service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterSaasDeploymentsServer
func RegisterSaasDeploymentsServer(s grpc.ServiceRegistrar, srv SaasDeploymentsServer)func RegisterSaasRolloutsServer
func RegisterSaasRolloutsServer(s grpc.ServiceRegistrar, srv SaasRolloutsServer)Aggregate
type Aggregate struct {
// Required. Group by which to aggregate.
Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
// Required. Number of records in the group.
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}Represents the aggregation of a set of population of like records by a certain group. For example, a collection of unit counts can be aggregated and grouped by their state.
func (*Aggregate) Descriptor
Deprecated: Use Aggregate.ProtoReflect.Descriptor instead.
func (*Aggregate) GetCount
func (*Aggregate) GetGroup
func (*Aggregate) ProtoMessage
func (*Aggregate) ProtoMessage()func (*Aggregate) ProtoReflect
func (x *Aggregate) ProtoReflect() protoreflect.Messagefunc (*Aggregate) Reset
func (x *Aggregate) Reset()func (*Aggregate) String
AppParams
type AppParams struct {
// Grouping used to construct the name of the AppHub Application.
// Multiple UnitKinds can specify the same group to use the same Application
// across their respective units.
// Corresponds to the app_boundary_id in the ADC composite
// ApplicationTemplate. Defaults to UnitKind.name
Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
// Corresponds to the scope in the ADC composite ApplicationTemplate.
// Defaults to TYPE_REGIONAL.
Scope *AppParams_Scope `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
// contains filtered or unexported fields
}AppParams contains the parameters for creating an AppHub Application.
func (*AppParams) Descriptor
Deprecated: Use AppParams.ProtoReflect.Descriptor instead.
func (*AppParams) GetGroup
func (*AppParams) GetScope
func (x *AppParams) GetScope() *AppParams_Scopefunc (*AppParams) ProtoMessage
func (*AppParams) ProtoMessage()func (*AppParams) ProtoReflect
func (x *AppParams) ProtoReflect() protoreflect.Messagefunc (*AppParams) Reset
func (x *AppParams) Reset()func (*AppParams) String
AppParams_Scope
type AppParams_Scope struct {
// Required. Scope Type.
Type AppParams_Scope_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams_Scope_Type" json:"type,omitempty"`
// contains filtered or unexported fields
}Scope of an application.
func (*AppParams_Scope) Descriptor
func (*AppParams_Scope) Descriptor() ([]byte, []int)Deprecated: Use AppParams_Scope.ProtoReflect.Descriptor instead.
func (*AppParams_Scope) GetType
func (x *AppParams_Scope) GetType() AppParams_Scope_Typefunc (*AppParams_Scope) ProtoMessage
func (*AppParams_Scope) ProtoMessage()func (*AppParams_Scope) ProtoReflect
func (x *AppParams_Scope) ProtoReflect() protoreflect.Messagefunc (*AppParams_Scope) Reset
func (x *AppParams_Scope) Reset()func (*AppParams_Scope) String
func (x *AppParams_Scope) String() stringAppParams_Scope_Type
type AppParams_Scope_Type int32Scope Type.
AppParams_Scope_TYPE_UNSPECIFIED, AppParams_Scope_TYPE_REGIONAL, AppParams_Scope_TYPE_GLOBAL, AppParams_Scope_REGIONAL, AppParams_Scope_GLOBAL
const (
// Unspecified type.
AppParams_Scope_TYPE_UNSPECIFIED AppParams_Scope_Type = 0
// Regional type.
AppParams_Scope_TYPE_REGIONAL AppParams_Scope_Type = 1
// Global type.
AppParams_Scope_TYPE_GLOBAL AppParams_Scope_Type = 2
// Deprecated: Use TYPE_REGIONAL.
//
// Deprecated: Marked as deprecated in google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto.
AppParams_Scope_REGIONAL AppParams_Scope_Type = 1
// Deprecated: Use TYPE_GLOBAL.
//
// Deprecated: Marked as deprecated in google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto.
AppParams_Scope_GLOBAL AppParams_Scope_Type = 2
)func (AppParams_Scope_Type) Descriptor
func (AppParams_Scope_Type) Descriptor() protoreflect.EnumDescriptorfunc (AppParams_Scope_Type) Enum
func (x AppParams_Scope_Type) Enum() *AppParams_Scope_Typefunc (AppParams_Scope_Type) EnumDescriptor
func (AppParams_Scope_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use AppParams_Scope_Type.Descriptor instead.
func (AppParams_Scope_Type) Number
func (x AppParams_Scope_Type) Number() protoreflect.EnumNumberfunc (AppParams_Scope_Type) String
func (x AppParams_Scope_Type) String() stringfunc (AppParams_Scope_Type) Type
func (AppParams_Scope_Type) Type() protoreflect.EnumTypeBlueprint
type Blueprint struct {
// Optional. Immutable. URI to a blueprint used by the Unit (required unless
// unitKind or release is set).
Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
// Output only. Type of the engine used to actuate the blueprint. e.g.
// terraform, helm etc.
Engine string `protobuf:"bytes,2,opt,name=engine,proto3" json:"engine,omitempty"`
// Output only. Version metadata if present on the blueprint.
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}Blueprints are OCI Images that contain all of the artifacts needed to provision a unit. Metadata such as, type of the engine used to actuate the blueprint (e.g. terraform, helm etc) and version will come from the image manifest. If the hostname is omitted, it will be assumed to be the regional path to Artifact Registry (eg. us-east1-docker.pkg.dev).
func (*Blueprint) Descriptor
Deprecated: Use Blueprint.ProtoReflect.Descriptor instead.
func (*Blueprint) GetEngine
func (*Blueprint) GetPackage
func (*Blueprint) GetVersion
func (*Blueprint) ProtoMessage
func (*Blueprint) ProtoMessage()func (*Blueprint) ProtoReflect
func (x *Blueprint) ProtoReflect() protoreflect.Messagefunc (*Blueprint) Reset
func (x *Blueprint) Reset()func (*Blueprint) String
ComponentRef
type ComponentRef struct {
// Reference to the Composite ApplicationTemplate.
CompositeRef *CompositeRef `protobuf:"bytes,1,opt,name=composite_ref,json=compositeRef,proto3" json:"composite_ref,omitempty"`
// Name of the component in composite.Components
Component string `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"`
// Revision of the component.
// If the component does not have a revision, this field will be explicitly
// set to the revision of the composite ApplicationTemplate.
Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}ComponentRef represents a reference to a component resource. Next ID: 4
func (*ComponentRef) Descriptor
func (*ComponentRef) Descriptor() ([]byte, []int)Deprecated: Use ComponentRef.ProtoReflect.Descriptor instead.
func (*ComponentRef) GetComponent
func (x *ComponentRef) GetComponent() stringfunc (*ComponentRef) GetCompositeRef
func (x *ComponentRef) GetCompositeRef() *CompositeReffunc (*ComponentRef) GetRevision
func (x *ComponentRef) GetRevision() stringfunc (*ComponentRef) ProtoMessage
func (*ComponentRef) ProtoMessage()func (*ComponentRef) ProtoReflect
func (x *ComponentRef) ProtoReflect() protoreflect.Messagefunc (*ComponentRef) Reset
func (x *ComponentRef) Reset()func (*ComponentRef) String
func (x *ComponentRef) String() stringCompositeRef
type CompositeRef struct {
// Required. Reference to the ApplicationTemplate resource.
ApplicationTemplate string `protobuf:"bytes,1,opt,name=application_template,json=applicationTemplate,proto3" json:"application_template,omitempty"`
// Revision of the ApplicationTemplate to use.
// Changes to revision will trigger manual resynchronization.
// If empty, ApplicationTemplate will be ignored.
Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
// Output only. Reference to on-going AppTemplate import and replication
// operation (i.e. the operation_id for the long-running operation). This
// field is opaque for external usage.
SyncOperation string `protobuf:"bytes,3,opt,name=sync_operation,json=syncOperation,proto3" json:"sync_operation,omitempty"`
// contains filtered or unexported fields
}CompositeRef represents a reference to a composite resource. Next ID: 4
func (*CompositeRef) Descriptor
func (*CompositeRef) Descriptor() ([]byte, []int)Deprecated: Use CompositeRef.ProtoReflect.Descriptor instead.
func (*CompositeRef) GetApplicationTemplate
func (x *CompositeRef) GetApplicationTemplate() stringfunc (*CompositeRef) GetRevision
func (x *CompositeRef) GetRevision() stringfunc (*CompositeRef) GetSyncOperation
func (x *CompositeRef) GetSyncOperation() stringfunc (*CompositeRef) ProtoMessage
func (*CompositeRef) ProtoMessage()func (*CompositeRef) ProtoReflect
func (x *CompositeRef) ProtoReflect() protoreflect.Messagefunc (*CompositeRef) Reset
func (x *CompositeRef) Reset()func (*CompositeRef) String
func (x *CompositeRef) String() stringCreateReleaseRequest
type CreateReleaseRequest struct {
// Required. The parent of the release.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID value for the new release.
ReleaseId string `protobuf:"bytes,10503,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"`
// Required. The desired state for the release.
Release *Release `protobuf:"bytes,10504,opt,name=release,proto3" json:"release,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the CreateRelease method.
func (*CreateReleaseRequest) Descriptor
func (*CreateReleaseRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateReleaseRequest.ProtoReflect.Descriptor instead.
func (*CreateReleaseRequest) GetParent
func (x *CreateReleaseRequest) GetParent() stringfunc (*CreateReleaseRequest) GetRelease
func (x *CreateReleaseRequest) GetRelease() *Releasefunc (*CreateReleaseRequest) GetReleaseId
func (x *CreateReleaseRequest) GetReleaseId() stringfunc (*CreateReleaseRequest) GetRequestId
func (x *CreateReleaseRequest) GetRequestId() stringfunc (*CreateReleaseRequest) GetValidateOnly
func (x *CreateReleaseRequest) GetValidateOnly() boolfunc (*CreateReleaseRequest) ProtoMessage
func (*CreateReleaseRequest) ProtoMessage()func (*CreateReleaseRequest) ProtoReflect
func (x *CreateReleaseRequest) ProtoReflect() protoreflect.Messagefunc (*CreateReleaseRequest) Reset
func (x *CreateReleaseRequest) Reset()func (*CreateReleaseRequest) String
func (x *CreateReleaseRequest) String() stringCreateRolloutKindRequest
type CreateRolloutKindRequest struct {
// Required. The parent of the rollout kind.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID value for the new rollout kind.
RolloutKindId string `protobuf:"bytes,10503,opt,name=rollout_kind_id,json=rolloutKindId,proto3" json:"rollout_kind_id,omitempty"`
// Required. The desired state for the rollout kind.
RolloutKind *RolloutKind `protobuf:"bytes,10504,opt,name=rollout_kind,json=rolloutKind,proto3" json:"rollout_kind,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the CreateRolloutKind method.
func (*CreateRolloutKindRequest) Descriptor
func (*CreateRolloutKindRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateRolloutKindRequest.ProtoReflect.Descriptor instead.
func (*CreateRolloutKindRequest) GetParent
func (x *CreateRolloutKindRequest) GetParent() stringfunc (*CreateRolloutKindRequest) GetRequestId
func (x *CreateRolloutKindRequest) GetRequestId() stringfunc (*CreateRolloutKindRequest) GetRolloutKind
func (x *CreateRolloutKindRequest) GetRolloutKind() *RolloutKindfunc (*CreateRolloutKindRequest) GetRolloutKindId
func (x *CreateRolloutKindRequest) GetRolloutKindId() stringfunc (*CreateRolloutKindRequest) GetValidateOnly
func (x *CreateRolloutKindRequest) GetValidateOnly() boolfunc (*CreateRolloutKindRequest) ProtoMessage
func (*CreateRolloutKindRequest) ProtoMessage()func (*CreateRolloutKindRequest) ProtoReflect
func (x *CreateRolloutKindRequest) ProtoReflect() protoreflect.Messagefunc (*CreateRolloutKindRequest) Reset
func (x *CreateRolloutKindRequest) Reset()func (*CreateRolloutKindRequest) String
func (x *CreateRolloutKindRequest) String() stringCreateRolloutRequest
type CreateRolloutRequest struct {
// Required. The parent of the rollout.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID value for the new rollout.
RolloutId string `protobuf:"bytes,10503,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
// Required. The desired state for the rollout.
Rollout *Rollout `protobuf:"bytes,10504,opt,name=rollout,proto3" json:"rollout,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the CreateRollout method.
func (*CreateRolloutRequest) Descriptor
func (*CreateRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateRolloutRequest.ProtoReflect.Descriptor instead.
func (*CreateRolloutRequest) GetParent
func (x *CreateRolloutRequest) GetParent() stringfunc (*CreateRolloutRequest) GetRequestId
func (x *CreateRolloutRequest) GetRequestId() stringfunc (*CreateRolloutRequest) GetRollout
func (x *CreateRolloutRequest) GetRollout() *Rolloutfunc (*CreateRolloutRequest) GetRolloutId
func (x *CreateRolloutRequest) GetRolloutId() stringfunc (*CreateRolloutRequest) GetValidateOnly
func (x *CreateRolloutRequest) GetValidateOnly() boolfunc (*CreateRolloutRequest) ProtoMessage
func (*CreateRolloutRequest) ProtoMessage()func (*CreateRolloutRequest) ProtoReflect
func (x *CreateRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*CreateRolloutRequest) Reset
func (x *CreateRolloutRequest) Reset()func (*CreateRolloutRequest) String
func (x *CreateRolloutRequest) String() stringCreateSaasRequest
type CreateSaasRequest struct {
// Required. The parent of the saas.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID value for the new saas.
SaasId string `protobuf:"bytes,10503,opt,name=saas_id,json=saasId,proto3" json:"saas_id,omitempty"`
// Required. The desired state for the saas.
Saas *Saas `protobuf:"bytes,10504,opt,name=saas,proto3" json:"saas,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the CreateSaas method.
func (*CreateSaasRequest) Descriptor
func (*CreateSaasRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateSaasRequest.ProtoReflect.Descriptor instead.
func (*CreateSaasRequest) GetParent
func (x *CreateSaasRequest) GetParent() stringfunc (*CreateSaasRequest) GetRequestId
func (x *CreateSaasRequest) GetRequestId() stringfunc (*CreateSaasRequest) GetSaas
func (x *CreateSaasRequest) GetSaas() *Saasfunc (*CreateSaasRequest) GetSaasId
func (x *CreateSaasRequest) GetSaasId() stringfunc (*CreateSaasRequest) GetValidateOnly
func (x *CreateSaasRequest) GetValidateOnly() boolfunc (*CreateSaasRequest) ProtoMessage
func (*CreateSaasRequest) ProtoMessage()func (*CreateSaasRequest) ProtoReflect
func (x *CreateSaasRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSaasRequest) Reset
func (x *CreateSaasRequest) Reset()func (*CreateSaasRequest) String
func (x *CreateSaasRequest) String() stringCreateTenantRequest
type CreateTenantRequest struct {
// Required. The parent of the tenant.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID value for the new tenant.
TenantId string `protobuf:"bytes,10503,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
// Required. The desired state for the tenant.
Tenant *Tenant `protobuf:"bytes,10504,opt,name=tenant,proto3" json:"tenant,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the CreateTenant method.
func (*CreateTenantRequest) Descriptor
func (*CreateTenantRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.
func (*CreateTenantRequest) GetParent
func (x *CreateTenantRequest) GetParent() stringfunc (*CreateTenantRequest) GetRequestId
func (x *CreateTenantRequest) GetRequestId() stringfunc (*CreateTenantRequest) GetTenant
func (x *CreateTenantRequest) GetTenant() *Tenantfunc (*CreateTenantRequest) GetTenantId
func (x *CreateTenantRequest) GetTenantId() stringfunc (*CreateTenantRequest) GetValidateOnly
func (x *CreateTenantRequest) GetValidateOnly() boolfunc (*CreateTenantRequest) ProtoMessage
func (*CreateTenantRequest) ProtoMessage()func (*CreateTenantRequest) ProtoReflect
func (x *CreateTenantRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTenantRequest) Reset
func (x *CreateTenantRequest) Reset()func (*CreateTenantRequest) String
func (x *CreateTenantRequest) String() stringCreateUnitKindRequest
type CreateUnitKindRequest struct {
// Required. The parent of the unit kind.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID value for the new unit kind.
UnitKindId string `protobuf:"bytes,10503,opt,name=unit_kind_id,json=unitKindId,proto3" json:"unit_kind_id,omitempty"`
// Required. The desired state for the unit kind.
UnitKind *UnitKind `protobuf:"bytes,10504,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the CreateUnitKind method.
func (*CreateUnitKindRequest) Descriptor
func (*CreateUnitKindRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateUnitKindRequest.ProtoReflect.Descriptor instead.
func (*CreateUnitKindRequest) GetParent
func (x *CreateUnitKindRequest) GetParent() stringfunc (*CreateUnitKindRequest) GetRequestId
func (x *CreateUnitKindRequest) GetRequestId() stringfunc (*CreateUnitKindRequest) GetUnitKind
func (x *CreateUnitKindRequest) GetUnitKind() *UnitKindfunc (*CreateUnitKindRequest) GetUnitKindId
func (x *CreateUnitKindRequest) GetUnitKindId() stringfunc (*CreateUnitKindRequest) GetValidateOnly
func (x *CreateUnitKindRequest) GetValidateOnly() boolfunc (*CreateUnitKindRequest) ProtoMessage
func (*CreateUnitKindRequest) ProtoMessage()func (*CreateUnitKindRequest) ProtoReflect
func (x *CreateUnitKindRequest) ProtoReflect() protoreflect.Messagefunc (*CreateUnitKindRequest) Reset
func (x *CreateUnitKindRequest) Reset()func (*CreateUnitKindRequest) String
func (x *CreateUnitKindRequest) String() stringCreateUnitOperationRequest
type CreateUnitOperationRequest struct {
// Required. The parent of the unit operation.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID value for the new unit operation.
UnitOperationId string `protobuf:"bytes,10503,opt,name=unit_operation_id,json=unitOperationId,proto3" json:"unit_operation_id,omitempty"`
// Required. The desired state for the unit operation.
UnitOperation *UnitOperation `protobuf:"bytes,10504,opt,name=unit_operation,json=unitOperation,proto3" json:"unit_operation,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the CreateUnitOperation method.
func (*CreateUnitOperationRequest) Descriptor
func (*CreateUnitOperationRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateUnitOperationRequest.ProtoReflect.Descriptor instead.
func (*CreateUnitOperationRequest) GetParent
func (x *CreateUnitOperationRequest) GetParent() stringfunc (*CreateUnitOperationRequest) GetRequestId
func (x *CreateUnitOperationRequest) GetRequestId() stringfunc (*CreateUnitOperationRequest) GetUnitOperation
func (x *CreateUnitOperationRequest) GetUnitOperation() *UnitOperationfunc (*CreateUnitOperationRequest) GetUnitOperationId
func (x *CreateUnitOperationRequest) GetUnitOperationId() stringfunc (*CreateUnitOperationRequest) GetValidateOnly
func (x *CreateUnitOperationRequest) GetValidateOnly() boolfunc (*CreateUnitOperationRequest) ProtoMessage
func (*CreateUnitOperationRequest) ProtoMessage()func (*CreateUnitOperationRequest) ProtoReflect
func (x *CreateUnitOperationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateUnitOperationRequest) Reset
func (x *CreateUnitOperationRequest) Reset()func (*CreateUnitOperationRequest) String
func (x *CreateUnitOperationRequest) String() stringCreateUnitRequest
type CreateUnitRequest struct {
// Required. The parent of the unit.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID value for the new unit.
UnitId string `protobuf:"bytes,10503,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
// Required. The desired state for the unit.
Unit *Unit `protobuf:"bytes,10504,opt,name=unit,proto3" json:"unit,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the CreateUnit method.
func (*CreateUnitRequest) Descriptor
func (*CreateUnitRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateUnitRequest.ProtoReflect.Descriptor instead.
func (*CreateUnitRequest) GetParent
func (x *CreateUnitRequest) GetParent() stringfunc (*CreateUnitRequest) GetRequestId
func (x *CreateUnitRequest) GetRequestId() stringfunc (*CreateUnitRequest) GetUnit
func (x *CreateUnitRequest) GetUnit() *Unitfunc (*CreateUnitRequest) GetUnitId
func (x *CreateUnitRequest) GetUnitId() stringfunc (*CreateUnitRequest) GetValidateOnly
func (x *CreateUnitRequest) GetValidateOnly() boolfunc (*CreateUnitRequest) ProtoMessage
func (*CreateUnitRequest) ProtoMessage()func (*CreateUnitRequest) ProtoReflect
func (x *CreateUnitRequest) ProtoReflect() protoreflect.Messagefunc (*CreateUnitRequest) Reset
func (x *CreateUnitRequest) Reset()func (*CreateUnitRequest) String
func (x *CreateUnitRequest) String() stringDeleteReleaseRequest
type DeleteReleaseRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// The etag known to the client for the expected state of the release. This is
// used with state-changing methods to prevent accidental overwrites when
// multiple user agents might be acting in parallel on the same resource.
//
// An etag wildcard provide optimistic concurrency based on the expected
// existence of the release. The Any wildcard (`*`) requires that the resource
// must already exists, and the Not Any wildcard (`!*`) requires that it must
// not.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the DeleteRelease method.
func (*DeleteReleaseRequest) Descriptor
func (*DeleteReleaseRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteReleaseRequest.ProtoReflect.Descriptor instead.
func (*DeleteReleaseRequest) GetEtag
func (x *DeleteReleaseRequest) GetEtag() stringfunc (*DeleteReleaseRequest) GetName
func (x *DeleteReleaseRequest) GetName() stringfunc (*DeleteReleaseRequest) GetRequestId
func (x *DeleteReleaseRequest) GetRequestId() stringfunc (*DeleteReleaseRequest) GetValidateOnly
func (x *DeleteReleaseRequest) GetValidateOnly() boolfunc (*DeleteReleaseRequest) ProtoMessage
func (*DeleteReleaseRequest) ProtoMessage()func (*DeleteReleaseRequest) ProtoReflect
func (x *DeleteReleaseRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteReleaseRequest) Reset
func (x *DeleteReleaseRequest) Reset()func (*DeleteReleaseRequest) String
func (x *DeleteReleaseRequest) String() stringDeleteRolloutKindRequest
type DeleteRolloutKindRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// The etag known to the client for the expected state of the rollout kind.
// This is used with state-changing methods to prevent accidental overwrites
// when multiple user agents might be acting in parallel on the same resource.
//
// An etag wildcard provide optimistic concurrency based on the expected
// existence of the rollout kind. The Any wildcard (`*`) requires that the
// resource must already exists, and the Not Any wildcard (`!*`) requires that
// it must not.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the DeleteRolloutKind method.
func (*DeleteRolloutKindRequest) Descriptor
func (*DeleteRolloutKindRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteRolloutKindRequest.ProtoReflect.Descriptor instead.
func (*DeleteRolloutKindRequest) GetEtag
func (x *DeleteRolloutKindRequest) GetEtag() stringfunc (*DeleteRolloutKindRequest) GetName
func (x *DeleteRolloutKindRequest) GetName() stringfunc (*DeleteRolloutKindRequest) GetRequestId
func (x *DeleteRolloutKindRequest) GetRequestId() stringfunc (*DeleteRolloutKindRequest) GetValidateOnly
func (x *DeleteRolloutKindRequest) GetValidateOnly() boolfunc (*DeleteRolloutKindRequest) ProtoMessage
func (*DeleteRolloutKindRequest) ProtoMessage()func (*DeleteRolloutKindRequest) ProtoReflect
func (x *DeleteRolloutKindRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteRolloutKindRequest) Reset
func (x *DeleteRolloutKindRequest) Reset()func (*DeleteRolloutKindRequest) String
func (x *DeleteRolloutKindRequest) String() stringDeleteRolloutRequest
type DeleteRolloutRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// The etag known to the client for the expected state of the rollout. This is
// used with state-changing methods to prevent accidental overwrites when
// multiple user agents might be acting in parallel on the same resource.
//
// An etag wildcard provide optimistic concurrency based on the expected
// existence of the rollout. The Any wildcard (`*`) requires that the resource
// must already exists, and the Not Any wildcard (`!*`) requires that it must
// not.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the DeleteRollout method.
func (*DeleteRolloutRequest) Descriptor
func (*DeleteRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteRolloutRequest.ProtoReflect.Descriptor instead.
func (*DeleteRolloutRequest) GetEtag
func (x *DeleteRolloutRequest) GetEtag() stringfunc (*DeleteRolloutRequest) GetName
func (x *DeleteRolloutRequest) GetName() stringfunc (*DeleteRolloutRequest) GetRequestId
func (x *DeleteRolloutRequest) GetRequestId() stringfunc (*DeleteRolloutRequest) GetValidateOnly
func (x *DeleteRolloutRequest) GetValidateOnly() boolfunc (*DeleteRolloutRequest) ProtoMessage
func (*DeleteRolloutRequest) ProtoMessage()func (*DeleteRolloutRequest) ProtoReflect
func (x *DeleteRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteRolloutRequest) Reset
func (x *DeleteRolloutRequest) Reset()func (*DeleteRolloutRequest) String
func (x *DeleteRolloutRequest) String() stringDeleteSaasRequest
type DeleteSaasRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// The etag known to the client for the expected state of the saas. This is
// used with state-changing methods to prevent accidental overwrites when
// multiple user agents might be acting in parallel on the same resource.
//
// An etag wildcard provide optimistic concurrency based on the expected
// existence of the saas. The Any wildcard (`*`) requires that the resource
// must already exists, and the Not Any wildcard (`!*`) requires that it must
// not.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the DeleteSaas method.
func (*DeleteSaasRequest) Descriptor
func (*DeleteSaasRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSaasRequest.ProtoReflect.Descriptor instead.
func (*DeleteSaasRequest) GetEtag
func (x *DeleteSaasRequest) GetEtag() stringfunc (*DeleteSaasRequest) GetName
func (x *DeleteSaasRequest) GetName() stringfunc (*DeleteSaasRequest) GetRequestId
func (x *DeleteSaasRequest) GetRequestId() stringfunc (*DeleteSaasRequest) GetValidateOnly
func (x *DeleteSaasRequest) GetValidateOnly() boolfunc (*DeleteSaasRequest) ProtoMessage
func (*DeleteSaasRequest) ProtoMessage()func (*DeleteSaasRequest) ProtoReflect
func (x *DeleteSaasRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSaasRequest) Reset
func (x *DeleteSaasRequest) Reset()func (*DeleteSaasRequest) String
func (x *DeleteSaasRequest) String() stringDeleteTenantRequest
type DeleteTenantRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// The etag known to the client for the expected state of the tenant. This is
// used with state-changing methods to prevent accidental overwrites when
// multiple user agents might be acting in parallel on the same resource.
//
// An etag wildcard provide optimistic concurrency based on the expected
// existence of the tenant. The Any wildcard (`*`) requires that the resource
// must already exists, and the Not Any wildcard (`!*`) requires that it must
// not.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the DeleteTenant method.
func (*DeleteTenantRequest) Descriptor
func (*DeleteTenantRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.
func (*DeleteTenantRequest) GetEtag
func (x *DeleteTenantRequest) GetEtag() stringfunc (*DeleteTenantRequest) GetName
func (x *DeleteTenantRequest) GetName() stringfunc (*DeleteTenantRequest) GetRequestId
func (x *DeleteTenantRequest) GetRequestId() stringfunc (*DeleteTenantRequest) GetValidateOnly
func (x *DeleteTenantRequest) GetValidateOnly() boolfunc (*DeleteTenantRequest) ProtoMessage
func (*DeleteTenantRequest) ProtoMessage()func (*DeleteTenantRequest) ProtoReflect
func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTenantRequest) Reset
func (x *DeleteTenantRequest) Reset()func (*DeleteTenantRequest) String
func (x *DeleteTenantRequest) String() stringDeleteUnitKindRequest
type DeleteUnitKindRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// The etag known to the client for the expected state of the unit kind. This
// is used with state-changing methods to prevent accidental overwrites when
// multiple user agents might be acting in parallel on the same resource.
//
// An etag wildcard provide optimistic concurrency based on the expected
// existence of the unit kind. The Any wildcard (`*`) requires that the
// resource must already exists, and the Not Any wildcard (`!*`) requires that
// it must not.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the DeleteUnitKind method.
func (*DeleteUnitKindRequest) Descriptor
func (*DeleteUnitKindRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteUnitKindRequest.ProtoReflect.Descriptor instead.
func (*DeleteUnitKindRequest) GetEtag
func (x *DeleteUnitKindRequest) GetEtag() stringfunc (*DeleteUnitKindRequest) GetName
func (x *DeleteUnitKindRequest) GetName() stringfunc (*DeleteUnitKindRequest) GetRequestId
func (x *DeleteUnitKindRequest) GetRequestId() stringfunc (*DeleteUnitKindRequest) GetValidateOnly
func (x *DeleteUnitKindRequest) GetValidateOnly() boolfunc (*DeleteUnitKindRequest) ProtoMessage
func (*DeleteUnitKindRequest) ProtoMessage()func (*DeleteUnitKindRequest) ProtoReflect
func (x *DeleteUnitKindRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteUnitKindRequest) Reset
func (x *DeleteUnitKindRequest) Reset()func (*DeleteUnitKindRequest) String
func (x *DeleteUnitKindRequest) String() stringDeleteUnitOperationRequest
type DeleteUnitOperationRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// The etag known to the client for the expected state of the unit operation.
// This is used with state-changing methods to prevent accidental overwrites
// when multiple user agents might be acting in parallel on the same resource.
//
// An etag wildcard provide optimistic concurrency based on the expected
// existence of the unit operation. The Any wildcard (`*`) requires that the
// resource must already exists, and the Not Any wildcard (`!*`) requires that
// it must not.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the DeleteUnitOperation method.
func (*DeleteUnitOperationRequest) Descriptor
func (*DeleteUnitOperationRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteUnitOperationRequest.ProtoReflect.Descriptor instead.
func (*DeleteUnitOperationRequest) GetEtag
func (x *DeleteUnitOperationRequest) GetEtag() stringfunc (*DeleteUnitOperationRequest) GetName
func (x *DeleteUnitOperationRequest) GetName() stringfunc (*DeleteUnitOperationRequest) GetRequestId
func (x *DeleteUnitOperationRequest) GetRequestId() stringfunc (*DeleteUnitOperationRequest) GetValidateOnly
func (x *DeleteUnitOperationRequest) GetValidateOnly() boolfunc (*DeleteUnitOperationRequest) ProtoMessage
func (*DeleteUnitOperationRequest) ProtoMessage()func (*DeleteUnitOperationRequest) ProtoReflect
func (x *DeleteUnitOperationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteUnitOperationRequest) Reset
func (x *DeleteUnitOperationRequest) Reset()func (*DeleteUnitOperationRequest) String
func (x *DeleteUnitOperationRequest) String() stringDeleteUnitRequest
type DeleteUnitRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// The etag known to the client for the expected state of the unit. This is
// used with state-changing methods to prevent accidental overwrites when
// multiple user agents might be acting in parallel on the same resource.
//
// An etag wildcard provide optimistic concurrency based on the expected
// existence of the unit. The Any wildcard (`*`) requires that the resource
// must already exists, and the Not Any wildcard (`!*`) requires that it must
// not.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request structure for the DeleteUnit method.
func (*DeleteUnitRequest) Descriptor
func (*DeleteUnitRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteUnitRequest.ProtoReflect.Descriptor instead.
func (*DeleteUnitRequest) GetEtag
func (x *DeleteUnitRequest) GetEtag() stringfunc (*DeleteUnitRequest) GetName
func (x *DeleteUnitRequest) GetName() stringfunc (*DeleteUnitRequest) GetRequestId
func (x *DeleteUnitRequest) GetRequestId() stringfunc (*DeleteUnitRequest) GetValidateOnly
func (x *DeleteUnitRequest) GetValidateOnly() boolfunc (*DeleteUnitRequest) ProtoMessage
func (*DeleteUnitRequest) ProtoMessage()func (*DeleteUnitRequest) ProtoReflect
func (x *DeleteUnitRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteUnitRequest) Reset
func (x *DeleteUnitRequest) Reset()func (*DeleteUnitRequest) String
func (x *DeleteUnitRequest) String() stringDependency
type Dependency struct {
// Required. Immutable. The unit kind of the dependency.
UnitKind string `protobuf:"bytes,1,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"`
// Required. An alias for the dependency. Used for input variable mapping.
Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
// contains filtered or unexported fields
}Dependency represent a single dependency with another unit kind by alias.
func (*Dependency) Descriptor
func (*Dependency) Descriptor() ([]byte, []int)Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetAlias
func (x *Dependency) GetAlias() stringfunc (*Dependency) GetUnitKind
func (x *Dependency) GetUnitKind() stringfunc (*Dependency) ProtoMessage
func (*Dependency) ProtoMessage()func (*Dependency) ProtoReflect
func (x *Dependency) ProtoReflect() protoreflect.Messagefunc (*Dependency) Reset
func (x *Dependency) Reset()func (*Dependency) String
func (x *Dependency) String() stringDeprovision
type Deprovision struct {
// contains filtered or unexported fields
}Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned.
func (*Deprovision) Descriptor
func (*Deprovision) Descriptor() ([]byte, []int)Deprecated: Use Deprovision.ProtoReflect.Descriptor instead.
func (*Deprovision) ProtoMessage
func (*Deprovision) ProtoMessage()func (*Deprovision) ProtoReflect
func (x *Deprovision) ProtoReflect() protoreflect.Messagefunc (*Deprovision) Reset
func (x *Deprovision) Reset()func (*Deprovision) String
func (x *Deprovision) String() stringErrorBudget
type ErrorBudget struct {
// Optional. The maximum number of failed units allowed in a location without
// pausing the rollout.
AllowedCount *int32 `protobuf:"varint,1,opt,name=allowed_count,json=allowedCount,proto3,oneof" json:"allowed_count,omitempty"`
// Optional. The maximum percentage of units allowed to fail (0, 100] within a
// location without pausing the rollout.
AllowedPercentage *int32 `protobuf:"varint,2,opt,name=allowed_percentage,json=allowedPercentage,proto3,oneof" json:"allowed_percentage,omitempty"`
// contains filtered or unexported fields
}The configuration for error budget. If the number of failed units exceeds max(allowed_count, allowed_ratio * total_units), the rollout will be paused.
func (*ErrorBudget) Descriptor
func (*ErrorBudget) Descriptor() ([]byte, []int)Deprecated: Use ErrorBudget.ProtoReflect.Descriptor instead.
func (*ErrorBudget) GetAllowedCount
func (x *ErrorBudget) GetAllowedCount() int32func (*ErrorBudget) GetAllowedPercentage
func (x *ErrorBudget) GetAllowedPercentage() int32func (*ErrorBudget) ProtoMessage
func (*ErrorBudget) ProtoMessage()func (*ErrorBudget) ProtoReflect
func (x *ErrorBudget) ProtoReflect() protoreflect.Messagefunc (*ErrorBudget) Reset
func (x *ErrorBudget) Reset()func (*ErrorBudget) String
func (x *ErrorBudget) String() stringFromMapping
type FromMapping struct {
// Required. Alias of the dependency that the outputVariable will pass its
// value to
Dependency string `protobuf:"bytes,1,opt,name=dependency,proto3" json:"dependency,omitempty"`
// Required. Name of the outputVariable on the dependency
OutputVariable string `protobuf:"bytes,2,opt,name=output_variable,json=outputVariable,proto3" json:"output_variable,omitempty"`
// contains filtered or unexported fields
}Output variables whose values will be passed on to dependencies
func (*FromMapping) Descriptor
func (*FromMapping) Descriptor() ([]byte, []int)Deprecated: Use FromMapping.ProtoReflect.Descriptor instead.
func (*FromMapping) GetDependency
func (x *FromMapping) GetDependency() stringfunc (*FromMapping) GetOutputVariable
func (x *FromMapping) GetOutputVariable() stringfunc (*FromMapping) ProtoMessage
func (*FromMapping) ProtoMessage()func (*FromMapping) ProtoReflect
func (x *FromMapping) ProtoReflect() protoreflect.Messagefunc (*FromMapping) Reset
func (x *FromMapping) Reset()func (*FromMapping) String
func (x *FromMapping) String() stringGetReleaseRequest
type GetReleaseRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request structure for the GetRelease method.
func (*GetReleaseRequest) Descriptor
func (*GetReleaseRequest) Descriptor() ([]byte, []int)Deprecated: Use GetReleaseRequest.ProtoReflect.Descriptor instead.
func (*GetReleaseRequest) GetName
func (x *GetReleaseRequest) GetName() stringfunc (*GetReleaseRequest) ProtoMessage
func (*GetReleaseRequest) ProtoMessage()func (*GetReleaseRequest) ProtoReflect
func (x *GetReleaseRequest) ProtoReflect() protoreflect.Messagefunc (*GetReleaseRequest) Reset
func (x *GetReleaseRequest) Reset()func (*GetReleaseRequest) String
func (x *GetReleaseRequest) String() stringGetRolloutKindRequest
type GetRolloutKindRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request structure for the GetRolloutKind method.
func (*GetRolloutKindRequest) Descriptor
func (*GetRolloutKindRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRolloutKindRequest.ProtoReflect.Descriptor instead.
func (*GetRolloutKindRequest) GetName
func (x *GetRolloutKindRequest) GetName() stringfunc (*GetRolloutKindRequest) ProtoMessage
func (*GetRolloutKindRequest) ProtoMessage()func (*GetRolloutKindRequest) ProtoReflect
func (x *GetRolloutKindRequest) ProtoReflect() protoreflect.Messagefunc (*GetRolloutKindRequest) Reset
func (x *GetRolloutKindRequest) Reset()func (*GetRolloutKindRequest) String
func (x *GetRolloutKindRequest) String() stringGetRolloutRequest
type GetRolloutRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request structure for the GetRollout method.
func (*GetRolloutRequest) Descriptor
func (*GetRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRolloutRequest.ProtoReflect.Descriptor instead.
func (*GetRolloutRequest) GetName
func (x *GetRolloutRequest) GetName() stringfunc (*GetRolloutRequest) ProtoMessage
func (*GetRolloutRequest) ProtoMessage()func (*GetRolloutRequest) ProtoReflect
func (x *GetRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*GetRolloutRequest) Reset
func (x *GetRolloutRequest) Reset()func (*GetRolloutRequest) String
func (x *GetRolloutRequest) String() stringGetSaasRequest
type GetSaasRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request structure for the GetSaas method.
func (*GetSaasRequest) Descriptor
func (*GetSaasRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSaasRequest.ProtoReflect.Descriptor instead.
func (*GetSaasRequest) GetName
func (x *GetSaasRequest) GetName() stringfunc (*GetSaasRequest) ProtoMessage
func (*GetSaasRequest) ProtoMessage()func (*GetSaasRequest) ProtoReflect
func (x *GetSaasRequest) ProtoReflect() protoreflect.Messagefunc (*GetSaasRequest) Reset
func (x *GetSaasRequest) Reset()func (*GetSaasRequest) String
func (x *GetSaasRequest) String() stringGetTenantRequest
type GetTenantRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request structure for the GetTenant method.
func (*GetTenantRequest) Descriptor
func (*GetTenantRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.
func (*GetTenantRequest) GetName
func (x *GetTenantRequest) GetName() stringfunc (*GetTenantRequest) ProtoMessage
func (*GetTenantRequest) ProtoMessage()func (*GetTenantRequest) ProtoReflect
func (x *GetTenantRequest) ProtoReflect() protoreflect.Messagefunc (*GetTenantRequest) Reset
func (x *GetTenantRequest) Reset()func (*GetTenantRequest) String
func (x *GetTenantRequest) String() stringGetUnitKindRequest
type GetUnitKindRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request structure for the GetUnitKind method.
func (*GetUnitKindRequest) Descriptor
func (*GetUnitKindRequest) Descriptor() ([]byte, []int)Deprecated: Use GetUnitKindRequest.ProtoReflect.Descriptor instead.
func (*GetUnitKindRequest) GetName
func (x *GetUnitKindRequest) GetName() stringfunc (*GetUnitKindRequest) ProtoMessage
func (*GetUnitKindRequest) ProtoMessage()func (*GetUnitKindRequest) ProtoReflect
func (x *GetUnitKindRequest) ProtoReflect() protoreflect.Messagefunc (*GetUnitKindRequest) Reset
func (x *GetUnitKindRequest) Reset()func (*GetUnitKindRequest) String
func (x *GetUnitKindRequest) String() stringGetUnitOperationRequest
type GetUnitOperationRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request structure for the GetUnitOperation method.
func (*GetUnitOperationRequest) Descriptor
func (*GetUnitOperationRequest) Descriptor() ([]byte, []int)Deprecated: Use GetUnitOperationRequest.ProtoReflect.Descriptor instead.
func (*GetUnitOperationRequest) GetName
func (x *GetUnitOperationRequest) GetName() stringfunc (*GetUnitOperationRequest) ProtoMessage
func (*GetUnitOperationRequest) ProtoMessage()func (*GetUnitOperationRequest) ProtoReflect
func (x *GetUnitOperationRequest) ProtoReflect() protoreflect.Messagefunc (*GetUnitOperationRequest) Reset
func (x *GetUnitOperationRequest) Reset()func (*GetUnitOperationRequest) String
func (x *GetUnitOperationRequest) String() stringGetUnitRequest
type GetUnitRequest struct {
// Required. The resource name of the resource within a service.
Name string `protobuf:"bytes,10001,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request structure for the GetUnit method.
func (*GetUnitRequest) Descriptor
func (*GetUnitRequest) Descriptor() ([]byte, []int)Deprecated: Use GetUnitRequest.ProtoReflect.Descriptor instead.
func (*GetUnitRequest) GetName
func (x *GetUnitRequest) GetName() stringfunc (*GetUnitRequest) ProtoMessage
func (*GetUnitRequest) ProtoMessage()func (*GetUnitRequest) ProtoReflect
func (x *GetUnitRequest) ProtoReflect() protoreflect.Messagefunc (*GetUnitRequest) Reset
func (x *GetUnitRequest) Reset()func (*GetUnitRequest) String
func (x *GetUnitRequest) String() stringListReleasesRequest
type ListReleasesRequest struct {
// Required. The parent of the release.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of releases to send per page.
PageSize int32 `protobuf:"varint,10505,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token: If the next_page_token from a previous response
// is provided, this request will send the subsequent page.
PageToken string `protobuf:"bytes,10506,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter the list as specified in https://google.aip.dev/160.
Filter string `protobuf:"bytes,10507,opt,name=filter,proto3" json:"filter,omitempty"`
// Order results as specified in https://google.aip.dev/132.
OrderBy string `protobuf:"bytes,10508,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request structure for the ListReleases method.
func (*ListReleasesRequest) Descriptor
func (*ListReleasesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListReleasesRequest.ProtoReflect.Descriptor instead.
func (*ListReleasesRequest) GetFilter
func (x *ListReleasesRequest) GetFilter() stringfunc (*ListReleasesRequest) GetOrderBy
func (x *ListReleasesRequest) GetOrderBy() stringfunc (*ListReleasesRequest) GetPageSize
func (x *ListReleasesRequest) GetPageSize() int32func (*ListReleasesRequest) GetPageToken
func (x *ListReleasesRequest) GetPageToken() stringfunc (*ListReleasesRequest) GetParent
func (x *ListReleasesRequest) GetParent() stringfunc (*ListReleasesRequest) ProtoMessage
func (*ListReleasesRequest) ProtoMessage()func (*ListReleasesRequest) ProtoReflect
func (x *ListReleasesRequest) ProtoReflect() protoreflect.Messagefunc (*ListReleasesRequest) Reset
func (x *ListReleasesRequest) Reset()func (*ListReleasesRequest) String
func (x *ListReleasesRequest) String() stringListReleasesResponse
type ListReleasesResponse struct {
// The resulting releases.
Releases []*Release `protobuf:"bytes,10509,rep,name=releases,proto3" json:"releases,omitempty"`
// If present, the next page token can be provided to a subsequent
// ListReleases call to list the next page.
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,10510,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,10511,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response structure for the ListReleases method.
func (*ListReleasesResponse) Descriptor
func (*ListReleasesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListReleasesResponse.ProtoReflect.Descriptor instead.
func (*ListReleasesResponse) GetNextPageToken
func (x *ListReleasesResponse) GetNextPageToken() stringfunc (*ListReleasesResponse) GetReleases
func (x *ListReleasesResponse) GetReleases() []*Releasefunc (*ListReleasesResponse) GetUnreachable
func (x *ListReleasesResponse) GetUnreachable() []stringfunc (*ListReleasesResponse) ProtoMessage
func (*ListReleasesResponse) ProtoMessage()func (*ListReleasesResponse) ProtoReflect
func (x *ListReleasesResponse) ProtoReflect() protoreflect.Messagefunc (*ListReleasesResponse) Reset
func (x *ListReleasesResponse) Reset()func (*ListReleasesResponse) String
func (x *ListReleasesResponse) String() stringListRolloutKindsRequest
type ListRolloutKindsRequest struct {
// Required. The parent of the rollout kind.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of rollout kinds to send per page.
PageSize int32 `protobuf:"varint,10505,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token: If the next_page_token from a previous response
// is provided, this request will send the subsequent page.
PageToken string `protobuf:"bytes,10506,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter the list as specified in https://google.aip.dev/160.
Filter string `protobuf:"bytes,10507,opt,name=filter,proto3" json:"filter,omitempty"`
// Order results as specified in https://google.aip.dev/132.
OrderBy string `protobuf:"bytes,10508,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request structure for the ListRolloutKinds method.
func (*ListRolloutKindsRequest) Descriptor
func (*ListRolloutKindsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRolloutKindsRequest.ProtoReflect.Descriptor instead.
func (*ListRolloutKindsRequest) GetFilter
func (x *ListRolloutKindsRequest) GetFilter() stringfunc (*ListRolloutKindsRequest) GetOrderBy
func (x *ListRolloutKindsRequest) GetOrderBy() stringfunc (*ListRolloutKindsRequest) GetPageSize
func (x *ListRolloutKindsRequest) GetPageSize() int32func (*ListRolloutKindsRequest) GetPageToken
func (x *ListRolloutKindsRequest) GetPageToken() stringfunc (*ListRolloutKindsRequest) GetParent
func (x *ListRolloutKindsRequest) GetParent() stringfunc (*ListRolloutKindsRequest) ProtoMessage
func (*ListRolloutKindsRequest) ProtoMessage()func (*ListRolloutKindsRequest) ProtoReflect
func (x *ListRolloutKindsRequest) ProtoReflect() protoreflect.Messagefunc (*ListRolloutKindsRequest) Reset
func (x *ListRolloutKindsRequest) Reset()func (*ListRolloutKindsRequest) String
func (x *ListRolloutKindsRequest) String() stringListRolloutKindsResponse
type ListRolloutKindsResponse struct {
// The resulting rollout kinds.
RolloutKinds []*RolloutKind `protobuf:"bytes,10509,rep,name=rollout_kinds,json=rolloutKinds,proto3" json:"rollout_kinds,omitempty"`
// If present, the next page token can be provided to a subsequent
// ListRolloutKinds call to list the next page.
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,10510,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,10511,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response structure for the ListRolloutKinds method.
func (*ListRolloutKindsResponse) Descriptor
func (*ListRolloutKindsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRolloutKindsResponse.ProtoReflect.Descriptor instead.
func (*ListRolloutKindsResponse) GetNextPageToken
func (x *ListRolloutKindsResponse) GetNextPageToken() stringfunc (*ListRolloutKindsResponse) GetRolloutKinds
func (x *ListRolloutKindsResponse) GetRolloutKinds() []*RolloutKindfunc (*ListRolloutKindsResponse) GetUnreachable
func (x *ListRolloutKindsResponse) GetUnreachable() []stringfunc (*ListRolloutKindsResponse) ProtoMessage
func (*ListRolloutKindsResponse) ProtoMessage()func (*ListRolloutKindsResponse) ProtoReflect
func (x *ListRolloutKindsResponse) ProtoReflect() protoreflect.Messagefunc (*ListRolloutKindsResponse) Reset
func (x *ListRolloutKindsResponse) Reset()func (*ListRolloutKindsResponse) String
func (x *ListRolloutKindsResponse) String() stringListRolloutsRequest
type ListRolloutsRequest struct {
// Required. The parent of the rollout.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of rollouts to send per page.
PageSize int32 `protobuf:"varint,10505,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token: If the next_page_token from a previous response
// is provided, this request will send the subsequent page.
PageToken string `protobuf:"bytes,10506,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter the list as specified in https://google.aip.dev/160.
Filter string `protobuf:"bytes,10507,opt,name=filter,proto3" json:"filter,omitempty"`
// Order results as specified in https://google.aip.dev/132.
OrderBy string `protobuf:"bytes,10508,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request structure for the ListRollouts method.
func (*ListRolloutsRequest) Descriptor
func (*ListRolloutsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRolloutsRequest.ProtoReflect.Descriptor instead.
func (*ListRolloutsRequest) GetFilter
func (x *ListRolloutsRequest) GetFilter() stringfunc (*ListRolloutsRequest) GetOrderBy
func (x *ListRolloutsRequest) GetOrderBy() stringfunc (*ListRolloutsRequest) GetPageSize
func (x *ListRolloutsRequest) GetPageSize() int32func (*ListRolloutsRequest) GetPageToken
func (x *ListRolloutsRequest) GetPageToken() stringfunc (*ListRolloutsRequest) GetParent
func (x *ListRolloutsRequest) GetParent() stringfunc (*ListRolloutsRequest) ProtoMessage
func (*ListRolloutsRequest) ProtoMessage()func (*ListRolloutsRequest) ProtoReflect
func (x *ListRolloutsRequest) ProtoReflect() protoreflect.Messagefunc (*ListRolloutsRequest) Reset
func (x *ListRolloutsRequest) Reset()func (*ListRolloutsRequest) String
func (x *ListRolloutsRequest) String() stringListRolloutsResponse
type ListRolloutsResponse struct {
// The resulting rollouts.
Rollouts []*Rollout `protobuf:"bytes,10509,rep,name=rollouts,proto3" json:"rollouts,omitempty"`
// If present, the next page token can be provided to a subsequent
// ListRollouts call to list the next page.
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,10510,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,10511,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response structure for the ListRollouts method.
func (*ListRolloutsResponse) Descriptor
func (*ListRolloutsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRolloutsResponse.ProtoReflect.Descriptor instead.
func (*ListRolloutsResponse) GetNextPageToken
func (x *ListRolloutsResponse) GetNextPageToken() stringfunc (*ListRolloutsResponse) GetRollouts
func (x *ListRolloutsResponse) GetRollouts() []*Rolloutfunc (*ListRolloutsResponse) GetUnreachable
func (x *ListRolloutsResponse) GetUnreachable() []stringfunc (*ListRolloutsResponse) ProtoMessage
func (*ListRolloutsResponse) ProtoMessage()func (*ListRolloutsResponse) ProtoReflect
func (x *ListRolloutsResponse) ProtoReflect() protoreflect.Messagefunc (*ListRolloutsResponse) Reset
func (x *ListRolloutsResponse) Reset()func (*ListRolloutsResponse) String
func (x *ListRolloutsResponse) String() stringListSaasRequest
type ListSaasRequest struct {
// Required. The parent of the saas.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of saas to send per page.
PageSize int32 `protobuf:"varint,10505,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token: If the next_page_token from a previous response
// is provided, this request will send the subsequent page.
PageToken string `protobuf:"bytes,10506,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter the list as specified in https://google.aip.dev/160.
Filter string `protobuf:"bytes,10507,opt,name=filter,proto3" json:"filter,omitempty"`
// Order results as specified in https://google.aip.dev/132.
OrderBy string `protobuf:"bytes,10508,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request structure for the ListSaas method.
func (*ListSaasRequest) Descriptor
func (*ListSaasRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSaasRequest.ProtoReflect.Descriptor instead.
func (*ListSaasRequest) GetFilter
func (x *ListSaasRequest) GetFilter() stringfunc (*ListSaasRequest) GetOrderBy
func (x *ListSaasRequest) GetOrderBy() stringfunc (*ListSaasRequest) GetPageSize
func (x *ListSaasRequest) GetPageSize() int32func (*ListSaasRequest) GetPageToken
func (x *ListSaasRequest) GetPageToken() stringfunc (*ListSaasRequest) GetParent
func (x *ListSaasRequest) GetParent() stringfunc (*ListSaasRequest) ProtoMessage
func (*ListSaasRequest) ProtoMessage()func (*ListSaasRequest) ProtoReflect
func (x *ListSaasRequest) ProtoReflect() protoreflect.Messagefunc (*ListSaasRequest) Reset
func (x *ListSaasRequest) Reset()func (*ListSaasRequest) String
func (x *ListSaasRequest) String() stringListSaasResponse
type ListSaasResponse struct {
// The resulting saas.
Saas []*Saas `protobuf:"bytes,10509,rep,name=saas,proto3" json:"saas,omitempty"`
// If present, the next page token can be provided to a subsequent
// ListSaas call to list the next page.
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,10510,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,10511,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response structure for the ListSaas method.
func (*ListSaasResponse) Descriptor
func (*ListSaasResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSaasResponse.ProtoReflect.Descriptor instead.
func (*ListSaasResponse) GetNextPageToken
func (x *ListSaasResponse) GetNextPageToken() stringfunc (*ListSaasResponse) GetSaas
func (x *ListSaasResponse) GetSaas() []*Saasfunc (*ListSaasResponse) GetUnreachable
func (x *ListSaasResponse) GetUnreachable() []stringfunc (*ListSaasResponse) ProtoMessage
func (*ListSaasResponse) ProtoMessage()func (*ListSaasResponse) ProtoReflect
func (x *ListSaasResponse) ProtoReflect() protoreflect.Messagefunc (*ListSaasResponse) Reset
func (x *ListSaasResponse) Reset()func (*ListSaasResponse) String
func (x *ListSaasResponse) String() stringListTenantsRequest
type ListTenantsRequest struct {
// Required. The parent of the tenant.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of tenants to send per page.
PageSize int32 `protobuf:"varint,10505,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token: If the next_page_token from a previous response
// is provided, this request will send the subsequent page.
PageToken string `protobuf:"bytes,10506,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter the list as specified in https://google.aip.dev/160.
Filter string `protobuf:"bytes,10507,opt,name=filter,proto3" json:"filter,omitempty"`
// Order results as specified in https://google.aip.dev/132.
OrderBy string `protobuf:"bytes,10508,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request structure for the ListTenants method.
func (*ListTenantsRequest) Descriptor
func (*ListTenantsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.
func (*ListTenantsRequest) GetFilter
func (x *ListTenantsRequest) GetFilter() stringfunc (*ListTenantsRequest) GetOrderBy
func (x *ListTenantsRequest) GetOrderBy() stringfunc (*ListTenantsRequest) GetPageSize
func (x *ListTenantsRequest) GetPageSize() int32func (*ListTenantsRequest) GetPageToken
func (x *ListTenantsRequest) GetPageToken() stringfunc (*ListTenantsRequest) GetParent
func (x *ListTenantsRequest) GetParent() stringfunc (*ListTenantsRequest) ProtoMessage
func (*ListTenantsRequest) ProtoMessage()func (*ListTenantsRequest) ProtoReflect
func (x *ListTenantsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTenantsRequest) Reset
func (x *ListTenantsRequest) Reset()func (*ListTenantsRequest) String
func (x *ListTenantsRequest) String() stringListTenantsResponse
type ListTenantsResponse struct {
// The resulting tenants.
Tenants []*Tenant `protobuf:"bytes,10509,rep,name=tenants,proto3" json:"tenants,omitempty"`
// If present, the next page token can be provided to a subsequent
// ListTenants call to list the next page.
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,10510,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,10511,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response structure for the ListTenants method.
func (*ListTenantsResponse) Descriptor
func (*ListTenantsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.
func (*ListTenantsResponse) GetNextPageToken
func (x *ListTenantsResponse) GetNextPageToken() stringfunc (*ListTenantsResponse) GetTenants
func (x *ListTenantsResponse) GetTenants() []*Tenantfunc (*ListTenantsResponse) GetUnreachable
func (x *ListTenantsResponse) GetUnreachable() []stringfunc (*ListTenantsResponse) ProtoMessage
func (*ListTenantsResponse) ProtoMessage()func (*ListTenantsResponse) ProtoReflect
func (x *ListTenantsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTenantsResponse) Reset
func (x *ListTenantsResponse) Reset()func (*ListTenantsResponse) String
func (x *ListTenantsResponse) String() stringListUnitKindsRequest
type ListUnitKindsRequest struct {
// Required. The parent of the unit kind.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of unit kinds to send per page.
PageSize int32 `protobuf:"varint,10505,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token: If the next_page_token from a previous response
// is provided, this request will send the subsequent page.
PageToken string `protobuf:"bytes,10506,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter the list as specified in https://google.aip.dev/160.
Filter string `protobuf:"bytes,10507,opt,name=filter,proto3" json:"filter,omitempty"`
// Order results as specified in https://google.aip.dev/132.
OrderBy string `protobuf:"bytes,10508,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request structure for the ListUnitKinds method.
func (*ListUnitKindsRequest) Descriptor
func (*ListUnitKindsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListUnitKindsRequest.ProtoReflect.Descriptor instead.
func (*ListUnitKindsRequest) GetFilter
func (x *ListUnitKindsRequest) GetFilter() stringfunc (*ListUnitKindsRequest) GetOrderBy
func (x *ListUnitKindsRequest) GetOrderBy() stringfunc (*ListUnitKindsRequest) GetPageSize
func (x *ListUnitKindsRequest) GetPageSize() int32func (*ListUnitKindsRequest) GetPageToken
func (x *ListUnitKindsRequest) GetPageToken() stringfunc (*ListUnitKindsRequest) GetParent
func (x *ListUnitKindsRequest) GetParent() stringfunc (*ListUnitKindsRequest) ProtoMessage
func (*ListUnitKindsRequest) ProtoMessage()func (*ListUnitKindsRequest) ProtoReflect
func (x *ListUnitKindsRequest) ProtoReflect() protoreflect.Messagefunc (*ListUnitKindsRequest) Reset
func (x *ListUnitKindsRequest) Reset()func (*ListUnitKindsRequest) String
func (x *ListUnitKindsRequest) String() stringListUnitKindsResponse
type ListUnitKindsResponse struct {
// The resulting unit kinds.
UnitKinds []*UnitKind `protobuf:"bytes,10509,rep,name=unit_kinds,json=unitKinds,proto3" json:"unit_kinds,omitempty"`
// If present, the next page token can be provided to a subsequent
// ListUnitKinds call to list the next page.
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,10510,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,10511,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response structure for the ListUnitKinds method.
func (*ListUnitKindsResponse) Descriptor
func (*ListUnitKindsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListUnitKindsResponse.ProtoReflect.Descriptor instead.
func (*ListUnitKindsResponse) GetNextPageToken
func (x *ListUnitKindsResponse) GetNextPageToken() stringfunc (*ListUnitKindsResponse) GetUnitKinds
func (x *ListUnitKindsResponse) GetUnitKinds() []*UnitKindfunc (*ListUnitKindsResponse) GetUnreachable
func (x *ListUnitKindsResponse) GetUnreachable() []stringfunc (*ListUnitKindsResponse) ProtoMessage
func (*ListUnitKindsResponse) ProtoMessage()func (*ListUnitKindsResponse) ProtoReflect
func (x *ListUnitKindsResponse) ProtoReflect() protoreflect.Messagefunc (*ListUnitKindsResponse) Reset
func (x *ListUnitKindsResponse) Reset()func (*ListUnitKindsResponse) String
func (x *ListUnitKindsResponse) String() stringListUnitOperationsRequest
type ListUnitOperationsRequest struct {
// Required. The parent of the unit operation.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of unit operations to send per page.
PageSize int32 `protobuf:"varint,10505,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token: If the next_page_token from a previous response
// is provided, this request will send the subsequent page.
PageToken string `protobuf:"bytes,10506,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter the list as specified in https://google.aip.dev/160.
Filter string `protobuf:"bytes,10507,opt,name=filter,proto3" json:"filter,omitempty"`
// Order results as specified in https://google.aip.dev/132.
OrderBy string `protobuf:"bytes,10508,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request structure for the ListUnitOperations method.
func (*ListUnitOperationsRequest) Descriptor
func (*ListUnitOperationsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListUnitOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListUnitOperationsRequest) GetFilter
func (x *ListUnitOperationsRequest) GetFilter() stringfunc (*ListUnitOperationsRequest) GetOrderBy
func (x *ListUnitOperationsRequest) GetOrderBy() stringfunc (*ListUnitOperationsRequest) GetPageSize
func (x *ListUnitOperationsRequest) GetPageSize() int32func (*ListUnitOperationsRequest) GetPageToken
func (x *ListUnitOperationsRequest) GetPageToken() stringfunc (*ListUnitOperationsRequest) GetParent
func (x *ListUnitOperationsRequest) GetParent() stringfunc (*ListUnitOperationsRequest) ProtoMessage
func (*ListUnitOperationsRequest) ProtoMessage()func (*ListUnitOperationsRequest) ProtoReflect
func (x *ListUnitOperationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListUnitOperationsRequest) Reset
func (x *ListUnitOperationsRequest) Reset()func (*ListUnitOperationsRequest) String
func (x *ListUnitOperationsRequest) String() stringListUnitOperationsResponse
type ListUnitOperationsResponse struct {
// The resulting unit operations.
UnitOperations []*UnitOperation `protobuf:"bytes,10509,rep,name=unit_operations,json=unitOperations,proto3" json:"unit_operations,omitempty"`
// If present, the next page token can be provided to a subsequent
// ListUnitOperations call to list the next page.
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,10510,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,10511,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response structure for the ListUnitOperations method.
func (*ListUnitOperationsResponse) Descriptor
func (*ListUnitOperationsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListUnitOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListUnitOperationsResponse) GetNextPageToken
func (x *ListUnitOperationsResponse) GetNextPageToken() stringfunc (*ListUnitOperationsResponse) GetUnitOperations
func (x *ListUnitOperationsResponse) GetUnitOperations() []*UnitOperationfunc (*ListUnitOperationsResponse) GetUnreachable
func (x *ListUnitOperationsResponse) GetUnreachable() []stringfunc (*ListUnitOperationsResponse) ProtoMessage
func (*ListUnitOperationsResponse) ProtoMessage()func (*ListUnitOperationsResponse) ProtoReflect
func (x *ListUnitOperationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListUnitOperationsResponse) Reset
func (x *ListUnitOperationsResponse) Reset()func (*ListUnitOperationsResponse) String
func (x *ListUnitOperationsResponse) String() stringListUnitsRequest
type ListUnitsRequest struct {
// Required. The parent of the unit.
Parent string `protobuf:"bytes,10006,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of units to send per page.
PageSize int32 `protobuf:"varint,10505,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token: If the next_page_token from a previous response
// is provided, this request will send the subsequent page.
PageToken string `protobuf:"bytes,10506,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter the list as specified in https://google.aip.dev/160.
Filter string `protobuf:"bytes,10507,opt,name=filter,proto3" json:"filter,omitempty"`
// Order results as specified in https://google.aip.dev/132.
OrderBy string `protobuf:"bytes,10508,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request structure for the ListUnits method.
func (*ListUnitsRequest) Descriptor
func (*ListUnitsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListUnitsRequest.ProtoReflect.Descriptor instead.
func (*ListUnitsRequest) GetFilter
func (x *ListUnitsRequest) GetFilter() stringfunc (*ListUnitsRequest) GetOrderBy
func (x *ListUnitsRequest) GetOrderBy() stringfunc (*ListUnitsRequest) GetPageSize
func (x *ListUnitsRequest) GetPageSize() int32func (*ListUnitsRequest) GetPageToken
func (x *ListUnitsRequest) GetPageToken() stringfunc (*ListUnitsRequest) GetParent
func (x *ListUnitsRequest) GetParent() stringfunc (*ListUnitsRequest) ProtoMessage
func (*ListUnitsRequest) ProtoMessage()func (*ListUnitsRequest) ProtoReflect
func (x *ListUnitsRequest) ProtoReflect() protoreflect.Messagefunc (*ListUnitsRequest) Reset
func (x *ListUnitsRequest) Reset()func (*ListUnitsRequest) String
func (x *ListUnitsRequest) String() stringListUnitsResponse
type ListUnitsResponse struct {
// The resulting units.
Units []*Unit `protobuf:"bytes,10509,rep,name=units,proto3" json:"units,omitempty"`
// If present, the next page token can be provided to a subsequent
// ListUnits call to list the next page.
// If empty, there are no more pages.
NextPageToken string `protobuf:"bytes,10510,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,10511,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response structure for the ListUnits method.
func (*ListUnitsResponse) Descriptor
func (*ListUnitsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListUnitsResponse.ProtoReflect.Descriptor instead.
func (*ListUnitsResponse) GetNextPageToken
func (x *ListUnitsResponse) GetNextPageToken() stringfunc (*ListUnitsResponse) GetUnits
func (x *ListUnitsResponse) GetUnits() []*Unitfunc (*ListUnitsResponse) GetUnreachable
func (x *ListUnitsResponse) GetUnreachable() []stringfunc (*ListUnitsResponse) ProtoMessage
func (*ListUnitsResponse) ProtoMessage()func (*ListUnitsResponse) ProtoReflect
func (x *ListUnitsResponse) ProtoReflect() protoreflect.Messagefunc (*ListUnitsResponse) Reset
func (x *ListUnitsResponse) Reset()func (*ListUnitsResponse) String
func (x *ListUnitsResponse) String() stringLocation
type Location struct {
// Optional. Name of location.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Location information that the service is available in.
func (*Location) Descriptor
Deprecated: Use Location.ProtoReflect.Descriptor instead.
func (*Location) GetName
func (*Location) ProtoMessage
func (*Location) ProtoMessage()func (*Location) ProtoReflect
func (x *Location) ProtoReflect() protoreflect.Messagefunc (*Location) Reset
func (x *Location) Reset()func (*Location) String
Provision
type Provision struct {
// Optional. Reference to the Release object to use for the Unit. (optional).
Release string `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
// Optional. Set of input variables. Maximum 100. (optional)
InputVariables []*UnitVariable `protobuf:"bytes,3,rep,name=input_variables,json=inputVariables,proto3" json:"input_variables,omitempty"`
// contains filtered or unexported fields
}Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned.
func (*Provision) Descriptor
Deprecated: Use Provision.ProtoReflect.Descriptor instead.
func (*Provision) GetInputVariables
func (x *Provision) GetInputVariables() []*UnitVariablefunc (*Provision) GetRelease
func (*Provision) ProtoMessage
func (*Provision) ProtoMessage()func (*Provision) ProtoReflect
func (x *Provision) ProtoReflect() protoreflect.Messagefunc (*Provision) Reset
func (x *Provision) Reset()func (*Provision) String
Release
type Release struct {
// Identifier. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/releases/{release}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. Reference to the UnitKind this Release corresponds to
// (required and immutable once created).
UnitKind string `protobuf:"bytes,2,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"`
// Optional. Blueprints are OCI Images that contain all of the artifacts
// needed to provision a unit.
Blueprint *Blueprint `protobuf:"bytes,3,opt,name=blueprint,proto3" json:"blueprint,omitempty"`
// Optional. Set of requirements to be fulfilled on the Unit when using this
// Release.
ReleaseRequirements *Release_ReleaseRequirements `protobuf:"bytes,4,opt,name=release_requirements,json=releaseRequirements,proto3" json:"release_requirements,omitempty"`
// Optional. Output only. List of input variables declared on the blueprint
// and can be present with their values on the unit spec
InputVariables []*UnitVariable `protobuf:"bytes,5,rep,name=input_variables,json=inputVariables,proto3" json:"input_variables,omitempty"`
// Optional. Output only. List of output variables declared on the blueprint
// and can be present with their values on the unit status
OutputVariables []*UnitVariable `protobuf:"bytes,6,rep,name=output_variables,json=outputVariables,proto3" json:"output_variables,omitempty"`
// Optional. Mapping of input variables to default values. Maximum 100
InputVariableDefaults []*UnitVariable `protobuf:"bytes,7,rep,name=input_variable_defaults,json=inputVariableDefaults,proto3" json:"input_variable_defaults,omitempty"`
// Output only. Reference to component and revision in a composite
// ApplicationTemplate.
ApplicationTemplateComponent *ComponentRef `protobuf:"bytes,9,opt,name=application_template_component,json=applicationTemplateComponent,proto3" json:"application_template_component,omitempty"`
// Optional. The labels on the resource, which can be used for categorization.
// similar to Kubernetes resource labels.
Labels map[string]string `protobuf:"bytes,10401,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Annotations is an unstructured key-value map stored with a
// resource that may be set by external tools to store and retrieve arbitrary
// metadata. They are not queryable and should be preserved when modifying
// objects.
//
// More info: https://kubernetes.io/docs/user-guide/annotations
Annotations map[string]string `protobuf:"bytes,10402,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The unique identifier of the resource. UID is unique in the
// time and space for this resource within the scope of the service. It is
// typically generated by the server on successful creation of a resource
// and must not be changed. UID is used to uniquely identify resources
// with resource name reuses. This should be a UUID4.
Uid string `protobuf:"bytes,10201,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. An opaque value that uniquely identifies a version or
// generation of a resource. It can be used to confirm that the client
// and server agree on the ordering of a resource being written.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10303,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated. Any
// change to the resource made by users must refresh this value.
// Changes to a resource made by the service should refresh this value.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10304,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}A new version to be propagated and deployed to units. This includes pointers to packaged blueprints for actuation (e.g Helm or Terraform configuration packages) via artifact registry.
func (*Release) Descriptor
Deprecated: Use Release.ProtoReflect.Descriptor instead.
func (*Release) GetAnnotations
func (*Release) GetApplicationTemplateComponent
func (x *Release) GetApplicationTemplateComponent() *ComponentReffunc (*Release) GetBlueprint
func (*Release) GetCreateTime
func (x *Release) GetCreateTime() *timestamppb.Timestampfunc (*Release) GetEtag
func (*Release) GetInputVariableDefaults
func (x *Release) GetInputVariableDefaults() []*UnitVariablefunc (*Release) GetInputVariables
func (x *Release) GetInputVariables() []*UnitVariablefunc (*Release) GetLabels
func (*Release) GetName
func (*Release) GetOutputVariables
func (x *Release) GetOutputVariables() []*UnitVariablefunc (*Release) GetReleaseRequirements
func (x *Release) GetReleaseRequirements() *Release_ReleaseRequirementsfunc (*Release) GetUid
func (*Release) GetUnitKind
func (*Release) GetUpdateTime
func (x *Release) GetUpdateTime() *timestamppb.Timestampfunc (*Release) ProtoMessage
func (*Release) ProtoMessage()func (*Release) ProtoReflect
func (x *Release) ProtoReflect() protoreflect.Messagefunc (*Release) Reset
func (x *Release) Reset()func (*Release) String
Release_ReleaseRequirements
type Release_ReleaseRequirements struct {
// Optional. A list of releases from which a unit can be upgraded to this
// one (optional). If left empty no constraints will be applied. When
// provided, unit upgrade requests to this release will check and enforce
// this constraint.
UpgradeableFromReleases []string `protobuf:"bytes,1,rep,name=upgradeable_from_releases,json=upgradeableFromReleases,proto3" json:"upgradeable_from_releases,omitempty"`
// contains filtered or unexported fields
}Set of requirements to be fulfilled on the Unit when using this Release.
func (*Release_ReleaseRequirements) Descriptor
func (*Release_ReleaseRequirements) Descriptor() ([]byte, []int)Deprecated: Use Release_ReleaseRequirements.ProtoReflect.Descriptor instead.
func (*Release_ReleaseRequirements) GetUpgradeableFromReleases
func (x *Release_ReleaseRequirements) GetUpgradeableFromReleases() []stringfunc (*Release_ReleaseRequirements) ProtoMessage
func (*Release_ReleaseRequirements) ProtoMessage()func (*Release_ReleaseRequirements) ProtoReflect
func (x *Release_ReleaseRequirements) ProtoReflect() protoreflect.Messagefunc (*Release_ReleaseRequirements) Reset
func (x *Release_ReleaseRequirements) Reset()func (*Release_ReleaseRequirements) String
func (x *Release_ReleaseRequirements) String() stringRollout
type Rollout struct {
// Identifier. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/rollout/{rollout_id}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Immutable. Name of the Release that gets rolled out to target
// Units. Required if no other type of release is specified.
Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"`
// Optional. Output only. The time when the rollout started executing. Will be
// empty if the rollout hasn't started yet.
StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Optional. Output only. The time when the rollout finished execution
// (regardless of success, failure, or cancellation). Will be empty if the
// rollout hasn't finished yet. Once set, the rollout is in terminal state and
// all the results are final.
EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Current state of the rollout.
State Rollout_RolloutState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout_RolloutState" json:"state,omitempty"`
// Output only. Human readable message indicating details about the last state
// transition.
StateMessage string `protobuf:"bytes,11,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
// Optional. Output only. The time when the rollout transitioned into its
// current state.
StateTransitionTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=state_transition_time,json=stateTransitionTime,proto3" json:"state_transition_time,omitempty"`
// Optional. Output only. The root rollout that this rollout is stemming from.
// The resource name (full URI of the resource) following the standard naming
// scheme:
//
// "projects/{project}/locations/{location}/rollouts/{rollout_id}"
RootRollout string `protobuf:"bytes,16,opt,name=root_rollout,json=rootRollout,proto3" json:"root_rollout,omitempty"`
// Optional. Output only. The direct parent rollout that this rollout is
// stemming from. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/rollouts/{rollout_id}"
ParentRollout string `protobuf:"bytes,17,opt,name=parent_rollout,json=parentRollout,proto3" json:"parent_rollout,omitempty"`
// Optional. The strategy used for executing this Rollout.
// This strategy will override whatever strategy is specified in the
// RolloutKind. If not specified on creation, the
// strategy from RolloutKind will be used.
//
// There are two supported values strategies which are used to control
// - "Google.Cloud.Simple.AllAtOnce"
// - "Google.Cloud.Simple.OneLocationAtATime"
//
// A rollout with one of these simple strategies will rollout across
// all locations defined in the targeted UnitKind's Saas Locations.
RolloutOrchestrationStrategy string `protobuf:"bytes,19,opt,name=rollout_orchestration_strategy,json=rolloutOrchestrationStrategy,proto3" json:"rollout_orchestration_strategy,omitempty"`
// Optional. CEL(https://github.com/google/cel-spec) formatted filter string
// against Unit. The filter will be applied to determine the eligible unit
// population. This filter can only reduce, but not expand the scope of the
// rollout. If not provided, the unit_filter from the RolloutKind will be
// used.
UnitFilter string `protobuf:"bytes,21,opt,name=unit_filter,json=unitFilter,proto3" json:"unit_filter,omitempty"`
// Required. Immutable. Name of the RolloutKind this rollout is stemming from
// and adhering to.
RolloutKind string `protobuf:"bytes,22,opt,name=rollout_kind,json=rolloutKind,proto3" json:"rollout_kind,omitempty"`
// Optional. Output only. Details about the progress of the rollout.
Stats *RolloutStats `protobuf:"bytes,24,opt,name=stats,proto3" json:"stats,omitempty"`
// Optional. Requested change to the execution of this rollout.
// Default RolloutControl.action is ROLLOUT_ACTION_RUN meaning
// the rollout will be executed to completion while progressing through
// all natural Rollout States (such as RUNNING -> SUCCEEDED or RUNNING ->
// FAILED). Requests can only be made when the Rollout is in a non-terminal
// state.
Control *RolloutControl `protobuf:"bytes,25,opt,name=control,proto3" json:"control,omitempty"`
// Optional. Output only. Output only snapshot of the effective unit filter at
// Rollout start time. Contains a CEL(https://github.com/google/cel-spec)
// expression consisting of a conjunction of Rollout.unit_filter and
// RolloutKind.unit_filter. This field captures the filter applied by the
// Rollout to determine the Unit population. If the associated RolloutKind's
// unit_filter is modified after the rollout is started, it will not be
// updated here.
EffectiveUnitFilter string `protobuf:"bytes,26,opt,name=effective_unit_filter,json=effectiveUnitFilter,proto3" json:"effective_unit_filter,omitempty"`
// Optional. The labels on the resource, which can be used for categorization.
// similar to Kubernetes resource labels.
Labels map[string]string `protobuf:"bytes,10401,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Annotations is an unstructured key-value map stored with a
// resource that may be set by external tools to store and retrieve arbitrary
// metadata. They are not queryable and should be preserved when modifying
// objects.
//
// More info: https://kubernetes.io/docs/user-guide/annotations
Annotations map[string]string `protobuf:"bytes,10402,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The unique identifier of the resource. UID is unique in the
// time and space for this resource within the scope of the service. It is
// typically generated by the server on successful creation of a resource
// and must not be changed. UID is used to uniquely identify resources
// with resource name reuses. This should be a UUID4.
Uid string `protobuf:"bytes,10201,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. An opaque value that uniquely identifies a version or
// generation of a resource. It can be used to confirm that the client
// and server agree on the ordering of a resource being written.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10303,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated. Any
// change to the resource made by users must refresh this value.
// Changes to a resource made by the service should refresh this value.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10304,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The timestamp when the resource was marked for deletion
// (deletion is an asynchronous operation).
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,10305,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// contains filtered or unexported fields
}Represents a single rollout execution and its results
func (*Rollout) Descriptor
Deprecated: Use Rollout.ProtoReflect.Descriptor instead.
func (*Rollout) GetAnnotations
func (*Rollout) GetControl
func (x *Rollout) GetControl() *RolloutControlfunc (*Rollout) GetCreateTime
func (x *Rollout) GetCreateTime() *timestamppb.Timestampfunc (*Rollout) GetDeleteTime
func (x *Rollout) GetDeleteTime() *timestamppb.Timestampfunc (*Rollout) GetEffectiveUnitFilter
func (*Rollout) GetEndTime
func (x *Rollout) GetEndTime() *timestamppb.Timestampfunc (*Rollout) GetEtag
func (*Rollout) GetLabels
func (*Rollout) GetName
func (*Rollout) GetParentRollout
func (*Rollout) GetRelease
func (*Rollout) GetRolloutKind
func (*Rollout) GetRolloutOrchestrationStrategy
func (*Rollout) GetRootRollout
func (*Rollout) GetStartTime
func (x *Rollout) GetStartTime() *timestamppb.Timestampfunc (*Rollout) GetState
func (x *Rollout) GetState() Rollout_RolloutStatefunc (*Rollout) GetStateMessage
func (*Rollout) GetStateTransitionTime
func (x *Rollout) GetStateTransitionTime() *timestamppb.Timestampfunc (*Rollout) GetStats
func (x *Rollout) GetStats() *RolloutStatsfunc (*Rollout) GetUid
func (*Rollout) GetUnitFilter
func (*Rollout) GetUpdateTime
func (x *Rollout) GetUpdateTime() *timestamppb.Timestampfunc (*Rollout) ProtoMessage
func (*Rollout) ProtoMessage()func (*Rollout) ProtoReflect
func (x *Rollout) ProtoReflect() protoreflect.Messagefunc (*Rollout) Reset
func (x *Rollout) Reset()func (*Rollout) String
RolloutAction
type RolloutAction int32RolloutAction indicates the action to be performed on the Rollout.
RolloutAction_ROLLOUT_ACTION_UNSPECIFIED, RolloutAction_ROLLOUT_ACTION_RUN, RolloutAction_ROLLOUT_ACTION_PAUSE, RolloutAction_ROLLOUT_ACTION_CANCEL
const (
// Unspecified action, will be treated as RUN by default.
RolloutAction_ROLLOUT_ACTION_UNSPECIFIED RolloutAction = 0
// Run the Rollout until it naturally reaches a terminal state.
// A rollout requested to run will progress through all natural Rollout
// States (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED).
// If retriable errors are encountered during the rollout, the rollout
// will paused by default and can be resumed by re-requesting this RUN
// action.
RolloutAction_ROLLOUT_ACTION_RUN RolloutAction = 1
// Pause the Rollout until it is resumed (i.e. RUN is requested).
RolloutAction_ROLLOUT_ACTION_PAUSE RolloutAction = 2
// Cancel the Rollout permanently.
RolloutAction_ROLLOUT_ACTION_CANCEL RolloutAction = 3
)func (RolloutAction) Descriptor
func (RolloutAction) Descriptor() protoreflect.EnumDescriptorfunc (RolloutAction) Enum
func (x RolloutAction) Enum() *RolloutActionfunc (RolloutAction) EnumDescriptor
func (RolloutAction) EnumDescriptor() ([]byte, []int)Deprecated: Use RolloutAction.Descriptor instead.
func (RolloutAction) Number
func (x RolloutAction) Number() protoreflect.EnumNumberfunc (RolloutAction) String
func (x RolloutAction) String() stringfunc (RolloutAction) Type
func (RolloutAction) Type() protoreflect.EnumTypeRolloutControl
type RolloutControl struct {
// Setting for the action. The setting must match the action
// e.g.: action=RUN may only set run_params or omit all parameters.
// It is an error to set a setting that is not applicable to the action.
//
// Types that are valid to be assigned to ActionParams:
//
// *RolloutControl_RunParams
ActionParams isRolloutControl_ActionParams `protobuf_oneof:"action_params"`
// Required. Action to be performed on the Rollout.
// The default behavior is to run the rollout until it naturally reaches a
// terminal state.
Action RolloutAction `protobuf:"varint,1,opt,name=action,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction" json:"action,omitempty"`
// contains filtered or unexported fields
}RolloutControl provides a way to request a change to the execution of a Rollout by pausing or canceling it.
func (*RolloutControl) Descriptor
func (*RolloutControl) Descriptor() ([]byte, []int)Deprecated: Use RolloutControl.ProtoReflect.Descriptor instead.
func (*RolloutControl) GetAction
func (x *RolloutControl) GetAction() RolloutActionfunc (*RolloutControl) GetActionParams
func (x *RolloutControl) GetActionParams() isRolloutControl_ActionParamsfunc (*RolloutControl) GetRunParams
func (x *RolloutControl) GetRunParams() *RolloutControl_RunRolloutActionParamsfunc (*RolloutControl) ProtoMessage
func (*RolloutControl) ProtoMessage()func (*RolloutControl) ProtoReflect
func (x *RolloutControl) ProtoReflect() protoreflect.Messagefunc (*RolloutControl) Reset
func (x *RolloutControl) Reset()func (*RolloutControl) String
func (x *RolloutControl) String() stringRolloutControl_RunParams
type RolloutControl_RunParams struct {
// Optional. Parameters for the RUN action. It is an error to specify this
// if the RolloutAction is not set to RUN. By default, the rollout will
// retry failed operations when resumed.
RunParams *RolloutControl_RunRolloutActionParams `protobuf:"bytes,2,opt,name=run_params,json=runParams,proto3,oneof"`
}RolloutControl_RunRolloutActionParams
type RolloutControl_RunRolloutActionParams struct {
// Required. If true, the rollout will retry failed operations when resumed.
// This is applicable only the current state of the Rollout is PAUSED and
// the requested action is RUN.
RetryFailedOperations bool `protobuf:"varint,1,opt,name=retry_failed_operations,json=retryFailedOperations,proto3" json:"retry_failed_operations,omitempty"`
// contains filtered or unexported fields
}Parameters for the RUN action controlling the behavior of the rollout when it is resumed from a PAUSED state.
func (*RolloutControl_RunRolloutActionParams) Descriptor
func (*RolloutControl_RunRolloutActionParams) Descriptor() ([]byte, []int)Deprecated: Use RolloutControl_RunRolloutActionParams.ProtoReflect.Descriptor instead.
func (*RolloutControl_RunRolloutActionParams) GetRetryFailedOperations
func (x *RolloutControl_RunRolloutActionParams) GetRetryFailedOperations() boolfunc (*RolloutControl_RunRolloutActionParams) ProtoMessage
func (*RolloutControl_RunRolloutActionParams) ProtoMessage()func (*RolloutControl_RunRolloutActionParams) ProtoReflect
func (x *RolloutControl_RunRolloutActionParams) ProtoReflect() protoreflect.Messagefunc (*RolloutControl_RunRolloutActionParams) Reset
func (x *RolloutControl_RunRolloutActionParams) Reset()func (*RolloutControl_RunRolloutActionParams) String
func (x *RolloutControl_RunRolloutActionParams) String() stringRolloutKind
type RolloutKind struct {
// Identifier. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. UnitKind that this rollout kind corresponds to.
// Rollouts stemming from this rollout kind will target the units of this unit
// kind. In other words, this defines the population of target units to be
// upgraded by rollouts.
UnitKind string `protobuf:"bytes,2,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"`
// Optional. The strategy used for executing a Rollout. This is a required
// field.
//
// There are two supported values strategies which are used to control
// - "Google.Cloud.Simple.AllAtOnce"
// - "Google.Cloud.Simple.OneLocationAtATime"
//
// A rollout with one of these simple strategies will rollout across
// all locations defined in the associated UnitKind's Saas Locations.
RolloutOrchestrationStrategy string `protobuf:"bytes,3,opt,name=rollout_orchestration_strategy,json=rolloutOrchestrationStrategy,proto3" json:"rollout_orchestration_strategy,omitempty"`
// Optional. CEL(https://github.com/google/cel-spec) formatted filter string
// against Unit. The filter will be applied to determine the eligible unit
// population. This filter can only reduce, but not expand the scope of the
// rollout.
UnitFilter string `protobuf:"bytes,5,opt,name=unit_filter,json=unitFilter,proto3" json:"unit_filter,omitempty"`
// Optional. The config for updating the unit kind. By default, the unit kind
// will be updated on the rollout start.
UpdateUnitKindStrategy RolloutKind_UpdateUnitKindStrategy `protobuf:"varint,6,opt,name=update_unit_kind_strategy,json=updateUnitKindStrategy,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind_UpdateUnitKindStrategy" json:"update_unit_kind_strategy,omitempty"`
// Optional. The configuration for error budget. If the number of failed units
// exceeds max(allowed_count, allowed_ratio * total_units), the rollout will
// be paused. If not set, all units will be attempted to be updated regardless
// of the number of failures encountered.
ErrorBudget *ErrorBudget `protobuf:"bytes,7,opt,name=error_budget,json=errorBudget,proto3,oneof" json:"error_budget,omitempty"`
// Optional. The labels on the resource, which can be used for categorization.
// similar to Kubernetes resource labels.
Labels map[string]string `protobuf:"bytes,10401,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Annotations is an unstructured key-value map stored with a
// resource that may be set by external tools to store and retrieve arbitrary
// metadata. They are not queryable and should be preserved when modifying
// objects.
//
// More info: https://kubernetes.io/docs/user-guide/annotations
Annotations map[string]string `protobuf:"bytes,10402,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The unique identifier of the resource. UID is unique in the
// time and space for this resource within the scope of the service. It is
// typically generated by the server on successful creation of a resource
// and must not be changed. UID is used to uniquely identify resources
// with resource name reuses. This should be a UUID4.
Uid string `protobuf:"bytes,10201,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. An opaque value that uniquely identifies a version or
// generation of a resource. It can be used to confirm that the client
// and server agree on the ordering of a resource being written.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10303,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated. Any
// change to the resource made by users must refresh this value.
// Changes to a resource made by the service should refresh this value.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10304,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}An object that describes various settings of Rollout execution. Includes built-in policies across GCP and GDC, and customizable policies.
func (*RolloutKind) Descriptor
func (*RolloutKind) Descriptor() ([]byte, []int)Deprecated: Use RolloutKind.ProtoReflect.Descriptor instead.
func (*RolloutKind) GetAnnotations
func (x *RolloutKind) GetAnnotations() map[string]stringfunc (*RolloutKind) GetCreateTime
func (x *RolloutKind) GetCreateTime() *timestamppb.Timestampfunc (*RolloutKind) GetErrorBudget
func (x *RolloutKind) GetErrorBudget() *ErrorBudgetfunc (*RolloutKind) GetEtag
func (x *RolloutKind) GetEtag() stringfunc (*RolloutKind) GetLabels
func (x *RolloutKind) GetLabels() map[string]stringfunc (*RolloutKind) GetName
func (x *RolloutKind) GetName() stringfunc (*RolloutKind) GetRolloutOrchestrationStrategy
func (x *RolloutKind) GetRolloutOrchestrationStrategy() stringfunc (*RolloutKind) GetUid
func (x *RolloutKind) GetUid() stringfunc (*RolloutKind) GetUnitFilter
func (x *RolloutKind) GetUnitFilter() stringfunc (*RolloutKind) GetUnitKind
func (x *RolloutKind) GetUnitKind() stringfunc (*RolloutKind) GetUpdateTime
func (x *RolloutKind) GetUpdateTime() *timestamppb.Timestampfunc (*RolloutKind) GetUpdateUnitKindStrategy
func (x *RolloutKind) GetUpdateUnitKindStrategy() RolloutKind_UpdateUnitKindStrategyfunc (*RolloutKind) ProtoMessage
func (*RolloutKind) ProtoMessage()func (*RolloutKind) ProtoReflect
func (x *RolloutKind) ProtoReflect() protoreflect.Messagefunc (*RolloutKind) Reset
func (x *RolloutKind) Reset()func (*RolloutKind) String
func (x *RolloutKind) String() stringRolloutKind_UpdateUnitKindStrategy
type RolloutKind_UpdateUnitKindStrategy int32RolloutKind_UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED, RolloutKind_UPDATE_UNIT_KIND_STRATEGY_ON_START, RolloutKind_UPDATE_UNIT_KIND_STRATEGY_NEVER
const (
// Strategy unspecified.
RolloutKind_UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED RolloutKind_UpdateUnitKindStrategy = 0
// Update the unit kind strategy on the rollout start.
RolloutKind_UPDATE_UNIT_KIND_STRATEGY_ON_START RolloutKind_UpdateUnitKindStrategy = 1
// Never update the unit kind.
RolloutKind_UPDATE_UNIT_KIND_STRATEGY_NEVER RolloutKind_UpdateUnitKindStrategy = 2
)func (RolloutKind_UpdateUnitKindStrategy) Descriptor
func (RolloutKind_UpdateUnitKindStrategy) Descriptor() protoreflect.EnumDescriptorfunc (RolloutKind_UpdateUnitKindStrategy) Enum
func (x RolloutKind_UpdateUnitKindStrategy) Enum() *RolloutKind_UpdateUnitKindStrategyfunc (RolloutKind_UpdateUnitKindStrategy) EnumDescriptor
func (RolloutKind_UpdateUnitKindStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use RolloutKind_UpdateUnitKindStrategy.Descriptor instead.
func (RolloutKind_UpdateUnitKindStrategy) Number
func (x RolloutKind_UpdateUnitKindStrategy) Number() protoreflect.EnumNumberfunc (RolloutKind_UpdateUnitKindStrategy) String
func (x RolloutKind_UpdateUnitKindStrategy) String() stringfunc (RolloutKind_UpdateUnitKindStrategy) Type
func (RolloutKind_UpdateUnitKindStrategy) Type() protoreflect.EnumTypeRolloutStats
type RolloutStats struct {
// Optional. Output only. Unordered list. A breakdown of the progress of
// operations triggered by the rollout. Provides a count of Operations by
// their state. This can be used to determine the number of units which have
// been updated, or are scheduled to be updated.
//
// There will be at most one entry per group.
// Possible values for operation groups are:
// - "SCHEDULED"
// - "PENDING"
// - "RUNNING"
// - "SUCCEEDED"
// - "FAILED"
// - "CANCELLED"
OperationsByState []*Aggregate `protobuf:"bytes,2,rep,name=operations_by_state,json=operationsByState,proto3" json:"operations_by_state,omitempty"`
// Optional. Output only. Estimated number of units based. The estimation is
// computed upon creation of the rollout.
EstimatedTotalUnitCount *int64 `protobuf:"varint,3,opt,name=estimated_total_unit_count,json=estimatedTotalUnitCount,proto3,oneof" json:"estimated_total_unit_count,omitempty"`
// contains filtered or unexported fields
}RolloutStats contains information about the progress of a rollout.
func (*RolloutStats) Descriptor
func (*RolloutStats) Descriptor() ([]byte, []int)Deprecated: Use RolloutStats.ProtoReflect.Descriptor instead.
func (*RolloutStats) GetEstimatedTotalUnitCount
func (x *RolloutStats) GetEstimatedTotalUnitCount() int64func (*RolloutStats) GetOperationsByState
func (x *RolloutStats) GetOperationsByState() []*Aggregatefunc (*RolloutStats) ProtoMessage
func (*RolloutStats) ProtoMessage()func (*RolloutStats) ProtoReflect
func (x *RolloutStats) ProtoReflect() protoreflect.Messagefunc (*RolloutStats) Reset
func (x *RolloutStats) Reset()func (*RolloutStats) String
func (x *RolloutStats) String() stringRollout_RolloutState
type Rollout_RolloutState int32The current state of the rollout.
Rollout_ROLLOUT_STATE_UNSPECIFIED, Rollout_ROLLOUT_STATE_RUNNING, Rollout_ROLLOUT_STATE_PAUSED, Rollout_ROLLOUT_STATE_SUCCEEDED, Rollout_ROLLOUT_STATE_FAILED, Rollout_ROLLOUT_STATE_CANCELLED, Rollout_ROLLOUT_STATE_WAITING, Rollout_ROLLOUT_STATE_CANCELLING, Rollout_ROLLOUT_STATE_RESUMING, Rollout_ROLLOUT_STATE_PAUSING
const (
// Unspecified state.
Rollout_ROLLOUT_STATE_UNSPECIFIED Rollout_RolloutState = 0
// Rollout is in progress.
Rollout_ROLLOUT_STATE_RUNNING Rollout_RolloutState = 1
// Rollout has been paused.
Rollout_ROLLOUT_STATE_PAUSED Rollout_RolloutState = 2
// Rollout completed successfully.
Rollout_ROLLOUT_STATE_SUCCEEDED Rollout_RolloutState = 3
// Rollout has failed.
Rollout_ROLLOUT_STATE_FAILED Rollout_RolloutState = 4
// Rollout has been canceled.
Rollout_ROLLOUT_STATE_CANCELLED Rollout_RolloutState = 5
// Rollout is waiting for some condition to be met before starting.
Rollout_ROLLOUT_STATE_WAITING Rollout_RolloutState = 6
// Rollout is being canceled.
Rollout_ROLLOUT_STATE_CANCELLING Rollout_RolloutState = 7
// Rollout is being resumed.
Rollout_ROLLOUT_STATE_RESUMING Rollout_RolloutState = 8
// Rollout is being paused.
Rollout_ROLLOUT_STATE_PAUSING Rollout_RolloutState = 9
)func (Rollout_RolloutState) Descriptor
func (Rollout_RolloutState) Descriptor() protoreflect.EnumDescriptorfunc (Rollout_RolloutState) Enum
func (x Rollout_RolloutState) Enum() *Rollout_RolloutStatefunc (Rollout_RolloutState) EnumDescriptor
func (Rollout_RolloutState) EnumDescriptor() ([]byte, []int)Deprecated: Use Rollout_RolloutState.Descriptor instead.
func (Rollout_RolloutState) Number
func (x Rollout_RolloutState) Number() protoreflect.EnumNumberfunc (Rollout_RolloutState) String
func (x Rollout_RolloutState) String() stringfunc (Rollout_RolloutState) Type
func (Rollout_RolloutState) Type() protoreflect.EnumTypeSaas
type Saas struct {
// Identifier. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/saas/{saas}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. List of locations that the service is available in. Rollout
// refers to the list to generate a rollout plan.
Locations []*Location `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"`
// Reference to composite ApplicationTemplate.
// When specified, the template components will be imported into their
// equivalent UnitKind, Release and Blueprint resources.
// Deleted references will not delete imported resources.
// Should only be specified on source regions, and be unspecified on replica
// regions.
ApplicationTemplate *CompositeRef `protobuf:"bytes,5,opt,name=application_template,json=applicationTemplate,proto3" json:"application_template,omitempty"`
// Output only. Name of repository in Artifact Registry for system-generated
// Blueprints, eg. Blueprints of imported ApplicationTemplates.
BlueprintRepo string `protobuf:"bytes,6,opt,name=blueprint_repo,json=blueprintRepo,proto3" json:"blueprint_repo,omitempty"`
// Output only. State of the Saas.
// It is always in ACTIVE state if the application_template is empty.
State Saas_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas_State" json:"state,omitempty"`
// Output only. A set of conditions which indicate the various conditions this
// resource can have.
Conditions []*SaasCondition `protobuf:"bytes,8,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Output only. If the state is FAILED, the corresponding error code and
// message. Defaults to code=OK for all other states.
Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
// Optional. The labels on the resource, which can be used for categorization.
// similar to Kubernetes resource labels.
Labels map[string]string `protobuf:"bytes,10401,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Annotations is an unstructured key-value map stored with a
// resource that may be set by external tools to store and retrieve arbitrary
// metadata. They are not queryable and should be preserved when modifying
// objects.
//
// More info: https://kubernetes.io/docs/user-guide/annotations
Annotations map[string]string `protobuf:"bytes,10402,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The unique identifier of the resource. UID is unique in the
// time and space for this resource within the scope of the service. It is
// typically generated by the server on successful creation of a resource
// and must not be changed. UID is used to uniquely identify resources
// with resource name reuses. This should be a UUID4.
Uid string `protobuf:"bytes,10201,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. An opaque value that uniquely identifies a version or
// generation of a resource. It can be used to confirm that the client
// and server agree on the ordering of a resource being written.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10303,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated. Any
// change to the resource made by users must refresh this value.
// Changes to a resource made by the service should refresh this value.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10304,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}Saas is a representation of a SaaS service managed by the Producer.
func (*Saas) Descriptor
Deprecated: Use Saas.ProtoReflect.Descriptor instead.
func (*Saas) GetAnnotations
func (*Saas) GetApplicationTemplate
func (x *Saas) GetApplicationTemplate() *CompositeReffunc (*Saas) GetBlueprintRepo
func (*Saas) GetConditions
func (x *Saas) GetConditions() []*SaasConditionfunc (*Saas) GetCreateTime
func (x *Saas) GetCreateTime() *timestamppb.Timestampfunc (*Saas) GetError
func (*Saas) GetEtag
func (*Saas) GetLabels
func (*Saas) GetLocations
func (*Saas) GetName
func (*Saas) GetState
func (x *Saas) GetState() Saas_Statefunc (*Saas) GetUid
func (*Saas) GetUpdateTime
func (x *Saas) GetUpdateTime() *timestamppb.Timestampfunc (*Saas) ProtoMessage
func (*Saas) ProtoMessage()func (*Saas) ProtoReflect
func (x *Saas) ProtoReflect() protoreflect.Messagefunc (*Saas) Reset
func (x *Saas) Reset()func (*Saas) String
SaasCondition
type SaasCondition struct {
// Required. Status of the condition.
Status SaasCondition_Status `protobuf:"varint,1,opt,name=status,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition_Status" json:"status,omitempty"`
// Required. Type of the condition.
Type SaasCondition_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition_Type" json:"type,omitempty"`
// Required. Last time the condition transited from one status to another.
LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"`
// Required. Human readable message indicating details about the last
// transition.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// Required. Brief reason for the condition's last transition.
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}SaasCondition describes the status of a Saas.
func (*SaasCondition) Descriptor
func (*SaasCondition) Descriptor() ([]byte, []int)Deprecated: Use SaasCondition.ProtoReflect.Descriptor instead.
func (*SaasCondition) GetLastTransitionTime
func (x *SaasCondition) GetLastTransitionTime() *timestamppb.Timestampfunc (*SaasCondition) GetMessage
func (x *SaasCondition) GetMessage() stringfunc (*SaasCondition) GetReason
func (x *SaasCondition) GetReason() stringfunc (*SaasCondition) GetStatus
func (x *SaasCondition) GetStatus() SaasCondition_Statusfunc (*SaasCondition) GetType
func (x *SaasCondition) GetType() SaasCondition_Typefunc (*SaasCondition) ProtoMessage
func (*SaasCondition) ProtoMessage()func (*SaasCondition) ProtoReflect
func (x *SaasCondition) ProtoReflect() protoreflect.Messagefunc (*SaasCondition) Reset
func (x *SaasCondition) Reset()func (*SaasCondition) String
func (x *SaasCondition) String() stringSaasCondition_Status
type SaasCondition_Status int32Enumeration of condition statuses.
SaasCondition_STATUS_UNSPECIFIED, SaasCondition_STATUS_UNKNOWN, SaasCondition_STATUS_TRUE, SaasCondition_STATUS_FALSE
const (
// Condition status is unspecified.
SaasCondition_STATUS_UNSPECIFIED SaasCondition_Status = 0
// Condition is unknown.
SaasCondition_STATUS_UNKNOWN SaasCondition_Status = 1
// Condition is true.
SaasCondition_STATUS_TRUE SaasCondition_Status = 2
// Condition is false.
SaasCondition_STATUS_FALSE SaasCondition_Status = 3
)func (SaasCondition_Status) Descriptor
func (SaasCondition_Status) Descriptor() protoreflect.EnumDescriptorfunc (SaasCondition_Status) Enum
func (x SaasCondition_Status) Enum() *SaasCondition_Statusfunc (SaasCondition_Status) EnumDescriptor
func (SaasCondition_Status) EnumDescriptor() ([]byte, []int)Deprecated: Use SaasCondition_Status.Descriptor instead.
func (SaasCondition_Status) Number
func (x SaasCondition_Status) Number() protoreflect.EnumNumberfunc (SaasCondition_Status) String
func (x SaasCondition_Status) String() stringfunc (SaasCondition_Status) Type
func (SaasCondition_Status) Type() protoreflect.EnumTypeSaasCondition_Type
type SaasCondition_Type int32Enumeration of condition types.
SaasCondition_TYPE_UNSPECIFIED, SaasCondition_TYPE_READY, SaasCondition_TYPE_SYNCHRONIZED
const (
// Condition type is unspecified.
SaasCondition_TYPE_UNSPECIFIED SaasCondition_Type = 0
// Condition type is ready.
SaasCondition_TYPE_READY SaasCondition_Type = 1
// Condition type is synchronized.
SaasCondition_TYPE_SYNCHRONIZED SaasCondition_Type = 2
)func (SaasCondition_Type) Descriptor
func (SaasCondition_Type) Descriptor() protoreflect.EnumDescriptorfunc (SaasCondition_Type) Enum
func (x SaasCondition_Type) Enum() *SaasCondition_Typefunc (SaasCondition_Type) EnumDescriptor
func (SaasCondition_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use SaasCondition_Type.Descriptor instead.
func (SaasCondition_Type) Number
func (x SaasCondition_Type) Number() protoreflect.EnumNumberfunc (SaasCondition_Type) String
func (x SaasCondition_Type) String() stringfunc (SaasCondition_Type) Type
func (SaasCondition_Type) Type() protoreflect.EnumTypeSaasDeploymentsClient
type SaasDeploymentsClient interface {
// Retrieve a collection of saas.
ListSaas(ctx context.Context, in *ListSaasRequest, opts ...grpc.CallOption) (*ListSaasResponse, error)
// Retrieve a single saas.
GetSaas(ctx context.Context, in *GetSaasRequest, opts ...grpc.CallOption) (*Saas, error)
// Create a new saas.
CreateSaas(ctx context.Context, in *CreateSaasRequest, opts ...grpc.CallOption) (*Saas, error)
// Update a single saas.
UpdateSaas(ctx context.Context, in *UpdateSaasRequest, opts ...grpc.CallOption) (*Saas, error)
// Delete a single saas.
DeleteSaas(ctx context.Context, in *DeleteSaasRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Retrieve a collection of tenants.
ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error)
// Retrieve a single tenant.
GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
// Create a new tenant.
CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
// Update a single tenant.
UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
// Delete a single tenant.
DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Retrieve a collection of unit kinds.
ListUnitKinds(ctx context.Context, in *ListUnitKindsRequest, opts ...grpc.CallOption) (*ListUnitKindsResponse, error)
// Retrieve a single unit kind.
GetUnitKind(ctx context.Context, in *GetUnitKindRequest, opts ...grpc.CallOption) (*UnitKind, error)
// Create a new unit kind.
CreateUnitKind(ctx context.Context, in *CreateUnitKindRequest, opts ...grpc.CallOption) (*UnitKind, error)
// Update a single unit kind.
UpdateUnitKind(ctx context.Context, in *UpdateUnitKindRequest, opts ...grpc.CallOption) (*UnitKind, error)
// Delete a single unit kind.
DeleteUnitKind(ctx context.Context, in *DeleteUnitKindRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Retrieve a collection of units.
ListUnits(ctx context.Context, in *ListUnitsRequest, opts ...grpc.CallOption) (*ListUnitsResponse, error)
// Retrieve a single unit.
GetUnit(ctx context.Context, in *GetUnitRequest, opts ...grpc.CallOption) (*Unit, error)
// Create a new unit.
CreateUnit(ctx context.Context, in *CreateUnitRequest, opts ...grpc.CallOption) (*Unit, error)
// Update a single unit.
UpdateUnit(ctx context.Context, in *UpdateUnitRequest, opts ...grpc.CallOption) (*Unit, error)
// Delete a single unit.
DeleteUnit(ctx context.Context, in *DeleteUnitRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Retrieve a collection of unit operations.
ListUnitOperations(ctx context.Context, in *ListUnitOperationsRequest, opts ...grpc.CallOption) (*ListUnitOperationsResponse, error)
// Retrieve a single unit operation.
GetUnitOperation(ctx context.Context, in *GetUnitOperationRequest, opts ...grpc.CallOption) (*UnitOperation, error)
// Create a new unit operation.
CreateUnitOperation(ctx context.Context, in *CreateUnitOperationRequest, opts ...grpc.CallOption) (*UnitOperation, error)
// Update a single unit operation.
UpdateUnitOperation(ctx context.Context, in *UpdateUnitOperationRequest, opts ...grpc.CallOption) (*UnitOperation, error)
// Delete a single unit operation.
DeleteUnitOperation(ctx context.Context, in *DeleteUnitOperationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Retrieve a collection of releases.
ListReleases(ctx context.Context, in *ListReleasesRequest, opts ...grpc.CallOption) (*ListReleasesResponse, error)
// Retrieve a single release.
GetRelease(ctx context.Context, in *GetReleaseRequest, opts ...grpc.CallOption) (*Release, error)
// Create a new release.
CreateRelease(ctx context.Context, in *CreateReleaseRequest, opts ...grpc.CallOption) (*Release, error)
// Update a single release.
UpdateRelease(ctx context.Context, in *UpdateReleaseRequest, opts ...grpc.CallOption) (*Release, error)
// Delete a single release.
DeleteRelease(ctx context.Context, in *DeleteReleaseRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}SaasDeploymentsClient is the client API for SaasDeployments service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSaasDeploymentsClient
func NewSaasDeploymentsClient(cc grpc.ClientConnInterface) SaasDeploymentsClientSaasDeploymentsServer
type SaasDeploymentsServer interface {
// Retrieve a collection of saas.
ListSaas(context.Context, *ListSaasRequest) (*ListSaasResponse, error)
// Retrieve a single saas.
GetSaas(context.Context, *GetSaasRequest) (*Saas, error)
// Create a new saas.
CreateSaas(context.Context, *CreateSaasRequest) (*Saas, error)
// Update a single saas.
UpdateSaas(context.Context, *UpdateSaasRequest) (*Saas, error)
// Delete a single saas.
DeleteSaas(context.Context, *DeleteSaasRequest) (*emptypb.Empty, error)
// Retrieve a collection of tenants.
ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
// Retrieve a single tenant.
GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)
// Create a new tenant.
CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)
// Update a single tenant.
UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error)
// Delete a single tenant.
DeleteTenant(context.Context, *DeleteTenantRequest) (*emptypb.Empty, error)
// Retrieve a collection of unit kinds.
ListUnitKinds(context.Context, *ListUnitKindsRequest) (*ListUnitKindsResponse, error)
// Retrieve a single unit kind.
GetUnitKind(context.Context, *GetUnitKindRequest) (*UnitKind, error)
// Create a new unit kind.
CreateUnitKind(context.Context, *CreateUnitKindRequest) (*UnitKind, error)
// Update a single unit kind.
UpdateUnitKind(context.Context, *UpdateUnitKindRequest) (*UnitKind, error)
// Delete a single unit kind.
DeleteUnitKind(context.Context, *DeleteUnitKindRequest) (*emptypb.Empty, error)
// Retrieve a collection of units.
ListUnits(context.Context, *ListUnitsRequest) (*ListUnitsResponse, error)
// Retrieve a single unit.
GetUnit(context.Context, *GetUnitRequest) (*Unit, error)
// Create a new unit.
CreateUnit(context.Context, *CreateUnitRequest) (*Unit, error)
// Update a single unit.
UpdateUnit(context.Context, *UpdateUnitRequest) (*Unit, error)
// Delete a single unit.
DeleteUnit(context.Context, *DeleteUnitRequest) (*emptypb.Empty, error)
// Retrieve a collection of unit operations.
ListUnitOperations(context.Context, *ListUnitOperationsRequest) (*ListUnitOperationsResponse, error)
// Retrieve a single unit operation.
GetUnitOperation(context.Context, *GetUnitOperationRequest) (*UnitOperation, error)
// Create a new unit operation.
CreateUnitOperation(context.Context, *CreateUnitOperationRequest) (*UnitOperation, error)
// Update a single unit operation.
UpdateUnitOperation(context.Context, *UpdateUnitOperationRequest) (*UnitOperation, error)
// Delete a single unit operation.
DeleteUnitOperation(context.Context, *DeleteUnitOperationRequest) (*emptypb.Empty, error)
// Retrieve a collection of releases.
ListReleases(context.Context, *ListReleasesRequest) (*ListReleasesResponse, error)
// Retrieve a single release.
GetRelease(context.Context, *GetReleaseRequest) (*Release, error)
// Create a new release.
CreateRelease(context.Context, *CreateReleaseRequest) (*Release, error)
// Update a single release.
UpdateRelease(context.Context, *UpdateReleaseRequest) (*Release, error)
// Delete a single release.
DeleteRelease(context.Context, *DeleteReleaseRequest) (*emptypb.Empty, error)
}SaasDeploymentsServer is the server API for SaasDeployments service. All implementations should embed UnimplementedSaasDeploymentsServer for forward compatibility
SaasRolloutsClient
type SaasRolloutsClient interface {
// Retrieve a collection of rollouts.
ListRollouts(ctx context.Context, in *ListRolloutsRequest, opts ...grpc.CallOption) (*ListRolloutsResponse, error)
// Retrieve a single rollout.
GetRollout(ctx context.Context, in *GetRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
// Create a new rollout.
CreateRollout(ctx context.Context, in *CreateRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
// Update a single rollout.
UpdateRollout(ctx context.Context, in *UpdateRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
// Delete a single rollout.
DeleteRollout(ctx context.Context, in *DeleteRolloutRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Retrieve a collection of rollout kinds.
ListRolloutKinds(ctx context.Context, in *ListRolloutKindsRequest, opts ...grpc.CallOption) (*ListRolloutKindsResponse, error)
// Retrieve a single rollout kind.
GetRolloutKind(ctx context.Context, in *GetRolloutKindRequest, opts ...grpc.CallOption) (*RolloutKind, error)
// Create a new rollout kind.
CreateRolloutKind(ctx context.Context, in *CreateRolloutKindRequest, opts ...grpc.CallOption) (*RolloutKind, error)
// Update a single rollout kind.
UpdateRolloutKind(ctx context.Context, in *UpdateRolloutKindRequest, opts ...grpc.CallOption) (*RolloutKind, error)
// Delete a single rollout kind.
DeleteRolloutKind(ctx context.Context, in *DeleteRolloutKindRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}SaasRolloutsClient is the client API for SaasRollouts service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSaasRolloutsClient
func NewSaasRolloutsClient(cc grpc.ClientConnInterface) SaasRolloutsClientSaasRolloutsServer
type SaasRolloutsServer interface {
// Retrieve a collection of rollouts.
ListRollouts(context.Context, *ListRolloutsRequest) (*ListRolloutsResponse, error)
// Retrieve a single rollout.
GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error)
// Create a new rollout.
CreateRollout(context.Context, *CreateRolloutRequest) (*Rollout, error)
// Update a single rollout.
UpdateRollout(context.Context, *UpdateRolloutRequest) (*Rollout, error)
// Delete a single rollout.
DeleteRollout(context.Context, *DeleteRolloutRequest) (*emptypb.Empty, error)
// Retrieve a collection of rollout kinds.
ListRolloutKinds(context.Context, *ListRolloutKindsRequest) (*ListRolloutKindsResponse, error)
// Retrieve a single rollout kind.
GetRolloutKind(context.Context, *GetRolloutKindRequest) (*RolloutKind, error)
// Create a new rollout kind.
CreateRolloutKind(context.Context, *CreateRolloutKindRequest) (*RolloutKind, error)
// Update a single rollout kind.
UpdateRolloutKind(context.Context, *UpdateRolloutKindRequest) (*RolloutKind, error)
// Delete a single rollout kind.
DeleteRolloutKind(context.Context, *DeleteRolloutKindRequest) (*emptypb.Empty, error)
}SaasRolloutsServer is the server API for SaasRollouts service. All implementations should embed UnimplementedSaasRolloutsServer for forward compatibility
Saas_State
type Saas_State int32State of the Saas.
Saas_STATE_TYPE_UNSPECIFIED, Saas_STATE_ACTIVE, Saas_STATE_RUNNING, Saas_STATE_FAILED, Saas_ACTIVE, Saas_RUNNING, Saas_FAILED
const (
// State type is unspecified.
Saas_STATE_TYPE_UNSPECIFIED Saas_State = 0
// The Saas is ready
Saas_STATE_ACTIVE Saas_State = 1
// In the process of importing, synchronizing or replicating
// ApplicationTemplates
Saas_STATE_RUNNING Saas_State = 2
// Failure during process of importing, synchronizing or replicating
// ApplicationTemplate processing
Saas_STATE_FAILED Saas_State = 3
// Deprecated: Use STATE_ACTIVE.
//
// Deprecated: Marked as deprecated in google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto.
Saas_ACTIVE Saas_State = 1
// Deprecated: Use STATE_RUNNING.
//
// Deprecated: Marked as deprecated in google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto.
Saas_RUNNING Saas_State = 2
// Deprecated: Use STATE_FAILED.
//
// Deprecated: Marked as deprecated in google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto.
Saas_FAILED Saas_State = 3
)func (Saas_State) Descriptor
func (Saas_State) Descriptor() protoreflect.EnumDescriptorfunc (Saas_State) Enum
func (x Saas_State) Enum() *Saas_Statefunc (Saas_State) EnumDescriptor
func (Saas_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Saas_State.Descriptor instead.
func (Saas_State) Number
func (x Saas_State) Number() protoreflect.EnumNumberfunc (Saas_State) String
func (x Saas_State) String() stringfunc (Saas_State) Type
func (Saas_State) Type() protoreflect.EnumTypeSchedule
type Schedule struct {
// Optional. Start of operation. If not set, will be set to the start of the
// next window. (optional)
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// contains filtered or unexported fields
}A time specification to schedule the maintenance.
func (*Schedule) Descriptor
Deprecated: Use Schedule.ProtoReflect.Descriptor instead.
func (*Schedule) GetStartTime
func (x *Schedule) GetStartTime() *timestamppb.Timestampfunc (*Schedule) ProtoMessage
func (*Schedule) ProtoMessage()func (*Schedule) ProtoReflect
func (x *Schedule) ProtoReflect() protoreflect.Messagefunc (*Schedule) Reset
func (x *Schedule) Reset()func (*Schedule) String
Tenant
type Tenant struct {
// Identifier. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/tenants/{tenant}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Immutable. A reference to the consumer resource this SaaS Tenant
// is representing.
//
// The relationship with a consumer resource can be used by App Lifecycle
// Manager for retrieving consumer-defined settings and policies such as
// maintenance policies (using Unified Maintenance Policy API).
ConsumerResource string `protobuf:"bytes,2,opt,name=consumer_resource,json=consumerResource,proto3" json:"consumer_resource,omitempty"`
// Required. Immutable. A reference to the Saas that defines the product
// (managed service) that the producer wants to manage with App Lifecycle
// Manager. Part of the App Lifecycle Manager common data model.
Saas string `protobuf:"bytes,3,opt,name=saas,proto3" json:"saas,omitempty"`
// Optional. The labels on the resource, which can be used for categorization.
// similar to Kubernetes resource labels.
Labels map[string]string `protobuf:"bytes,10401,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Annotations is an unstructured key-value map stored with a
// resource that may be set by external tools to store and retrieve arbitrary
// metadata. They are not queryable and should be preserved when modifying
// objects.
//
// More info: https://kubernetes.io/docs/user-guide/annotations
Annotations map[string]string `protobuf:"bytes,10402,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The unique identifier of the resource. UID is unique in the
// time and space for this resource within the scope of the service. It is
// typically generated by the server on successful creation of a resource
// and must not be changed. UID is used to uniquely identify resources
// with resource name reuses. This should be a UUID4.
Uid string `protobuf:"bytes,10201,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. An opaque value that uniquely identifies a version or
// generation of a resource. It can be used to confirm that the client
// and server agree on the ordering of a resource being written.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10303,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated. Any
// change to the resource made by users must refresh this value.
// Changes to a resource made by the service should refresh this value.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10304,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}Tenant represents the service producer side of an instance of the service created based on a request from a consumer. In a typical scenario a Tenant has a one-to-one mapping with a resource given out to a service consumer.
Example:
tenant:
name: "projects/svc1/locations/loc/tenants/inst-068afff8"
consumer_resource: "projects/gshoe/locations/loc/shoes/black-shoe"
func (*Tenant) Descriptor
Deprecated: Use Tenant.ProtoReflect.Descriptor instead.
func (*Tenant) GetAnnotations
func (*Tenant) GetConsumerResource
func (*Tenant) GetCreateTime
func (x *Tenant) GetCreateTime() *timestamppb.Timestampfunc (*Tenant) GetEtag
func (*Tenant) GetLabels
func (*Tenant) GetName
func (*Tenant) GetSaas
func (*Tenant) GetUid
func (*Tenant) GetUpdateTime
func (x *Tenant) GetUpdateTime() *timestamppb.Timestampfunc (*Tenant) ProtoMessage
func (*Tenant) ProtoMessage()func (*Tenant) ProtoReflect
func (x *Tenant) ProtoReflect() protoreflect.Messagefunc (*Tenant) Reset
func (x *Tenant) Reset()func (*Tenant) String
ToMapping
type ToMapping struct {
// Required. Alias of the dependency that the inputVariable will pass its
// value to
Dependency string `protobuf:"bytes,1,opt,name=dependency,proto3" json:"dependency,omitempty"`
// Required. Name of the inputVariable on the dependency
InputVariable string `protobuf:"bytes,2,opt,name=input_variable,json=inputVariable,proto3" json:"input_variable,omitempty"`
// Optional. Tells App Lifecycle Manager if this mapping should be used during
// lookup or not
IgnoreForLookup bool `protobuf:"varint,3,opt,name=ignore_for_lookup,json=ignoreForLookup,proto3" json:"ignore_for_lookup,omitempty"`
// contains filtered or unexported fields
}Input variables whose values will be passed on to dependencies
func (*ToMapping) Descriptor
Deprecated: Use ToMapping.ProtoReflect.Descriptor instead.
func (*ToMapping) GetDependency
func (*ToMapping) GetIgnoreForLookup
func (*ToMapping) GetInputVariable
func (*ToMapping) ProtoMessage
func (*ToMapping) ProtoMessage()func (*ToMapping) ProtoReflect
func (x *ToMapping) ProtoReflect() protoreflect.Messagefunc (*ToMapping) Reset
func (x *ToMapping) Reset()func (*ToMapping) String
UnimplementedSaasDeploymentsServer
type UnimplementedSaasDeploymentsServer struct {
}UnimplementedSaasDeploymentsServer should be embedded to have forward compatible implementations.
func (UnimplementedSaasDeploymentsServer) CreateRelease
func (UnimplementedSaasDeploymentsServer) CreateRelease(context.Context, *CreateReleaseRequest) (*Release, error)func (UnimplementedSaasDeploymentsServer) CreateSaas
func (UnimplementedSaasDeploymentsServer) CreateSaas(context.Context, *CreateSaasRequest) (*Saas, error)func (UnimplementedSaasDeploymentsServer) CreateTenant
func (UnimplementedSaasDeploymentsServer) CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)func (UnimplementedSaasDeploymentsServer) CreateUnit
func (UnimplementedSaasDeploymentsServer) CreateUnit(context.Context, *CreateUnitRequest) (*Unit, error)func (UnimplementedSaasDeploymentsServer) CreateUnitKind
func (UnimplementedSaasDeploymentsServer) CreateUnitKind(context.Context, *CreateUnitKindRequest) (*UnitKind, error)func (UnimplementedSaasDeploymentsServer) CreateUnitOperation
func (UnimplementedSaasDeploymentsServer) CreateUnitOperation(context.Context, *CreateUnitOperationRequest) (*UnitOperation, error)func (UnimplementedSaasDeploymentsServer) DeleteRelease
func (UnimplementedSaasDeploymentsServer) DeleteRelease(context.Context, *DeleteReleaseRequest) (*emptypb.Empty, error)func (UnimplementedSaasDeploymentsServer) DeleteSaas
func (UnimplementedSaasDeploymentsServer) DeleteSaas(context.Context, *DeleteSaasRequest) (*emptypb.Empty, error)func (UnimplementedSaasDeploymentsServer) DeleteTenant
func (UnimplementedSaasDeploymentsServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*emptypb.Empty, error)func (UnimplementedSaasDeploymentsServer) DeleteUnit
func (UnimplementedSaasDeploymentsServer) DeleteUnit(context.Context, *DeleteUnitRequest) (*emptypb.Empty, error)func (UnimplementedSaasDeploymentsServer) DeleteUnitKind
func (UnimplementedSaasDeploymentsServer) DeleteUnitKind(context.Context, *DeleteUnitKindRequest) (*emptypb.Empty, error)func (UnimplementedSaasDeploymentsServer) DeleteUnitOperation
func (UnimplementedSaasDeploymentsServer) DeleteUnitOperation(context.Context, *DeleteUnitOperationRequest) (*emptypb.Empty, error)func (UnimplementedSaasDeploymentsServer) GetRelease
func (UnimplementedSaasDeploymentsServer) GetRelease(context.Context, *GetReleaseRequest) (*Release, error)func (UnimplementedSaasDeploymentsServer) GetSaas
func (UnimplementedSaasDeploymentsServer) GetSaas(context.Context, *GetSaasRequest) (*Saas, error)func (UnimplementedSaasDeploymentsServer) GetTenant
func (UnimplementedSaasDeploymentsServer) GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)func (UnimplementedSaasDeploymentsServer) GetUnit
func (UnimplementedSaasDeploymentsServer) GetUnit(context.Context, *GetUnitRequest) (*Unit, error)func (UnimplementedSaasDeploymentsServer) GetUnitKind
func (UnimplementedSaasDeploymentsServer) GetUnitKind(context.Context, *GetUnitKindRequest) (*UnitKind, error)func (UnimplementedSaasDeploymentsServer) GetUnitOperation
func (UnimplementedSaasDeploymentsServer) GetUnitOperation(context.Context, *GetUnitOperationRequest) (*UnitOperation, error)func (UnimplementedSaasDeploymentsServer) ListReleases
func (UnimplementedSaasDeploymentsServer) ListReleases(context.Context, *ListReleasesRequest) (*ListReleasesResponse, error)func (UnimplementedSaasDeploymentsServer) ListSaas
func (UnimplementedSaasDeploymentsServer) ListSaas(context.Context, *ListSaasRequest) (*ListSaasResponse, error)func (UnimplementedSaasDeploymentsServer) ListTenants
func (UnimplementedSaasDeploymentsServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)func (UnimplementedSaasDeploymentsServer) ListUnitKinds
func (UnimplementedSaasDeploymentsServer) ListUnitKinds(context.Context, *ListUnitKindsRequest) (*ListUnitKindsResponse, error)func (UnimplementedSaasDeploymentsServer) ListUnitOperations
func (UnimplementedSaasDeploymentsServer) ListUnitOperations(context.Context, *ListUnitOperationsRequest) (*ListUnitOperationsResponse, error)func (UnimplementedSaasDeploymentsServer) ListUnits
func (UnimplementedSaasDeploymentsServer) ListUnits(context.Context, *ListUnitsRequest) (*ListUnitsResponse, error)func (UnimplementedSaasDeploymentsServer) UpdateRelease
func (UnimplementedSaasDeploymentsServer) UpdateRelease(context.Context, *UpdateReleaseRequest) (*Release, error)func (UnimplementedSaasDeploymentsServer) UpdateSaas
func (UnimplementedSaasDeploymentsServer) UpdateSaas(context.Context, *UpdateSaasRequest) (*Saas, error)func (UnimplementedSaasDeploymentsServer) UpdateTenant
func (UnimplementedSaasDeploymentsServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error)func (UnimplementedSaasDeploymentsServer) UpdateUnit
func (UnimplementedSaasDeploymentsServer) UpdateUnit(context.Context, *UpdateUnitRequest) (*Unit, error)func (UnimplementedSaasDeploymentsServer) UpdateUnitKind
func (UnimplementedSaasDeploymentsServer) UpdateUnitKind(context.Context, *UpdateUnitKindRequest) (*UnitKind, error)func (UnimplementedSaasDeploymentsServer) UpdateUnitOperation
func (UnimplementedSaasDeploymentsServer) UpdateUnitOperation(context.Context, *UpdateUnitOperationRequest) (*UnitOperation, error)UnimplementedSaasRolloutsServer
type UnimplementedSaasRolloutsServer struct {
}UnimplementedSaasRolloutsServer should be embedded to have forward compatible implementations.
func (UnimplementedSaasRolloutsServer) CreateRollout
func (UnimplementedSaasRolloutsServer) CreateRollout(context.Context, *CreateRolloutRequest) (*Rollout, error)func (UnimplementedSaasRolloutsServer) CreateRolloutKind
func (UnimplementedSaasRolloutsServer) CreateRolloutKind(context.Context, *CreateRolloutKindRequest) (*RolloutKind, error)func (UnimplementedSaasRolloutsServer) DeleteRollout
func (UnimplementedSaasRolloutsServer) DeleteRollout(context.Context, *DeleteRolloutRequest) (*emptypb.Empty, error)func (UnimplementedSaasRolloutsServer) DeleteRolloutKind
func (UnimplementedSaasRolloutsServer) DeleteRolloutKind(context.Context, *DeleteRolloutKindRequest) (*emptypb.Empty, error)func (UnimplementedSaasRolloutsServer) GetRollout
func (UnimplementedSaasRolloutsServer) GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error)func (UnimplementedSaasRolloutsServer) GetRolloutKind
func (UnimplementedSaasRolloutsServer) GetRolloutKind(context.Context, *GetRolloutKindRequest) (*RolloutKind, error)func (UnimplementedSaasRolloutsServer) ListRolloutKinds
func (UnimplementedSaasRolloutsServer) ListRolloutKinds(context.Context, *ListRolloutKindsRequest) (*ListRolloutKindsResponse, error)func (UnimplementedSaasRolloutsServer) ListRollouts
func (UnimplementedSaasRolloutsServer) ListRollouts(context.Context, *ListRolloutsRequest) (*ListRolloutsResponse, error)func (UnimplementedSaasRolloutsServer) UpdateRollout
func (UnimplementedSaasRolloutsServer) UpdateRollout(context.Context, *UpdateRolloutRequest) (*Rollout, error)func (UnimplementedSaasRolloutsServer) UpdateRolloutKind
func (UnimplementedSaasRolloutsServer) UpdateRolloutKind(context.Context, *UpdateRolloutKindRequest) (*RolloutKind, error)Unit
type Unit struct {
// Identifier. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/units/{unit}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Reference to the UnitKind this Unit belongs to. Immutable once
// set.
UnitKind string `protobuf:"bytes,2,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"`
// Optional. Output only. The current Release object for this Unit.
Release string `protobuf:"bytes,13,opt,name=release,proto3" json:"release,omitempty"`
// Optional. Reference to the Saas Tenant resource this unit belongs to. This
// for example informs the maintenance policies to use for scheduling future
// updates on a unit. (optional and immutable once created)
Tenant string `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
// Optional. Output only. List of concurrent UnitOperations that are operating
// on this Unit.
OngoingOperations []string `protobuf:"bytes,5,rep,name=ongoing_operations,json=ongoingOperations,proto3" json:"ongoing_operations,omitempty"`
// Optional. Output only. List of pending (wait to be executed) UnitOperations
// for this unit.
PendingOperations []string `protobuf:"bytes,6,rep,name=pending_operations,json=pendingOperations,proto3" json:"pending_operations,omitempty"`
// Optional. Output only. List of scheduled UnitOperations for this unit.
ScheduledOperations []string `protobuf:"bytes,24,rep,name=scheduled_operations,json=scheduledOperations,proto3" json:"scheduled_operations,omitempty"`
// Optional. Output only. List of Units that depend on this unit. Unit can
// only be deprovisioned if this list is empty. Maximum 1000.
Dependents []*UnitDependency `protobuf:"bytes,7,rep,name=dependents,proto3" json:"dependents,omitempty"`
// Optional. Output only. Set of dependencies for this unit. Maximum 10.
Dependencies []*UnitDependency `protobuf:"bytes,8,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
// Optional. Output only. Indicates the current input variables deployed by
// the unit
InputVariables []*UnitVariable `protobuf:"bytes,9,rep,name=input_variables,json=inputVariables,proto3" json:"input_variables,omitempty"`
// Optional. Output only. Set of key/value pairs corresponding to output
// variables from execution of actuation templates. The variables are declared
// in actuation configs (e.g in helm chart or terraform) and the values are
// fetched and returned by the actuation engine upon completion of execution.
OutputVariables []*UnitVariable `protobuf:"bytes,10,rep,name=output_variables,json=outputVariables,proto3" json:"output_variables,omitempty"`
// Optional. Captures requested directives for performing future maintenance
// on the unit. This includes a request for the unit to skip maintenance for a
// period of time and remain pinned to its current release as well as controls
// for postponing maintenance scheduled in future.
Maintenance *Unit_MaintenanceSettings `protobuf:"bytes,14,opt,name=maintenance,proto3" json:"maintenance,omitempty"`
// Optional. Output only. Current lifecycle state of the resource (e.g. if
// it's being created or ready to use).
State Unit_UnitState `protobuf:"varint,16,opt,name=state,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit_UnitState" json:"state,omitempty"`
// Optional. Output only. A set of conditions which indicate the various
// conditions this resource can have.
Conditions []*UnitCondition `protobuf:"bytes,20,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Optional. Immutable. Indicates whether the Unit life cycle is controlled
// by the user or by the system.
// Immutable once created.
ManagementMode Unit_ManagementMode `protobuf:"varint,22,opt,name=management_mode,json=managementMode,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit_ManagementMode" json:"management_mode,omitempty"`
// Optional. Output only. Indicates the system managed state of the unit.
SystemManagedState Unit_SystemManagedState `protobuf:"varint,25,opt,name=system_managed_state,json=systemManagedState,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit_SystemManagedState" json:"system_managed_state,omitempty"`
// Optional. Output only. If set, indicates the time when the system will
// start removing the unit.
SystemCleanupAt *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=system_cleanup_at,json=systemCleanupAt,proto3" json:"system_cleanup_at,omitempty"`
// Optional. Reference to the AppHub Application this unit belongs to.
// All resources deployed in this Unit will be associated with the specified
// Application.
Application string `protobuf:"bytes,29,opt,name=application,proto3" json:"application,omitempty"`
// Optional. The labels on the resource, which can be used for categorization.
// similar to Kubernetes resource labels.
Labels map[string]string `protobuf:"bytes,10401,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Annotations is an unstructured key-value map stored with a
// resource that may be set by external tools to store and retrieve arbitrary
// metadata. They are not queryable and should be preserved when modifying
// objects.
//
// More info: https://kubernetes.io/docs/user-guide/annotations
Annotations map[string]string `protobuf:"bytes,10402,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The unique identifier of the resource. UID is unique in the
// time and space for this resource within the scope of the service. It is
// typically generated by the server on successful creation of a resource
// and must not be changed. UID is used to uniquely identify resources
// with resource name reuses. This should be a UUID4.
Uid string `protobuf:"bytes,10201,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. An opaque value that uniquely identifies a version or
// generation of a resource. It can be used to confirm that the client
// and server agree on the ordering of a resource being written.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10303,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated. Any
// change to the resource made by users must refresh this value.
// Changes to a resource made by the service should refresh this value.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10304,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Indicates whether the resource location satisfies Zone
// Separation constraints. This is false by default.
SatisfiesPzs bool `protobuf:"varint,10305,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzi bool `protobuf:"varint,10306,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
// contains filtered or unexported fields
}A unit of deployment that has its lifecycle via a CRUD API using an actuation engine under the hood (e.g. based on Terraform, Helm or a custom implementation provided by a service producer). A building block of a SaaS Tenant.
func (*Unit) Descriptor
Deprecated: Use Unit.ProtoReflect.Descriptor instead.
func (*Unit) GetAnnotations
func (*Unit) GetApplication
func (*Unit) GetConditions
func (x *Unit) GetConditions() []*UnitConditionfunc (*Unit) GetCreateTime
func (x *Unit) GetCreateTime() *timestamppb.Timestampfunc (*Unit) GetDependencies
func (x *Unit) GetDependencies() []*UnitDependencyfunc (*Unit) GetDependents
func (x *Unit) GetDependents() []*UnitDependencyfunc (*Unit) GetEtag
func (*Unit) GetInputVariables
func (x *Unit) GetInputVariables() []*UnitVariablefunc (*Unit) GetLabels
func (*Unit) GetMaintenance
func (x *Unit) GetMaintenance() *Unit_MaintenanceSettingsfunc (*Unit) GetManagementMode
func (x *Unit) GetManagementMode() Unit_ManagementModefunc (*Unit) GetName
func (*Unit) GetOngoingOperations
func (*Unit) GetOutputVariables
func (x *Unit) GetOutputVariables() []*UnitVariablefunc (*Unit) GetPendingOperations
func (*Unit) GetRelease
func (*Unit) GetSatisfiesPzi
func (*Unit) GetSatisfiesPzs
func (*Unit) GetScheduledOperations
func (*Unit) GetState
func (x *Unit) GetState() Unit_UnitStatefunc (*Unit) GetSystemCleanupAt
func (x *Unit) GetSystemCleanupAt() *timestamppb.Timestampfunc (*Unit) GetSystemManagedState
func (x *Unit) GetSystemManagedState() Unit_SystemManagedStatefunc (*Unit) GetTenant
func (*Unit) GetUid
func (*Unit) GetUnitKind
func (*Unit) GetUpdateTime
func (x *Unit) GetUpdateTime() *timestamppb.Timestampfunc (*Unit) ProtoMessage
func (*Unit) ProtoMessage()func (*Unit) ProtoReflect
func (x *Unit) ProtoReflect() protoreflect.Messagefunc (*Unit) Reset
func (x *Unit) Reset()func (*Unit) String
UnitCondition
type UnitCondition struct {
// Required. Status of the condition.
Status UnitCondition_Status `protobuf:"varint,1,opt,name=status,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition_Status" json:"status,omitempty"`
// Required. Type of the condition.
Type UnitCondition_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition_Type" json:"type,omitempty"`
// Required. Last time the condition transited from one status to another.
LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"`
// Required. Human readable message indicating details about the last
// transition.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// Required. Brief reason for the condition's last transition.
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}UnitCondition describes the status of an Unit. UnitCondition is individual components that contribute to an overall state.
func (*UnitCondition) Descriptor
func (*UnitCondition) Descriptor() ([]byte, []int)Deprecated: Use UnitCondition.ProtoReflect.Descriptor instead.
func (*UnitCondition) GetLastTransitionTime
func (x *UnitCondition) GetLastTransitionTime() *timestamppb.Timestampfunc (*UnitCondition) GetMessage
func (x *UnitCondition) GetMessage() stringfunc (*UnitCondition) GetReason
func (x *UnitCondition) GetReason() stringfunc (*UnitCondition) GetStatus
func (x *UnitCondition) GetStatus() UnitCondition_Statusfunc (*UnitCondition) GetType
func (x *UnitCondition) GetType() UnitCondition_Typefunc (*UnitCondition) ProtoMessage
func (*UnitCondition) ProtoMessage()func (*UnitCondition) ProtoReflect
func (x *UnitCondition) ProtoReflect() protoreflect.Messagefunc (*UnitCondition) Reset
func (x *UnitCondition) Reset()func (*UnitCondition) String
func (x *UnitCondition) String() stringUnitCondition_Status
type UnitCondition_Status int32Enumeration of condition statuses.
UnitCondition_STATUS_UNSPECIFIED, UnitCondition_STATUS_UNKNOWN, UnitCondition_STATUS_TRUE, UnitCondition_STATUS_FALSE
const (
// Condition status is unspecified.
UnitCondition_STATUS_UNSPECIFIED UnitCondition_Status = 0
// Condition is unknown.
UnitCondition_STATUS_UNKNOWN UnitCondition_Status = 1
// Condition is true.
UnitCondition_STATUS_TRUE UnitCondition_Status = 2
// Condition is false.
UnitCondition_STATUS_FALSE UnitCondition_Status = 3
)func (UnitCondition_Status) Descriptor
func (UnitCondition_Status) Descriptor() protoreflect.EnumDescriptorfunc (UnitCondition_Status) Enum
func (x UnitCondition_Status) Enum() *UnitCondition_Statusfunc (UnitCondition_Status) EnumDescriptor
func (UnitCondition_Status) EnumDescriptor() ([]byte, []int)Deprecated: Use UnitCondition_Status.Descriptor instead.
func (UnitCondition_Status) Number
func (x UnitCondition_Status) Number() protoreflect.EnumNumberfunc (UnitCondition_Status) String
func (x UnitCondition_Status) String() stringfunc (UnitCondition_Status) Type
func (UnitCondition_Status) Type() protoreflect.EnumTypeUnitCondition_Type
type UnitCondition_Type int32Enumeration of condition types.
UnitCondition_TYPE_UNSPECIFIED, UnitCondition_TYPE_READY, UnitCondition_TYPE_UPDATING, UnitCondition_TYPE_PROVISIONED, UnitCondition_TYPE_OPERATION_ERROR, UnitCondition_TYPE_APP_CREATED_OR_ALREADY_EXISTS, UnitCondition_TYPE_APP_COMPONENTS_REGISTERED
const (
// Condition type is unspecified.
UnitCondition_TYPE_UNSPECIFIED UnitCondition_Type = 0
// Condition type is ready.
UnitCondition_TYPE_READY UnitCondition_Type = 1
// Condition type is updating.
UnitCondition_TYPE_UPDATING UnitCondition_Type = 2
// Condition type is provisioned.
UnitCondition_TYPE_PROVISIONED UnitCondition_Type = 3
// Condition type is operationError.
// True when the last unit operation fails with a non-ignorable error.
UnitCondition_TYPE_OPERATION_ERROR UnitCondition_Type = 4
// Indicates if AppHub app has been created or if Apphub app has already
// existed.
UnitCondition_TYPE_APP_CREATED_OR_ALREADY_EXISTS UnitCondition_Type = 6
// Indicates if services and workloads have been registered with AppHub.
UnitCondition_TYPE_APP_COMPONENTS_REGISTERED UnitCondition_Type = 7
)func (UnitCondition_Type) Descriptor
func (UnitCondition_Type) Descriptor() protoreflect.EnumDescriptorfunc (UnitCondition_Type) Enum
func (x UnitCondition_Type) Enum() *UnitCondition_Typefunc (UnitCondition_Type) EnumDescriptor
func (UnitCondition_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use UnitCondition_Type.Descriptor instead.
func (UnitCondition_Type) Number
func (x UnitCondition_Type) Number() protoreflect.EnumNumberfunc (UnitCondition_Type) String
func (x UnitCondition_Type) String() stringfunc (UnitCondition_Type) Type
func (UnitCondition_Type) Type() protoreflect.EnumTypeUnitDependency
type UnitDependency struct {
// Output only. Alias for the name of the dependency.
Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
// Output only. A reference to the Unit object.
Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}Set of dependencies for this unit. Maximum 10.
func (*UnitDependency) Descriptor
func (*UnitDependency) Descriptor() ([]byte, []int)Deprecated: Use UnitDependency.ProtoReflect.Descriptor instead.
func (*UnitDependency) GetAlias
func (x *UnitDependency) GetAlias() stringfunc (*UnitDependency) GetUnit
func (x *UnitDependency) GetUnit() stringfunc (*UnitDependency) ProtoMessage
func (*UnitDependency) ProtoMessage()func (*UnitDependency) ProtoReflect
func (x *UnitDependency) ProtoReflect() protoreflect.Messagefunc (*UnitDependency) Reset
func (x *UnitDependency) Reset()func (*UnitDependency) String
func (x *UnitDependency) String() stringUnitKind
type UnitKind struct {
// Identifier. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/unitKinds/{unitKind}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A reference to the Release object to use as default for creating
// new units of this UnitKind (optional).
//
// If not specified, a new unit must explicitly reference which release to use
// for its creation.
DefaultRelease string `protobuf:"bytes,2,opt,name=default_release,json=defaultRelease,proto3" json:"default_release,omitempty"`
// Optional. Immutable. List of other unit kinds that this release will depend
// on. Dependencies will be automatically provisioned if not found.
// Maximum 10.
Dependencies []*Dependency `protobuf:"bytes,4,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
// Optional. List of inputVariables for this release that will either be
// retrieved from a dependency’s outputVariables, or will be passed on to a
// dependency’s inputVariables. Maximum 100.
InputVariableMappings []*VariableMapping `protobuf:"bytes,5,rep,name=input_variable_mappings,json=inputVariableMappings,proto3" json:"input_variable_mappings,omitempty"`
// Optional. List of outputVariables for this unit kind will be passed to this
// unit's outputVariables. Maximum 100.
OutputVariableMappings []*VariableMapping `protobuf:"bytes,6,rep,name=output_variable_mappings,json=outputVariableMappings,proto3" json:"output_variable_mappings,omitempty"`
// Required. Immutable. A reference to the Saas that defines the product
// (managed service) that the producer wants to manage with App Lifecycle
// Manager. Part of the App Lifecycle Manager common data model. Immutable
// once set.
Saas string `protobuf:"bytes,8,opt,name=saas,proto3" json:"saas,omitempty"`
// Output only. Reference to component and revision in a composite
// ApplicationTemplate.
ApplicationTemplateComponent *ComponentRef `protobuf:"bytes,10,opt,name=application_template_component,json=applicationTemplateComponent,proto3" json:"application_template_component,omitempty"`
// AppParams contains the parameters for creating an AppHub Application.
AppParams *AppParams `protobuf:"bytes,11,opt,name=app_params,json=appParams,proto3" json:"app_params,omitempty"`
// Optional. The labels on the resource, which can be used for categorization.
// similar to Kubernetes resource labels.
Labels map[string]string `protobuf:"bytes,10401,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Annotations is an unstructured key-value map stored with a
// resource that may be set by external tools to store and retrieve arbitrary
// metadata. They are not queryable and should be preserved when modifying
// objects.
//
// More info: https://kubernetes.io/docs/user-guide/annotations
Annotations map[string]string `protobuf:"bytes,10402,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The unique identifier of the resource. UID is unique in the
// time and space for this resource within the scope of the service. It is
// typically generated by the server on successful creation of a resource
// and must not be changed. UID is used to uniquely identify resources
// with resource name reuses. This should be a UUID4.
Uid string `protobuf:"bytes,10201,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. An opaque value that uniquely identifies a version or
// generation of a resource. It can be used to confirm that the client
// and server agree on the ordering of a resource being written.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10303,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated. Any
// change to the resource made by users must refresh this value.
// Changes to a resource made by the service should refresh this value.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10304,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}Definition of a Unit. Units belonging to the same UnitKind are managed together; for example they follow the same release model (blueprints, versions etc.) and are typically rolled out together.
func (*UnitKind) Descriptor
Deprecated: Use UnitKind.ProtoReflect.Descriptor instead.
func (*UnitKind) GetAnnotations
func (*UnitKind) GetAppParams
func (*UnitKind) GetApplicationTemplateComponent
func (x *UnitKind) GetApplicationTemplateComponent() *ComponentReffunc (*UnitKind) GetCreateTime
func (x *UnitKind) GetCreateTime() *timestamppb.Timestampfunc (*UnitKind) GetDefaultRelease
func (*UnitKind) GetDependencies
func (x *UnitKind) GetDependencies() []*Dependencyfunc (*UnitKind) GetEtag
func (*UnitKind) GetInputVariableMappings
func (x *UnitKind) GetInputVariableMappings() []*VariableMappingfunc (*UnitKind) GetLabels
func (*UnitKind) GetName
func (*UnitKind) GetOutputVariableMappings
func (x *UnitKind) GetOutputVariableMappings() []*VariableMappingfunc (*UnitKind) GetSaas
func (*UnitKind) GetUid
func (*UnitKind) GetUpdateTime
func (x *UnitKind) GetUpdateTime() *timestamppb.Timestampfunc (*UnitKind) ProtoMessage
func (*UnitKind) ProtoMessage()func (*UnitKind) ProtoReflect
func (x *UnitKind) ProtoReflect() protoreflect.Messagefunc (*UnitKind) Reset
func (x *UnitKind) Reset()func (*UnitKind) String
UnitOperation
type UnitOperation struct {
// Types that are valid to be assigned to UnitOperationType:
//
// *UnitOperation_Provision
// *UnitOperation_Upgrade
// *UnitOperation_Deprovision
UnitOperationType isUnitOperation_UnitOperationType `protobuf_oneof:"unit_operation_type"`
// Identifier. The resource name (full URI of the resource) following the
// standard naming scheme:
//
// "projects/{project}/locations/{location}/unitOperations/{unitOperation}"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. The Unit a given UnitOperation will act upon.
Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
// Optional. Reference to parent resource: UnitOperation. If an operation
// needs to create other operations as part of its workflow, each of the child
// operations should have this field set to the parent. This can be used for
// tracing. (Optional)
ParentUnitOperation string `protobuf:"bytes,3,opt,name=parent_unit_operation,json=parentUnitOperation,proto3" json:"parent_unit_operation,omitempty"`
// Optional. Specifies which rollout created this Unit Operation. This cannot
// be modified and is used for filtering purposes only. If a dependent unit
// and unit operation are created as part of another unit operation, they will
// use the same rolloutId.
Rollout string `protobuf:"bytes,4,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Optional. When true, attempt to cancel the operation. Cancellation may fail
// if the operation is already executing. (Optional)
Cancel bool `protobuf:"varint,5,opt,name=cancel,proto3" json:"cancel,omitempty"`
// Optional. Output only. UnitOperationState describes the current state of
// the unit operation.
State UnitOperation_UnitOperationState `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation_UnitOperationState" json:"state,omitempty"`
// Optional. Output only. A set of conditions which indicate the various
// conditions this resource can have.
Conditions []*UnitOperationCondition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Optional. When to schedule this operation.
Schedule *Schedule `protobuf:"bytes,12,opt,name=schedule,proto3" json:"schedule,omitempty"`
// Optional. Output only. The engine state for on-going
// deployment engine operation(s).
// This field is opaque for external usage.
EngineState string `protobuf:"bytes,14,opt,name=engine_state,json=engineState,proto3" json:"engine_state,omitempty"`
// Optional. Output only. UnitOperationErrorCategory describe the error
// category.
ErrorCategory UnitOperationErrorCategory `protobuf:"varint,15,opt,name=error_category,json=errorCategory,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationErrorCategory" json:"error_category,omitempty"`
// Optional. The labels on the resource, which can be used for categorization.
// similar to Kubernetes resource labels.
Labels map[string]string `protobuf:"bytes,10401,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Annotations is an unstructured key-value map stored with a
// resource that may be set by external tools to store and retrieve arbitrary
// metadata. They are not queryable and should be preserved when modifying
// objects.
//
// More info: https://kubernetes.io/docs/user-guide/annotations
Annotations map[string]string `protobuf:"bytes,10402,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The unique identifier of the resource. UID is unique in the
// time and space for this resource within the scope of the service. It is
// typically generated by the server on successful creation of a resource
// and must not be changed. UID is used to uniquely identify resources
// with resource name reuses. This should be a UUID4.
Uid string `protobuf:"bytes,10201,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. An opaque value that uniquely identifies a version or
// generation of a resource. It can be used to confirm that the client
// and server agree on the ordering of a resource being written.
Etag string `protobuf:"bytes,10202,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10303,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the resource was last updated. Any
// change to the resource made by users must refresh this value.
// Changes to a resource made by the service should refresh this value.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10304,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The timestamp when the resource was marked for deletion
// (deletion is an asynchronous operation).
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,10305,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// contains filtered or unexported fields
}UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations).
UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested.
This is a base object that contains the common fields in all unit operations. Next: 22
func (*UnitOperation) Descriptor
func (*UnitOperation) Descriptor() ([]byte, []int)Deprecated: Use UnitOperation.ProtoReflect.Descriptor instead.
func (*UnitOperation) GetAnnotations
func (x *UnitOperation) GetAnnotations() map[string]stringfunc (*UnitOperation) GetCancel
func (x *UnitOperation) GetCancel() boolfunc (*UnitOperation) GetConditions
func (x *UnitOperation) GetConditions() []*UnitOperationConditionfunc (*UnitOperation) GetCreateTime
func (x *UnitOperation) GetCreateTime() *timestamppb.Timestampfunc (*UnitOperation) GetDeleteTime
func (x *UnitOperation) GetDeleteTime() *timestamppb.Timestampfunc (*UnitOperation) GetDeprovision
func (x *UnitOperation) GetDeprovision() *Deprovisionfunc (*UnitOperation) GetEngineState
func (x *UnitOperation) GetEngineState() stringfunc (*UnitOperation) GetErrorCategory
func (x *UnitOperation) GetErrorCategory() UnitOperationErrorCategoryfunc (*UnitOperation) GetEtag
func (x *UnitOperation) GetEtag() stringfunc (*UnitOperation) GetLabels
func (x *UnitOperation) GetLabels() map[string]stringfunc (*UnitOperation) GetName
func (x *UnitOperation) GetName() stringfunc (*UnitOperation) GetParentUnitOperation
func (x *UnitOperation) GetParentUnitOperation() stringfunc (*UnitOperation) GetProvision
func (x *UnitOperation) GetProvision() *Provisionfunc (*UnitOperation) GetRollout
func (x *UnitOperation) GetRollout() stringfunc (*UnitOperation) GetSchedule
func (x *UnitOperation) GetSchedule() *Schedulefunc (*UnitOperation) GetState
func (x *UnitOperation) GetState() UnitOperation_UnitOperationStatefunc (*UnitOperation) GetUid
func (x *UnitOperation) GetUid() stringfunc (*UnitOperation) GetUnit
func (x *UnitOperation) GetUnit() stringfunc (*UnitOperation) GetUnitOperationType
func (x *UnitOperation) GetUnitOperationType() isUnitOperation_UnitOperationTypefunc (*UnitOperation) GetUpdateTime
func (x *UnitOperation) GetUpdateTime() *timestamppb.Timestampfunc (*UnitOperation) GetUpgrade
func (x *UnitOperation) GetUpgrade() *Upgradefunc (*UnitOperation) ProtoMessage
func (*UnitOperation) ProtoMessage()func (*UnitOperation) ProtoReflect
func (x *UnitOperation) ProtoReflect() protoreflect.Messagefunc (*UnitOperation) Reset
func (x *UnitOperation) Reset()func (*UnitOperation) String
func (x *UnitOperation) String() stringUnitOperationCondition
type UnitOperationCondition struct {
// Required. Status of the condition.
Status UnitOperationCondition_Status `protobuf:"varint,1,opt,name=status,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition_Status" json:"status,omitempty"`
// Required. Type of the condition.
Type UnitOperationCondition_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition_Type" json:"type,omitempty"`
// Required. Last time the condition transited from one status to another.
LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"`
// Required. Human readable message indicating details about the last
// transition.
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// Required. Brief reason for the condition's last transition.
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}UnitOperationCondition describes the status of an Unit Operation. UnitOperationCondition is individual components that contribute to an overall state.
func (*UnitOperationCondition) Descriptor
func (*UnitOperationCondition) Descriptor() ([]byte, []int)Deprecated: Use UnitOperationCondition.ProtoReflect.Descriptor instead.
func (*UnitOperationCondition) GetLastTransitionTime
func (x *UnitOperationCondition) GetLastTransitionTime() *timestamppb.Timestampfunc (*UnitOperationCondition) GetMessage
func (x *UnitOperationCondition) GetMessage() stringfunc (*UnitOperationCondition) GetReason
func (x *UnitOperationCondition) GetReason() stringfunc (*UnitOperationCondition) GetStatus
func (x *UnitOperationCondition) GetStatus() UnitOperationCondition_Statusfunc (*UnitOperationCondition) GetType
func (x *UnitOperationCondition) GetType() UnitOperationCondition_Typefunc (*UnitOperationCondition) ProtoMessage
func (*UnitOperationCondition) ProtoMessage()func (*UnitOperationCondition) ProtoReflect
func (x *UnitOperationCondition) ProtoReflect() protoreflect.Messagefunc (*UnitOperationCondition) Reset
func (x *UnitOperationCondition) Reset()func (*UnitOperationCondition) String
func (x *UnitOperationCondition) String() stringUnitOperationCondition_Status
type UnitOperationCondition_Status int32Enumeration of condition statuses.
UnitOperationCondition_STATUS_UNSPECIFIED, UnitOperationCondition_STATUS_UNKNOWN, UnitOperationCondition_STATUS_TRUE, UnitOperationCondition_STATUS_FALSE
const (
// Condition status is unspecified.
UnitOperationCondition_STATUS_UNSPECIFIED UnitOperationCondition_Status = 0
// Condition is unknown.
UnitOperationCondition_STATUS_UNKNOWN UnitOperationCondition_Status = 1
// Condition is true.
UnitOperationCondition_STATUS_TRUE UnitOperationCondition_Status = 2
// Condition is false.
UnitOperationCondition_STATUS_FALSE UnitOperationCondition_Status = 3
)func (UnitOperationCondition_Status) Descriptor
func (UnitOperationCondition_Status) Descriptor() protoreflect.EnumDescriptorfunc (UnitOperationCondition_Status) Enum
func (x UnitOperationCondition_Status) Enum() *UnitOperationCondition_Statusfunc (UnitOperationCondition_Status) EnumDescriptor
func (UnitOperationCondition_Status) EnumDescriptor() ([]byte, []int)Deprecated: Use UnitOperationCondition_Status.Descriptor instead.
func (UnitOperationCondition_Status) Number
func (x UnitOperationCondition_Status) Number() protoreflect.EnumNumberfunc (UnitOperationCondition_Status) String
func (x UnitOperationCondition_Status) String() stringfunc (UnitOperationCondition_Status) Type
func (UnitOperationCondition_Status) Type() protoreflect.EnumTypeUnitOperationCondition_Type
type UnitOperationCondition_Type int32Enumeration of condition types.
UnitOperationCondition_TYPE_UNSPECIFIED, UnitOperationCondition_TYPE_SCHEDULED, UnitOperationCondition_TYPE_RUNNING, UnitOperationCondition_TYPE_SUCCEEDED, UnitOperationCondition_TYPE_CANCELLED, UnitOperationCondition_TYPE_APP_CREATED, UnitOperationCondition_TYPE_APP_COMPONENTS_REGISTERED, UnitOperationCondition_TYPE_WORKLOAD_SUCCEEDED
const (
// Condition type is unspecified.
UnitOperationCondition_TYPE_UNSPECIFIED UnitOperationCondition_Type = 0
// Condition type is scheduled.
UnitOperationCondition_TYPE_SCHEDULED UnitOperationCondition_Type = 2
// Condition type is running.
UnitOperationCondition_TYPE_RUNNING UnitOperationCondition_Type = 3
// Condition type is succeeded.
UnitOperationCondition_TYPE_SUCCEEDED UnitOperationCondition_Type = 4
// Condition type is cancelled.
UnitOperationCondition_TYPE_CANCELLED UnitOperationCondition_Type = 5
// Indicates if AppHub app has been created.
UnitOperationCondition_TYPE_APP_CREATED UnitOperationCondition_Type = 6
// Indicates if services and workloads have been registered with AppHub.
UnitOperationCondition_TYPE_APP_COMPONENTS_REGISTERED UnitOperationCondition_Type = 7
// Indicates if the UnitOperation's core workload execution completed
// successfully.
// The workload is the core execution operation performed for a
// UnitOperation (e.g., provisioning, updating, or deprovisioning
// resources) excluding post-operation checks.
UnitOperationCondition_TYPE_WORKLOAD_SUCCEEDED UnitOperationCondition_Type = 8
)func (UnitOperationCondition_Type) Descriptor
func (UnitOperationCondition_Type) Descriptor() protoreflect.EnumDescriptorfunc (UnitOperationCondition_Type) Enum
func (x UnitOperationCondition_Type) Enum() *UnitOperationCondition_Typefunc (UnitOperationCondition_Type) EnumDescriptor
func (UnitOperationCondition_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use UnitOperationCondition_Type.Descriptor instead.
func (UnitOperationCondition_Type) Number
func (x UnitOperationCondition_Type) Number() protoreflect.EnumNumberfunc (UnitOperationCondition_Type) String
func (x UnitOperationCondition_Type) String() stringfunc (UnitOperationCondition_Type) Type
func (UnitOperationCondition_Type) Type() protoreflect.EnumTypeUnitOperationErrorCategory
type UnitOperationErrorCategory int32UnitOperationErrorCategory describes the error category of the unit operation.
UnitOperationErrorCategory_UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED, UnitOperationErrorCategory_NOT_APPLICABLE, UnitOperationErrorCategory_FATAL, UnitOperationErrorCategory_RETRIABLE, UnitOperationErrorCategory_IGNORABLE, UnitOperationErrorCategory_STANDARD
const (
// Unit operation error category is unspecified
UnitOperationErrorCategory_UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED UnitOperationErrorCategory = 0
// Unit operation error category is not applicable, or it is not an error
UnitOperationErrorCategory_NOT_APPLICABLE UnitOperationErrorCategory = 1
// Unit operation error category is fatal
UnitOperationErrorCategory_FATAL UnitOperationErrorCategory = 2
// Unit operation error category is retriable
UnitOperationErrorCategory_RETRIABLE UnitOperationErrorCategory = 3
// Unit operation error category is ignorable
UnitOperationErrorCategory_IGNORABLE UnitOperationErrorCategory = 4
// Unit operation error category is standard, counts towards Rollout error
// budget
UnitOperationErrorCategory_STANDARD UnitOperationErrorCategory = 5
)func (UnitOperationErrorCategory) Descriptor
func (UnitOperationErrorCategory) Descriptor() protoreflect.EnumDescriptorfunc (UnitOperationErrorCategory) Enum
func (x UnitOperationErrorCategory) Enum() *UnitOperationErrorCategoryfunc (UnitOperationErrorCategory) EnumDescriptor
func (UnitOperationErrorCategory) EnumDescriptor() ([]byte, []int)Deprecated: Use UnitOperationErrorCategory.Descriptor instead.
func (UnitOperationErrorCategory) Number
func (x UnitOperationErrorCategory) Number() protoreflect.EnumNumberfunc (UnitOperationErrorCategory) String
func (x UnitOperationErrorCategory) String() stringfunc (UnitOperationErrorCategory) Type
func (UnitOperationErrorCategory) Type() protoreflect.EnumTypeUnitOperation_Deprovision
type UnitOperation_Deprovision struct {
Deprovision *Deprovision `protobuf:"bytes,10,opt,name=deprovision,proto3,oneof"`
}UnitOperation_Provision
type UnitOperation_Provision struct {
Provision *Provision `protobuf:"bytes,8,opt,name=provision,proto3,oneof"`
}UnitOperation_UnitOperationState
type UnitOperation_UnitOperationState int32UnitOperationState describes the current state of the unit operation.
UnitOperation_UNIT_OPERATION_STATE_UNKNOWN, UnitOperation_UNIT_OPERATION_STATE_PENDING, UnitOperation_UNIT_OPERATION_STATE_SCHEDULED, UnitOperation_UNIT_OPERATION_STATE_RUNNING, UnitOperation_UNIT_OPERATION_STATE_SUCCEEDED, UnitOperation_UNIT_OPERATION_STATE_FAILED, UnitOperation_UNIT_OPERATION_STATE_CANCELLED
const (
UnitOperation_UNIT_OPERATION_STATE_UNKNOWN UnitOperation_UnitOperationState = 0
// Unit operation is accepted but not ready to run.
UnitOperation_UNIT_OPERATION_STATE_PENDING UnitOperation_UnitOperationState = 1
// Unit operation is accepted and scheduled.
UnitOperation_UNIT_OPERATION_STATE_SCHEDULED UnitOperation_UnitOperationState = 2
// Unit operation is running.
UnitOperation_UNIT_OPERATION_STATE_RUNNING UnitOperation_UnitOperationState = 4
// Unit operation has completed successfully.
UnitOperation_UNIT_OPERATION_STATE_SUCCEEDED UnitOperation_UnitOperationState = 5
// Unit operation has failed.
UnitOperation_UNIT_OPERATION_STATE_FAILED UnitOperation_UnitOperationState = 6
// Unit operation was cancelled.
UnitOperation_UNIT_OPERATION_STATE_CANCELLED UnitOperation_UnitOperationState = 7
)func (UnitOperation_UnitOperationState) Descriptor
func (UnitOperation_UnitOperationState) Descriptor() protoreflect.EnumDescriptorfunc (UnitOperation_UnitOperationState) Enum
func (x UnitOperation_UnitOperationState) Enum() *UnitOperation_UnitOperationStatefunc (UnitOperation_UnitOperationState) EnumDescriptor
func (UnitOperation_UnitOperationState) EnumDescriptor() ([]byte, []int)Deprecated: Use UnitOperation_UnitOperationState.Descriptor instead.
func (UnitOperation_UnitOperationState) Number
func (x UnitOperation_UnitOperationState) Number() protoreflect.EnumNumberfunc (UnitOperation_UnitOperationState) String
func (x UnitOperation_UnitOperationState) String() stringfunc (UnitOperation_UnitOperationState) Type
func (UnitOperation_UnitOperationState) Type() protoreflect.EnumTypeUnitOperation_Upgrade
type UnitOperation_Upgrade struct {
Upgrade *Upgrade `protobuf:"bytes,9,opt,name=upgrade,proto3,oneof"`
}UnitVariable
type UnitVariable struct {
// Required. Immutable. Name of the variable from actuation configs.
Variable string `protobuf:"bytes,1,opt,name=variable,proto3" json:"variable,omitempty"`
// Optional. Immutable. Name of a supported variable type. Supported types are
// string, int, bool.
Type UnitVariable_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable_Type" json:"type,omitempty"`
// Optional. String encoded value for the variable.
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}UnitVariable describes a parameter for a Unit.
func (*UnitVariable) Descriptor
func (*UnitVariable) Descriptor() ([]byte, []int)Deprecated: Use UnitVariable.ProtoReflect.Descriptor instead.
func (*UnitVariable) GetType
func (x *UnitVariable) GetType() UnitVariable_Typefunc (*UnitVariable) GetValue
func (x *UnitVariable) GetValue() stringfunc (*UnitVariable) GetVariable
func (x *UnitVariable) GetVariable() stringfunc (*UnitVariable) ProtoMessage
func (*UnitVariable) ProtoMessage()func (*UnitVariable) ProtoReflect
func (x *UnitVariable) ProtoReflect() protoreflect.Messagefunc (*UnitVariable) Reset
func (x *UnitVariable) Reset()func (*UnitVariable) String
func (x *UnitVariable) String() stringUnitVariable_Type
type UnitVariable_Type int32Enumeration of variable types.
STRUCT and LIST values should be JSON-encoded strings.
UnitVariable_TYPE_UNSPECIFIED, UnitVariable_STRING, UnitVariable_INT, UnitVariable_BOOL, UnitVariable_STRUCT, UnitVariable_LIST
const (
// Variable type is unspecified.
UnitVariable_TYPE_UNSPECIFIED UnitVariable_Type = 0
// Variable type is string.
UnitVariable_STRING UnitVariable_Type = 1
// Variable type is int.
UnitVariable_INT UnitVariable_Type = 2
// Variable type is bool.
UnitVariable_BOOL UnitVariable_Type = 3
// Variable type is struct.
UnitVariable_STRUCT UnitVariable_Type = 4
// Variable type is list.
UnitVariable_LIST UnitVariable_Type = 5
)func (UnitVariable_Type) Descriptor
func (UnitVariable_Type) Descriptor() protoreflect.EnumDescriptorfunc (UnitVariable_Type) Enum
func (x UnitVariable_Type) Enum() *UnitVariable_Typefunc (UnitVariable_Type) EnumDescriptor
func (UnitVariable_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use UnitVariable_Type.Descriptor instead.
func (UnitVariable_Type) Number
func (x UnitVariable_Type) Number() protoreflect.EnumNumberfunc (UnitVariable_Type) String
func (x UnitVariable_Type) String() stringfunc (UnitVariable_Type) Type
func (UnitVariable_Type) Type() protoreflect.EnumTypeUnit_MaintenanceSettings
type Unit_MaintenanceSettings struct {
// Optional. If present, it fixes the release on the unit until the given
// time; i.e. changes to the release field will be rejected. Rollouts should
// and will also respect this by not requesting an upgrade in the first
// place.
PinnedUntilTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=pinned_until_time,json=pinnedUntilTime,proto3" json:"pinned_until_time,omitempty"`
// contains filtered or unexported fields
}Captures requested directives for performing future maintenance on the unit. This includes a request for the unit to skip maintenance for a period of time and remain pinned to its current release as well as controls for postponing maintenance scheduled in future.
func (*Unit_MaintenanceSettings) Descriptor
func (*Unit_MaintenanceSettings) Descriptor() ([]byte, []int)Deprecated: Use Unit_MaintenanceSettings.ProtoReflect.Descriptor instead.
func (*Unit_MaintenanceSettings) GetPinnedUntilTime
func (x *Unit_MaintenanceSettings) GetPinnedUntilTime() *timestamppb.Timestampfunc (*Unit_MaintenanceSettings) ProtoMessage
func (*Unit_MaintenanceSettings) ProtoMessage()func (*Unit_MaintenanceSettings) ProtoReflect
func (x *Unit_MaintenanceSettings) ProtoReflect() protoreflect.Messagefunc (*Unit_MaintenanceSettings) Reset
func (x *Unit_MaintenanceSettings) Reset()func (*Unit_MaintenanceSettings) String
func (x *Unit_MaintenanceSettings) String() stringUnit_ManagementMode
type Unit_ManagementMode int32ManagementMode describes who is responsible for the management of the unit.
Unit_MANAGEMENT_MODE_UNSPECIFIED, Unit_MANAGEMENT_MODE_USER, Unit_MANAGEMENT_MODE_SYSTEM
const (
Unit_MANAGEMENT_MODE_UNSPECIFIED Unit_ManagementMode = 0
// Unit's lifecycle is managed by the user.
Unit_MANAGEMENT_MODE_USER Unit_ManagementMode = 1
// The system will decide when to deprovision and delete the unit.
// User still can deprovision or delete the unit manually.
Unit_MANAGEMENT_MODE_SYSTEM Unit_ManagementMode = 2
)func (Unit_ManagementMode) Descriptor
func (Unit_ManagementMode) Descriptor() protoreflect.EnumDescriptorfunc (Unit_ManagementMode) Enum
func (x Unit_ManagementMode) Enum() *Unit_ManagementModefunc (Unit_ManagementMode) EnumDescriptor
func (Unit_ManagementMode) EnumDescriptor() ([]byte, []int)Deprecated: Use Unit_ManagementMode.Descriptor instead.
func (Unit_ManagementMode) Number
func (x Unit_ManagementMode) Number() protoreflect.EnumNumberfunc (Unit_ManagementMode) String
func (x Unit_ManagementMode) String() stringfunc (Unit_ManagementMode) Type
func (Unit_ManagementMode) Type() protoreflect.EnumTypeUnit_SystemManagedState
type Unit_SystemManagedState int32Unit_SYSTEM_MANAGED_STATE_UNSPECIFIED, Unit_SYSTEM_MANAGED_STATE_ACTIVE, Unit_SYSTEM_MANAGED_STATE_INACTIVE, Unit_SYSTEM_MANAGED_STATE_DECOMMISSIONED
const (
Unit_SYSTEM_MANAGED_STATE_UNSPECIFIED Unit_SystemManagedState = 0
// Unit has dependents attached.
Unit_SYSTEM_MANAGED_STATE_ACTIVE Unit_SystemManagedState = 1
// Unit has no dependencies attached, but attachment is allowed.
Unit_SYSTEM_MANAGED_STATE_INACTIVE Unit_SystemManagedState = 2
// Unit has no dependencies attached, and attachment is not allowed.
Unit_SYSTEM_MANAGED_STATE_DECOMMISSIONED Unit_SystemManagedState = 3
)func (Unit_SystemManagedState) Descriptor
func (Unit_SystemManagedState) Descriptor() protoreflect.EnumDescriptorfunc (Unit_SystemManagedState) Enum
func (x Unit_SystemManagedState) Enum() *Unit_SystemManagedStatefunc (Unit_SystemManagedState) EnumDescriptor
func (Unit_SystemManagedState) EnumDescriptor() ([]byte, []int)Deprecated: Use Unit_SystemManagedState.Descriptor instead.
func (Unit_SystemManagedState) Number
func (x Unit_SystemManagedState) Number() protoreflect.EnumNumberfunc (Unit_SystemManagedState) String
func (x Unit_SystemManagedState) String() stringfunc (Unit_SystemManagedState) Type
func (Unit_SystemManagedState) Type() protoreflect.EnumTypeUnit_UnitState
type Unit_UnitState int32UnitState annotates what is the current state of the unit itself.
Unit_UNIT_STATE_UNSPECIFIED, Unit_UNIT_STATE_NOT_PROVISIONED, Unit_UNIT_STATE_PROVISIONING, Unit_UNIT_STATE_UPDATING, Unit_UNIT_STATE_DEPROVISIONING, Unit_UNIT_STATE_READY, Unit_UNIT_STATE_ERROR
const (
// Unspecified state.
Unit_UNIT_STATE_UNSPECIFIED Unit_UnitState = 0
// Unit is not provisioned.
Unit_UNIT_STATE_NOT_PROVISIONED Unit_UnitState = 1
// Unit is being provisioned.
Unit_UNIT_STATE_PROVISIONING Unit_UnitState = 2
// Unit is being updated. This is typically when a unit is being upgraded to
// a new release or some of the input variables on the Unit is being
// changed. Certain kinds of updates may cause the Unit to become unusable
// while the update is in progress.
Unit_UNIT_STATE_UPDATING Unit_UnitState = 3
// Unit is being deleted.
Unit_UNIT_STATE_DEPROVISIONING Unit_UnitState = 4
// Unit has been provisioned and is ready for use
Unit_UNIT_STATE_READY Unit_UnitState = 5
// Unit has error, when it is not ready and some error operation
Unit_UNIT_STATE_ERROR Unit_UnitState = 6
)func (Unit_UnitState) Descriptor
func (Unit_UnitState) Descriptor() protoreflect.EnumDescriptorfunc (Unit_UnitState) Enum
func (x Unit_UnitState) Enum() *Unit_UnitStatefunc (Unit_UnitState) EnumDescriptor
func (Unit_UnitState) EnumDescriptor() ([]byte, []int)Deprecated: Use Unit_UnitState.Descriptor instead.
func (Unit_UnitState) Number
func (x Unit_UnitState) Number() protoreflect.EnumNumberfunc (Unit_UnitState) String
func (x Unit_UnitState) String() stringfunc (Unit_UnitState) Type
func (Unit_UnitState) Type() protoreflect.EnumTypeUnsafeSaasDeploymentsServer
type UnsafeSaasDeploymentsServer interface {
// contains filtered or unexported methods
}UnsafeSaasDeploymentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SaasDeploymentsServer will result in compilation errors.
UnsafeSaasRolloutsServer
type UnsafeSaasRolloutsServer interface {
// contains filtered or unexported methods
}UnsafeSaasRolloutsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SaasRolloutsServer will result in compilation errors.
UpdateReleaseRequest
type UpdateReleaseRequest struct {
// Required. The desired state for the release.
Release *Release `protobuf:"bytes,10504,opt,name=release,proto3" json:"release,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Field mask is used to specify the fields to be overwritten in the
// Release resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask then all fields in the
// Release will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,10512,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request structure for the UpdateRelease method.
func (*UpdateReleaseRequest) Descriptor
func (*UpdateReleaseRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateReleaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateReleaseRequest) GetRelease
func (x *UpdateReleaseRequest) GetRelease() *Releasefunc (*UpdateReleaseRequest) GetRequestId
func (x *UpdateReleaseRequest) GetRequestId() stringfunc (*UpdateReleaseRequest) GetUpdateMask
func (x *UpdateReleaseRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateReleaseRequest) GetValidateOnly
func (x *UpdateReleaseRequest) GetValidateOnly() boolfunc (*UpdateReleaseRequest) ProtoMessage
func (*UpdateReleaseRequest) ProtoMessage()func (*UpdateReleaseRequest) ProtoReflect
func (x *UpdateReleaseRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateReleaseRequest) Reset
func (x *UpdateReleaseRequest) Reset()func (*UpdateReleaseRequest) String
func (x *UpdateReleaseRequest) String() stringUpdateRolloutKindRequest
type UpdateRolloutKindRequest struct {
// Required. The desired state for the rollout kind.
RolloutKind *RolloutKind `protobuf:"bytes,10504,opt,name=rollout_kind,json=rolloutKind,proto3" json:"rollout_kind,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Field mask is used to specify the fields to be overwritten in the
// RolloutKind resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask then all fields in the
// RolloutKind will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,10512,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request structure for the UpdateRolloutKind method.
func (*UpdateRolloutKindRequest) Descriptor
func (*UpdateRolloutKindRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateRolloutKindRequest.ProtoReflect.Descriptor instead.
func (*UpdateRolloutKindRequest) GetRequestId
func (x *UpdateRolloutKindRequest) GetRequestId() stringfunc (*UpdateRolloutKindRequest) GetRolloutKind
func (x *UpdateRolloutKindRequest) GetRolloutKind() *RolloutKindfunc (*UpdateRolloutKindRequest) GetUpdateMask
func (x *UpdateRolloutKindRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateRolloutKindRequest) GetValidateOnly
func (x *UpdateRolloutKindRequest) GetValidateOnly() boolfunc (*UpdateRolloutKindRequest) ProtoMessage
func (*UpdateRolloutKindRequest) ProtoMessage()func (*UpdateRolloutKindRequest) ProtoReflect
func (x *UpdateRolloutKindRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateRolloutKindRequest) Reset
func (x *UpdateRolloutKindRequest) Reset()func (*UpdateRolloutKindRequest) String
func (x *UpdateRolloutKindRequest) String() stringUpdateRolloutRequest
type UpdateRolloutRequest struct {
// Required. The desired state for the rollout.
Rollout *Rollout `protobuf:"bytes,10504,opt,name=rollout,proto3" json:"rollout,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Field mask is used to specify the fields to be overwritten in the
// Rollout resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask then all fields in the
// Rollout will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,10512,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request structure for the UpdateRollout method.
func (*UpdateRolloutRequest) Descriptor
func (*UpdateRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateRolloutRequest.ProtoReflect.Descriptor instead.
func (*UpdateRolloutRequest) GetRequestId
func (x *UpdateRolloutRequest) GetRequestId() stringfunc (*UpdateRolloutRequest) GetRollout
func (x *UpdateRolloutRequest) GetRollout() *Rolloutfunc (*UpdateRolloutRequest) GetUpdateMask
func (x *UpdateRolloutRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateRolloutRequest) GetValidateOnly
func (x *UpdateRolloutRequest) GetValidateOnly() boolfunc (*UpdateRolloutRequest) ProtoMessage
func (*UpdateRolloutRequest) ProtoMessage()func (*UpdateRolloutRequest) ProtoReflect
func (x *UpdateRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateRolloutRequest) Reset
func (x *UpdateRolloutRequest) Reset()func (*UpdateRolloutRequest) String
func (x *UpdateRolloutRequest) String() stringUpdateSaasRequest
type UpdateSaasRequest struct {
// Required. The desired state for the saas.
Saas *Saas `protobuf:"bytes,10504,opt,name=saas,proto3" json:"saas,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Field mask is used to specify the fields to be overwritten in the
// Saas resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask then all fields in the
// Saas will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,10512,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request structure for the UpdateSaas method.
func (*UpdateSaasRequest) Descriptor
func (*UpdateSaasRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateSaasRequest.ProtoReflect.Descriptor instead.
func (*UpdateSaasRequest) GetRequestId
func (x *UpdateSaasRequest) GetRequestId() stringfunc (*UpdateSaasRequest) GetSaas
func (x *UpdateSaasRequest) GetSaas() *Saasfunc (*UpdateSaasRequest) GetUpdateMask
func (x *UpdateSaasRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSaasRequest) GetValidateOnly
func (x *UpdateSaasRequest) GetValidateOnly() boolfunc (*UpdateSaasRequest) ProtoMessage
func (*UpdateSaasRequest) ProtoMessage()func (*UpdateSaasRequest) ProtoReflect
func (x *UpdateSaasRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSaasRequest) Reset
func (x *UpdateSaasRequest) Reset()func (*UpdateSaasRequest) String
func (x *UpdateSaasRequest) String() stringUpdateTenantRequest
type UpdateTenantRequest struct {
// Required. The desired state for the tenant.
Tenant *Tenant `protobuf:"bytes,10504,opt,name=tenant,proto3" json:"tenant,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Field mask is used to specify the fields to be overwritten in the
// Tenant resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask then all fields in the
// Tenant will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,10512,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request structure for the UpdateTenant method.
func (*UpdateTenantRequest) Descriptor
func (*UpdateTenantRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTenantRequest.ProtoReflect.Descriptor instead.
func (*UpdateTenantRequest) GetRequestId
func (x *UpdateTenantRequest) GetRequestId() stringfunc (*UpdateTenantRequest) GetTenant
func (x *UpdateTenantRequest) GetTenant() *Tenantfunc (*UpdateTenantRequest) GetUpdateMask
func (x *UpdateTenantRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTenantRequest) GetValidateOnly
func (x *UpdateTenantRequest) GetValidateOnly() boolfunc (*UpdateTenantRequest) ProtoMessage
func (*UpdateTenantRequest) ProtoMessage()func (*UpdateTenantRequest) ProtoReflect
func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTenantRequest) Reset
func (x *UpdateTenantRequest) Reset()func (*UpdateTenantRequest) String
func (x *UpdateTenantRequest) String() stringUpdateUnitKindRequest
type UpdateUnitKindRequest struct {
// Required. The desired state for the unit kind.
UnitKind *UnitKind `protobuf:"bytes,10504,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Field mask is used to specify the fields to be overwritten in the
// UnitKind resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask then all fields in the
// UnitKind will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,10512,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request structure for the UpdateUnitKind method.
func (*UpdateUnitKindRequest) Descriptor
func (*UpdateUnitKindRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateUnitKindRequest.ProtoReflect.Descriptor instead.
func (*UpdateUnitKindRequest) GetRequestId
func (x *UpdateUnitKindRequest) GetRequestId() stringfunc (*UpdateUnitKindRequest) GetUnitKind
func (x *UpdateUnitKindRequest) GetUnitKind() *UnitKindfunc (*UpdateUnitKindRequest) GetUpdateMask
func (x *UpdateUnitKindRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateUnitKindRequest) GetValidateOnly
func (x *UpdateUnitKindRequest) GetValidateOnly() boolfunc (*UpdateUnitKindRequest) ProtoMessage
func (*UpdateUnitKindRequest) ProtoMessage()func (*UpdateUnitKindRequest) ProtoReflect
func (x *UpdateUnitKindRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateUnitKindRequest) Reset
func (x *UpdateUnitKindRequest) Reset()func (*UpdateUnitKindRequest) String
func (x *UpdateUnitKindRequest) String() stringUpdateUnitOperationRequest
type UpdateUnitOperationRequest struct {
// Required. The desired state for the unit operation.
UnitOperation *UnitOperation `protobuf:"bytes,10504,opt,name=unit_operation,json=unitOperation,proto3" json:"unit_operation,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Field mask is used to specify the fields to be overwritten in the
// UnitOperation resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask then all fields in the
// UnitOperation will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,10512,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request structure for the UpdateUnitOperation method.
func (*UpdateUnitOperationRequest) Descriptor
func (*UpdateUnitOperationRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateUnitOperationRequest.ProtoReflect.Descriptor instead.
func (*UpdateUnitOperationRequest) GetRequestId
func (x *UpdateUnitOperationRequest) GetRequestId() stringfunc (*UpdateUnitOperationRequest) GetUnitOperation
func (x *UpdateUnitOperationRequest) GetUnitOperation() *UnitOperationfunc (*UpdateUnitOperationRequest) GetUpdateMask
func (x *UpdateUnitOperationRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateUnitOperationRequest) GetValidateOnly
func (x *UpdateUnitOperationRequest) GetValidateOnly() boolfunc (*UpdateUnitOperationRequest) ProtoMessage
func (*UpdateUnitOperationRequest) ProtoMessage()func (*UpdateUnitOperationRequest) ProtoReflect
func (x *UpdateUnitOperationRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateUnitOperationRequest) Reset
func (x *UpdateUnitOperationRequest) Reset()func (*UpdateUnitOperationRequest) String
func (x *UpdateUnitOperationRequest) String() stringUpdateUnitRequest
type UpdateUnitRequest struct {
// Required. The desired state for the unit.
Unit *Unit `protobuf:"bytes,10504,opt,name=unit,proto3" json:"unit,omitempty"`
// If "validate_only" is set to true, the service will try to validate
// that this request would succeed, but will not actually make changes.
ValidateOnly bool `protobuf:"varint,10501,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// An optional request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server will know to ignore
// the request if it has already been completed. The server will guarantee
// that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,10502,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Field mask is used to specify the fields to be overwritten in the
// Unit resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask then all fields in the
// Unit will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,10512,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request structure for the UpdateUnit method.
func (*UpdateUnitRequest) Descriptor
func (*UpdateUnitRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateUnitRequest.ProtoReflect.Descriptor instead.
func (*UpdateUnitRequest) GetRequestId
func (x *UpdateUnitRequest) GetRequestId() stringfunc (*UpdateUnitRequest) GetUnit
func (x *UpdateUnitRequest) GetUnit() *Unitfunc (*UpdateUnitRequest) GetUpdateMask
func (x *UpdateUnitRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateUnitRequest) GetValidateOnly
func (x *UpdateUnitRequest) GetValidateOnly() boolfunc (*UpdateUnitRequest) ProtoMessage
func (*UpdateUnitRequest) ProtoMessage()func (*UpdateUnitRequest) ProtoReflect
func (x *UpdateUnitRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateUnitRequest) Reset
func (x *UpdateUnitRequest) Reset()func (*UpdateUnitRequest) String
func (x *UpdateUnitRequest) String() stringUpgrade
type Upgrade struct {
// Optional. Reference to the Release object to use for the Unit. (optional).
Release string `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
// Optional. Set of input variables. Maximum 100. (optional)
InputVariables []*UnitVariable `protobuf:"bytes,2,rep,name=input_variables,json=inputVariables,proto3" json:"input_variables,omitempty"`
// contains filtered or unexported fields
}Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned.
func (*Upgrade) Descriptor
Deprecated: Use Upgrade.ProtoReflect.Descriptor instead.
func (*Upgrade) GetInputVariables
func (x *Upgrade) GetInputVariables() []*UnitVariablefunc (*Upgrade) GetRelease
func (*Upgrade) ProtoMessage
func (*Upgrade) ProtoMessage()func (*Upgrade) ProtoReflect
func (x *Upgrade) ProtoReflect() protoreflect.Messagefunc (*Upgrade) Reset
func (x *Upgrade) Reset()func (*Upgrade) String
VariableMapping
type VariableMapping struct {
// Types that are valid to be assigned to MappingType:
//
// *VariableMapping_From
// *VariableMapping_To
MappingType isVariableMapping_MappingType `protobuf_oneof:"mapping_type"`
// Required. name of the variable
Variable string `protobuf:"bytes,1,opt,name=variable,proto3" json:"variable,omitempty"`
// contains filtered or unexported fields
}Mapping of input variables to their respective output variable for depedenencies
func (*VariableMapping) Descriptor
func (*VariableMapping) Descriptor() ([]byte, []int)Deprecated: Use VariableMapping.ProtoReflect.Descriptor instead.
func (*VariableMapping) GetFrom
func (x *VariableMapping) GetFrom() *FromMappingfunc (*VariableMapping) GetMappingType
func (x *VariableMapping) GetMappingType() isVariableMapping_MappingTypefunc (*VariableMapping) GetTo
func (x *VariableMapping) GetTo() *ToMappingfunc (*VariableMapping) GetVariable
func (x *VariableMapping) GetVariable() stringfunc (*VariableMapping) ProtoMessage
func (*VariableMapping) ProtoMessage()func (*VariableMapping) ProtoReflect
func (x *VariableMapping) ProtoReflect() protoreflect.Messagefunc (*VariableMapping) Reset
func (x *VariableMapping) Reset()func (*VariableMapping) String
func (x *VariableMapping) String() stringVariableMapping_From
type VariableMapping_From struct {
// Optional. Output variables which will get their values from dependencies
From *FromMapping `protobuf:"bytes,2,opt,name=from,proto3,oneof"`
}VariableMapping_To
type VariableMapping_To struct {
// Optional. Input variables whose values will be passed on to dependencies.
To *ToMapping `protobuf:"bytes,3,opt,name=to,proto3,oneof"`
}