Constants
Applications_GetApplication_FullMethodName, Applications_CreateApplication_FullMethodName, Applications_UpdateApplication_FullMethodName, Applications_RepairApplication_FullMethodName
const (
Applications_GetApplication_FullMethodName = "/google.appengine.v1.Applications/GetApplication"
Applications_CreateApplication_FullMethodName = "/google.appengine.v1.Applications/CreateApplication"
Applications_UpdateApplication_FullMethodName = "/google.appengine.v1.Applications/UpdateApplication"
Applications_RepairApplication_FullMethodName = "/google.appengine.v1.Applications/RepairApplication"
)Services_ListServices_FullMethodName, Services_GetService_FullMethodName, Services_UpdateService_FullMethodName, Services_DeleteService_FullMethodName
const (
Services_ListServices_FullMethodName = "/google.appengine.v1.Services/ListServices"
Services_GetService_FullMethodName = "/google.appengine.v1.Services/GetService"
Services_UpdateService_FullMethodName = "/google.appengine.v1.Services/UpdateService"
Services_DeleteService_FullMethodName = "/google.appengine.v1.Services/DeleteService"
)Versions_ListVersions_FullMethodName, Versions_GetVersion_FullMethodName, Versions_CreateVersion_FullMethodName, Versions_UpdateVersion_FullMethodName, Versions_DeleteVersion_FullMethodName
const (
Versions_ListVersions_FullMethodName = "/google.appengine.v1.Versions/ListVersions"
Versions_GetVersion_FullMethodName = "/google.appengine.v1.Versions/GetVersion"
Versions_CreateVersion_FullMethodName = "/google.appengine.v1.Versions/CreateVersion"
Versions_UpdateVersion_FullMethodName = "/google.appengine.v1.Versions/UpdateVersion"
Versions_DeleteVersion_FullMethodName = "/google.appengine.v1.Versions/DeleteVersion"
)Instances_ListInstances_FullMethodName, Instances_GetInstance_FullMethodName, Instances_DeleteInstance_FullMethodName, Instances_DebugInstance_FullMethodName
const (
Instances_ListInstances_FullMethodName = "/google.appengine.v1.Instances/ListInstances"
Instances_GetInstance_FullMethodName = "/google.appengine.v1.Instances/GetInstance"
Instances_DeleteInstance_FullMethodName = "/google.appengine.v1.Instances/DeleteInstance"
Instances_DebugInstance_FullMethodName = "/google.appengine.v1.Instances/DebugInstance"
)Firewall_ListIngressRules_FullMethodName, Firewall_BatchUpdateIngressRules_FullMethodName, Firewall_CreateIngressRule_FullMethodName, Firewall_GetIngressRule_FullMethodName, Firewall_UpdateIngressRule_FullMethodName, Firewall_DeleteIngressRule_FullMethodName
const (
Firewall_ListIngressRules_FullMethodName = "/google.appengine.v1.Firewall/ListIngressRules"
Firewall_BatchUpdateIngressRules_FullMethodName = "/google.appengine.v1.Firewall/BatchUpdateIngressRules"
Firewall_CreateIngressRule_FullMethodName = "/google.appengine.v1.Firewall/CreateIngressRule"
Firewall_GetIngressRule_FullMethodName = "/google.appengine.v1.Firewall/GetIngressRule"
Firewall_UpdateIngressRule_FullMethodName = "/google.appengine.v1.Firewall/UpdateIngressRule"
Firewall_DeleteIngressRule_FullMethodName = "/google.appengine.v1.Firewall/DeleteIngressRule"
)AuthorizedCertificates_ListAuthorizedCertificates_FullMethodName, AuthorizedCertificates_GetAuthorizedCertificate_FullMethodName, AuthorizedCertificates_CreateAuthorizedCertificate_FullMethodName, AuthorizedCertificates_UpdateAuthorizedCertificate_FullMethodName, AuthorizedCertificates_DeleteAuthorizedCertificate_FullMethodName
const (
AuthorizedCertificates_ListAuthorizedCertificates_FullMethodName = "/google.appengine.v1.AuthorizedCertificates/ListAuthorizedCertificates"
AuthorizedCertificates_GetAuthorizedCertificate_FullMethodName = "/google.appengine.v1.AuthorizedCertificates/GetAuthorizedCertificate"
AuthorizedCertificates_CreateAuthorizedCertificate_FullMethodName = "/google.appengine.v1.AuthorizedCertificates/CreateAuthorizedCertificate"
AuthorizedCertificates_UpdateAuthorizedCertificate_FullMethodName = "/google.appengine.v1.AuthorizedCertificates/UpdateAuthorizedCertificate"
AuthorizedCertificates_DeleteAuthorizedCertificate_FullMethodName = "/google.appengine.v1.AuthorizedCertificates/DeleteAuthorizedCertificate"
)DomainMappings_ListDomainMappings_FullMethodName, DomainMappings_GetDomainMapping_FullMethodName, DomainMappings_CreateDomainMapping_FullMethodName, DomainMappings_UpdateDomainMapping_FullMethodName, DomainMappings_DeleteDomainMapping_FullMethodName
const (
DomainMappings_ListDomainMappings_FullMethodName = "/google.appengine.v1.DomainMappings/ListDomainMappings"
DomainMappings_GetDomainMapping_FullMethodName = "/google.appengine.v1.DomainMappings/GetDomainMapping"
DomainMappings_CreateDomainMapping_FullMethodName = "/google.appengine.v1.DomainMappings/CreateDomainMapping"
DomainMappings_UpdateDomainMapping_FullMethodName = "/google.appengine.v1.DomainMappings/UpdateDomainMapping"
DomainMappings_DeleteDomainMapping_FullMethodName = "/google.appengine.v1.DomainMappings/DeleteDomainMapping"
)AuthorizedDomains_ListAuthorizedDomains_FullMethodName
const (
AuthorizedDomains_ListAuthorizedDomains_FullMethodName = "/google.appengine.v1.AuthorizedDomains/ListAuthorizedDomains"
)Variables
AuthFailAction_name, AuthFailAction_value
var (
AuthFailAction_name = map[int32]string{
0: "AUTH_FAIL_ACTION_UNSPECIFIED",
1: "AUTH_FAIL_ACTION_REDIRECT",
2: "AUTH_FAIL_ACTION_UNAUTHORIZED",
}
AuthFailAction_value = map[string]int32{
"AUTH_FAIL_ACTION_UNSPECIFIED": 0,
"AUTH_FAIL_ACTION_REDIRECT": 1,
"AUTH_FAIL_ACTION_UNAUTHORIZED": 2,
}
)Enum value maps for AuthFailAction.
LoginRequirement_name, LoginRequirement_value
var (
LoginRequirement_name = map[int32]string{
0: "LOGIN_UNSPECIFIED",
1: "LOGIN_OPTIONAL",
2: "LOGIN_ADMIN",
3: "LOGIN_REQUIRED",
}
LoginRequirement_value = map[string]int32{
"LOGIN_UNSPECIFIED": 0,
"LOGIN_OPTIONAL": 1,
"LOGIN_ADMIN": 2,
"LOGIN_REQUIRED": 3,
}
)Enum value maps for LoginRequirement.
SecurityLevel_name, SecurityLevel_value
var (
SecurityLevel_name = map[int32]string{
0: "SECURE_UNSPECIFIED",
1: "SECURE_NEVER",
2: "SECURE_OPTIONAL",
3: "SECURE_ALWAYS",
}
SecurityLevel_value = map[string]int32{
"SECURE_UNSPECIFIED": 0,
"SECURE_DEFAULT": 0,
"SECURE_NEVER": 1,
"SECURE_OPTIONAL": 2,
"SECURE_ALWAYS": 3,
}
)Enum value maps for SecurityLevel.
ErrorHandler_ErrorCode_name, ErrorHandler_ErrorCode_value
var (
ErrorHandler_ErrorCode_name = map[int32]string{
0: "ERROR_CODE_UNSPECIFIED",
1: "ERROR_CODE_OVER_QUOTA",
2: "ERROR_CODE_DOS_API_DENIAL",
3: "ERROR_CODE_TIMEOUT",
}
ErrorHandler_ErrorCode_value = map[string]int32{
"ERROR_CODE_UNSPECIFIED": 0,
"ERROR_CODE_DEFAULT": 0,
"ERROR_CODE_OVER_QUOTA": 1,
"ERROR_CODE_DOS_API_DENIAL": 2,
"ERROR_CODE_TIMEOUT": 3,
}
)Enum value maps for ErrorHandler_ErrorCode.
UrlMap_RedirectHttpResponseCode_name, UrlMap_RedirectHttpResponseCode_value
var (
UrlMap_RedirectHttpResponseCode_name = map[int32]string{
0: "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED",
1: "REDIRECT_HTTP_RESPONSE_CODE_301",
2: "REDIRECT_HTTP_RESPONSE_CODE_302",
3: "REDIRECT_HTTP_RESPONSE_CODE_303",
4: "REDIRECT_HTTP_RESPONSE_CODE_307",
}
UrlMap_RedirectHttpResponseCode_value = map[string]int32{
"REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED": 0,
"REDIRECT_HTTP_RESPONSE_CODE_301": 1,
"REDIRECT_HTTP_RESPONSE_CODE_302": 2,
"REDIRECT_HTTP_RESPONSE_CODE_303": 3,
"REDIRECT_HTTP_RESPONSE_CODE_307": 4,
}
)Enum value maps for UrlMap_RedirectHttpResponseCode.
VersionView_name, VersionView_value
var (
VersionView_name = map[int32]string{
0: "BASIC",
1: "FULL",
}
VersionView_value = map[string]int32{
"BASIC": 0,
"FULL": 1,
}
)Enum value maps for VersionView.
AuthorizedCertificateView_name, AuthorizedCertificateView_value
var (
AuthorizedCertificateView_name = map[int32]string{
0: "BASIC_CERTIFICATE",
1: "FULL_CERTIFICATE",
}
AuthorizedCertificateView_value = map[string]int32{
"BASIC_CERTIFICATE": 0,
"FULL_CERTIFICATE": 1,
}
)Enum value maps for AuthorizedCertificateView.
DomainOverrideStrategy_name, DomainOverrideStrategy_value
var (
DomainOverrideStrategy_name = map[int32]string{
0: "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY",
1: "STRICT",
2: "OVERRIDE",
}
DomainOverrideStrategy_value = map[string]int32{
"UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY": 0,
"STRICT": 1,
"OVERRIDE": 2,
}
)Enum value maps for DomainOverrideStrategy.
Application_ServingStatus_name, Application_ServingStatus_value
var (
Application_ServingStatus_name = map[int32]string{
0: "UNSPECIFIED",
1: "SERVING",
2: "USER_DISABLED",
3: "SYSTEM_DISABLED",
}
Application_ServingStatus_value = map[string]int32{
"UNSPECIFIED": 0,
"SERVING": 1,
"USER_DISABLED": 2,
"SYSTEM_DISABLED": 3,
}
)Enum value maps for Application_ServingStatus.
Application_DatabaseType_name, Application_DatabaseType_value
var (
Application_DatabaseType_name = map[int32]string{
0: "DATABASE_TYPE_UNSPECIFIED",
1: "CLOUD_DATASTORE",
2: "CLOUD_FIRESTORE",
3: "CLOUD_DATASTORE_COMPATIBILITY",
}
Application_DatabaseType_value = map[string]int32{
"DATABASE_TYPE_UNSPECIFIED": 0,
"CLOUD_DATASTORE": 1,
"CLOUD_FIRESTORE": 2,
"CLOUD_DATASTORE_COMPATIBILITY": 3,
}
)Enum value maps for Application_DatabaseType.
ManagementStatus_name, ManagementStatus_value
var (
ManagementStatus_name = map[int32]string{
0: "MANAGEMENT_STATUS_UNSPECIFIED",
1: "OK",
2: "PENDING",
4: "FAILED_RETRYING_NOT_VISIBLE",
6: "FAILED_PERMANENT",
7: "FAILED_RETRYING_CAA_FORBIDDEN",
8: "FAILED_RETRYING_CAA_CHECKING",
}
ManagementStatus_value = map[string]int32{
"MANAGEMENT_STATUS_UNSPECIFIED": 0,
"OK": 1,
"PENDING": 2,
"FAILED_RETRYING_NOT_VISIBLE": 4,
"FAILED_PERMANENT": 6,
"FAILED_RETRYING_CAA_FORBIDDEN": 7,
"FAILED_RETRYING_CAA_CHECKING": 8,
}
)Enum value maps for ManagementStatus.
SslSettings_SslManagementType_name, SslSettings_SslManagementType_value
var (
SslSettings_SslManagementType_name = map[int32]string{
0: "SSL_MANAGEMENT_TYPE_UNSPECIFIED",
1: "AUTOMATIC",
2: "MANUAL",
}
SslSettings_SslManagementType_value = map[string]int32{
"SSL_MANAGEMENT_TYPE_UNSPECIFIED": 0,
"AUTOMATIC": 1,
"MANUAL": 2,
}
)Enum value maps for SslSettings_SslManagementType.
ResourceRecord_RecordType_name, ResourceRecord_RecordType_value
var (
ResourceRecord_RecordType_name = map[int32]string{
0: "RECORD_TYPE_UNSPECIFIED",
1: "A",
2: "AAAA",
3: "CNAME",
}
ResourceRecord_RecordType_value = map[string]int32{
"RECORD_TYPE_UNSPECIFIED": 0,
"A": 1,
"AAAA": 2,
"CNAME": 3,
}
)Enum value maps for ResourceRecord_RecordType.
FirewallRule_Action_name, FirewallRule_Action_value
var (
FirewallRule_Action_name = map[int32]string{
0: "UNSPECIFIED_ACTION",
1: "ALLOW",
2: "DENY",
}
FirewallRule_Action_value = map[string]int32{
"UNSPECIFIED_ACTION": 0,
"ALLOW": 1,
"DENY": 2,
}
)Enum value maps for FirewallRule_Action.
Instance_Availability_name, Instance_Availability_value
var (
Instance_Availability_name = map[int32]string{
0: "UNSPECIFIED",
1: "RESIDENT",
2: "DYNAMIC",
}
Instance_Availability_value = map[string]int32{
"UNSPECIFIED": 0,
"RESIDENT": 1,
"DYNAMIC": 2,
}
)Enum value maps for Instance_Availability.
Instance_Liveness_LivenessState_name, Instance_Liveness_LivenessState_value
var (
Instance_Liveness_LivenessState_name = map[int32]string{
0: "LIVENESS_STATE_UNSPECIFIED",
1: "UNKNOWN",
2: "HEALTHY",
3: "UNHEALTHY",
4: "DRAINING",
5: "TIMEOUT",
}
Instance_Liveness_LivenessState_value = map[string]int32{
"LIVENESS_STATE_UNSPECIFIED": 0,
"UNKNOWN": 1,
"HEALTHY": 2,
"UNHEALTHY": 3,
"DRAINING": 4,
"TIMEOUT": 5,
}
)Enum value maps for Instance_Liveness_LivenessState.
NetworkSettings_IngressTrafficAllowed_name, NetworkSettings_IngressTrafficAllowed_value
var (
NetworkSettings_IngressTrafficAllowed_name = map[int32]string{
0: "INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED",
1: "INGRESS_TRAFFIC_ALLOWED_ALL",
2: "INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY",
3: "INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB",
}
NetworkSettings_IngressTrafficAllowed_value = map[string]int32{
"INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED": 0,
"INGRESS_TRAFFIC_ALLOWED_ALL": 1,
"INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY": 2,
"INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB": 3,
}
)Enum value maps for NetworkSettings_IngressTrafficAllowed.
TrafficSplit_ShardBy_name, TrafficSplit_ShardBy_value
var (
TrafficSplit_ShardBy_name = map[int32]string{
0: "UNSPECIFIED",
1: "COOKIE",
2: "IP",
3: "RANDOM",
}
TrafficSplit_ShardBy_value = map[string]int32{
"UNSPECIFIED": 0,
"COOKIE": 1,
"IP": 2,
"RANDOM": 3,
}
)Enum value maps for TrafficSplit_ShardBy.
InboundServiceType_name, InboundServiceType_value
var (
InboundServiceType_name = map[int32]string{
0: "INBOUND_SERVICE_UNSPECIFIED",
1: "INBOUND_SERVICE_MAIL",
2: "INBOUND_SERVICE_MAIL_BOUNCE",
3: "INBOUND_SERVICE_XMPP_ERROR",
4: "INBOUND_SERVICE_XMPP_MESSAGE",
5: "INBOUND_SERVICE_XMPP_SUBSCRIBE",
6: "INBOUND_SERVICE_XMPP_PRESENCE",
7: "INBOUND_SERVICE_CHANNEL_PRESENCE",
9: "INBOUND_SERVICE_WARMUP",
}
InboundServiceType_value = map[string]int32{
"INBOUND_SERVICE_UNSPECIFIED": 0,
"INBOUND_SERVICE_MAIL": 1,
"INBOUND_SERVICE_MAIL_BOUNCE": 2,
"INBOUND_SERVICE_XMPP_ERROR": 3,
"INBOUND_SERVICE_XMPP_MESSAGE": 4,
"INBOUND_SERVICE_XMPP_SUBSCRIBE": 5,
"INBOUND_SERVICE_XMPP_PRESENCE": 6,
"INBOUND_SERVICE_CHANNEL_PRESENCE": 7,
"INBOUND_SERVICE_WARMUP": 9,
}
)Enum value maps for InboundServiceType.
ServingStatus_name, ServingStatus_value
var (
ServingStatus_name = map[int32]string{
0: "SERVING_STATUS_UNSPECIFIED",
1: "SERVING",
2: "STOPPED",
}
ServingStatus_value = map[string]int32{
"SERVING_STATUS_UNSPECIFIED": 0,
"SERVING": 1,
"STOPPED": 2,
}
)Enum value maps for ServingStatus.
EndpointsApiService_RolloutStrategy_name, EndpointsApiService_RolloutStrategy_value
var (
EndpointsApiService_RolloutStrategy_name = map[int32]string{
0: "UNSPECIFIED_ROLLOUT_STRATEGY",
1: "FIXED",
2: "MANAGED",
}
EndpointsApiService_RolloutStrategy_value = map[string]int32{
"UNSPECIFIED_ROLLOUT_STRATEGY": 0,
"FIXED": 1,
"MANAGED": 2,
}
)Enum value maps for EndpointsApiService_RolloutStrategy.
VpcAccessConnector_EgressSetting_name, VpcAccessConnector_EgressSetting_value
var (
VpcAccessConnector_EgressSetting_name = map[int32]string{
0: "EGRESS_SETTING_UNSPECIFIED",
1: "ALL_TRAFFIC",
2: "PRIVATE_IP_RANGES",
}
VpcAccessConnector_EgressSetting_value = map[string]int32{
"EGRESS_SETTING_UNSPECIFIED": 0,
"ALL_TRAFFIC": 1,
"PRIVATE_IP_RANGES": 2,
}
)Enum value maps for VpcAccessConnector_EgressSetting.
Applications_ServiceDesc
var Applications_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.appengine.v1.Applications",
HandlerType: (*ApplicationsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetApplication",
Handler: _Applications_GetApplication_Handler,
},
{
MethodName: "CreateApplication",
Handler: _Applications_CreateApplication_Handler,
},
{
MethodName: "UpdateApplication",
Handler: _Applications_UpdateApplication_Handler,
},
{
MethodName: "RepairApplication",
Handler: _Applications_RepairApplication_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/appengine/v1/appengine.proto",
}Applications_ServiceDesc is the grpc.ServiceDesc for Applications service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
AuthorizedCertificates_ServiceDesc
var AuthorizedCertificates_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.appengine.v1.AuthorizedCertificates",
HandlerType: (*AuthorizedCertificatesServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListAuthorizedCertificates",
Handler: _AuthorizedCertificates_ListAuthorizedCertificates_Handler,
},
{
MethodName: "GetAuthorizedCertificate",
Handler: _AuthorizedCertificates_GetAuthorizedCertificate_Handler,
},
{
MethodName: "CreateAuthorizedCertificate",
Handler: _AuthorizedCertificates_CreateAuthorizedCertificate_Handler,
},
{
MethodName: "UpdateAuthorizedCertificate",
Handler: _AuthorizedCertificates_UpdateAuthorizedCertificate_Handler,
},
{
MethodName: "DeleteAuthorizedCertificate",
Handler: _AuthorizedCertificates_DeleteAuthorizedCertificate_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/appengine/v1/appengine.proto",
}AuthorizedCertificates_ServiceDesc is the grpc.ServiceDesc for AuthorizedCertificates service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
AuthorizedDomains_ServiceDesc
var AuthorizedDomains_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.appengine.v1.AuthorizedDomains",
HandlerType: (*AuthorizedDomainsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListAuthorizedDomains",
Handler: _AuthorizedDomains_ListAuthorizedDomains_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/appengine/v1/appengine.proto",
}AuthorizedDomains_ServiceDesc is the grpc.ServiceDesc for AuthorizedDomains service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
DomainMappings_ServiceDesc
var DomainMappings_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.appengine.v1.DomainMappings",
HandlerType: (*DomainMappingsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListDomainMappings",
Handler: _DomainMappings_ListDomainMappings_Handler,
},
{
MethodName: "GetDomainMapping",
Handler: _DomainMappings_GetDomainMapping_Handler,
},
{
MethodName: "CreateDomainMapping",
Handler: _DomainMappings_CreateDomainMapping_Handler,
},
{
MethodName: "UpdateDomainMapping",
Handler: _DomainMappings_UpdateDomainMapping_Handler,
},
{
MethodName: "DeleteDomainMapping",
Handler: _DomainMappings_DeleteDomainMapping_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/appengine/v1/appengine.proto",
}DomainMappings_ServiceDesc is the grpc.ServiceDesc for DomainMappings service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_appengine_v1_app_yaml_proto
var File_google_appengine_v1_app_yaml_proto protoreflect.FileDescriptorFile_google_appengine_v1_appengine_proto
var File_google_appengine_v1_appengine_proto protoreflect.FileDescriptorFile_google_appengine_v1_application_proto
var File_google_appengine_v1_application_proto protoreflect.FileDescriptorFile_google_appengine_v1_audit_data_proto
var File_google_appengine_v1_audit_data_proto protoreflect.FileDescriptorFile_google_appengine_v1_certificate_proto
var File_google_appengine_v1_certificate_proto protoreflect.FileDescriptorFile_google_appengine_v1_deploy_proto
var File_google_appengine_v1_deploy_proto protoreflect.FileDescriptorFile_google_appengine_v1_deployed_files_proto
var File_google_appengine_v1_deployed_files_proto protoreflect.FileDescriptorFile_google_appengine_v1_domain_mapping_proto
var File_google_appengine_v1_domain_mapping_proto protoreflect.FileDescriptorFile_google_appengine_v1_domain_proto
var File_google_appengine_v1_domain_proto protoreflect.FileDescriptorFile_google_appengine_v1_firewall_proto
var File_google_appengine_v1_firewall_proto protoreflect.FileDescriptorFile_google_appengine_v1_instance_proto
var File_google_appengine_v1_instance_proto protoreflect.FileDescriptorFile_google_appengine_v1_location_proto
var File_google_appengine_v1_location_proto protoreflect.FileDescriptorFile_google_appengine_v1_network_settings_proto
var File_google_appengine_v1_network_settings_proto protoreflect.FileDescriptorFile_google_appengine_v1_operation_proto
var File_google_appengine_v1_operation_proto protoreflect.FileDescriptorFile_google_appengine_v1_service_proto
var File_google_appengine_v1_service_proto protoreflect.FileDescriptorFile_google_appengine_v1_version_proto
var File_google_appengine_v1_version_proto protoreflect.FileDescriptorFirewall_ServiceDesc
var Firewall_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.appengine.v1.Firewall",
HandlerType: (*FirewallServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListIngressRules",
Handler: _Firewall_ListIngressRules_Handler,
},
{
MethodName: "BatchUpdateIngressRules",
Handler: _Firewall_BatchUpdateIngressRules_Handler,
},
{
MethodName: "CreateIngressRule",
Handler: _Firewall_CreateIngressRule_Handler,
},
{
MethodName: "GetIngressRule",
Handler: _Firewall_GetIngressRule_Handler,
},
{
MethodName: "UpdateIngressRule",
Handler: _Firewall_UpdateIngressRule_Handler,
},
{
MethodName: "DeleteIngressRule",
Handler: _Firewall_DeleteIngressRule_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/appengine/v1/appengine.proto",
}Firewall_ServiceDesc is the grpc.ServiceDesc for Firewall service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Instances_ServiceDesc
var Instances_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.appengine.v1.Instances",
HandlerType: (*InstancesServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListInstances",
Handler: _Instances_ListInstances_Handler,
},
{
MethodName: "GetInstance",
Handler: _Instances_GetInstance_Handler,
},
{
MethodName: "DeleteInstance",
Handler: _Instances_DeleteInstance_Handler,
},
{
MethodName: "DebugInstance",
Handler: _Instances_DebugInstance_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/appengine/v1/appengine.proto",
}Instances_ServiceDesc is the grpc.ServiceDesc for Instances service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Services_ServiceDesc
var Services_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.appengine.v1.Services",
HandlerType: (*ServicesServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListServices",
Handler: _Services_ListServices_Handler,
},
{
MethodName: "GetService",
Handler: _Services_GetService_Handler,
},
{
MethodName: "UpdateService",
Handler: _Services_UpdateService_Handler,
},
{
MethodName: "DeleteService",
Handler: _Services_DeleteService_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/appengine/v1/appengine.proto",
}Services_ServiceDesc is the grpc.ServiceDesc for Services service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Versions_ServiceDesc
var Versions_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.appengine.v1.Versions",
HandlerType: (*VersionsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListVersions",
Handler: _Versions_ListVersions_Handler,
},
{
MethodName: "GetVersion",
Handler: _Versions_GetVersion_Handler,
},
{
MethodName: "CreateVersion",
Handler: _Versions_CreateVersion_Handler,
},
{
MethodName: "UpdateVersion",
Handler: _Versions_UpdateVersion_Handler,
},
{
MethodName: "DeleteVersion",
Handler: _Versions_DeleteVersion_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/appengine/v1/appengine.proto",
}Versions_ServiceDesc is the grpc.ServiceDesc for Versions service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterApplicationsServer
func RegisterApplicationsServer(s grpc.ServiceRegistrar, srv ApplicationsServer)func RegisterAuthorizedCertificatesServer
func RegisterAuthorizedCertificatesServer(s grpc.ServiceRegistrar, srv AuthorizedCertificatesServer)func RegisterAuthorizedDomainsServer
func RegisterAuthorizedDomainsServer(s grpc.ServiceRegistrar, srv AuthorizedDomainsServer)func RegisterDomainMappingsServer
func RegisterDomainMappingsServer(s grpc.ServiceRegistrar, srv DomainMappingsServer)func RegisterFirewallServer
func RegisterFirewallServer(s grpc.ServiceRegistrar, srv FirewallServer)func RegisterInstancesServer
func RegisterInstancesServer(s grpc.ServiceRegistrar, srv InstancesServer)func RegisterServicesServer
func RegisterServicesServer(s grpc.ServiceRegistrar, srv ServicesServer)func RegisterVersionsServer
func RegisterVersionsServer(s grpc.ServiceRegistrar, srv VersionsServer)ApiConfigHandler
type ApiConfigHandler struct {
// Action to take when users access resources that require
// authentication. Defaults to `redirect`.
AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
// Level of login required to access this resource. Defaults to
// `optional`.
Login LoginRequirement `protobuf:"varint,2,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
// Path to the script from the application root directory.
Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
// Security (HTTPS) enforcement for this URL.
SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
// URL to serve the endpoint at.
Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}Google Cloud Endpoints configuration for API handlers.
func (*ApiConfigHandler) Descriptor
func (*ApiConfigHandler) Descriptor() ([]byte, []int)Deprecated: Use ApiConfigHandler.ProtoReflect.Descriptor instead.
func (*ApiConfigHandler) GetAuthFailAction
func (x *ApiConfigHandler) GetAuthFailAction() AuthFailActionfunc (*ApiConfigHandler) GetLogin
func (x *ApiConfigHandler) GetLogin() LoginRequirementfunc (*ApiConfigHandler) GetScript
func (x *ApiConfigHandler) GetScript() stringfunc (*ApiConfigHandler) GetSecurityLevel
func (x *ApiConfigHandler) GetSecurityLevel() SecurityLevelfunc (*ApiConfigHandler) GetUrl
func (x *ApiConfigHandler) GetUrl() stringfunc (*ApiConfigHandler) ProtoMessage
func (*ApiConfigHandler) ProtoMessage()func (*ApiConfigHandler) ProtoReflect
func (x *ApiConfigHandler) ProtoReflect() protoreflect.Messagefunc (*ApiConfigHandler) Reset
func (x *ApiConfigHandler) Reset()func (*ApiConfigHandler) String
func (x *ApiConfigHandler) String() stringApiEndpointHandler
type ApiEndpointHandler struct {
// Path to the script from the application root directory.
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"`
// contains filtered or unexported fields
}Uses Google Cloud Endpoints to handle requests.
func (*ApiEndpointHandler) Descriptor
func (*ApiEndpointHandler) Descriptor() ([]byte, []int)Deprecated: Use ApiEndpointHandler.ProtoReflect.Descriptor instead.
func (*ApiEndpointHandler) GetScriptPath
func (x *ApiEndpointHandler) GetScriptPath() stringfunc (*ApiEndpointHandler) ProtoMessage
func (*ApiEndpointHandler) ProtoMessage()func (*ApiEndpointHandler) ProtoReflect
func (x *ApiEndpointHandler) ProtoReflect() protoreflect.Messagefunc (*ApiEndpointHandler) Reset
func (x *ApiEndpointHandler) Reset()func (*ApiEndpointHandler) String
func (x *ApiEndpointHandler) String() stringApplication
type Application struct {
// Full path to the Application resource in the API.
// Example: `apps/myapp`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Identifier of the Application resource. This identifier is equivalent
// to the project ID of the Google Cloud Platform project where you want to
// deploy your application.
// Example: `myapp`.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// HTTP path dispatch rules for requests to the application that do not
// explicitly target a service or version. Rules are order-dependent.
// Up to 20 dispatch rules can be supported.
DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules,proto3" json:"dispatch_rules,omitempty"`
// Google Apps authentication domain that controls which users can access
// this application.
//
// Defaults to open access for any Google Account.
AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain,proto3" json:"auth_domain,omitempty"`
// Location from which this application runs. Application instances
// run out of the data centers in the specified location, which is also where
// all of the application's end user content is stored.
//
// Defaults to `us-central`.
//
// View the list of
// [supported locations](https://cloud.google.com/appengine/docs/locations).
LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
// Google Cloud Storage bucket that can be used for storing files
// associated with this application. This bucket is associated with the
// application and can be used by the gcloud deployment commands.
//
// @OutputOnly
CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket,proto3" json:"code_bucket,omitempty"`
// Cookie expiration policy for this application.
DefaultCookieExpiration *durationpb.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration,proto3" json:"default_cookie_expiration,omitempty"`
// Serving status of this application.
ServingStatus Application_ServingStatus `protobuf:"varint,10,opt,name=serving_status,json=servingStatus,proto3,enum=google.appengine.v1.Application_ServingStatus" json:"serving_status,omitempty"`
// Hostname used to reach this application, as resolved by App Engine.
//
// @OutputOnly
DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname,proto3" json:"default_hostname,omitempty"`
// Google Cloud Storage bucket that can be used by this application to store
// content.
//
// @OutputOnly
DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket,proto3" json:"default_bucket,omitempty"`
// The service account associated with the application.
// This is the app-level default identity. If no identity provided during
// create version, Admin API will fallback to this one.
ServiceAccount string `protobuf:"bytes,13,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
Iap *Application_IdentityAwareProxy `protobuf:"bytes,14,opt,name=iap,proto3" json:"iap,omitempty"`
// The Google Container Registry domain used for storing managed build docker
// images for this application.
GcrDomain string `protobuf:"bytes,16,opt,name=gcr_domain,json=gcrDomain,proto3" json:"gcr_domain,omitempty"`
// The type of the Cloud Firestore or Cloud Datastore database associated with
// this application.
DatabaseType Application_DatabaseType `protobuf:"varint,17,opt,name=database_type,json=databaseType,proto3,enum=google.appengine.v1.Application_DatabaseType" json:"database_type,omitempty"`
// The feature specific settings to be used in the application.
FeatureSettings *Application_FeatureSettings `protobuf:"bytes,18,opt,name=feature_settings,json=featureSettings,proto3" json:"feature_settings,omitempty"`
// contains filtered or unexported fields
}An Application resource contains the top-level configuration of an App Engine application.
func (*Application) Descriptor
func (*Application) Descriptor() ([]byte, []int)Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetAuthDomain
func (x *Application) GetAuthDomain() stringfunc (*Application) GetCodeBucket
func (x *Application) GetCodeBucket() stringfunc (*Application) GetDatabaseType
func (x *Application) GetDatabaseType() Application_DatabaseTypefunc (*Application) GetDefaultBucket
func (x *Application) GetDefaultBucket() stringfunc (*Application) GetDefaultCookieExpiration
func (x *Application) GetDefaultCookieExpiration() *durationpb.Durationfunc (*Application) GetDefaultHostname
func (x *Application) GetDefaultHostname() stringfunc (*Application) GetDispatchRules
func (x *Application) GetDispatchRules() []*UrlDispatchRulefunc (*Application) GetFeatureSettings
func (x *Application) GetFeatureSettings() *Application_FeatureSettingsfunc (*Application) GetGcrDomain
func (x *Application) GetGcrDomain() stringfunc (*Application) GetIap
func (x *Application) GetIap() *Application_IdentityAwareProxyfunc (*Application) GetId
func (x *Application) GetId() stringfunc (*Application) GetLocationId
func (x *Application) GetLocationId() stringfunc (*Application) GetName
func (x *Application) GetName() stringfunc (*Application) GetServiceAccount
func (x *Application) GetServiceAccount() stringfunc (*Application) GetServingStatus
func (x *Application) GetServingStatus() Application_ServingStatusfunc (*Application) ProtoMessage
func (*Application) ProtoMessage()func (*Application) ProtoReflect
func (x *Application) ProtoReflect() protoreflect.Messagefunc (*Application) Reset
func (x *Application) Reset()func (*Application) String
func (x *Application) String() stringApplication_DatabaseType
type Application_DatabaseType int32Application_DATABASE_TYPE_UNSPECIFIED, Application_CLOUD_DATASTORE, Application_CLOUD_FIRESTORE, Application_CLOUD_DATASTORE_COMPATIBILITY
const (
// Database type is unspecified.
Application_DATABASE_TYPE_UNSPECIFIED Application_DatabaseType = 0
// Cloud Datastore
Application_CLOUD_DATASTORE Application_DatabaseType = 1
// Cloud Firestore Native
Application_CLOUD_FIRESTORE Application_DatabaseType = 2
// Cloud Firestore in Datastore Mode
Application_CLOUD_DATASTORE_COMPATIBILITY Application_DatabaseType = 3
)func (Application_DatabaseType) Descriptor
func (Application_DatabaseType) Descriptor() protoreflect.EnumDescriptorfunc (Application_DatabaseType) Enum
func (x Application_DatabaseType) Enum() *Application_DatabaseTypefunc (Application_DatabaseType) EnumDescriptor
func (Application_DatabaseType) EnumDescriptor() ([]byte, []int)Deprecated: Use Application_DatabaseType.Descriptor instead.
func (Application_DatabaseType) Number
func (x Application_DatabaseType) Number() protoreflect.EnumNumberfunc (Application_DatabaseType) String
func (x Application_DatabaseType) String() stringfunc (Application_DatabaseType) Type
func (Application_DatabaseType) Type() protoreflect.EnumTypeApplication_FeatureSettings
type Application_FeatureSettings struct {
// Boolean value indicating if split health checks should be used instead
// of the legacy health checks. At an app.yaml level, this means defaulting
// to 'readiness_check' and 'liveness_check' values instead of
// 'health_check' ones. Once the legacy 'health_check' behavior is
// deprecated, and this value is always true, this setting can
// be removed.
SplitHealthChecks bool `protobuf:"varint,1,opt,name=split_health_checks,json=splitHealthChecks,proto3" json:"split_health_checks,omitempty"`
// If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
// base image for VMs, rather than a base Debian image.
UseContainerOptimizedOs bool `protobuf:"varint,2,opt,name=use_container_optimized_os,json=useContainerOptimizedOs,proto3" json:"use_container_optimized_os,omitempty"`
// contains filtered or unexported fields
}The feature specific settings to be used in the application. These define behaviors that are user configurable.
func (*Application_FeatureSettings) Descriptor
func (*Application_FeatureSettings) Descriptor() ([]byte, []int)Deprecated: Use Application_FeatureSettings.ProtoReflect.Descriptor instead.
func (*Application_FeatureSettings) GetSplitHealthChecks
func (x *Application_FeatureSettings) GetSplitHealthChecks() boolfunc (*Application_FeatureSettings) GetUseContainerOptimizedOs
func (x *Application_FeatureSettings) GetUseContainerOptimizedOs() boolfunc (*Application_FeatureSettings) ProtoMessage
func (*Application_FeatureSettings) ProtoMessage()func (*Application_FeatureSettings) ProtoReflect
func (x *Application_FeatureSettings) ProtoReflect() protoreflect.Messagefunc (*Application_FeatureSettings) Reset
func (x *Application_FeatureSettings) Reset()func (*Application_FeatureSettings) String
func (x *Application_FeatureSettings) String() stringApplication_IdentityAwareProxy
type Application_IdentityAwareProxy struct {
// Whether the serving infrastructure will authenticate and
// authorize all incoming requests.
//
// If true, the `oauth2_client_id` and `oauth2_client_secret`
// fields must be non-empty.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// OAuth2 client ID to use for the authentication flow.
Oauth2ClientId string `protobuf:"bytes,2,opt,name=oauth2_client_id,json=oauth2ClientId,proto3" json:"oauth2_client_id,omitempty"`
// OAuth2 client secret to use for the authentication flow.
//
// For security reasons, this value cannot be retrieved via the API.
// Instead, the SHA-256 hash of the value is returned in the
// `oauth2_client_secret_sha256` field.
//
// @InputOnly
Oauth2ClientSecret string `protobuf:"bytes,3,opt,name=oauth2_client_secret,json=oauth2ClientSecret,proto3" json:"oauth2_client_secret,omitempty"`
// Hex-encoded SHA-256 hash of the client secret.
//
// @OutputOnly
Oauth2ClientSecretSha256 string `protobuf:"bytes,4,opt,name=oauth2_client_secret_sha256,json=oauth2ClientSecretSha256,proto3" json:"oauth2_client_secret_sha256,omitempty"`
// contains filtered or unexported fields
}Identity-Aware Proxy
func (*Application_IdentityAwareProxy) Descriptor
func (*Application_IdentityAwareProxy) Descriptor() ([]byte, []int)Deprecated: Use Application_IdentityAwareProxy.ProtoReflect.Descriptor instead.
func (*Application_IdentityAwareProxy) GetEnabled
func (x *Application_IdentityAwareProxy) GetEnabled() boolfunc (*Application_IdentityAwareProxy) GetOauth2ClientId
func (x *Application_IdentityAwareProxy) GetOauth2ClientId() stringfunc (*Application_IdentityAwareProxy) GetOauth2ClientSecret
func (x *Application_IdentityAwareProxy) GetOauth2ClientSecret() stringfunc (*Application_IdentityAwareProxy) GetOauth2ClientSecretSha256
func (x *Application_IdentityAwareProxy) GetOauth2ClientSecretSha256() stringfunc (*Application_IdentityAwareProxy) ProtoMessage
func (*Application_IdentityAwareProxy) ProtoMessage()func (*Application_IdentityAwareProxy) ProtoReflect
func (x *Application_IdentityAwareProxy) ProtoReflect() protoreflect.Messagefunc (*Application_IdentityAwareProxy) Reset
func (x *Application_IdentityAwareProxy) Reset()func (*Application_IdentityAwareProxy) String
func (x *Application_IdentityAwareProxy) String() stringApplication_ServingStatus
type Application_ServingStatus int32Application_UNSPECIFIED, Application_SERVING, Application_USER_DISABLED, Application_SYSTEM_DISABLED
const (
// Serving status is unspecified.
Application_UNSPECIFIED Application_ServingStatus = 0
// Application is serving.
Application_SERVING Application_ServingStatus = 1
// Application has been disabled by the user.
Application_USER_DISABLED Application_ServingStatus = 2
// Application has been disabled by the system.
Application_SYSTEM_DISABLED Application_ServingStatus = 3
)func (Application_ServingStatus) Descriptor
func (Application_ServingStatus) Descriptor() protoreflect.EnumDescriptorfunc (Application_ServingStatus) Enum
func (x Application_ServingStatus) Enum() *Application_ServingStatusfunc (Application_ServingStatus) EnumDescriptor
func (Application_ServingStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use Application_ServingStatus.Descriptor instead.
func (Application_ServingStatus) Number
func (x Application_ServingStatus) Number() protoreflect.EnumNumberfunc (Application_ServingStatus) String
func (x Application_ServingStatus) String() stringfunc (Application_ServingStatus) Type
func (Application_ServingStatus) Type() protoreflect.EnumTypeApplicationsClient
type ApplicationsClient interface {
// Gets information about an application.
GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error)
// Creates an App Engine application for a Google Cloud Platform project.
// Required fields:
//
// * `id` - The ID of the target Cloud Platform project.
// * *location* - The [region](https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.
//
// For more information about App Engine applications, see [Managing Projects, Applications, and Billing](https://cloud.google.com/appengine/docs/standard/python/console/).
CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the specified Application resource.
// You can update the following fields:
//
// * `auth_domain` - Google authentication domain for controlling user access to the application.
// * `default_cookie_expiration` - Cookie expiration policy for the application.
// * `iap` - Identity-Aware Proxy properties for the application.
UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Recreates the required App Engine features for the specified App Engine
// application, for example a Cloud Storage bucket or App Engine service
// account.
// Use this method if you receive an error message about a missing feature,
// for example, *Error retrieving the App Engine service account*.
// If you have deleted your App Engine service account, this will
// not be able to recreate it. Instead, you should attempt to use the
// IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D .
// If the deletion was recent, the numeric ID can be found in the Cloud
// Console Activity Log.
RepairApplication(ctx context.Context, in *RepairApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}ApplicationsClient is the client API for Applications 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 NewApplicationsClient
func NewApplicationsClient(cc grpc.ClientConnInterface) ApplicationsClientApplicationsServer
type ApplicationsServer interface {
// Gets information about an application.
GetApplication(context.Context, *GetApplicationRequest) (*Application, error)
// Creates an App Engine application for a Google Cloud Platform project.
// Required fields:
//
// * `id` - The ID of the target Cloud Platform project.
// * *location* - The [region](https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.
//
// For more information about App Engine applications, see [Managing Projects, Applications, and Billing](https://cloud.google.com/appengine/docs/standard/python/console/).
CreateApplication(context.Context, *CreateApplicationRequest) (*longrunningpb.Operation, error)
// Updates the specified Application resource.
// You can update the following fields:
//
// * `auth_domain` - Google authentication domain for controlling user access to the application.
// * `default_cookie_expiration` - Cookie expiration policy for the application.
// * `iap` - Identity-Aware Proxy properties for the application.
UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunningpb.Operation, error)
// Recreates the required App Engine features for the specified App Engine
// application, for example a Cloud Storage bucket or App Engine service
// account.
// Use this method if you receive an error message about a missing feature,
// for example, *Error retrieving the App Engine service account*.
// If you have deleted your App Engine service account, this will
// not be able to recreate it. Instead, you should attempt to use the
// IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D .
// If the deletion was recent, the numeric ID can be found in the Cloud
// Console Activity Log.
RepairApplication(context.Context, *RepairApplicationRequest) (*longrunningpb.Operation, error)
}ApplicationsServer is the server API for Applications service. All implementations should embed UnimplementedApplicationsServer for forward compatibility
AuditData
type AuditData struct {
// Detailed information about methods that require it. Does not include
// simple Get, List or Delete methods because all significant information
// (resource name, number of returned elements for List operations) is already
// included in parent audit log message.
//
// Types that are valid to be assigned to Method:
//
// *AuditData_UpdateService
// *AuditData_CreateVersion
Method isAuditData_Method `protobuf_oneof:"method"`
// contains filtered or unexported fields
}App Engine admin service audit log.
func (*AuditData) Descriptor
Deprecated: Use AuditData.ProtoReflect.Descriptor instead.
func (*AuditData) GetCreateVersion
func (x *AuditData) GetCreateVersion() *CreateVersionMethodfunc (*AuditData) GetMethod
func (x *AuditData) GetMethod() isAuditData_Methodfunc (*AuditData) GetUpdateService
func (x *AuditData) GetUpdateService() *UpdateServiceMethodfunc (*AuditData) ProtoMessage
func (*AuditData) ProtoMessage()func (*AuditData) ProtoReflect
func (x *AuditData) ProtoReflect() protoreflect.Messagefunc (*AuditData) Reset
func (x *AuditData) Reset()func (*AuditData) String
AuditData_CreateVersion
type AuditData_CreateVersion struct {
// Detailed information about CreateVersion call.
CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,proto3,oneof"`
}AuditData_UpdateService
type AuditData_UpdateService struct {
// Detailed information about UpdateService call.
UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,proto3,oneof"`
}AuthFailAction
type AuthFailAction int32Actions to take when the user is not logged in.
AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED, AuthFailAction_AUTH_FAIL_ACTION_REDIRECT, AuthFailAction_AUTH_FAIL_ACTION_UNAUTHORIZED
const (
// Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed.
AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED AuthFailAction = 0
// Redirects user to "accounts.google.com". The user is redirected back to the
// application URL after signing in or creating an account.
AuthFailAction_AUTH_FAIL_ACTION_REDIRECT AuthFailAction = 1
// Rejects request with a `401` HTTP status code and an error
// message.
AuthFailAction_AUTH_FAIL_ACTION_UNAUTHORIZED AuthFailAction = 2
)func (AuthFailAction) Descriptor
func (AuthFailAction) Descriptor() protoreflect.EnumDescriptorfunc (AuthFailAction) Enum
func (x AuthFailAction) Enum() *AuthFailActionfunc (AuthFailAction) EnumDescriptor
func (AuthFailAction) EnumDescriptor() ([]byte, []int)Deprecated: Use AuthFailAction.Descriptor instead.
func (AuthFailAction) Number
func (x AuthFailAction) Number() protoreflect.EnumNumberfunc (AuthFailAction) String
func (x AuthFailAction) String() stringfunc (AuthFailAction) Type
func (AuthFailAction) Type() protoreflect.EnumTypeAuthorizedCertificate
type AuthorizedCertificate struct {
// Full path to the `AuthorizedCertificate` resource in the API. Example:
// `apps/myapp/authorizedCertificates/12345`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Relative name of the certificate. This is a unique value autogenerated
// on `AuthorizedCertificate` resource creation. Example: `12345`.
//
// @OutputOnly
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// The user-specified display name of the certificate. This is not
// guaranteed to be unique. Example: `My Certificate`.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Topmost applicable domains of this certificate. This certificate
// applies to these domains and their subdomains. Example: `example.com`.
//
// @OutputOnly
DomainNames []string `protobuf:"bytes,4,rep,name=domain_names,json=domainNames,proto3" json:"domain_names,omitempty"`
// The time when this certificate expires. To update the renewal time on this
// certificate, upload an SSL certificate with a different expiration time
// using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
//
// @OutputOnly
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// The SSL certificate serving the `AuthorizedCertificate` resource. This
// must be obtained independently from a certificate authority.
CertificateRawData *CertificateRawData `protobuf:"bytes,6,opt,name=certificate_raw_data,json=certificateRawData,proto3" json:"certificate_raw_data,omitempty"`
// Only applicable if this certificate is managed by App Engine. Managed
// certificates are tied to the lifecycle of a `DomainMapping` and cannot be
// updated or deleted via the `AuthorizedCertificates` API. If this
// certificate is manually administered by the user, this field will be empty.
//
// @OutputOnly
ManagedCertificate *ManagedCertificate `protobuf:"bytes,7,opt,name=managed_certificate,json=managedCertificate,proto3" json:"managed_certificate,omitempty"`
// The full paths to user visible Domain Mapping resources that have this
// certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
//
// This may not represent the full list of mapped domain mappings if the user
// does not have `VIEWER` permissions on all of the applications that have
// this certificate mapped. See `domain_mappings_count` for a complete count.
//
// Only returned by `GET` or `LIST` requests when specifically requested by
// the `view=FULL_CERTIFICATE` option.
//
// @OutputOnly
VisibleDomainMappings []string `protobuf:"bytes,8,rep,name=visible_domain_mappings,json=visibleDomainMappings,proto3" json:"visible_domain_mappings,omitempty"`
// Aggregate count of the domain mappings with this certificate mapped. This
// count includes domain mappings on applications for which the user does not
// have `VIEWER` permissions.
//
// Only returned by `GET` or `LIST` requests when specifically requested by
// the `view=FULL_CERTIFICATE` option.
//
// @OutputOnly
DomainMappingsCount int32 `protobuf:"varint,9,opt,name=domain_mappings_count,json=domainMappingsCount,proto3" json:"domain_mappings_count,omitempty"`
// contains filtered or unexported fields
}An SSL certificate that a user has been authorized to administer. A user is authorized to administer any certificate that applies to one of their authorized domains.
func (*AuthorizedCertificate) Descriptor
func (*AuthorizedCertificate) Descriptor() ([]byte, []int)Deprecated: Use AuthorizedCertificate.ProtoReflect.Descriptor instead.
func (*AuthorizedCertificate) GetCertificateRawData
func (x *AuthorizedCertificate) GetCertificateRawData() *CertificateRawDatafunc (*AuthorizedCertificate) GetDisplayName
func (x *AuthorizedCertificate) GetDisplayName() stringfunc (*AuthorizedCertificate) GetDomainMappingsCount
func (x *AuthorizedCertificate) GetDomainMappingsCount() int32func (*AuthorizedCertificate) GetDomainNames
func (x *AuthorizedCertificate) GetDomainNames() []stringfunc (*AuthorizedCertificate) GetExpireTime
func (x *AuthorizedCertificate) GetExpireTime() *timestamppb.Timestampfunc (*AuthorizedCertificate) GetId
func (x *AuthorizedCertificate) GetId() stringfunc (*AuthorizedCertificate) GetManagedCertificate
func (x *AuthorizedCertificate) GetManagedCertificate() *ManagedCertificatefunc (*AuthorizedCertificate) GetName
func (x *AuthorizedCertificate) GetName() stringfunc (*AuthorizedCertificate) GetVisibleDomainMappings
func (x *AuthorizedCertificate) GetVisibleDomainMappings() []stringfunc (*AuthorizedCertificate) ProtoMessage
func (*AuthorizedCertificate) ProtoMessage()func (*AuthorizedCertificate) ProtoReflect
func (x *AuthorizedCertificate) ProtoReflect() protoreflect.Messagefunc (*AuthorizedCertificate) Reset
func (x *AuthorizedCertificate) Reset()func (*AuthorizedCertificate) String
func (x *AuthorizedCertificate) String() stringAuthorizedCertificateView
type AuthorizedCertificateView int32Fields that should be returned when an AuthorizedCertificate resource is retrieved.
AuthorizedCertificateView_BASIC_CERTIFICATE, AuthorizedCertificateView_FULL_CERTIFICATE
const (
// Basic certificate information, including applicable domains and expiration
// date.
AuthorizedCertificateView_BASIC_CERTIFICATE AuthorizedCertificateView = 0
// The information from `BASIC_CERTIFICATE`, plus detailed information on the
// domain mappings that have this certificate mapped.
AuthorizedCertificateView_FULL_CERTIFICATE AuthorizedCertificateView = 1
)func (AuthorizedCertificateView) Descriptor
func (AuthorizedCertificateView) Descriptor() protoreflect.EnumDescriptorfunc (AuthorizedCertificateView) Enum
func (x AuthorizedCertificateView) Enum() *AuthorizedCertificateViewfunc (AuthorizedCertificateView) EnumDescriptor
func (AuthorizedCertificateView) EnumDescriptor() ([]byte, []int)Deprecated: Use AuthorizedCertificateView.Descriptor instead.
func (AuthorizedCertificateView) Number
func (x AuthorizedCertificateView) Number() protoreflect.EnumNumberfunc (AuthorizedCertificateView) String
func (x AuthorizedCertificateView) String() stringfunc (AuthorizedCertificateView) Type
func (AuthorizedCertificateView) Type() protoreflect.EnumTypeAuthorizedCertificatesClient
type AuthorizedCertificatesClient interface {
// Lists all SSL certificates the user is authorized to administer.
ListAuthorizedCertificates(ctx context.Context, in *ListAuthorizedCertificatesRequest, opts ...grpc.CallOption) (*ListAuthorizedCertificatesResponse, error)
// Gets the specified SSL certificate.
GetAuthorizedCertificate(ctx context.Context, in *GetAuthorizedCertificateRequest, opts ...grpc.CallOption) (*AuthorizedCertificate, error)
// Uploads the specified SSL certificate.
CreateAuthorizedCertificate(ctx context.Context, in *CreateAuthorizedCertificateRequest, opts ...grpc.CallOption) (*AuthorizedCertificate, error)
// Updates the specified SSL certificate. To renew a certificate and maintain
// its existing domain mappings, update `certificate_data` with a new
// certificate. The new certificate must be applicable to the same domains as
// the original certificate. The certificate `display_name` may also be
// updated.
UpdateAuthorizedCertificate(ctx context.Context, in *UpdateAuthorizedCertificateRequest, opts ...grpc.CallOption) (*AuthorizedCertificate, error)
// Deletes the specified SSL certificate.
DeleteAuthorizedCertificate(ctx context.Context, in *DeleteAuthorizedCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}AuthorizedCertificatesClient is the client API for AuthorizedCertificates 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 NewAuthorizedCertificatesClient
func NewAuthorizedCertificatesClient(cc grpc.ClientConnInterface) AuthorizedCertificatesClientAuthorizedCertificatesServer
type AuthorizedCertificatesServer interface {
// Lists all SSL certificates the user is authorized to administer.
ListAuthorizedCertificates(context.Context, *ListAuthorizedCertificatesRequest) (*ListAuthorizedCertificatesResponse, error)
// Gets the specified SSL certificate.
GetAuthorizedCertificate(context.Context, *GetAuthorizedCertificateRequest) (*AuthorizedCertificate, error)
// Uploads the specified SSL certificate.
CreateAuthorizedCertificate(context.Context, *CreateAuthorizedCertificateRequest) (*AuthorizedCertificate, error)
// Updates the specified SSL certificate. To renew a certificate and maintain
// its existing domain mappings, update `certificate_data` with a new
// certificate. The new certificate must be applicable to the same domains as
// the original certificate. The certificate `display_name` may also be
// updated.
UpdateAuthorizedCertificate(context.Context, *UpdateAuthorizedCertificateRequest) (*AuthorizedCertificate, error)
// Deletes the specified SSL certificate.
DeleteAuthorizedCertificate(context.Context, *DeleteAuthorizedCertificateRequest) (*emptypb.Empty, error)
}AuthorizedCertificatesServer is the server API for AuthorizedCertificates service. All implementations should embed UnimplementedAuthorizedCertificatesServer for forward compatibility
AuthorizedDomain
type AuthorizedDomain struct {
// Full path to the `AuthorizedDomain` resource in the API. Example:
// `apps/myapp/authorizedDomains/example.com`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Fully qualified domain name of the domain authorized for use. Example:
// `example.com`.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Search Console.
func (*AuthorizedDomain) Descriptor
func (*AuthorizedDomain) Descriptor() ([]byte, []int)Deprecated: Use AuthorizedDomain.ProtoReflect.Descriptor instead.
func (*AuthorizedDomain) GetId
func (x *AuthorizedDomain) GetId() stringfunc (*AuthorizedDomain) GetName
func (x *AuthorizedDomain) GetName() stringfunc (*AuthorizedDomain) ProtoMessage
func (*AuthorizedDomain) ProtoMessage()func (*AuthorizedDomain) ProtoReflect
func (x *AuthorizedDomain) ProtoReflect() protoreflect.Messagefunc (*AuthorizedDomain) Reset
func (x *AuthorizedDomain) Reset()func (*AuthorizedDomain) String
func (x *AuthorizedDomain) String() stringAuthorizedDomainsClient
type AuthorizedDomainsClient interface {
// Lists all domains the user is authorized to administer.
ListAuthorizedDomains(ctx context.Context, in *ListAuthorizedDomainsRequest, opts ...grpc.CallOption) (*ListAuthorizedDomainsResponse, error)
}AuthorizedDomainsClient is the client API for AuthorizedDomains 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 NewAuthorizedDomainsClient
func NewAuthorizedDomainsClient(cc grpc.ClientConnInterface) AuthorizedDomainsClientAuthorizedDomainsServer
type AuthorizedDomainsServer interface {
// Lists all domains the user is authorized to administer.
ListAuthorizedDomains(context.Context, *ListAuthorizedDomainsRequest) (*ListAuthorizedDomainsResponse, error)
}AuthorizedDomainsServer is the server API for AuthorizedDomains service. All implementations should embed UnimplementedAuthorizedDomainsServer for forward compatibility
AutomaticScaling
type AutomaticScaling struct {
// The time period that the
// [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
// should wait before it starts collecting information from a new instance.
// This prevents the autoscaler from collecting information when the instance
// is initializing, during which the collected usage would not be reliable.
// Only applicable in the App Engine flexible environment.
CoolDownPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=cool_down_period,json=coolDownPeriod,proto3" json:"cool_down_period,omitempty"`
// Target scaling by CPU usage.
CpuUtilization *CpuUtilization `protobuf:"bytes,2,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"`
// Number of concurrent requests an automatic scaling instance can accept
// before the scheduler spawns a new instance.
//
// Defaults to a runtime-specific value.
MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=max_concurrent_requests,json=maxConcurrentRequests,proto3" json:"max_concurrent_requests,omitempty"`
// Maximum number of idle instances that should be maintained for this
// version.
MaxIdleInstances int32 `protobuf:"varint,4,opt,name=max_idle_instances,json=maxIdleInstances,proto3" json:"max_idle_instances,omitempty"`
// Maximum number of instances that should be started to handle requests for
// this version.
MaxTotalInstances int32 `protobuf:"varint,5,opt,name=max_total_instances,json=maxTotalInstances,proto3" json:"max_total_instances,omitempty"`
// Maximum amount of time that a request should wait in the pending queue
// before starting a new instance to handle it.
MaxPendingLatency *durationpb.Duration `protobuf:"bytes,6,opt,name=max_pending_latency,json=maxPendingLatency,proto3" json:"max_pending_latency,omitempty"`
// Minimum number of idle instances that should be maintained for
// this version. Only applicable for the default version of a service.
MinIdleInstances int32 `protobuf:"varint,7,opt,name=min_idle_instances,json=minIdleInstances,proto3" json:"min_idle_instances,omitempty"`
// Minimum number of running instances that should be maintained for this
// version.
MinTotalInstances int32 `protobuf:"varint,8,opt,name=min_total_instances,json=minTotalInstances,proto3" json:"min_total_instances,omitempty"`
// Minimum amount of time a request should wait in the pending queue before
// starting a new instance to handle it.
MinPendingLatency *durationpb.Duration `protobuf:"bytes,9,opt,name=min_pending_latency,json=minPendingLatency,proto3" json:"min_pending_latency,omitempty"`
// Target scaling by request utilization.
RequestUtilization *RequestUtilization `protobuf:"bytes,10,opt,name=request_utilization,json=requestUtilization,proto3" json:"request_utilization,omitempty"`
// Target scaling by disk usage.
DiskUtilization *DiskUtilization `protobuf:"bytes,11,opt,name=disk_utilization,json=diskUtilization,proto3" json:"disk_utilization,omitempty"`
// Target scaling by network usage.
NetworkUtilization *NetworkUtilization `protobuf:"bytes,12,opt,name=network_utilization,json=networkUtilization,proto3" json:"network_utilization,omitempty"`
// Scheduler settings for standard environment.
StandardSchedulerSettings *StandardSchedulerSettings `protobuf:"bytes,20,opt,name=standard_scheduler_settings,json=standardSchedulerSettings,proto3" json:"standard_scheduler_settings,omitempty"`
// contains filtered or unexported fields
}Automatic scaling is based on request rate, response latencies, and other application metrics.
func (*AutomaticScaling) Descriptor
func (*AutomaticScaling) Descriptor() ([]byte, []int)Deprecated: Use AutomaticScaling.ProtoReflect.Descriptor instead.
func (*AutomaticScaling) GetCoolDownPeriod
func (x *AutomaticScaling) GetCoolDownPeriod() *durationpb.Durationfunc (*AutomaticScaling) GetCpuUtilization
func (x *AutomaticScaling) GetCpuUtilization() *CpuUtilizationfunc (*AutomaticScaling) GetDiskUtilization
func (x *AutomaticScaling) GetDiskUtilization() *DiskUtilizationfunc (*AutomaticScaling) GetMaxConcurrentRequests
func (x *AutomaticScaling) GetMaxConcurrentRequests() int32func (*AutomaticScaling) GetMaxIdleInstances
func (x *AutomaticScaling) GetMaxIdleInstances() int32func (*AutomaticScaling) GetMaxPendingLatency
func (x *AutomaticScaling) GetMaxPendingLatency() *durationpb.Durationfunc (*AutomaticScaling) GetMaxTotalInstances
func (x *AutomaticScaling) GetMaxTotalInstances() int32func (*AutomaticScaling) GetMinIdleInstances
func (x *AutomaticScaling) GetMinIdleInstances() int32func (*AutomaticScaling) GetMinPendingLatency
func (x *AutomaticScaling) GetMinPendingLatency() *durationpb.Durationfunc (*AutomaticScaling) GetMinTotalInstances
func (x *AutomaticScaling) GetMinTotalInstances() int32func (*AutomaticScaling) GetNetworkUtilization
func (x *AutomaticScaling) GetNetworkUtilization() *NetworkUtilizationfunc (*AutomaticScaling) GetRequestUtilization
func (x *AutomaticScaling) GetRequestUtilization() *RequestUtilizationfunc (*AutomaticScaling) GetStandardSchedulerSettings
func (x *AutomaticScaling) GetStandardSchedulerSettings() *StandardSchedulerSettingsfunc (*AutomaticScaling) ProtoMessage
func (*AutomaticScaling) ProtoMessage()func (*AutomaticScaling) ProtoReflect
func (x *AutomaticScaling) ProtoReflect() protoreflect.Messagefunc (*AutomaticScaling) Reset
func (x *AutomaticScaling) Reset()func (*AutomaticScaling) String
func (x *AutomaticScaling) String() stringBasicScaling
type BasicScaling struct {
// Duration of time after the last request that an instance must wait before
// the instance is shut down.
IdleTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
// Maximum number of instances to create for this version.
MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"`
// contains filtered or unexported fields
}A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
func (*BasicScaling) Descriptor
func (*BasicScaling) Descriptor() ([]byte, []int)Deprecated: Use BasicScaling.ProtoReflect.Descriptor instead.
func (*BasicScaling) GetIdleTimeout
func (x *BasicScaling) GetIdleTimeout() *durationpb.Durationfunc (*BasicScaling) GetMaxInstances
func (x *BasicScaling) GetMaxInstances() int32func (*BasicScaling) ProtoMessage
func (*BasicScaling) ProtoMessage()func (*BasicScaling) ProtoReflect
func (x *BasicScaling) ProtoReflect() protoreflect.Messagefunc (*BasicScaling) Reset
func (x *BasicScaling) Reset()func (*BasicScaling) String
func (x *BasicScaling) String() stringBatchUpdateIngressRulesRequest
type BatchUpdateIngressRulesRequest struct {
// Name of the Firewall collection to set.
// Example: `apps/myapp/firewall/ingressRules`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A list of FirewallRules to replace the existing set.
IngressRules []*FirewallRule `protobuf:"bytes,2,rep,name=ingress_rules,json=ingressRules,proto3" json:"ingress_rules,omitempty"`
// contains filtered or unexported fields
}Request message for Firewall.BatchUpdateIngressRules.
func (*BatchUpdateIngressRulesRequest) Descriptor
func (*BatchUpdateIngressRulesRequest) Descriptor() ([]byte, []int)Deprecated: Use BatchUpdateIngressRulesRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateIngressRulesRequest) GetIngressRules
func (x *BatchUpdateIngressRulesRequest) GetIngressRules() []*FirewallRulefunc (*BatchUpdateIngressRulesRequest) GetName
func (x *BatchUpdateIngressRulesRequest) GetName() stringfunc (*BatchUpdateIngressRulesRequest) ProtoMessage
func (*BatchUpdateIngressRulesRequest) ProtoMessage()func (*BatchUpdateIngressRulesRequest) ProtoReflect
func (x *BatchUpdateIngressRulesRequest) ProtoReflect() protoreflect.Messagefunc (*BatchUpdateIngressRulesRequest) Reset
func (x *BatchUpdateIngressRulesRequest) Reset()func (*BatchUpdateIngressRulesRequest) String
func (x *BatchUpdateIngressRulesRequest) String() stringBatchUpdateIngressRulesResponse
type BatchUpdateIngressRulesResponse struct {
// The full list of ingress FirewallRules for this application.
IngressRules []*FirewallRule `protobuf:"bytes,1,rep,name=ingress_rules,json=ingressRules,proto3" json:"ingress_rules,omitempty"`
// contains filtered or unexported fields
}Response message for Firewall.UpdateAllIngressRules.
func (*BatchUpdateIngressRulesResponse) Descriptor
func (*BatchUpdateIngressRulesResponse) Descriptor() ([]byte, []int)Deprecated: Use BatchUpdateIngressRulesResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateIngressRulesResponse) GetIngressRules
func (x *BatchUpdateIngressRulesResponse) GetIngressRules() []*FirewallRulefunc (*BatchUpdateIngressRulesResponse) ProtoMessage
func (*BatchUpdateIngressRulesResponse) ProtoMessage()func (*BatchUpdateIngressRulesResponse) ProtoReflect
func (x *BatchUpdateIngressRulesResponse) ProtoReflect() protoreflect.Messagefunc (*BatchUpdateIngressRulesResponse) Reset
func (x *BatchUpdateIngressRulesResponse) Reset()func (*BatchUpdateIngressRulesResponse) String
func (x *BatchUpdateIngressRulesResponse) String() stringCertificateRawData
type CertificateRawData struct {
// PEM encoded x.509 public key certificate. This field is set once on
// certificate creation. Must include the header and footer. Example:
// // -----BEGIN CERTIFICATE-----
// // -----BEGIN RSA PRIVATE KEY----- //
An SSL certificate obtained from a certificate authority.
func (*CertificateRawData) Descriptor
func (*CertificateRawData) Descriptor() ([]byte, []int)Deprecated: Use CertificateRawData.ProtoReflect.Descriptor instead.
func (*CertificateRawData) GetPrivateKey
func (x *CertificateRawData) GetPrivateKey() stringfunc (*CertificateRawData) GetPublicCertificate
func (x *CertificateRawData) GetPublicCertificate() stringfunc (*CertificateRawData) ProtoMessage
func (*CertificateRawData) ProtoMessage()func (*CertificateRawData) ProtoReflect
func (x *CertificateRawData) ProtoReflect() protoreflect.Messagefunc (*CertificateRawData) Reset
func (x *CertificateRawData) Reset()func (*CertificateRawData) String
func (x *CertificateRawData) String() stringCloudBuildOptions
type CloudBuildOptions struct {
// Path to the yaml file used in deployment, used to determine runtime
// configuration details.
//
// Required for flexible environment builds.
//
// See https://cloud.google.com/appengine/docs/standard/python/config/appref
// for more details.
AppYamlPath string `protobuf:"bytes,1,opt,name=app_yaml_path,json=appYamlPath,proto3" json:"app_yaml_path,omitempty"`
// The Cloud Build timeout used as part of any dependent builds performed by
// version creation. Defaults to 10 minutes.
CloudBuildTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=cloud_build_timeout,json=cloudBuildTimeout,proto3" json:"cloud_build_timeout,omitempty"`
// contains filtered or unexported fields
}Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly.
func (*CloudBuildOptions) Descriptor
func (*CloudBuildOptions) Descriptor() ([]byte, []int)Deprecated: Use CloudBuildOptions.ProtoReflect.Descriptor instead.
func (*CloudBuildOptions) GetAppYamlPath
func (x *CloudBuildOptions) GetAppYamlPath() stringfunc (*CloudBuildOptions) GetCloudBuildTimeout
func (x *CloudBuildOptions) GetCloudBuildTimeout() *durationpb.Durationfunc (*CloudBuildOptions) ProtoMessage
func (*CloudBuildOptions) ProtoMessage()func (*CloudBuildOptions) ProtoReflect
func (x *CloudBuildOptions) ProtoReflect() protoreflect.Messagefunc (*CloudBuildOptions) Reset
func (x *CloudBuildOptions) Reset()func (*CloudBuildOptions) String
func (x *CloudBuildOptions) String() stringContainerInfo
type ContainerInfo struct {
// URI to the hosted container image in Google Container Registry. The URI
// must be fully qualified and include a tag or digest.
// Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.
func (*ContainerInfo) Descriptor
func (*ContainerInfo) Descriptor() ([]byte, []int)Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead.
func (*ContainerInfo) GetImage
func (x *ContainerInfo) GetImage() stringfunc (*ContainerInfo) ProtoMessage
func (*ContainerInfo) ProtoMessage()func (*ContainerInfo) ProtoReflect
func (x *ContainerInfo) ProtoReflect() protoreflect.Messagefunc (*ContainerInfo) Reset
func (x *ContainerInfo) Reset()func (*ContainerInfo) String
func (x *ContainerInfo) String() stringCpuUtilization
type CpuUtilization struct {
// Period of time over which CPU utilization is calculated.
AggregationWindowLength *durationpb.Duration `protobuf:"bytes,1,opt,name=aggregation_window_length,json=aggregationWindowLength,proto3" json:"aggregation_window_length,omitempty"`
// Target CPU utilization ratio to maintain when scaling. Must be between 0
// and 1.
TargetUtilization float64 `protobuf:"fixed64,2,opt,name=target_utilization,json=targetUtilization,proto3" json:"target_utilization,omitempty"`
// contains filtered or unexported fields
}Target scaling by CPU usage.
func (*CpuUtilization) Descriptor
func (*CpuUtilization) Descriptor() ([]byte, []int)Deprecated: Use CpuUtilization.ProtoReflect.Descriptor instead.
func (*CpuUtilization) GetAggregationWindowLength
func (x *CpuUtilization) GetAggregationWindowLength() *durationpb.Durationfunc (*CpuUtilization) GetTargetUtilization
func (x *CpuUtilization) GetTargetUtilization() float64func (*CpuUtilization) ProtoMessage
func (*CpuUtilization) ProtoMessage()func (*CpuUtilization) ProtoReflect
func (x *CpuUtilization) ProtoReflect() protoreflect.Messagefunc (*CpuUtilization) Reset
func (x *CpuUtilization) Reset()func (*CpuUtilization) String
func (x *CpuUtilization) String() stringCreateApplicationRequest
type CreateApplicationRequest struct {
// Application configuration.
Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"`
// contains filtered or unexported fields
}Request message for Applications.CreateApplication.
func (*CreateApplicationRequest) Descriptor
func (*CreateApplicationRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateApplicationRequest.ProtoReflect.Descriptor instead.
func (*CreateApplicationRequest) GetApplication
func (x *CreateApplicationRequest) GetApplication() *Applicationfunc (*CreateApplicationRequest) ProtoMessage
func (*CreateApplicationRequest) ProtoMessage()func (*CreateApplicationRequest) ProtoReflect
func (x *CreateApplicationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateApplicationRequest) Reset
func (x *CreateApplicationRequest) Reset()func (*CreateApplicationRequest) String
func (x *CreateApplicationRequest) String() stringCreateAuthorizedCertificateRequest
type CreateAuthorizedCertificateRequest struct {
// Name of the parent `Application` resource. Example: `apps/myapp`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// SSL certificate data.
Certificate *AuthorizedCertificate `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"`
// contains filtered or unexported fields
}Request message for AuthorizedCertificates.CreateAuthorizedCertificate.
func (*CreateAuthorizedCertificateRequest) Descriptor
func (*CreateAuthorizedCertificateRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateAuthorizedCertificateRequest.ProtoReflect.Descriptor instead.
func (*CreateAuthorizedCertificateRequest) GetCertificate
func (x *CreateAuthorizedCertificateRequest) GetCertificate() *AuthorizedCertificatefunc (*CreateAuthorizedCertificateRequest) GetParent
func (x *CreateAuthorizedCertificateRequest) GetParent() stringfunc (*CreateAuthorizedCertificateRequest) ProtoMessage
func (*CreateAuthorizedCertificateRequest) ProtoMessage()func (*CreateAuthorizedCertificateRequest) ProtoReflect
func (x *CreateAuthorizedCertificateRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAuthorizedCertificateRequest) Reset
func (x *CreateAuthorizedCertificateRequest) Reset()func (*CreateAuthorizedCertificateRequest) String
func (x *CreateAuthorizedCertificateRequest) String() stringCreateDomainMappingRequest
type CreateDomainMappingRequest struct {
// Name of the parent Application resource. Example: `apps/myapp`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Domain mapping configuration.
DomainMapping *DomainMapping `protobuf:"bytes,2,opt,name=domain_mapping,json=domainMapping,proto3" json:"domain_mapping,omitempty"`
// Whether the domain creation should override any existing mappings for this
// domain. By default, overrides are rejected.
OverrideStrategy DomainOverrideStrategy `protobuf:"varint,4,opt,name=override_strategy,json=overrideStrategy,proto3,enum=google.appengine.v1.DomainOverrideStrategy" json:"override_strategy,omitempty"`
// contains filtered or unexported fields
}Request message for DomainMappings.CreateDomainMapping.
func (*CreateDomainMappingRequest) Descriptor
func (*CreateDomainMappingRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDomainMappingRequest.ProtoReflect.Descriptor instead.
func (*CreateDomainMappingRequest) GetDomainMapping
func (x *CreateDomainMappingRequest) GetDomainMapping() *DomainMappingfunc (*CreateDomainMappingRequest) GetOverrideStrategy
func (x *CreateDomainMappingRequest) GetOverrideStrategy() DomainOverrideStrategyfunc (*CreateDomainMappingRequest) GetParent
func (x *CreateDomainMappingRequest) GetParent() stringfunc (*CreateDomainMappingRequest) ProtoMessage
func (*CreateDomainMappingRequest) ProtoMessage()func (*CreateDomainMappingRequest) ProtoReflect
func (x *CreateDomainMappingRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDomainMappingRequest) Reset
func (x *CreateDomainMappingRequest) Reset()func (*CreateDomainMappingRequest) String
func (x *CreateDomainMappingRequest) String() stringCreateIngressRuleRequest
type CreateIngressRuleRequest struct {
// Name of the parent Firewall collection in which to create a new rule.
// Example: `apps/myapp/firewall/ingressRules`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// A FirewallRule containing the new resource.
//
// The user may optionally provide a position at which the new rule will be
// placed. The positions define a sequential list starting at 1. If a rule
// already exists at the given position, rules greater than the provided
// position will be moved forward by one.
//
// If no position is provided, the server will place the rule as the second to
// last rule in the sequence before the required default allow-all or deny-all
// rule.
Rule *FirewallRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
// contains filtered or unexported fields
}Request message for Firewall.CreateIngressRule.
func (*CreateIngressRuleRequest) Descriptor
func (*CreateIngressRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateIngressRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateIngressRuleRequest) GetParent
func (x *CreateIngressRuleRequest) GetParent() stringfunc (*CreateIngressRuleRequest) GetRule
func (x *CreateIngressRuleRequest) GetRule() *FirewallRulefunc (*CreateIngressRuleRequest) ProtoMessage
func (*CreateIngressRuleRequest) ProtoMessage()func (*CreateIngressRuleRequest) ProtoReflect
func (x *CreateIngressRuleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateIngressRuleRequest) Reset
func (x *CreateIngressRuleRequest) Reset()func (*CreateIngressRuleRequest) String
func (x *CreateIngressRuleRequest) String() stringCreateVersionMetadataV1
type CreateVersionMetadataV1 struct {
// The Cloud Build ID if one was created as part of the version create.
// @OutputOnly
CloudBuildId string `protobuf:"bytes,1,opt,name=cloud_build_id,json=cloudBuildId,proto3" json:"cloud_build_id,omitempty"`
// contains filtered or unexported fields
}Metadata for the given [google.longrunning.Operation][google.longrunning.Operation] during a [google.appengine.v1.CreateVersionRequest][google.appengine.v1.CreateVersionRequest].
func (*CreateVersionMetadataV1) Descriptor
func (*CreateVersionMetadataV1) Descriptor() ([]byte, []int)Deprecated: Use CreateVersionMetadataV1.ProtoReflect.Descriptor instead.
func (*CreateVersionMetadataV1) GetCloudBuildId
func (x *CreateVersionMetadataV1) GetCloudBuildId() stringfunc (*CreateVersionMetadataV1) ProtoMessage
func (*CreateVersionMetadataV1) ProtoMessage()func (*CreateVersionMetadataV1) ProtoReflect
func (x *CreateVersionMetadataV1) ProtoReflect() protoreflect.Messagefunc (*CreateVersionMetadataV1) Reset
func (x *CreateVersionMetadataV1) Reset()func (*CreateVersionMetadataV1) String
func (x *CreateVersionMetadataV1) String() stringCreateVersionMethod
type CreateVersionMethod struct {
// Create version request.
Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}Detailed information about CreateVersion call.
func (*CreateVersionMethod) Descriptor
func (*CreateVersionMethod) Descriptor() ([]byte, []int)Deprecated: Use CreateVersionMethod.ProtoReflect.Descriptor instead.
func (*CreateVersionMethod) GetRequest
func (x *CreateVersionMethod) GetRequest() *CreateVersionRequestfunc (*CreateVersionMethod) ProtoMessage
func (*CreateVersionMethod) ProtoMessage()func (*CreateVersionMethod) ProtoReflect
func (x *CreateVersionMethod) ProtoReflect() protoreflect.Messagefunc (*CreateVersionMethod) Reset
func (x *CreateVersionMethod) Reset()func (*CreateVersionMethod) String
func (x *CreateVersionMethod) String() stringCreateVersionRequest
type CreateVersionRequest struct {
// Name of the parent resource to create this version under. Example:
// `apps/myapp/services/default`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Application deployment configuration.
Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}Request message for Versions.CreateVersion.
func (*CreateVersionRequest) Descriptor
func (*CreateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateVersionRequest) GetParent
func (x *CreateVersionRequest) GetParent() stringfunc (*CreateVersionRequest) GetVersion
func (x *CreateVersionRequest) GetVersion() *Versionfunc (*CreateVersionRequest) ProtoMessage
func (*CreateVersionRequest) ProtoMessage()func (*CreateVersionRequest) ProtoReflect
func (x *CreateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateVersionRequest) Reset
func (x *CreateVersionRequest) Reset()func (*CreateVersionRequest) String
func (x *CreateVersionRequest) String() stringDebugInstanceRequest
type DebugInstanceRequest struct {
// Name of the resource requested. Example:
// `apps/myapp/services/default/versions/v1/instances/instance-1`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Public SSH key to add to the instance. Examples:
//
// * `[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]`
// * `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}`
//
// For more information, see
// [Adding and Removing SSH Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
SshKey string `protobuf:"bytes,2,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"`
// contains filtered or unexported fields
}Request message for Instances.DebugInstance.
func (*DebugInstanceRequest) Descriptor
func (*DebugInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use DebugInstanceRequest.ProtoReflect.Descriptor instead.
func (*DebugInstanceRequest) GetName
func (x *DebugInstanceRequest) GetName() stringfunc (*DebugInstanceRequest) GetSshKey
func (x *DebugInstanceRequest) GetSshKey() stringfunc (*DebugInstanceRequest) ProtoMessage
func (*DebugInstanceRequest) ProtoMessage()func (*DebugInstanceRequest) ProtoReflect
func (x *DebugInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*DebugInstanceRequest) Reset
func (x *DebugInstanceRequest) Reset()func (*DebugInstanceRequest) String
func (x *DebugInstanceRequest) String() stringDeleteAuthorizedCertificateRequest
type DeleteAuthorizedCertificateRequest struct {
// Name of the resource to delete. Example:
// `apps/myapp/authorizedCertificates/12345`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for AuthorizedCertificates.DeleteAuthorizedCertificate.
func (*DeleteAuthorizedCertificateRequest) Descriptor
func (*DeleteAuthorizedCertificateRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteAuthorizedCertificateRequest.ProtoReflect.Descriptor instead.
func (*DeleteAuthorizedCertificateRequest) GetName
func (x *DeleteAuthorizedCertificateRequest) GetName() stringfunc (*DeleteAuthorizedCertificateRequest) ProtoMessage
func (*DeleteAuthorizedCertificateRequest) ProtoMessage()func (*DeleteAuthorizedCertificateRequest) ProtoReflect
func (x *DeleteAuthorizedCertificateRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAuthorizedCertificateRequest) Reset
func (x *DeleteAuthorizedCertificateRequest) Reset()func (*DeleteAuthorizedCertificateRequest) String
func (x *DeleteAuthorizedCertificateRequest) String() stringDeleteDomainMappingRequest
type DeleteDomainMappingRequest struct {
// Name of the resource to delete. Example:
// `apps/myapp/domainMappings/example.com`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for DomainMappings.DeleteDomainMapping.
func (*DeleteDomainMappingRequest) Descriptor
func (*DeleteDomainMappingRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDomainMappingRequest.ProtoReflect.Descriptor instead.
func (*DeleteDomainMappingRequest) GetName
func (x *DeleteDomainMappingRequest) GetName() stringfunc (*DeleteDomainMappingRequest) ProtoMessage
func (*DeleteDomainMappingRequest) ProtoMessage()func (*DeleteDomainMappingRequest) ProtoReflect
func (x *DeleteDomainMappingRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDomainMappingRequest) Reset
func (x *DeleteDomainMappingRequest) Reset()func (*DeleteDomainMappingRequest) String
func (x *DeleteDomainMappingRequest) String() stringDeleteIngressRuleRequest
type DeleteIngressRuleRequest struct {
// Name of the Firewall resource to delete.
// Example: `apps/myapp/firewall/ingressRules/100`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for Firewall.DeleteIngressRule.
func (*DeleteIngressRuleRequest) Descriptor
func (*DeleteIngressRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteIngressRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteIngressRuleRequest) GetName
func (x *DeleteIngressRuleRequest) GetName() stringfunc (*DeleteIngressRuleRequest) ProtoMessage
func (*DeleteIngressRuleRequest) ProtoMessage()func (*DeleteIngressRuleRequest) ProtoReflect
func (x *DeleteIngressRuleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteIngressRuleRequest) Reset
func (x *DeleteIngressRuleRequest) Reset()func (*DeleteIngressRuleRequest) String
func (x *DeleteIngressRuleRequest) String() stringDeleteInstanceRequest
type DeleteInstanceRequest struct {
// Name of the resource requested. Example:
// `apps/myapp/services/default/versions/v1/instances/instance-1`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for Instances.DeleteInstance.
func (*DeleteInstanceRequest) Descriptor
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) GetName
func (x *DeleteInstanceRequest) GetName() stringfunc (*DeleteInstanceRequest) ProtoMessage
func (*DeleteInstanceRequest) ProtoMessage()func (*DeleteInstanceRequest) ProtoReflect
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteInstanceRequest) Reset
func (x *DeleteInstanceRequest) Reset()func (*DeleteInstanceRequest) String
func (x *DeleteInstanceRequest) String() stringDeleteServiceRequest
type DeleteServiceRequest struct {
// Name of the resource requested. Example: `apps/myapp/services/default`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for Services.DeleteService.
func (*DeleteServiceRequest) Descriptor
func (*DeleteServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceRequest) GetName
func (x *DeleteServiceRequest) GetName() stringfunc (*DeleteServiceRequest) ProtoMessage
func (*DeleteServiceRequest) ProtoMessage()func (*DeleteServiceRequest) ProtoReflect
func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteServiceRequest) Reset
func (x *DeleteServiceRequest) Reset()func (*DeleteServiceRequest) String
func (x *DeleteServiceRequest) String() stringDeleteVersionRequest
type DeleteVersionRequest struct {
// Name of the resource requested. Example:
// `apps/myapp/services/default/versions/v1`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for Versions.DeleteVersion.
func (*DeleteVersionRequest) Descriptor
func (*DeleteVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteVersionRequest) GetName
func (x *DeleteVersionRequest) GetName() stringfunc (*DeleteVersionRequest) ProtoMessage
func (*DeleteVersionRequest) ProtoMessage()func (*DeleteVersionRequest) ProtoReflect
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteVersionRequest) Reset
func (x *DeleteVersionRequest) Reset()func (*DeleteVersionRequest) String
func (x *DeleteVersionRequest) String() stringDeployment
type Deployment struct {
// Manifest of the files stored in Google Cloud Storage that are included
// as part of this version. All files must be readable using the
// credentials supplied with this call.
Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The Docker image for the container that runs the version.
// Only applicable for instances running in the App Engine flexible environment.
Container *ContainerInfo `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
// The zip file for this deployment, if this is a zip deployment.
Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip,proto3" json:"zip,omitempty"`
// Options for any Google Cloud Build builds created as a part of this
// deployment.
//
// These options will only be used if a new build is created, such as when
// deploying to the App Engine flexible environment using files or zip.
CloudBuildOptions *CloudBuildOptions `protobuf:"bytes,6,opt,name=cloud_build_options,json=cloudBuildOptions,proto3" json:"cloud_build_options,omitempty"`
// contains filtered or unexported fields
}Code and application artifacts used to deploy a version to App Engine.
func (*Deployment) Descriptor
func (*Deployment) Descriptor() ([]byte, []int)Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetCloudBuildOptions
func (x *Deployment) GetCloudBuildOptions() *CloudBuildOptionsfunc (*Deployment) GetContainer
func (x *Deployment) GetContainer() *ContainerInfofunc (*Deployment) GetFiles
func (x *Deployment) GetFiles() map[string]*FileInfofunc (*Deployment) GetZip
func (x *Deployment) GetZip() *ZipInfofunc (*Deployment) ProtoMessage
func (*Deployment) ProtoMessage()func (*Deployment) ProtoReflect
func (x *Deployment) ProtoReflect() protoreflect.Messagefunc (*Deployment) Reset
func (x *Deployment) Reset()func (*Deployment) String
func (x *Deployment) String() stringDiskUtilization
type DiskUtilization struct {
// Target bytes written per second.
TargetWriteBytesPerSecond int32 `protobuf:"varint,14,opt,name=target_write_bytes_per_second,json=targetWriteBytesPerSecond,proto3" json:"target_write_bytes_per_second,omitempty"`
// Target ops written per second.
TargetWriteOpsPerSecond int32 `protobuf:"varint,15,opt,name=target_write_ops_per_second,json=targetWriteOpsPerSecond,proto3" json:"target_write_ops_per_second,omitempty"`
// Target bytes read per second.
TargetReadBytesPerSecond int32 `protobuf:"varint,16,opt,name=target_read_bytes_per_second,json=targetReadBytesPerSecond,proto3" json:"target_read_bytes_per_second,omitempty"`
// Target ops read per seconds.
TargetReadOpsPerSecond int32 `protobuf:"varint,17,opt,name=target_read_ops_per_second,json=targetReadOpsPerSecond,proto3" json:"target_read_ops_per_second,omitempty"`
// contains filtered or unexported fields
}Target scaling by disk usage. Only applicable in the App Engine flexible environment.
func (*DiskUtilization) Descriptor
func (*DiskUtilization) Descriptor() ([]byte, []int)Deprecated: Use DiskUtilization.ProtoReflect.Descriptor instead.
func (*DiskUtilization) GetTargetReadBytesPerSecond
func (x *DiskUtilization) GetTargetReadBytesPerSecond() int32func (*DiskUtilization) GetTargetReadOpsPerSecond
func (x *DiskUtilization) GetTargetReadOpsPerSecond() int32func (*DiskUtilization) GetTargetWriteBytesPerSecond
func (x *DiskUtilization) GetTargetWriteBytesPerSecond() int32func (*DiskUtilization) GetTargetWriteOpsPerSecond
func (x *DiskUtilization) GetTargetWriteOpsPerSecond() int32func (*DiskUtilization) ProtoMessage
func (*DiskUtilization) ProtoMessage()func (*DiskUtilization) ProtoReflect
func (x *DiskUtilization) ProtoReflect() protoreflect.Messagefunc (*DiskUtilization) Reset
func (x *DiskUtilization) Reset()func (*DiskUtilization) String
func (x *DiskUtilization) String() stringDomainMapping
type DomainMapping struct {
// Full path to the `DomainMapping` resource in the API. Example:
// `apps/myapp/domainMapping/example.com`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Relative name of the domain serving the application. Example:
// `example.com`.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// SSL configuration for this domain. If unconfigured, this domain will not
// serve with SSL.
SslSettings *SslSettings `protobuf:"bytes,3,opt,name=ssl_settings,json=sslSettings,proto3" json:"ssl_settings,omitempty"`
// The resource records required to configure this domain mapping. These
// records must be added to the domain's DNS configuration in order to
// serve the application via this domain mapping.
//
// @OutputOnly
ResourceRecords []*ResourceRecord `protobuf:"bytes,4,rep,name=resource_records,json=resourceRecords,proto3" json:"resource_records,omitempty"`
// contains filtered or unexported fields
}A domain serving an App Engine application.
func (*DomainMapping) Descriptor
func (*DomainMapping) Descriptor() ([]byte, []int)Deprecated: Use DomainMapping.ProtoReflect.Descriptor instead.
func (*DomainMapping) GetId
func (x *DomainMapping) GetId() stringfunc (*DomainMapping) GetName
func (x *DomainMapping) GetName() stringfunc (*DomainMapping) GetResourceRecords
func (x *DomainMapping) GetResourceRecords() []*ResourceRecordfunc (*DomainMapping) GetSslSettings
func (x *DomainMapping) GetSslSettings() *SslSettingsfunc (*DomainMapping) ProtoMessage
func (*DomainMapping) ProtoMessage()func (*DomainMapping) ProtoReflect
func (x *DomainMapping) ProtoReflect() protoreflect.Messagefunc (*DomainMapping) Reset
func (x *DomainMapping) Reset()func (*DomainMapping) String
func (x *DomainMapping) String() stringDomainMappingsClient
type DomainMappingsClient interface {
// Lists the domain mappings on an application.
ListDomainMappings(ctx context.Context, in *ListDomainMappingsRequest, opts ...grpc.CallOption) (*ListDomainMappingsResponse, error)
// Gets the specified domain mapping.
GetDomainMapping(ctx context.Context, in *GetDomainMappingRequest, opts ...grpc.CallOption) (*DomainMapping, error)
// Maps a domain to an application. A user must be authorized to administer a
// domain in order to map it to an application. For a list of available
// authorized domains, see [`AuthorizedDomains.ListAuthorizedDomains`]().
CreateDomainMapping(ctx context.Context, in *CreateDomainMappingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the specified domain mapping. To map an SSL certificate to a
// domain mapping, update `certificate_id` to point to an `AuthorizedCertificate`
// resource. A user must be authorized to administer the associated domain
// in order to update a `DomainMapping` resource.
UpdateDomainMapping(ctx context.Context, in *UpdateDomainMappingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified domain mapping. A user must be authorized to
// administer the associated domain in order to delete a `DomainMapping`
// resource.
DeleteDomainMapping(ctx context.Context, in *DeleteDomainMappingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}DomainMappingsClient is the client API for DomainMappings 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 NewDomainMappingsClient
func NewDomainMappingsClient(cc grpc.ClientConnInterface) DomainMappingsClientDomainMappingsServer
type DomainMappingsServer interface {
// Lists the domain mappings on an application.
ListDomainMappings(context.Context, *ListDomainMappingsRequest) (*ListDomainMappingsResponse, error)
// Gets the specified domain mapping.
GetDomainMapping(context.Context, *GetDomainMappingRequest) (*DomainMapping, error)
// Maps a domain to an application. A user must be authorized to administer a
// domain in order to map it to an application. For a list of available
// authorized domains, see [`AuthorizedDomains.ListAuthorizedDomains`]().
CreateDomainMapping(context.Context, *CreateDomainMappingRequest) (*longrunningpb.Operation, error)
// Updates the specified domain mapping. To map an SSL certificate to a
// domain mapping, update `certificate_id` to point to an `AuthorizedCertificate`
// resource. A user must be authorized to administer the associated domain
// in order to update a `DomainMapping` resource.
UpdateDomainMapping(context.Context, *UpdateDomainMappingRequest) (*longrunningpb.Operation, error)
// Deletes the specified domain mapping. A user must be authorized to
// administer the associated domain in order to delete a `DomainMapping`
// resource.
DeleteDomainMapping(context.Context, *DeleteDomainMappingRequest) (*longrunningpb.Operation, error)
}DomainMappingsServer is the server API for DomainMappings service. All implementations should embed UnimplementedDomainMappingsServer for forward compatibility
DomainOverrideStrategy
type DomainOverrideStrategy int32Override strategy for mutating an existing mapping.
DomainOverrideStrategy_UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY, DomainOverrideStrategy_STRICT, DomainOverrideStrategy_OVERRIDE
const (
// Strategy unspecified. Defaults to `STRICT`.
DomainOverrideStrategy_UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY DomainOverrideStrategy = 0
// Overrides not allowed. If a mapping already exists for the
// specified domain, the request will return an ALREADY_EXISTS (409).
DomainOverrideStrategy_STRICT DomainOverrideStrategy = 1
// Overrides allowed. If a mapping already exists for the specified domain,
// the request will overwrite it. Note that this might stop another
// Google product from serving. For example, if the domain is
// mapped to another App Engine application, that app will no
// longer serve from that domain.
DomainOverrideStrategy_OVERRIDE DomainOverrideStrategy = 2
)func (DomainOverrideStrategy) Descriptor
func (DomainOverrideStrategy) Descriptor() protoreflect.EnumDescriptorfunc (DomainOverrideStrategy) Enum
func (x DomainOverrideStrategy) Enum() *DomainOverrideStrategyfunc (DomainOverrideStrategy) EnumDescriptor
func (DomainOverrideStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use DomainOverrideStrategy.Descriptor instead.
func (DomainOverrideStrategy) Number
func (x DomainOverrideStrategy) Number() protoreflect.EnumNumberfunc (DomainOverrideStrategy) String
func (x DomainOverrideStrategy) String() stringfunc (DomainOverrideStrategy) Type
func (DomainOverrideStrategy) Type() protoreflect.EnumTypeEndpointsApiService
type EndpointsApiService struct {
// Endpoints service name which is the name of the "service" resource in the
// Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Endpoints service configuration ID as specified by the Service Management
// API. For example "2016-09-19r1".
//
// By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`.
// This means that Endpoints starts up with a particular configuration ID.
// When a new configuration is rolled out, Endpoints must be given the new
// configuration ID. The `config_id` field is used to give the configuration
// ID and is required in this case.
//
// Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`.
// When using this, Endpoints fetches the latest configuration and does not
// need the configuration ID. In this case, `config_id` must be omitted.
ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
// Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If
// `MANAGED`, `config_id` must be omitted.
RolloutStrategy EndpointsApiService_RolloutStrategy `protobuf:"varint,3,opt,name=rollout_strategy,json=rolloutStrategy,proto3,enum=google.appengine.v1.EndpointsApiService_RolloutStrategy" json:"rollout_strategy,omitempty"`
// Enable or disable trace sampling. By default, this is set to false for
// enabled.
DisableTraceSampling bool `protobuf:"varint,4,opt,name=disable_trace_sampling,json=disableTraceSampling,proto3" json:"disable_trace_sampling,omitempty"`
// contains filtered or unexported fields
}Cloud Endpoints configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
The fields here refer to the name and configuration ID of a "service" resource in the Service Management API.
func (*EndpointsApiService) Descriptor
func (*EndpointsApiService) Descriptor() ([]byte, []int)Deprecated: Use EndpointsApiService.ProtoReflect.Descriptor instead.
func (*EndpointsApiService) GetConfigId
func (x *EndpointsApiService) GetConfigId() stringfunc (*EndpointsApiService) GetDisableTraceSampling
func (x *EndpointsApiService) GetDisableTraceSampling() boolfunc (*EndpointsApiService) GetName
func (x *EndpointsApiService) GetName() stringfunc (*EndpointsApiService) GetRolloutStrategy
func (x *EndpointsApiService) GetRolloutStrategy() EndpointsApiService_RolloutStrategyfunc (*EndpointsApiService) ProtoMessage
func (*EndpointsApiService) ProtoMessage()func (*EndpointsApiService) ProtoReflect
func (x *EndpointsApiService) ProtoReflect() protoreflect.Messagefunc (*EndpointsApiService) Reset
func (x *EndpointsApiService) Reset()func (*EndpointsApiService) String
func (x *EndpointsApiService) String() stringEndpointsApiService_RolloutStrategy
type EndpointsApiService_RolloutStrategy int32Available rollout strategies.
EndpointsApiService_UNSPECIFIED_ROLLOUT_STRATEGY, EndpointsApiService_FIXED, EndpointsApiService_MANAGED
const (
// Not specified. Defaults to `FIXED`.
EndpointsApiService_UNSPECIFIED_ROLLOUT_STRATEGY EndpointsApiService_RolloutStrategy = 0
// Endpoints service configuration ID will be fixed to the configuration ID
// specified by `config_id`.
EndpointsApiService_FIXED EndpointsApiService_RolloutStrategy = 1
// Endpoints service configuration ID will be updated with each rollout.
EndpointsApiService_MANAGED EndpointsApiService_RolloutStrategy = 2
)func (EndpointsApiService_RolloutStrategy) Descriptor
func (EndpointsApiService_RolloutStrategy) Descriptor() protoreflect.EnumDescriptorfunc (EndpointsApiService_RolloutStrategy) Enum
func (x EndpointsApiService_RolloutStrategy) Enum() *EndpointsApiService_RolloutStrategyfunc (EndpointsApiService_RolloutStrategy) EnumDescriptor
func (EndpointsApiService_RolloutStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use EndpointsApiService_RolloutStrategy.Descriptor instead.
func (EndpointsApiService_RolloutStrategy) Number
func (x EndpointsApiService_RolloutStrategy) Number() protoreflect.EnumNumberfunc (EndpointsApiService_RolloutStrategy) String
func (x EndpointsApiService_RolloutStrategy) String() stringfunc (EndpointsApiService_RolloutStrategy) Type
func (EndpointsApiService_RolloutStrategy) Type() protoreflect.EnumTypeEntrypoint
type Entrypoint struct {
// The command to run.
//
// Types that are valid to be assigned to Command:
//
// *Entrypoint_Shell
Command isEntrypoint_Command `protobuf_oneof:"command"`
// contains filtered or unexported fields
}The entrypoint for the application.
func (*Entrypoint) Descriptor
func (*Entrypoint) Descriptor() ([]byte, []int)Deprecated: Use Entrypoint.ProtoReflect.Descriptor instead.
func (*Entrypoint) GetCommand
func (x *Entrypoint) GetCommand() isEntrypoint_Commandfunc (*Entrypoint) GetShell
func (x *Entrypoint) GetShell() stringfunc (*Entrypoint) ProtoMessage
func (*Entrypoint) ProtoMessage()func (*Entrypoint) ProtoReflect
func (x *Entrypoint) ProtoReflect() protoreflect.Messagefunc (*Entrypoint) Reset
func (x *Entrypoint) Reset()func (*Entrypoint) String
func (x *Entrypoint) String() stringEntrypoint_Shell
type Entrypoint_Shell struct {
// The format should be a shell command that can be fed to `bash -c`.
Shell string `protobuf:"bytes,1,opt,name=shell,proto3,oneof"`
}ErrorHandler
type ErrorHandler struct {
// Error condition this handler applies to.
ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"`
// Static file content to be served for this error.
StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile,proto3" json:"static_file,omitempty"`
// MIME type of file. Defaults to `text/html`.
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// contains filtered or unexported fields
}Custom static error page to be served when an error occurs.
func (*ErrorHandler) Descriptor
func (*ErrorHandler) Descriptor() ([]byte, []int)Deprecated: Use ErrorHandler.ProtoReflect.Descriptor instead.
func (*ErrorHandler) GetErrorCode
func (x *ErrorHandler) GetErrorCode() ErrorHandler_ErrorCodefunc (*ErrorHandler) GetMimeType
func (x *ErrorHandler) GetMimeType() stringfunc (*ErrorHandler) GetStaticFile
func (x *ErrorHandler) GetStaticFile() stringfunc (*ErrorHandler) ProtoMessage
func (*ErrorHandler) ProtoMessage()func (*ErrorHandler) ProtoReflect
func (x *ErrorHandler) ProtoReflect() protoreflect.Messagefunc (*ErrorHandler) Reset
func (x *ErrorHandler) Reset()func (*ErrorHandler) String
func (x *ErrorHandler) String() stringErrorHandler_ErrorCode
type ErrorHandler_ErrorCode int32Error codes.
ErrorHandler_ERROR_CODE_UNSPECIFIED, ErrorHandler_ERROR_CODE_DEFAULT, ErrorHandler_ERROR_CODE_OVER_QUOTA, ErrorHandler_ERROR_CODE_DOS_API_DENIAL, ErrorHandler_ERROR_CODE_TIMEOUT
const (
// Not specified. ERROR_CODE_DEFAULT is assumed.
ErrorHandler_ERROR_CODE_UNSPECIFIED ErrorHandler_ErrorCode = 0
// All other error types.
ErrorHandler_ERROR_CODE_DEFAULT ErrorHandler_ErrorCode = 0
// Application has exceeded a resource quota.
ErrorHandler_ERROR_CODE_OVER_QUOTA ErrorHandler_ErrorCode = 1
// Client blocked by the application's Denial of Service protection
// configuration.
ErrorHandler_ERROR_CODE_DOS_API_DENIAL ErrorHandler_ErrorCode = 2
// Deadline reached before the application responds.
ErrorHandler_ERROR_CODE_TIMEOUT ErrorHandler_ErrorCode = 3
)func (ErrorHandler_ErrorCode) Descriptor
func (ErrorHandler_ErrorCode) Descriptor() protoreflect.EnumDescriptorfunc (ErrorHandler_ErrorCode) Enum
func (x ErrorHandler_ErrorCode) Enum() *ErrorHandler_ErrorCodefunc (ErrorHandler_ErrorCode) EnumDescriptor
func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int)Deprecated: Use ErrorHandler_ErrorCode.Descriptor instead.
func (ErrorHandler_ErrorCode) Number
func (x ErrorHandler_ErrorCode) Number() protoreflect.EnumNumberfunc (ErrorHandler_ErrorCode) String
func (x ErrorHandler_ErrorCode) String() stringfunc (ErrorHandler_ErrorCode) Type
func (ErrorHandler_ErrorCode) Type() protoreflect.EnumTypeFileInfo
type FileInfo struct {
// URL source to use to fetch this file. Must be a URL to a resource in
// Google Cloud Storage in the form
// 'http(s)://storage.googleapis.com/\Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
func (*FileInfo) Descriptor
Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.
func (*FileInfo) GetMimeType
func (*FileInfo) GetSha1Sum
func (*FileInfo) GetSourceUrl
func (*FileInfo) ProtoMessage
func (*FileInfo) ProtoMessage()func (*FileInfo) ProtoReflect
func (x *FileInfo) ProtoReflect() protoreflect.Messagefunc (*FileInfo) Reset
func (x *FileInfo) Reset()func (*FileInfo) String
FirewallClient
type FirewallClient interface {
// Lists the firewall rules of an application.
ListIngressRules(ctx context.Context, in *ListIngressRulesRequest, opts ...grpc.CallOption) (*ListIngressRulesResponse, error)
// Replaces the entire firewall ruleset in one bulk operation. This overrides
// and replaces the rules of an existing firewall with the new rules.
//
// If the final rule does not match traffic with the '*' wildcard IP range,
// then an "allow all" rule is explicitly added to the end of the list.
BatchUpdateIngressRules(ctx context.Context, in *BatchUpdateIngressRulesRequest, opts ...grpc.CallOption) (*BatchUpdateIngressRulesResponse, error)
// Creates a firewall rule for the application.
CreateIngressRule(ctx context.Context, in *CreateIngressRuleRequest, opts ...grpc.CallOption) (*FirewallRule, error)
// Gets the specified firewall rule.
GetIngressRule(ctx context.Context, in *GetIngressRuleRequest, opts ...grpc.CallOption) (*FirewallRule, error)
// Updates the specified firewall rule.
UpdateIngressRule(ctx context.Context, in *UpdateIngressRuleRequest, opts ...grpc.CallOption) (*FirewallRule, error)
// Deletes the specified firewall rule.
DeleteIngressRule(ctx context.Context, in *DeleteIngressRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}FirewallClient is the client API for Firewall 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 NewFirewallClient
func NewFirewallClient(cc grpc.ClientConnInterface) FirewallClientFirewallRule
type FirewallRule struct { // A positive integer between [1, Int32.MaxValue-1] that defines the order of // rule evaluation. Rules with the lowest priority are evaluated first. // // A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic // when no previous rule matches. Only the action of this rule can be modified // by the user. Priority int32 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"` // The action to take on matched requests. Action FirewallRule_Action `protobuf:"varint,2,opt,name=action,proto3,enum=google.appengine.v1.FirewallRule_Action" json:"action,omitempty"` // IP address or range, defined using CIDR notation, of requests that this // rule applies to. You can use the wildcard character "*" to match all IPs // equivalent to "0/0" and "::/0" together. // Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` // // or `2001:0db8:0000:0042:0000:8a2e:0370:7334`. // //
Truncation will be silently performed on addresses which are not // properly truncated. For example, `1.2.3.4/24` is accepted as the same // address as `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` is accepted // as the same address as `2001:db8::/32`. SourceRange string `protobuf:"bytes,3,opt,name=source_range,json=sourceRange,proto3" json:"source_range,omitempty"` // An optional string description of this rule. // This field has a maximum length of 100 characters. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
A single firewall rule that is evaluated against incoming traffic and provides an action to take on matched requests.
func (*FirewallRule) Descriptor
func (*FirewallRule) Descriptor() ([]byte, []int)Deprecated: Use FirewallRule.ProtoReflect.Descriptor instead.
func (*FirewallRule) GetAction
func (x *FirewallRule) GetAction() FirewallRule_Actionfunc (*FirewallRule) GetDescription
func (x *FirewallRule) GetDescription() stringfunc (*FirewallRule) GetPriority
func (x *FirewallRule) GetPriority() int32func (*FirewallRule) GetSourceRange
func (x *FirewallRule) GetSourceRange() stringfunc (*FirewallRule) ProtoMessage
func (*FirewallRule) ProtoMessage()func (*FirewallRule) ProtoReflect
func (x *FirewallRule) ProtoReflect() protoreflect.Messagefunc (*FirewallRule) Reset
func (x *FirewallRule) Reset()func (*FirewallRule) String
func (x *FirewallRule) String() stringFirewallRule_Action
type FirewallRule_Action int32Available actions to take on matching requests.
FirewallRule_UNSPECIFIED_ACTION, FirewallRule_ALLOW, FirewallRule_DENY
const (
FirewallRule_UNSPECIFIED_ACTION FirewallRule_Action = 0
// Matching requests are allowed.
FirewallRule_ALLOW FirewallRule_Action = 1
// Matching requests are denied.
FirewallRule_DENY FirewallRule_Action = 2
)func (FirewallRule_Action) Descriptor
func (FirewallRule_Action) Descriptor() protoreflect.EnumDescriptorfunc (FirewallRule_Action) Enum
func (x FirewallRule_Action) Enum() *FirewallRule_Actionfunc (FirewallRule_Action) EnumDescriptor
func (FirewallRule_Action) EnumDescriptor() ([]byte, []int)Deprecated: Use FirewallRule_Action.Descriptor instead.
func (FirewallRule_Action) Number
func (x FirewallRule_Action) Number() protoreflect.EnumNumberfunc (FirewallRule_Action) String
func (x FirewallRule_Action) String() stringfunc (FirewallRule_Action) Type
func (FirewallRule_Action) Type() protoreflect.EnumTypeFirewallServer
type FirewallServer interface {
// Lists the firewall rules of an application.
ListIngressRules(context.Context, *ListIngressRulesRequest) (*ListIngressRulesResponse, error)
// Replaces the entire firewall ruleset in one bulk operation. This overrides
// and replaces the rules of an existing firewall with the new rules.
//
// If the final rule does not match traffic with the '*' wildcard IP range,
// then an "allow all" rule is explicitly added to the end of the list.
BatchUpdateIngressRules(context.Context, *BatchUpdateIngressRulesRequest) (*BatchUpdateIngressRulesResponse, error)
// Creates a firewall rule for the application.
CreateIngressRule(context.Context, *CreateIngressRuleRequest) (*FirewallRule, error)
// Gets the specified firewall rule.
GetIngressRule(context.Context, *GetIngressRuleRequest) (*FirewallRule, error)
// Updates the specified firewall rule.
UpdateIngressRule(context.Context, *UpdateIngressRuleRequest) (*FirewallRule, error)
// Deletes the specified firewall rule.
DeleteIngressRule(context.Context, *DeleteIngressRuleRequest) (*emptypb.Empty, error)
}FirewallServer is the server API for Firewall service. All implementations should embed UnimplementedFirewallServer for forward compatibility
GetApplicationRequest
type GetApplicationRequest struct {
// Name of the Application resource to get. Example: `apps/myapp`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for Applications.GetApplication.
func (*GetApplicationRequest) Descriptor
func (*GetApplicationRequest) Descriptor() ([]byte, []int)Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.
func (*GetApplicationRequest) GetName
func (x *GetApplicationRequest) GetName() stringfunc (*GetApplicationRequest) ProtoMessage
func (*GetApplicationRequest) ProtoMessage()func (*GetApplicationRequest) ProtoReflect
func (x *GetApplicationRequest) ProtoReflect() protoreflect.Messagefunc (*GetApplicationRequest) Reset
func (x *GetApplicationRequest) Reset()func (*GetApplicationRequest) String
func (x *GetApplicationRequest) String() stringGetAuthorizedCertificateRequest
type GetAuthorizedCertificateRequest struct {
// Name of the resource requested. Example:
// `apps/myapp/authorizedCertificates/12345`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Controls the set of fields returned in the `GET` response.
View AuthorizedCertificateView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.AuthorizedCertificateView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for AuthorizedCertificates.GetAuthorizedCertificate.
func (*GetAuthorizedCertificateRequest) Descriptor
func (*GetAuthorizedCertificateRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAuthorizedCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetAuthorizedCertificateRequest) GetName
func (x *GetAuthorizedCertificateRequest) GetName() stringfunc (*GetAuthorizedCertificateRequest) GetView
func (x *GetAuthorizedCertificateRequest) GetView() AuthorizedCertificateViewfunc (*GetAuthorizedCertificateRequest) ProtoMessage
func (*GetAuthorizedCertificateRequest) ProtoMessage()func (*GetAuthorizedCertificateRequest) ProtoReflect
func (x *GetAuthorizedCertificateRequest) ProtoReflect() protoreflect.Messagefunc (*GetAuthorizedCertificateRequest) Reset
func (x *GetAuthorizedCertificateRequest) Reset()func (*GetAuthorizedCertificateRequest) String
func (x *GetAuthorizedCertificateRequest) String() stringGetDomainMappingRequest
type GetDomainMappingRequest struct {
// Name of the resource requested. Example:
// `apps/myapp/domainMappings/example.com`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for DomainMappings.GetDomainMapping.
func (*GetDomainMappingRequest) Descriptor
func (*GetDomainMappingRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDomainMappingRequest.ProtoReflect.Descriptor instead.
func (*GetDomainMappingRequest) GetName
func (x *GetDomainMappingRequest) GetName() stringfunc (*GetDomainMappingRequest) ProtoMessage
func (*GetDomainMappingRequest) ProtoMessage()func (*GetDomainMappingRequest) ProtoReflect
func (x *GetDomainMappingRequest) ProtoReflect() protoreflect.Messagefunc (*GetDomainMappingRequest) Reset
func (x *GetDomainMappingRequest) Reset()func (*GetDomainMappingRequest) String
func (x *GetDomainMappingRequest) String() stringGetIngressRuleRequest
type GetIngressRuleRequest struct {
// Name of the Firewall resource to retrieve.
// Example: `apps/myapp/firewall/ingressRules/100`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for Firewall.GetIngressRule.
func (*GetIngressRuleRequest) Descriptor
func (*GetIngressRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetIngressRuleRequest.ProtoReflect.Descriptor instead.
func (*GetIngressRuleRequest) GetName
func (x *GetIngressRuleRequest) GetName() stringfunc (*GetIngressRuleRequest) ProtoMessage
func (*GetIngressRuleRequest) ProtoMessage()func (*GetIngressRuleRequest) ProtoReflect
func (x *GetIngressRuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetIngressRuleRequest) Reset
func (x *GetIngressRuleRequest) Reset()func (*GetIngressRuleRequest) String
func (x *GetIngressRuleRequest) String() stringGetInstanceRequest
type GetInstanceRequest struct {
// Name of the resource requested. Example:
// `apps/myapp/services/default/versions/v1/instances/instance-1`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for Instances.GetInstance.
func (*GetInstanceRequest) Descriptor
func (*GetInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetName
func (x *GetInstanceRequest) GetName() stringfunc (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() stringGetServiceRequest
type GetServiceRequest struct {
// Name of the resource requested. Example: `apps/myapp/services/default`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for Services.GetService.
func (*GetServiceRequest) Descriptor
func (*GetServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetName
func (x *GetServiceRequest) GetName() stringfunc (*GetServiceRequest) ProtoMessage
func (*GetServiceRequest) ProtoMessage()func (*GetServiceRequest) ProtoReflect
func (x *GetServiceRequest) ProtoReflect() protoreflect.Messagefunc (*GetServiceRequest) Reset
func (x *GetServiceRequest) Reset()func (*GetServiceRequest) String
func (x *GetServiceRequest) String() stringGetVersionRequest
type GetVersionRequest struct {
// Name of the resource requested. Example:
// `apps/myapp/services/default/versions/v1`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Controls the set of fields returned in the `Get` response.
View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.VersionView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for Versions.GetVersion.
func (*GetVersionRequest) Descriptor
func (*GetVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) GetName
func (x *GetVersionRequest) GetName() stringfunc (*GetVersionRequest) GetView
func (x *GetVersionRequest) GetView() VersionViewfunc (*GetVersionRequest) ProtoMessage
func (*GetVersionRequest) ProtoMessage()func (*GetVersionRequest) ProtoReflect
func (x *GetVersionRequest) ProtoReflect() protoreflect.Messagefunc (*GetVersionRequest) Reset
func (x *GetVersionRequest) Reset()func (*GetVersionRequest) String
func (x *GetVersionRequest) String() stringHealthCheck
type HealthCheck struct {
// Whether to explicitly disable health checks for this instance.
DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck,proto3" json:"disable_health_check,omitempty"`
// Host header to send when performing an HTTP health check.
// Example: "myapp.appspot.com"
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
// Number of consecutive successful health checks required before receiving
// traffic.
HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"`
// Number of consecutive failed health checks required before removing
// traffic.
UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"`
// Number of consecutive failed health checks required before an instance is
// restarted.
RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold,proto3" json:"restart_threshold,omitempty"`
// Interval between health checks.
CheckInterval *durationpb.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"`
// Time before the health check is considered failed.
Timeout *durationpb.Duration `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout,omitempty"`
// contains filtered or unexported fields
}Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
func (*HealthCheck) Descriptor
func (*HealthCheck) Descriptor() ([]byte, []int)Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.
func (*HealthCheck) GetCheckInterval
func (x *HealthCheck) GetCheckInterval() *durationpb.Durationfunc (*HealthCheck) GetDisableHealthCheck
func (x *HealthCheck) GetDisableHealthCheck() boolfunc (*HealthCheck) GetHealthyThreshold
func (x *HealthCheck) GetHealthyThreshold() uint32func (*HealthCheck) GetHost
func (x *HealthCheck) GetHost() stringfunc (*HealthCheck) GetRestartThreshold
func (x *HealthCheck) GetRestartThreshold() uint32func (*HealthCheck) GetTimeout
func (x *HealthCheck) GetTimeout() *durationpb.Durationfunc (*HealthCheck) GetUnhealthyThreshold
func (x *HealthCheck) GetUnhealthyThreshold() uint32func (*HealthCheck) ProtoMessage
func (*HealthCheck) ProtoMessage()func (*HealthCheck) ProtoReflect
func (x *HealthCheck) ProtoReflect() protoreflect.Messagefunc (*HealthCheck) Reset
func (x *HealthCheck) Reset()func (*HealthCheck) String
func (x *HealthCheck) String() stringInboundServiceType
type InboundServiceType int32Available inbound services.
InboundServiceType_INBOUND_SERVICE_UNSPECIFIED, InboundServiceType_INBOUND_SERVICE_MAIL, InboundServiceType_INBOUND_SERVICE_MAIL_BOUNCE, InboundServiceType_INBOUND_SERVICE_XMPP_ERROR, InboundServiceType_INBOUND_SERVICE_XMPP_MESSAGE, InboundServiceType_INBOUND_SERVICE_XMPP_SUBSCRIBE, InboundServiceType_INBOUND_SERVICE_XMPP_PRESENCE, InboundServiceType_INBOUND_SERVICE_CHANNEL_PRESENCE, InboundServiceType_INBOUND_SERVICE_WARMUP
const (
// Not specified.
InboundServiceType_INBOUND_SERVICE_UNSPECIFIED InboundServiceType = 0
// Allows an application to receive mail.
InboundServiceType_INBOUND_SERVICE_MAIL InboundServiceType = 1
// Allows an application to receive email-bound notifications.
InboundServiceType_INBOUND_SERVICE_MAIL_BOUNCE InboundServiceType = 2
// Allows an application to receive error stanzas.
InboundServiceType_INBOUND_SERVICE_XMPP_ERROR InboundServiceType = 3
// Allows an application to receive instant messages.
InboundServiceType_INBOUND_SERVICE_XMPP_MESSAGE InboundServiceType = 4
// Allows an application to receive user subscription POSTs.
InboundServiceType_INBOUND_SERVICE_XMPP_SUBSCRIBE InboundServiceType = 5
// Allows an application to receive a user's chat presence.
InboundServiceType_INBOUND_SERVICE_XMPP_PRESENCE InboundServiceType = 6
// Registers an application for notifications when a client connects or
// disconnects from a channel.
InboundServiceType_INBOUND_SERVICE_CHANNEL_PRESENCE InboundServiceType = 7
// Enables warmup requests.
InboundServiceType_INBOUND_SERVICE_WARMUP InboundServiceType = 9
)func (InboundServiceType) Descriptor
func (InboundServiceType) Descriptor() protoreflect.EnumDescriptorfunc (InboundServiceType) Enum
func (x InboundServiceType) Enum() *InboundServiceTypefunc (InboundServiceType) EnumDescriptor
func (InboundServiceType) EnumDescriptor() ([]byte, []int)Deprecated: Use InboundServiceType.Descriptor instead.
func (InboundServiceType) Number
func (x InboundServiceType) Number() protoreflect.EnumNumberfunc (InboundServiceType) String
func (x InboundServiceType) String() stringfunc (InboundServiceType) Type
func (InboundServiceType) Type() protoreflect.EnumTypeInstance
type Instance struct {
// Output only. Full path to the Instance resource in the API.
// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Relative name of the instance within the version.
// Example: `instance-1`.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Output only. App Engine release this instance is running on.
AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"`
// Output only. Availability of the instance.
Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=google.appengine.v1.Instance_Availability" json:"availability,omitempty"`
// Output only. Name of the virtual machine where this instance lives. Only applicable
// for instances in App Engine flexible environment.
VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
// Output only. Zone where the virtual machine is located. Only applicable for instances
// in App Engine flexible environment.
VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName,proto3" json:"vm_zone_name,omitempty"`
// Output only. Virtual machine ID of this instance. Only applicable for instances in
// App Engine flexible environment.
VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"`
// Output only. Time that this instance was started.
//
// @OutputOnly
StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. Number of requests since this instance was started.
Requests int32 `protobuf:"varint,9,opt,name=requests,proto3" json:"requests,omitempty"`
// Output only. Number of errors since this instance was started.
Errors int32 `protobuf:"varint,10,opt,name=errors,proto3" json:"errors,omitempty"`
// Output only. Average queries per second (QPS) over the last minute.
Qps float32 `protobuf:"fixed32,11,opt,name=qps,proto3" json:"qps,omitempty"`
// Output only. Average latency (ms) over the last minute.
AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency,proto3" json:"average_latency,omitempty"`
// Output only. Total memory in use (bytes).
MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
// Output only. Status of the virtual machine where this instance lives. Only applicable
// for instances in App Engine flexible environment.
VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus,proto3" json:"vm_status,omitempty"`
// Output only. Whether this instance is in debug mode. Only applicable for instances in
// App Engine flexible environment.
VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled,proto3" json:"vm_debug_enabled,omitempty"`
// Output only. The IP address of this instance. Only applicable for instances in App
// Engine flexible environment.
VmIp string `protobuf:"bytes,16,opt,name=vm_ip,json=vmIp,proto3" json:"vm_ip,omitempty"`
// Output only. The liveness health check of this instance. Only applicable for instances
// in App Engine flexible environment.
VmLiveness Instance_Liveness_LivenessState `protobuf:"varint,17,opt,name=vm_liveness,json=vmLiveness,proto3,enum=google.appengine.v1.Instance_Liveness_LivenessState" json:"vm_liveness,omitempty"`
// contains filtered or unexported fields
}An Instance resource is the computing unit that App Engine uses to automatically scale an application.
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetAppEngineRelease
func (*Instance) GetAvailability
func (x *Instance) GetAvailability() Instance_Availabilityfunc (*Instance) GetAverageLatency
func (*Instance) GetErrors
func (*Instance) GetId
func (*Instance) GetMemoryUsage
func (*Instance) GetName
func (*Instance) GetQps
func (*Instance) GetRequests
func (*Instance) GetStartTime
func (x *Instance) GetStartTime() *timestamppb.Timestampfunc (*Instance) GetVmDebugEnabled
func (*Instance) GetVmId
func (*Instance) GetVmIp
func (*Instance) GetVmLiveness
func (x *Instance) GetVmLiveness() Instance_Liveness_LivenessStatefunc (*Instance) GetVmName
func (*Instance) GetVmStatus
func (*Instance) GetVmZoneName
func (*Instance) ProtoMessage
func (*Instance) ProtoMessage()func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Messagefunc (*Instance) Reset
func (x *Instance) Reset()func (*Instance) String
Instance_Availability
type Instance_Availability int32Availability of the instance.
Instance_UNSPECIFIED, Instance_RESIDENT, Instance_DYNAMIC
const (
Instance_UNSPECIFIED Instance_Availability = 0
Instance_RESIDENT Instance_Availability = 1
Instance_DYNAMIC Instance_Availability = 2
)func (Instance_Availability) Descriptor
func (Instance_Availability) Descriptor() protoreflect.EnumDescriptorfunc (Instance_Availability) Enum
func (x Instance_Availability) Enum() *Instance_Availabilityfunc (Instance_Availability) EnumDescriptor
func (Instance_Availability) EnumDescriptor() ([]byte, []int)Deprecated: Use Instance_Availability.Descriptor instead.
func (Instance_Availability) Number
func (x Instance_Availability) Number() protoreflect.EnumNumberfunc (Instance_Availability) String
func (x Instance_Availability) String() stringfunc (Instance_Availability) Type
func (Instance_Availability) Type() protoreflect.EnumTypeInstance_Liveness
type Instance_Liveness struct {
// contains filtered or unexported fields
}Wrapper for LivenessState enum.
func (*Instance_Liveness) Descriptor
func (*Instance_Liveness) Descriptor() ([]byte, []int)Deprecated: Use Instance_Liveness.ProtoReflect.Descriptor instead.
func (*Instance_Liveness) ProtoMessage
func (*Instance_Liveness) ProtoMessage()func (*Instance_Liveness) ProtoReflect
func (x *Instance_Liveness) ProtoReflect() protoreflect.Messagefunc (*Instance_Liveness) Reset
func (x *Instance_Liveness) Reset()func (*Instance_Liveness) String
func (x *Instance_Liveness) String() stringInstance_Liveness_LivenessState
type Instance_Liveness_LivenessState int32Liveness health check status for Flex instances.
Instance_Liveness_LIVENESS_STATE_UNSPECIFIED, Instance_Liveness_UNKNOWN, Instance_Liveness_HEALTHY, Instance_Liveness_UNHEALTHY, Instance_Liveness_DRAINING, Instance_Liveness_TIMEOUT
const (
// There is no liveness health check for the instance. Only applicable for
// instances in App Engine standard environment.
Instance_Liveness_LIVENESS_STATE_UNSPECIFIED Instance_Liveness_LivenessState = 0
// The health checking system is aware of the instance but its health is
// not known at the moment.
Instance_Liveness_UNKNOWN Instance_Liveness_LivenessState = 1
// The instance is reachable i.e. a connection to the application health
// checking endpoint can be established, and conforms to the requirements
// defined by the health check.
Instance_Liveness_HEALTHY Instance_Liveness_LivenessState = 2
// The instance is reachable, but does not conform to the requirements
// defined by the health check.
Instance_Liveness_UNHEALTHY Instance_Liveness_LivenessState = 3
// The instance is being drained. The existing connections to the instance
// have time to complete, but the new ones are being refused.
Instance_Liveness_DRAINING Instance_Liveness_LivenessState = 4
// The instance is unreachable i.e. a connection to the application health
// checking endpoint cannot be established, or the server does not respond
// within the specified timeout.
Instance_Liveness_TIMEOUT Instance_Liveness_LivenessState = 5
)func (Instance_Liveness_LivenessState) Descriptor
func (Instance_Liveness_LivenessState) Descriptor() protoreflect.EnumDescriptorfunc (Instance_Liveness_LivenessState) Enum
func (x Instance_Liveness_LivenessState) Enum() *Instance_Liveness_LivenessStatefunc (Instance_Liveness_LivenessState) EnumDescriptor
func (Instance_Liveness_LivenessState) EnumDescriptor() ([]byte, []int)Deprecated: Use Instance_Liveness_LivenessState.Descriptor instead.
func (Instance_Liveness_LivenessState) Number
func (x Instance_Liveness_LivenessState) Number() protoreflect.EnumNumberfunc (Instance_Liveness_LivenessState) String
func (x Instance_Liveness_LivenessState) String() stringfunc (Instance_Liveness_LivenessState) Type
func (Instance_Liveness_LivenessState) Type() protoreflect.EnumTypeInstancesClient
type InstancesClient interface {
// Lists the instances of a version.
//
// Tip: To aggregate details about instances over time, see the
// [Stackdriver Monitoring API](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
// Gets instance information.
GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
// Stops a running instance.
//
// The instance might be automatically recreated based on the scaling settings
// of the version. For more information, see "How Instances are Managed"
// ([standard environment](https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) |
// [flexible environment](https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).
//
// To ensure that instances are not re-created and avoid getting billed, you
// can stop all instances within the target version by changing the serving
// status of the version to `STOPPED` with the
// [`apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch)
// method.
DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Enables debugging on a VM instance. This allows you to use the SSH
// command to connect to the virtual machine where the instance lives.
// While in "debug mode", the instance continues to serve live traffic.
// You should delete the instance when you are done debugging and then
// allow the system to take over and determine if another instance
// should be started.
//
// Only applicable for instances in App Engine flexible environment.
DebugInstance(ctx context.Context, in *DebugInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}InstancesClient is the client API for Instances 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 NewInstancesClient
func NewInstancesClient(cc grpc.ClientConnInterface) InstancesClientInstancesServer
type InstancesServer interface {
// Lists the instances of a version.
//
// Tip: To aggregate details about instances over time, see the
// [Stackdriver Monitoring API](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
// Gets instance information.
GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
// Stops a running instance.
//
// The instance might be automatically recreated based on the scaling settings
// of the version. For more information, see "How Instances are Managed"
// ([standard environment](https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) |
// [flexible environment](https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).
//
// To ensure that instances are not re-created and avoid getting billed, you
// can stop all instances within the target version by changing the serving
// status of the version to `STOPPED` with the
// [`apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch)
// method.
DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
// Enables debugging on a VM instance. This allows you to use the SSH
// command to connect to the virtual machine where the instance lives.
// While in "debug mode", the instance continues to serve live traffic.
// You should delete the instance when you are done debugging and then
// allow the system to take over and determine if another instance
// should be started.
//
// Only applicable for instances in App Engine flexible environment.
DebugInstance(context.Context, *DebugInstanceRequest) (*longrunningpb.Operation, error)
}InstancesServer is the server API for Instances service. All implementations should embed UnimplementedInstancesServer for forward compatibility
Library
type Library struct {
// Name of the library. Example: "django".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Version of the library to select, or "latest".
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}Third-party Python runtime library that is required by the application.
func (*Library) Descriptor
Deprecated: Use Library.ProtoReflect.Descriptor instead.
func (*Library) GetName
func (*Library) GetVersion
func (*Library) ProtoMessage
func (*Library) ProtoMessage()func (*Library) ProtoReflect
func (x *Library) ProtoReflect() protoreflect.Messagefunc (*Library) Reset
func (x *Library) Reset()func (*Library) String
ListAuthorizedCertificatesRequest
type ListAuthorizedCertificatesRequest struct {
// Name of the parent `Application` resource. Example: `apps/myapp`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Controls the set of fields returned in the `LIST` response.
View AuthorizedCertificateView `protobuf:"varint,4,opt,name=view,proto3,enum=google.appengine.v1.AuthorizedCertificateView" json:"view,omitempty"`
// Maximum results to return per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Continuation token for fetching the next page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for AuthorizedCertificates.ListAuthorizedCertificates.
func (*ListAuthorizedCertificatesRequest) Descriptor
func (*ListAuthorizedCertificatesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAuthorizedCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListAuthorizedCertificatesRequest) GetPageSize
func (x *ListAuthorizedCertificatesRequest) GetPageSize() int32func (*ListAuthorizedCertificatesRequest) GetPageToken
func (x *ListAuthorizedCertificatesRequest) GetPageToken() stringfunc (*ListAuthorizedCertificatesRequest) GetParent
func (x *ListAuthorizedCertificatesRequest) GetParent() stringfunc (*ListAuthorizedCertificatesRequest) GetView
func (x *ListAuthorizedCertificatesRequest) GetView() AuthorizedCertificateViewfunc (*ListAuthorizedCertificatesRequest) ProtoMessage
func (*ListAuthorizedCertificatesRequest) ProtoMessage()func (*ListAuthorizedCertificatesRequest) ProtoReflect
func (x *ListAuthorizedCertificatesRequest) ProtoReflect() protoreflect.Messagefunc (*ListAuthorizedCertificatesRequest) Reset
func (x *ListAuthorizedCertificatesRequest) Reset()func (*ListAuthorizedCertificatesRequest) String
func (x *ListAuthorizedCertificatesRequest) String() stringListAuthorizedCertificatesResponse
type ListAuthorizedCertificatesResponse struct {
// The SSL certificates the user is authorized to administer.
Certificates []*AuthorizedCertificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
// Continuation token for fetching the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for AuthorizedCertificates.ListAuthorizedCertificates.
func (*ListAuthorizedCertificatesResponse) Descriptor
func (*ListAuthorizedCertificatesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAuthorizedCertificatesResponse.ProtoReflect.Descriptor instead.
func (*ListAuthorizedCertificatesResponse) GetCertificates
func (x *ListAuthorizedCertificatesResponse) GetCertificates() []*AuthorizedCertificatefunc (*ListAuthorizedCertificatesResponse) GetNextPageToken
func (x *ListAuthorizedCertificatesResponse) GetNextPageToken() stringfunc (*ListAuthorizedCertificatesResponse) ProtoMessage
func (*ListAuthorizedCertificatesResponse) ProtoMessage()func (*ListAuthorizedCertificatesResponse) ProtoReflect
func (x *ListAuthorizedCertificatesResponse) ProtoReflect() protoreflect.Messagefunc (*ListAuthorizedCertificatesResponse) Reset
func (x *ListAuthorizedCertificatesResponse) Reset()func (*ListAuthorizedCertificatesResponse) String
func (x *ListAuthorizedCertificatesResponse) String() stringListAuthorizedDomainsRequest
type ListAuthorizedDomainsRequest struct {
// Name of the parent Application resource. Example: `apps/myapp`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum results to return per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Continuation token for fetching the next page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for AuthorizedDomains.ListAuthorizedDomains.
func (*ListAuthorizedDomainsRequest) Descriptor
func (*ListAuthorizedDomainsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAuthorizedDomainsRequest.ProtoReflect.Descriptor instead.
func (*ListAuthorizedDomainsRequest) GetPageSize
func (x *ListAuthorizedDomainsRequest) GetPageSize() int32func (*ListAuthorizedDomainsRequest) GetPageToken
func (x *ListAuthorizedDomainsRequest) GetPageToken() stringfunc (*ListAuthorizedDomainsRequest) GetParent
func (x *ListAuthorizedDomainsRequest) GetParent() stringfunc (*ListAuthorizedDomainsRequest) ProtoMessage
func (*ListAuthorizedDomainsRequest) ProtoMessage()func (*ListAuthorizedDomainsRequest) ProtoReflect
func (x *ListAuthorizedDomainsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAuthorizedDomainsRequest) Reset
func (x *ListAuthorizedDomainsRequest) Reset()func (*ListAuthorizedDomainsRequest) String
func (x *ListAuthorizedDomainsRequest) String() stringListAuthorizedDomainsResponse
type ListAuthorizedDomainsResponse struct {
// The authorized domains belonging to the user.
Domains []*AuthorizedDomain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
// Continuation token for fetching the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for AuthorizedDomains.ListAuthorizedDomains.
func (*ListAuthorizedDomainsResponse) Descriptor
func (*ListAuthorizedDomainsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAuthorizedDomainsResponse.ProtoReflect.Descriptor instead.
func (*ListAuthorizedDomainsResponse) GetDomains
func (x *ListAuthorizedDomainsResponse) GetDomains() []*AuthorizedDomainfunc (*ListAuthorizedDomainsResponse) GetNextPageToken
func (x *ListAuthorizedDomainsResponse) GetNextPageToken() stringfunc (*ListAuthorizedDomainsResponse) ProtoMessage
func (*ListAuthorizedDomainsResponse) ProtoMessage()func (*ListAuthorizedDomainsResponse) ProtoReflect
func (x *ListAuthorizedDomainsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAuthorizedDomainsResponse) Reset
func (x *ListAuthorizedDomainsResponse) Reset()func (*ListAuthorizedDomainsResponse) String
func (x *ListAuthorizedDomainsResponse) String() stringListDomainMappingsRequest
type ListDomainMappingsRequest struct {
// Name of the parent Application resource. Example: `apps/myapp`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum results to return per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Continuation token for fetching the next page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for DomainMappings.ListDomainMappings.
func (*ListDomainMappingsRequest) Descriptor
func (*ListDomainMappingsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDomainMappingsRequest.ProtoReflect.Descriptor instead.
func (*ListDomainMappingsRequest) GetPageSize
func (x *ListDomainMappingsRequest) GetPageSize() int32func (*ListDomainMappingsRequest) GetPageToken
func (x *ListDomainMappingsRequest) GetPageToken() stringfunc (*ListDomainMappingsRequest) GetParent
func (x *ListDomainMappingsRequest) GetParent() stringfunc (*ListDomainMappingsRequest) ProtoMessage
func (*ListDomainMappingsRequest) ProtoMessage()func (*ListDomainMappingsRequest) ProtoReflect
func (x *ListDomainMappingsRequest) ProtoReflect() protoreflect.Messagefunc (*ListDomainMappingsRequest) Reset
func (x *ListDomainMappingsRequest) Reset()func (*ListDomainMappingsRequest) String
func (x *ListDomainMappingsRequest) String() stringListDomainMappingsResponse
type ListDomainMappingsResponse struct {
// The domain mappings for the application.
DomainMappings []*DomainMapping `protobuf:"bytes,1,rep,name=domain_mappings,json=domainMappings,proto3" json:"domain_mappings,omitempty"`
// Continuation token for fetching the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for DomainMappings.ListDomainMappings.
func (*ListDomainMappingsResponse) Descriptor
func (*ListDomainMappingsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDomainMappingsResponse.ProtoReflect.Descriptor instead.
func (*ListDomainMappingsResponse) GetDomainMappings
func (x *ListDomainMappingsResponse) GetDomainMappings() []*DomainMappingfunc (*ListDomainMappingsResponse) GetNextPageToken
func (x *ListDomainMappingsResponse) GetNextPageToken() stringfunc (*ListDomainMappingsResponse) ProtoMessage
func (*ListDomainMappingsResponse) ProtoMessage()func (*ListDomainMappingsResponse) ProtoReflect
func (x *ListDomainMappingsResponse) ProtoReflect() protoreflect.Messagefunc (*ListDomainMappingsResponse) Reset
func (x *ListDomainMappingsResponse) Reset()func (*ListDomainMappingsResponse) String
func (x *ListDomainMappingsResponse) String() stringListIngressRulesRequest
type ListIngressRulesRequest struct {
// Name of the Firewall collection to retrieve.
// Example: `apps/myapp/firewall/ingressRules`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum results to return per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Continuation token for fetching the next page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A valid IP Address. If set, only rules matching this address will be
// returned. The first returned rule will be the rule that fires on requests
// from this IP.
MatchingAddress string `protobuf:"bytes,4,opt,name=matching_address,json=matchingAddress,proto3" json:"matching_address,omitempty"`
// contains filtered or unexported fields
}Request message for Firewall.ListIngressRules.
func (*ListIngressRulesRequest) Descriptor
func (*ListIngressRulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListIngressRulesRequest.ProtoReflect.Descriptor instead.
func (*ListIngressRulesRequest) GetMatchingAddress
func (x *ListIngressRulesRequest) GetMatchingAddress() stringfunc (*ListIngressRulesRequest) GetPageSize
func (x *ListIngressRulesRequest) GetPageSize() int32func (*ListIngressRulesRequest) GetPageToken
func (x *ListIngressRulesRequest) GetPageToken() stringfunc (*ListIngressRulesRequest) GetParent
func (x *ListIngressRulesRequest) GetParent() stringfunc (*ListIngressRulesRequest) ProtoMessage
func (*ListIngressRulesRequest) ProtoMessage()func (*ListIngressRulesRequest) ProtoReflect
func (x *ListIngressRulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListIngressRulesRequest) Reset
func (x *ListIngressRulesRequest) Reset()func (*ListIngressRulesRequest) String
func (x *ListIngressRulesRequest) String() stringListIngressRulesResponse
type ListIngressRulesResponse struct {
// The ingress FirewallRules for this application.
IngressRules []*FirewallRule `protobuf:"bytes,1,rep,name=ingress_rules,json=ingressRules,proto3" json:"ingress_rules,omitempty"`
// Continuation token for fetching the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for Firewall.ListIngressRules.
func (*ListIngressRulesResponse) Descriptor
func (*ListIngressRulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListIngressRulesResponse.ProtoReflect.Descriptor instead.
func (*ListIngressRulesResponse) GetIngressRules
func (x *ListIngressRulesResponse) GetIngressRules() []*FirewallRulefunc (*ListIngressRulesResponse) GetNextPageToken
func (x *ListIngressRulesResponse) GetNextPageToken() stringfunc (*ListIngressRulesResponse) ProtoMessage
func (*ListIngressRulesResponse) ProtoMessage()func (*ListIngressRulesResponse) ProtoReflect
func (x *ListIngressRulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListIngressRulesResponse) Reset
func (x *ListIngressRulesResponse) Reset()func (*ListIngressRulesResponse) String
func (x *ListIngressRulesResponse) String() stringListInstancesRequest
type ListInstancesRequest struct {
// Name of the parent Version resource. Example:
// `apps/myapp/services/default/versions/v1`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum results to return per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Continuation token for fetching the next page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for Instances.ListInstances.
func (*ListInstancesRequest) Descriptor
func (*ListInstancesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) GetPageSize
func (x *ListInstancesRequest) GetPageSize() int32func (*ListInstancesRequest) GetPageToken
func (x *ListInstancesRequest) GetPageToken() stringfunc (*ListInstancesRequest) GetParent
func (x *ListInstancesRequest) GetParent() stringfunc (*ListInstancesRequest) ProtoMessage
func (*ListInstancesRequest) ProtoMessage()func (*ListInstancesRequest) ProtoReflect
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Messagefunc (*ListInstancesRequest) Reset
func (x *ListInstancesRequest) Reset()func (*ListInstancesRequest) String
func (x *ListInstancesRequest) String() stringListInstancesResponse
type ListInstancesResponse struct {
// The instances belonging to the requested version.
Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
// Continuation token for fetching the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for Instances.ListInstances.
func (*ListInstancesResponse) Descriptor
func (*ListInstancesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) GetInstances
func (x *ListInstancesResponse) GetInstances() []*Instancefunc (*ListInstancesResponse) GetNextPageToken
func (x *ListInstancesResponse) GetNextPageToken() stringfunc (*ListInstancesResponse) ProtoMessage
func (*ListInstancesResponse) ProtoMessage()func (*ListInstancesResponse) ProtoReflect
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Messagefunc (*ListInstancesResponse) Reset
func (x *ListInstancesResponse) Reset()func (*ListInstancesResponse) String
func (x *ListInstancesResponse) String() stringListServicesRequest
type ListServicesRequest struct {
// Name of the parent Application resource. Example: `apps/myapp`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum results to return per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Continuation token for fetching the next page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for Services.ListServices.
func (*ListServicesRequest) Descriptor
func (*ListServicesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetPageSize
func (x *ListServicesRequest) GetPageSize() int32func (*ListServicesRequest) GetPageToken
func (x *ListServicesRequest) GetPageToken() stringfunc (*ListServicesRequest) GetParent
func (x *ListServicesRequest) GetParent() stringfunc (*ListServicesRequest) ProtoMessage
func (*ListServicesRequest) ProtoMessage()func (*ListServicesRequest) ProtoReflect
func (x *ListServicesRequest) ProtoReflect() protoreflect.Messagefunc (*ListServicesRequest) Reset
func (x *ListServicesRequest) Reset()func (*ListServicesRequest) String
func (x *ListServicesRequest) String() stringListServicesResponse
type ListServicesResponse struct {
// The services belonging to the requested application.
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// Continuation token for fetching the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for Services.ListServices.
func (*ListServicesResponse) Descriptor
func (*ListServicesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetNextPageToken
func (x *ListServicesResponse) GetNextPageToken() stringfunc (*ListServicesResponse) GetServices
func (x *ListServicesResponse) GetServices() []*Servicefunc (*ListServicesResponse) ProtoMessage
func (*ListServicesResponse) ProtoMessage()func (*ListServicesResponse) ProtoReflect
func (x *ListServicesResponse) ProtoReflect() protoreflect.Messagefunc (*ListServicesResponse) Reset
func (x *ListServicesResponse) Reset()func (*ListServicesResponse) String
func (x *ListServicesResponse) String() stringListVersionsRequest
type ListVersionsRequest struct {
// Name of the parent Service resource. Example:
// `apps/myapp/services/default`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Controls the set of fields returned in the `List` response.
View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.VersionView" json:"view,omitempty"`
// Maximum results to return per page.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Continuation token for fetching the next page of results.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for Versions.ListVersions.
func (*ListVersionsRequest) Descriptor
func (*ListVersionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) GetPageSize
func (x *ListVersionsRequest) GetPageSize() int32func (*ListVersionsRequest) GetPageToken
func (x *ListVersionsRequest) GetPageToken() stringfunc (*ListVersionsRequest) GetParent
func (x *ListVersionsRequest) GetParent() stringfunc (*ListVersionsRequest) GetView
func (x *ListVersionsRequest) GetView() VersionViewfunc (*ListVersionsRequest) ProtoMessage
func (*ListVersionsRequest) ProtoMessage()func (*ListVersionsRequest) ProtoReflect
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListVersionsRequest) Reset
func (x *ListVersionsRequest) Reset()func (*ListVersionsRequest) String
func (x *ListVersionsRequest) String() stringListVersionsResponse
type ListVersionsResponse struct {
// The versions belonging to the requested service.
Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
// Continuation token for fetching the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for Versions.ListVersions.
func (*ListVersionsResponse) Descriptor
func (*ListVersionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) GetNextPageToken
func (x *ListVersionsResponse) GetNextPageToken() stringfunc (*ListVersionsResponse) GetVersions
func (x *ListVersionsResponse) GetVersions() []*Versionfunc (*ListVersionsResponse) ProtoMessage
func (*ListVersionsResponse) ProtoMessage()func (*ListVersionsResponse) ProtoReflect
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListVersionsResponse) Reset
func (x *ListVersionsResponse) Reset()func (*ListVersionsResponse) String
func (x *ListVersionsResponse) String() stringLivenessCheck
type LivenessCheck struct {
// The request path.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Host header to send when performing a HTTP Liveness check.
// Example: "myapp.appspot.com"
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
// Number of consecutive failed checks required before considering the
// VM unhealthy.
FailureThreshold uint32 `protobuf:"varint,3,opt,name=failure_threshold,json=failureThreshold,proto3" json:"failure_threshold,omitempty"`
// Number of consecutive successful checks required before considering
// the VM healthy.
SuccessThreshold uint32 `protobuf:"varint,4,opt,name=success_threshold,json=successThreshold,proto3" json:"success_threshold,omitempty"`
// Interval between health checks.
CheckInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"`
// Time before the check is considered failed.
Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
// The initial delay before starting to execute the checks.
InitialDelay *durationpb.Duration `protobuf:"bytes,7,opt,name=initial_delay,json=initialDelay,proto3" json:"initial_delay,omitempty"`
// contains filtered or unexported fields
}Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
func (*LivenessCheck) Descriptor
func (*LivenessCheck) Descriptor() ([]byte, []int)Deprecated: Use LivenessCheck.ProtoReflect.Descriptor instead.
func (*LivenessCheck) GetCheckInterval
func (x *LivenessCheck) GetCheckInterval() *durationpb.Durationfunc (*LivenessCheck) GetFailureThreshold
func (x *LivenessCheck) GetFailureThreshold() uint32func (*LivenessCheck) GetHost
func (x *LivenessCheck) GetHost() stringfunc (*LivenessCheck) GetInitialDelay
func (x *LivenessCheck) GetInitialDelay() *durationpb.Durationfunc (*LivenessCheck) GetPath
func (x *LivenessCheck) GetPath() stringfunc (*LivenessCheck) GetSuccessThreshold
func (x *LivenessCheck) GetSuccessThreshold() uint32func (*LivenessCheck) GetTimeout
func (x *LivenessCheck) GetTimeout() *durationpb.Durationfunc (*LivenessCheck) ProtoMessage
func (*LivenessCheck) ProtoMessage()func (*LivenessCheck) ProtoReflect
func (x *LivenessCheck) ProtoReflect() protoreflect.Messagefunc (*LivenessCheck) Reset
func (x *LivenessCheck) Reset()func (*LivenessCheck) String
func (x *LivenessCheck) String() stringLocationMetadata
type LocationMetadata struct {
// App Engine standard environment is available in the given location.
//
// @OutputOnly
StandardEnvironmentAvailable bool `protobuf:"varint,2,opt,name=standard_environment_available,json=standardEnvironmentAvailable,proto3" json:"standard_environment_available,omitempty"`
// App Engine flexible environment is available in the given location.
//
// @OutputOnly
FlexibleEnvironmentAvailable bool `protobuf:"varint,4,opt,name=flexible_environment_available,json=flexibleEnvironmentAvailable,proto3" json:"flexible_environment_available,omitempty"`
// Output only. [Search API](https://cloud.google.com/appengine/docs/standard/python/search)
// is available in the given location.
SearchApiAvailable bool `protobuf:"varint,6,opt,name=search_api_available,json=searchApiAvailable,proto3" json:"search_api_available,omitempty"`
// contains filtered or unexported fields
}Metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
func (*LocationMetadata) Descriptor
func (*LocationMetadata) Descriptor() ([]byte, []int)Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
func (*LocationMetadata) GetFlexibleEnvironmentAvailable
func (x *LocationMetadata) GetFlexibleEnvironmentAvailable() boolfunc (*LocationMetadata) GetSearchApiAvailable
func (x *LocationMetadata) GetSearchApiAvailable() boolfunc (*LocationMetadata) GetStandardEnvironmentAvailable
func (x *LocationMetadata) GetStandardEnvironmentAvailable() boolfunc (*LocationMetadata) ProtoMessage
func (*LocationMetadata) ProtoMessage()func (*LocationMetadata) ProtoReflect
func (x *LocationMetadata) ProtoReflect() protoreflect.Messagefunc (*LocationMetadata) Reset
func (x *LocationMetadata) Reset()func (*LocationMetadata) String
func (x *LocationMetadata) String() stringLoginRequirement
type LoginRequirement int32Methods to restrict access to a URL based on login status.
LoginRequirement_LOGIN_UNSPECIFIED, LoginRequirement_LOGIN_OPTIONAL, LoginRequirement_LOGIN_ADMIN, LoginRequirement_LOGIN_REQUIRED
const (
// Not specified. `LOGIN_OPTIONAL` is assumed.
LoginRequirement_LOGIN_UNSPECIFIED LoginRequirement = 0
// Does not require that the user is signed in.
LoginRequirement_LOGIN_OPTIONAL LoginRequirement = 1
// If the user is not signed in, the `auth_fail_action` is taken.
// In addition, if the user is not an administrator for the
// application, they are given an error message regardless of
// `auth_fail_action`. If the user is an administrator, the handler
// proceeds.
LoginRequirement_LOGIN_ADMIN LoginRequirement = 2
// If the user has signed in, the handler proceeds normally. Otherwise, the
// auth_fail_action is taken.
LoginRequirement_LOGIN_REQUIRED LoginRequirement = 3
)func (LoginRequirement) Descriptor
func (LoginRequirement) Descriptor() protoreflect.EnumDescriptorfunc (LoginRequirement) Enum
func (x LoginRequirement) Enum() *LoginRequirementfunc (LoginRequirement) EnumDescriptor
func (LoginRequirement) EnumDescriptor() ([]byte, []int)Deprecated: Use LoginRequirement.Descriptor instead.
func (LoginRequirement) Number
func (x LoginRequirement) Number() protoreflect.EnumNumberfunc (LoginRequirement) String
func (x LoginRequirement) String() stringfunc (LoginRequirement) Type
func (LoginRequirement) Type() protoreflect.EnumTypeManagedCertificate
type ManagedCertificate struct {
// Time at which the certificate was last renewed. The renewal process is
// fully managed. Certificate renewal will automatically occur before the
// certificate expires. Renewal errors can be tracked via `ManagementStatus`.
//
// @OutputOnly
LastRenewalTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_renewal_time,json=lastRenewalTime,proto3" json:"last_renewal_time,omitempty"`
// Status of certificate management. Refers to the most recent certificate
// acquisition or renewal attempt.
//
// @OutputOnly
Status ManagementStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.appengine.v1.ManagementStatus" json:"status,omitempty"`
// contains filtered or unexported fields
}A certificate managed by App Engine.
func (*ManagedCertificate) Descriptor
func (*ManagedCertificate) Descriptor() ([]byte, []int)Deprecated: Use ManagedCertificate.ProtoReflect.Descriptor instead.
func (*ManagedCertificate) GetLastRenewalTime
func (x *ManagedCertificate) GetLastRenewalTime() *timestamppb.Timestampfunc (*ManagedCertificate) GetStatus
func (x *ManagedCertificate) GetStatus() ManagementStatusfunc (*ManagedCertificate) ProtoMessage
func (*ManagedCertificate) ProtoMessage()func (*ManagedCertificate) ProtoReflect
func (x *ManagedCertificate) ProtoReflect() protoreflect.Messagefunc (*ManagedCertificate) Reset
func (x *ManagedCertificate) Reset()func (*ManagedCertificate) String
func (x *ManagedCertificate) String() stringManagementStatus
type ManagementStatus int32State of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
ManagementStatus_MANAGEMENT_STATUS_UNSPECIFIED, ManagementStatus_OK, ManagementStatus_PENDING, ManagementStatus_FAILED_RETRYING_NOT_VISIBLE, ManagementStatus_FAILED_PERMANENT, ManagementStatus_FAILED_RETRYING_CAA_FORBIDDEN, ManagementStatus_FAILED_RETRYING_CAA_CHECKING
const (
ManagementStatus_MANAGEMENT_STATUS_UNSPECIFIED ManagementStatus = 0
// Certificate was successfully obtained and inserted into the serving
// system.
ManagementStatus_OK ManagementStatus = 1
// Certificate is under active attempts to acquire or renew.
ManagementStatus_PENDING ManagementStatus = 2
// Most recent renewal failed due to an invalid DNS setup and will be
// retried. Renewal attempts will continue to fail until the certificate
// domain's DNS configuration is fixed. The last successfully provisioned
// certificate may still be serving.
ManagementStatus_FAILED_RETRYING_NOT_VISIBLE ManagementStatus = 4
// All renewal attempts have been exhausted, likely due to an invalid DNS
// setup.
ManagementStatus_FAILED_PERMANENT ManagementStatus = 6
// Most recent renewal failed due to an explicit CAA record that does not
// include one of the in-use CAs (Google CA and Let's Encrypt). Renewals will
// continue to fail until the CAA is reconfigured. The last successfully
// provisioned certificate may still be serving.
ManagementStatus_FAILED_RETRYING_CAA_FORBIDDEN ManagementStatus = 7
// Most recent renewal failed due to a CAA retrieval failure. This means that
// the domain's DNS provider does not properly handle CAA records, failing
// requests for CAA records when no CAA records are defined. Renewals will
// continue to fail until the DNS provider is changed or a CAA record is
// added for the given domain. The last successfully provisioned certificate
// may still be serving.
ManagementStatus_FAILED_RETRYING_CAA_CHECKING ManagementStatus = 8
)func (ManagementStatus) Descriptor
func (ManagementStatus) Descriptor() protoreflect.EnumDescriptorfunc (ManagementStatus) Enum
func (x ManagementStatus) Enum() *ManagementStatusfunc (ManagementStatus) EnumDescriptor
func (ManagementStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use ManagementStatus.Descriptor instead.
func (ManagementStatus) Number
func (x ManagementStatus) Number() protoreflect.EnumNumberfunc (ManagementStatus) String
func (x ManagementStatus) String() stringfunc (ManagementStatus) Type
func (ManagementStatus) Type() protoreflect.EnumTypeManualScaling
type ManualScaling struct {
// Number of instances to assign to the service at the start. This number
// can later be altered by using the
// [Modules API](https://cloud.google.com/appengine/docs/python/modules/functions)
// `set_num_instances()` function.
Instances int32 `protobuf:"varint,1,opt,name=instances,proto3" json:"instances,omitempty"`
// contains filtered or unexported fields
}A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
func (*ManualScaling) Descriptor
func (*ManualScaling) Descriptor() ([]byte, []int)Deprecated: Use ManualScaling.ProtoReflect.Descriptor instead.
func (*ManualScaling) GetInstances
func (x *ManualScaling) GetInstances() int32func (*ManualScaling) ProtoMessage
func (*ManualScaling) ProtoMessage()func (*ManualScaling) ProtoReflect
func (x *ManualScaling) ProtoReflect() protoreflect.Messagefunc (*ManualScaling) Reset
func (x *ManualScaling) Reset()func (*ManualScaling) String
func (x *ManualScaling) String() stringNetwork
type Network struct {
// List of ports, or port pairs, to forward from the virtual machine to the
// application container.
// Only applicable in the App Engine flexible environment.
ForwardedPorts []string `protobuf:"bytes,1,rep,name=forwarded_ports,json=forwardedPorts,proto3" json:"forwarded_ports,omitempty"`
// Tag to apply to the instance during creation.
// Only applicable in the App Engine flexible environment.
InstanceTag string `protobuf:"bytes,2,opt,name=instance_tag,json=instanceTag,proto3" json:"instance_tag,omitempty"`
// Google Compute Engine network where the virtual machines are created.
// Specify the short name, not the resource path.
//
// Defaults to `default`.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Google Cloud Platform sub-network where the virtual machines are created.
// Specify the short name, not the resource path.
//
// If a subnetwork name is specified, a network name will also be required
// unless it is for the default network.
//
// * If the network that the instance is being created in is a Legacy network,
// then the IP address is allocated from the IPv4Range.
// * If the network that the instance is being created in is an auto Subnet
// Mode Network, then only network name should be specified (not the
// subnetwork_name) and the IP address is created from the IPCidrRange of the
// subnetwork that exists in that zone for that network.
// * If the network that the instance is being created in is a custom Subnet
// Mode Network, then the subnetwork_name must be specified and the
// IP address is created from the IPCidrRange of the subnetwork.
//
// If specified, the subnetwork must exist in the same region as the
// App Engine flexible environment application.
SubnetworkName string `protobuf:"bytes,4,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"`
// Enable session affinity.
// Only applicable in the App Engine flexible environment.
SessionAffinity bool `protobuf:"varint,5,opt,name=session_affinity,json=sessionAffinity,proto3" json:"session_affinity,omitempty"`
// contains filtered or unexported fields
}Extra network settings. Only applicable in the App Engine flexible environment.
func (*Network) Descriptor
Deprecated: Use Network.ProtoReflect.Descriptor instead.
func (*Network) GetForwardedPorts
func (*Network) GetInstanceTag
func (*Network) GetName
func (*Network) GetSessionAffinity
func (*Network) GetSubnetworkName
func (*Network) ProtoMessage
func (*Network) ProtoMessage()func (*Network) ProtoReflect
func (x *Network) ProtoReflect() protoreflect.Messagefunc (*Network) Reset
func (x *Network) Reset()func (*Network) String
NetworkSettings
type NetworkSettings struct {
// The ingress settings for version or service.
IngressTrafficAllowed NetworkSettings_IngressTrafficAllowed `protobuf:"varint,1,opt,name=ingress_traffic_allowed,json=ingressTrafficAllowed,proto3,enum=google.appengine.v1.NetworkSettings_IngressTrafficAllowed" json:"ingress_traffic_allowed,omitempty"`
// contains filtered or unexported fields
}A NetworkSettings resource is a container for ingress settings for a version or service.
func (*NetworkSettings) Descriptor
func (*NetworkSettings) Descriptor() ([]byte, []int)Deprecated: Use NetworkSettings.ProtoReflect.Descriptor instead.
func (*NetworkSettings) GetIngressTrafficAllowed
func (x *NetworkSettings) GetIngressTrafficAllowed() NetworkSettings_IngressTrafficAllowedfunc (*NetworkSettings) ProtoMessage
func (*NetworkSettings) ProtoMessage()func (*NetworkSettings) ProtoReflect
func (x *NetworkSettings) ProtoReflect() protoreflect.Messagefunc (*NetworkSettings) Reset
func (x *NetworkSettings) Reset()func (*NetworkSettings) String
func (x *NetworkSettings) String() stringNetworkSettings_IngressTrafficAllowed
type NetworkSettings_IngressTrafficAllowed int32If unspecified, INGRESS_TRAFFIC_ALLOWED_ALL will be used.
NetworkSettings_INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED, NetworkSettings_INGRESS_TRAFFIC_ALLOWED_ALL, NetworkSettings_INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY, NetworkSettings_INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB
const (
// Unspecified
NetworkSettings_INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED NetworkSettings_IngressTrafficAllowed = 0
// Allow HTTP traffic from public and private sources.
NetworkSettings_INGRESS_TRAFFIC_ALLOWED_ALL NetworkSettings_IngressTrafficAllowed = 1
// Allow HTTP traffic from only private VPC sources.
NetworkSettings_INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY NetworkSettings_IngressTrafficAllowed = 2
// Allow HTTP traffic from private VPC sources and through load balancers.
NetworkSettings_INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB NetworkSettings_IngressTrafficAllowed = 3
)func (NetworkSettings_IngressTrafficAllowed) Descriptor
func (NetworkSettings_IngressTrafficAllowed) Descriptor() protoreflect.EnumDescriptorfunc (NetworkSettings_IngressTrafficAllowed) Enum
func (NetworkSettings_IngressTrafficAllowed) EnumDescriptor
func (NetworkSettings_IngressTrafficAllowed) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkSettings_IngressTrafficAllowed.Descriptor instead.
func (NetworkSettings_IngressTrafficAllowed) Number
func (x NetworkSettings_IngressTrafficAllowed) Number() protoreflect.EnumNumberfunc (NetworkSettings_IngressTrafficAllowed) String
func (x NetworkSettings_IngressTrafficAllowed) String() stringfunc (NetworkSettings_IngressTrafficAllowed) Type
func (NetworkSettings_IngressTrafficAllowed) Type() protoreflect.EnumTypeNetworkUtilization
type NetworkUtilization struct {
// Target bytes sent per second.
TargetSentBytesPerSecond int32 `protobuf:"varint,1,opt,name=target_sent_bytes_per_second,json=targetSentBytesPerSecond,proto3" json:"target_sent_bytes_per_second,omitempty"`
// Target packets sent per second.
TargetSentPacketsPerSecond int32 `protobuf:"varint,11,opt,name=target_sent_packets_per_second,json=targetSentPacketsPerSecond,proto3" json:"target_sent_packets_per_second,omitempty"`
// Target bytes received per second.
TargetReceivedBytesPerSecond int32 `protobuf:"varint,12,opt,name=target_received_bytes_per_second,json=targetReceivedBytesPerSecond,proto3" json:"target_received_bytes_per_second,omitempty"`
// Target packets received per second.
TargetReceivedPacketsPerSecond int32 `protobuf:"varint,13,opt,name=target_received_packets_per_second,json=targetReceivedPacketsPerSecond,proto3" json:"target_received_packets_per_second,omitempty"`
// contains filtered or unexported fields
}Target scaling by network usage. Only applicable in the App Engine flexible environment.
func (*NetworkUtilization) Descriptor
func (*NetworkUtilization) Descriptor() ([]byte, []int)Deprecated: Use NetworkUtilization.ProtoReflect.Descriptor instead.
func (*NetworkUtilization) GetTargetReceivedBytesPerSecond
func (x *NetworkUtilization) GetTargetReceivedBytesPerSecond() int32func (*NetworkUtilization) GetTargetReceivedPacketsPerSecond
func (x *NetworkUtilization) GetTargetReceivedPacketsPerSecond() int32func (*NetworkUtilization) GetTargetSentBytesPerSecond
func (x *NetworkUtilization) GetTargetSentBytesPerSecond() int32func (*NetworkUtilization) GetTargetSentPacketsPerSecond
func (x *NetworkUtilization) GetTargetSentPacketsPerSecond() int32func (*NetworkUtilization) ProtoMessage
func (*NetworkUtilization) ProtoMessage()func (*NetworkUtilization) ProtoReflect
func (x *NetworkUtilization) ProtoReflect() protoreflect.Messagefunc (*NetworkUtilization) Reset
func (x *NetworkUtilization) Reset()func (*NetworkUtilization) String
func (x *NetworkUtilization) String() stringOperationMetadataV1
type OperationMetadataV1 struct {
// API method that initiated this operation. Example:
// `google.appengine.v1.Versions.CreateVersion`.
//
// @OutputOnly
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// Time that this operation was created.
//
// @OutputOnly
InsertTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"`
// Time that this operation completed.
//
// @OutputOnly
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// User who requested this operation.
//
// @OutputOnly
User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
// Name of the resource that this operation is acting on. Example:
// `apps/myapp/services/default`.
//
// @OutputOnly
Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
// Ephemeral message that may change every time the operation is polled.
// @OutputOnly
EphemeralMessage string `protobuf:"bytes,6,opt,name=ephemeral_message,json=ephemeralMessage,proto3" json:"ephemeral_message,omitempty"`
// Durable messages that persist on every operation poll.
// @OutputOnly
Warning []string `protobuf:"bytes,7,rep,name=warning,proto3" json:"warning,omitempty"`
// Metadata specific to the type of operation in progress.
// @OutputOnly
//
// Types that are valid to be assigned to MethodMetadata:
//
// *OperationMetadataV1_CreateVersionMetadata
MethodMetadata isOperationMetadataV1_MethodMetadata `protobuf_oneof:"method_metadata"`
// contains filtered or unexported fields
}Metadata for the given [google.longrunning.Operation][google.longrunning.Operation].
func (*OperationMetadataV1) Descriptor
func (*OperationMetadataV1) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadataV1.ProtoReflect.Descriptor instead.
func (*OperationMetadataV1) GetCreateVersionMetadata
func (x *OperationMetadataV1) GetCreateVersionMetadata() *CreateVersionMetadataV1func (*OperationMetadataV1) GetEndTime
func (x *OperationMetadataV1) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadataV1) GetEphemeralMessage
func (x *OperationMetadataV1) GetEphemeralMessage() stringfunc (*OperationMetadataV1) GetInsertTime
func (x *OperationMetadataV1) GetInsertTime() *timestamppb.Timestampfunc (*OperationMetadataV1) GetMethod
func (x *OperationMetadataV1) GetMethod() stringfunc (*OperationMetadataV1) GetMethodMetadata
func (x *OperationMetadataV1) GetMethodMetadata() isOperationMetadataV1_MethodMetadatafunc (*OperationMetadataV1) GetTarget
func (x *OperationMetadataV1) GetTarget() stringfunc (*OperationMetadataV1) GetUser
func (x *OperationMetadataV1) GetUser() stringfunc (*OperationMetadataV1) GetWarning
func (x *OperationMetadataV1) GetWarning() []stringfunc (*OperationMetadataV1) ProtoMessage
func (*OperationMetadataV1) ProtoMessage()func (*OperationMetadataV1) ProtoReflect
func (x *OperationMetadataV1) ProtoReflect() protoreflect.Messagefunc (*OperationMetadataV1) Reset
func (x *OperationMetadataV1) Reset()func (*OperationMetadataV1) String
func (x *OperationMetadataV1) String() stringOperationMetadataV1_CreateVersionMetadata
type OperationMetadataV1_CreateVersionMetadata struct {
CreateVersionMetadata *CreateVersionMetadataV1 `protobuf:"bytes,8,opt,name=create_version_metadata,json=createVersionMetadata,proto3,oneof"`
}ReadinessCheck
type ReadinessCheck struct {
// The request path.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Host header to send when performing a HTTP Readiness check.
// Example: "myapp.appspot.com"
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
// Number of consecutive failed checks required before removing
// traffic.
FailureThreshold uint32 `protobuf:"varint,3,opt,name=failure_threshold,json=failureThreshold,proto3" json:"failure_threshold,omitempty"`
// Number of consecutive successful checks required before receiving
// traffic.
SuccessThreshold uint32 `protobuf:"varint,4,opt,name=success_threshold,json=successThreshold,proto3" json:"success_threshold,omitempty"`
// Interval between health checks.
CheckInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"`
// Time before the check is considered failed.
Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
// A maximum time limit on application initialization, measured from moment
// the application successfully replies to a healthcheck until it is ready to
// serve traffic.
AppStartTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=app_start_timeout,json=appStartTimeout,proto3" json:"app_start_timeout,omitempty"`
// contains filtered or unexported fields
}Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
func (*ReadinessCheck) Descriptor
func (*ReadinessCheck) Descriptor() ([]byte, []int)Deprecated: Use ReadinessCheck.ProtoReflect.Descriptor instead.
func (*ReadinessCheck) GetAppStartTimeout
func (x *ReadinessCheck) GetAppStartTimeout() *durationpb.Durationfunc (*ReadinessCheck) GetCheckInterval
func (x *ReadinessCheck) GetCheckInterval() *durationpb.Durationfunc (*ReadinessCheck) GetFailureThreshold
func (x *ReadinessCheck) GetFailureThreshold() uint32func (*ReadinessCheck) GetHost
func (x *ReadinessCheck) GetHost() stringfunc (*ReadinessCheck) GetPath
func (x *ReadinessCheck) GetPath() stringfunc (*ReadinessCheck) GetSuccessThreshold
func (x *ReadinessCheck) GetSuccessThreshold() uint32func (*ReadinessCheck) GetTimeout
func (x *ReadinessCheck) GetTimeout() *durationpb.Durationfunc (*ReadinessCheck) ProtoMessage
func (*ReadinessCheck) ProtoMessage()func (*ReadinessCheck) ProtoReflect
func (x *ReadinessCheck) ProtoReflect() protoreflect.Messagefunc (*ReadinessCheck) Reset
func (x *ReadinessCheck) Reset()func (*ReadinessCheck) String
func (x *ReadinessCheck) String() stringRepairApplicationRequest
type RepairApplicationRequest struct {
// Name of the application to repair. Example: `apps/myapp`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for 'Applications.RepairApplication'.
func (*RepairApplicationRequest) Descriptor
func (*RepairApplicationRequest) Descriptor() ([]byte, []int)Deprecated: Use RepairApplicationRequest.ProtoReflect.Descriptor instead.
func (*RepairApplicationRequest) GetName
func (x *RepairApplicationRequest) GetName() stringfunc (*RepairApplicationRequest) ProtoMessage
func (*RepairApplicationRequest) ProtoMessage()func (*RepairApplicationRequest) ProtoReflect
func (x *RepairApplicationRequest) ProtoReflect() protoreflect.Messagefunc (*RepairApplicationRequest) Reset
func (x *RepairApplicationRequest) Reset()func (*RepairApplicationRequest) String
func (x *RepairApplicationRequest) String() stringRequestUtilization
type RequestUtilization struct {
// Target requests per second.
TargetRequestCountPerSecond int32 `protobuf:"varint,1,opt,name=target_request_count_per_second,json=targetRequestCountPerSecond,proto3" json:"target_request_count_per_second,omitempty"`
// Target number of concurrent requests.
TargetConcurrentRequests int32 `protobuf:"varint,2,opt,name=target_concurrent_requests,json=targetConcurrentRequests,proto3" json:"target_concurrent_requests,omitempty"`
// contains filtered or unexported fields
}Target scaling by request utilization. Only applicable in the App Engine flexible environment.
func (*RequestUtilization) Descriptor
func (*RequestUtilization) Descriptor() ([]byte, []int)Deprecated: Use RequestUtilization.ProtoReflect.Descriptor instead.
func (*RequestUtilization) GetTargetConcurrentRequests
func (x *RequestUtilization) GetTargetConcurrentRequests() int32func (*RequestUtilization) GetTargetRequestCountPerSecond
func (x *RequestUtilization) GetTargetRequestCountPerSecond() int32func (*RequestUtilization) ProtoMessage
func (*RequestUtilization) ProtoMessage()func (*RequestUtilization) ProtoReflect
func (x *RequestUtilization) ProtoReflect() protoreflect.Messagefunc (*RequestUtilization) Reset
func (x *RequestUtilization) Reset()func (*RequestUtilization) String
func (x *RequestUtilization) String() stringResourceRecord
type ResourceRecord struct {
// Relative name of the object affected by this record. Only applicable for
// `CNAME` records. Example: 'www'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Data for this record. Values vary by record type, as defined in RFC 1035
// (section 5) and RFC 1034 (section 3.6.1).
Rrdata string `protobuf:"bytes,2,opt,name=rrdata,proto3" json:"rrdata,omitempty"`
// Resource record type. Example: `AAAA`.
Type ResourceRecord_RecordType `protobuf:"varint,3,opt,name=type,proto3,enum=google.appengine.v1.ResourceRecord_RecordType" json:"type,omitempty"`
// contains filtered or unexported fields
}A DNS resource record.
func (*ResourceRecord) Descriptor
func (*ResourceRecord) Descriptor() ([]byte, []int)Deprecated: Use ResourceRecord.ProtoReflect.Descriptor instead.
func (*ResourceRecord) GetName
func (x *ResourceRecord) GetName() stringfunc (*ResourceRecord) GetRrdata
func (x *ResourceRecord) GetRrdata() stringfunc (*ResourceRecord) GetType
func (x *ResourceRecord) GetType() ResourceRecord_RecordTypefunc (*ResourceRecord) ProtoMessage
func (*ResourceRecord) ProtoMessage()func (*ResourceRecord) ProtoReflect
func (x *ResourceRecord) ProtoReflect() protoreflect.Messagefunc (*ResourceRecord) Reset
func (x *ResourceRecord) Reset()func (*ResourceRecord) String
func (x *ResourceRecord) String() stringResourceRecord_RecordType
type ResourceRecord_RecordType int32A resource record type.
ResourceRecord_RECORD_TYPE_UNSPECIFIED, ResourceRecord_A, ResourceRecord_AAAA, ResourceRecord_CNAME
const (
// An unknown resource record.
ResourceRecord_RECORD_TYPE_UNSPECIFIED ResourceRecord_RecordType = 0
// An A resource record. Data is an IPv4 address.
ResourceRecord_A ResourceRecord_RecordType = 1
// An AAAA resource record. Data is an IPv6 address.
ResourceRecord_AAAA ResourceRecord_RecordType = 2
// A CNAME resource record. Data is a domain name to be aliased.
ResourceRecord_CNAME ResourceRecord_RecordType = 3
)func (ResourceRecord_RecordType) Descriptor
func (ResourceRecord_RecordType) Descriptor() protoreflect.EnumDescriptorfunc (ResourceRecord_RecordType) Enum
func (x ResourceRecord_RecordType) Enum() *ResourceRecord_RecordTypefunc (ResourceRecord_RecordType) EnumDescriptor
func (ResourceRecord_RecordType) EnumDescriptor() ([]byte, []int)Deprecated: Use ResourceRecord_RecordType.Descriptor instead.
func (ResourceRecord_RecordType) Number
func (x ResourceRecord_RecordType) Number() protoreflect.EnumNumberfunc (ResourceRecord_RecordType) String
func (x ResourceRecord_RecordType) String() stringfunc (ResourceRecord_RecordType) Type
func (ResourceRecord_RecordType) Type() protoreflect.EnumTypeResources
type Resources struct {
// Number of CPU cores needed.
Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
// Disk size (GB) needed.
DiskGb float64 `protobuf:"fixed64,2,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
// Memory (GB) needed.
MemoryGb float64 `protobuf:"fixed64,3,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"`
// User specified volumes.
Volumes []*Volume `protobuf:"bytes,4,rep,name=volumes,proto3" json:"volumes,omitempty"`
// The name of the encryption key that is stored in Google Cloud KMS.
// Only should be used by Cloud Composer to encrypt the vm disk
KmsKeyReference string `protobuf:"bytes,5,opt,name=kms_key_reference,json=kmsKeyReference,proto3" json:"kms_key_reference,omitempty"`
// contains filtered or unexported fields
}Machine resources for a version.
func (*Resources) Descriptor
Deprecated: Use Resources.ProtoReflect.Descriptor instead.
func (*Resources) GetCpu
func (*Resources) GetDiskGb
func (*Resources) GetKmsKeyReference
func (*Resources) GetMemoryGb
func (*Resources) GetVolumes
func (*Resources) ProtoMessage
func (*Resources) ProtoMessage()func (*Resources) ProtoReflect
func (x *Resources) ProtoReflect() protoreflect.Messagefunc (*Resources) Reset
func (x *Resources) Reset()func (*Resources) String
ScriptHandler
type ScriptHandler struct {
// Path to the script from the application root directory.
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"`
// contains filtered or unexported fields
}Executes a script to handle the request that matches the URL pattern.
func (*ScriptHandler) Descriptor
func (*ScriptHandler) Descriptor() ([]byte, []int)Deprecated: Use ScriptHandler.ProtoReflect.Descriptor instead.
func (*ScriptHandler) GetScriptPath
func (x *ScriptHandler) GetScriptPath() stringfunc (*ScriptHandler) ProtoMessage
func (*ScriptHandler) ProtoMessage()func (*ScriptHandler) ProtoReflect
func (x *ScriptHandler) ProtoReflect() protoreflect.Messagefunc (*ScriptHandler) Reset
func (x *ScriptHandler) Reset()func (*ScriptHandler) String
func (x *ScriptHandler) String() stringSecurityLevel
type SecurityLevel int32Methods to enforce security (HTTPS) on a URL.
SecurityLevel_SECURE_UNSPECIFIED, SecurityLevel_SECURE_DEFAULT, SecurityLevel_SECURE_NEVER, SecurityLevel_SECURE_OPTIONAL, SecurityLevel_SECURE_ALWAYS
const (
// Not specified.
SecurityLevel_SECURE_UNSPECIFIED SecurityLevel = 0
// Both HTTP and HTTPS requests with URLs that match the handler succeed
// without redirects. The application can examine the request to determine
// which protocol was used, and respond accordingly.
SecurityLevel_SECURE_DEFAULT SecurityLevel = 0
// Requests for a URL that match this handler that use HTTPS are automatically
// redirected to the HTTP equivalent URL.
SecurityLevel_SECURE_NEVER SecurityLevel = 1
// Both HTTP and HTTPS requests with URLs that match the handler succeed
// without redirects. The application can examine the request to determine
// which protocol was used and respond accordingly.
SecurityLevel_SECURE_OPTIONAL SecurityLevel = 2
// Requests for a URL that match this handler that do not use HTTPS are
// automatically redirected to the HTTPS URL with the same path. Query
// parameters are reserved for the redirect.
SecurityLevel_SECURE_ALWAYS SecurityLevel = 3
)func (SecurityLevel) Descriptor
func (SecurityLevel) Descriptor() protoreflect.EnumDescriptorfunc (SecurityLevel) Enum
func (x SecurityLevel) Enum() *SecurityLevelfunc (SecurityLevel) EnumDescriptor
func (SecurityLevel) EnumDescriptor() ([]byte, []int)Deprecated: Use SecurityLevel.Descriptor instead.
func (SecurityLevel) Number
func (x SecurityLevel) Number() protoreflect.EnumNumberfunc (SecurityLevel) String
func (x SecurityLevel) String() stringfunc (SecurityLevel) Type
func (SecurityLevel) Type() protoreflect.EnumTypeService
type Service struct { // Full path to the Service resource in the API. // Example: `apps/myapp/services/default`. // // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Relative name of the service within the application. // Example: `default`. // // @OutputOnly Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Mapping that defines fractional HTTP traffic diversion to // different versions within the service. Split *TrafficSplit `protobuf:"bytes,3,opt,name=split,proto3" json:"split,omitempty"` // A set of labels to apply to this service. Labels are key/value pairs that // describe the service and all resources that belong to it (e.g., // versions). The labels can be used to search and group resources, and are // propagated to the usage and billing reports, enabling fine-grain analysis // of costs. An example of using labels is to tag resources belonging to // different environments (e.g., "env=prod", "env=qa"). // //
Label keys and values can be no longer than 63 characters and can only // contain lowercase letters, numeric characters, underscores, dashes, and // international characters. Label keys must start with a lowercase letter // or an international character. Each service can have at most 32 labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Ingress settings for this service. Will apply to all versions. NetworkSettings *NetworkSettings `protobuf:"bytes,6,opt,name=network_settings,json=networkSettings,proto3" json:"network_settings,omitempty"` // contains filtered or unexported fields }
A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.
func (*Service) Descriptor
Deprecated: Use Service.ProtoReflect.Descriptor instead.
func (*Service) GetId
func (*Service) GetLabels
func (*Service) GetName
func (*Service) GetNetworkSettings
func (x *Service) GetNetworkSettings() *NetworkSettingsfunc (*Service) GetSplit
func (x *Service) GetSplit() *TrafficSplitfunc (*Service) ProtoMessage
func (*Service) ProtoMessage()func (*Service) ProtoReflect
func (x *Service) ProtoReflect() protoreflect.Messagefunc (*Service) Reset
func (x *Service) Reset()func (*Service) String
ServicesClient
type ServicesClient interface {
// Lists all the services in the application.
ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
// Gets the current configuration of the specified service.
GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
// Updates the configuration of the specified service.
UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified service and all enclosed versions.
DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}ServicesClient is the client API for Services 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 NewServicesClient
func NewServicesClient(cc grpc.ClientConnInterface) ServicesClientServicesServer
type ServicesServer interface {
// Lists all the services in the application.
ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
// Gets the current configuration of the specified service.
GetService(context.Context, *GetServiceRequest) (*Service, error)
// Updates the configuration of the specified service.
UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)
// Deletes the specified service and all enclosed versions.
DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)
}ServicesServer is the server API for Services service. All implementations should embed UnimplementedServicesServer for forward compatibility
ServingStatus
type ServingStatus int32Run states of a version.
ServingStatus_SERVING_STATUS_UNSPECIFIED, ServingStatus_SERVING, ServingStatus_STOPPED
const (
// Not specified.
ServingStatus_SERVING_STATUS_UNSPECIFIED ServingStatus = 0
// Currently serving. Instances are created according to the
// scaling settings of the version.
ServingStatus_SERVING ServingStatus = 1
// Disabled. No instances will be created and the scaling
// settings are ignored until the state of the version changes
// to `SERVING`.
ServingStatus_STOPPED ServingStatus = 2
)func (ServingStatus) Descriptor
func (ServingStatus) Descriptor() protoreflect.EnumDescriptorfunc (ServingStatus) Enum
func (x ServingStatus) Enum() *ServingStatusfunc (ServingStatus) EnumDescriptor
func (ServingStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use ServingStatus.Descriptor instead.
func (ServingStatus) Number
func (x ServingStatus) Number() protoreflect.EnumNumberfunc (ServingStatus) String
func (x ServingStatus) String() stringfunc (ServingStatus) Type
func (ServingStatus) Type() protoreflect.EnumTypeSslSettings
type SslSettings struct {
// ID of the `AuthorizedCertificate` resource configuring SSL for the
// application. Clearing this field will remove SSL support.
//
// By default, a managed certificate is automatically created for every
// domain mapping. To omit SSL support or to configure SSL manually, specify
// `SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must
// be authorized to administer the `AuthorizedCertificate` resource to
// manually map it to a `DomainMapping` resource.
// Example: `12345`.
CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
// SSL management type for this domain. If `AUTOMATIC`, a managed certificate
// is automatically provisioned. If `MANUAL`, `certificate_id` must be
// manually specified in order to configure SSL for this domain.
SslManagementType SslSettings_SslManagementType `protobuf:"varint,3,opt,name=ssl_management_type,json=sslManagementType,proto3,enum=google.appengine.v1.SslSettings_SslManagementType" json:"ssl_management_type,omitempty"`
// ID of the managed `AuthorizedCertificate` resource currently being
// provisioned, if applicable. Until the new managed certificate has been
// successfully provisioned, the previous SSL state will be preserved. Once
// the provisioning process completes, the `certificate_id` field will reflect
// the new managed certificate and this field will be left empty. To remove
// SSL support while there is still a pending managed certificate, clear the
// `certificate_id` field with an `UpdateDomainMappingRequest`.
//
// @OutputOnly
PendingManagedCertificateId string `protobuf:"bytes,4,opt,name=pending_managed_certificate_id,json=pendingManagedCertificateId,proto3" json:"pending_managed_certificate_id,omitempty"`
// contains filtered or unexported fields
}SSL configuration for a DomainMapping resource.
func (*SslSettings) Descriptor
func (*SslSettings) Descriptor() ([]byte, []int)Deprecated: Use SslSettings.ProtoReflect.Descriptor instead.
func (*SslSettings) GetCertificateId
func (x *SslSettings) GetCertificateId() stringfunc (*SslSettings) GetPendingManagedCertificateId
func (x *SslSettings) GetPendingManagedCertificateId() stringfunc (*SslSettings) GetSslManagementType
func (x *SslSettings) GetSslManagementType() SslSettings_SslManagementTypefunc (*SslSettings) ProtoMessage
func (*SslSettings) ProtoMessage()func (*SslSettings) ProtoReflect
func (x *SslSettings) ProtoReflect() protoreflect.Messagefunc (*SslSettings) Reset
func (x *SslSettings) Reset()func (*SslSettings) String
func (x *SslSettings) String() stringSslSettings_SslManagementType
type SslSettings_SslManagementType int32The SSL management type for this domain.
SslSettings_SSL_MANAGEMENT_TYPE_UNSPECIFIED, SslSettings_AUTOMATIC, SslSettings_MANUAL
const (
// Defaults to `AUTOMATIC`.
SslSettings_SSL_MANAGEMENT_TYPE_UNSPECIFIED SslSettings_SslManagementType = 0
// SSL support for this domain is configured automatically. The mapped SSL
// certificate will be automatically renewed.
SslSettings_AUTOMATIC SslSettings_SslManagementType = 1
// SSL support for this domain is configured manually by the user. Either
// the domain has no SSL support or a user-obtained SSL certificate has been
// explictly mapped to this domain.
SslSettings_MANUAL SslSettings_SslManagementType = 2
)func (SslSettings_SslManagementType) Descriptor
func (SslSettings_SslManagementType) Descriptor() protoreflect.EnumDescriptorfunc (SslSettings_SslManagementType) Enum
func (x SslSettings_SslManagementType) Enum() *SslSettings_SslManagementTypefunc (SslSettings_SslManagementType) EnumDescriptor
func (SslSettings_SslManagementType) EnumDescriptor() ([]byte, []int)Deprecated: Use SslSettings_SslManagementType.Descriptor instead.
func (SslSettings_SslManagementType) Number
func (x SslSettings_SslManagementType) Number() protoreflect.EnumNumberfunc (SslSettings_SslManagementType) String
func (x SslSettings_SslManagementType) String() stringfunc (SslSettings_SslManagementType) Type
func (SslSettings_SslManagementType) Type() protoreflect.EnumTypeStandardSchedulerSettings
type StandardSchedulerSettings struct {
// Target CPU utilization ratio to maintain when scaling.
TargetCpuUtilization float64 `protobuf:"fixed64,1,opt,name=target_cpu_utilization,json=targetCpuUtilization,proto3" json:"target_cpu_utilization,omitempty"`
// Target throughput utilization ratio to maintain when scaling
TargetThroughputUtilization float64 `protobuf:"fixed64,2,opt,name=target_throughput_utilization,json=targetThroughputUtilization,proto3" json:"target_throughput_utilization,omitempty"`
// Minimum number of instances to run for this version. Set to zero to disable
// `min_instances` configuration.
MinInstances int32 `protobuf:"varint,3,opt,name=min_instances,json=minInstances,proto3" json:"min_instances,omitempty"`
// Maximum number of instances to run for this version. Set to zero to disable
// `max_instances` configuration.
MaxInstances int32 `protobuf:"varint,4,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"`
// contains filtered or unexported fields
}Scheduler settings for standard environment.
func (*StandardSchedulerSettings) Descriptor
func (*StandardSchedulerSettings) Descriptor() ([]byte, []int)Deprecated: Use StandardSchedulerSettings.ProtoReflect.Descriptor instead.
func (*StandardSchedulerSettings) GetMaxInstances
func (x *StandardSchedulerSettings) GetMaxInstances() int32func (*StandardSchedulerSettings) GetMinInstances
func (x *StandardSchedulerSettings) GetMinInstances() int32func (*StandardSchedulerSettings) GetTargetCpuUtilization
func (x *StandardSchedulerSettings) GetTargetCpuUtilization() float64func (*StandardSchedulerSettings) GetTargetThroughputUtilization
func (x *StandardSchedulerSettings) GetTargetThroughputUtilization() float64func (*StandardSchedulerSettings) ProtoMessage
func (*StandardSchedulerSettings) ProtoMessage()func (*StandardSchedulerSettings) ProtoReflect
func (x *StandardSchedulerSettings) ProtoReflect() protoreflect.Messagefunc (*StandardSchedulerSettings) Reset
func (x *StandardSchedulerSettings) Reset()func (*StandardSchedulerSettings) String
func (x *StandardSchedulerSettings) String() stringStaticFilesHandler
type StaticFilesHandler struct {
// Path to the static files matched by the URL pattern, from the
// application root directory. The path can refer to text matched in groupings
// in the URL pattern.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Regular expression that matches the file paths for all files that should be
// referenced by this handler.
UploadPathRegex string `protobuf:"bytes,2,opt,name=upload_path_regex,json=uploadPathRegex,proto3" json:"upload_path_regex,omitempty"`
// HTTP headers to use for all responses from these URLs.
HttpHeaders map[string]string `protobuf:"bytes,3,rep,name=http_headers,json=httpHeaders,proto3" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// MIME type used to serve all files served by this handler.
//
// Defaults to file-specific MIME types, which are derived from each file's
// filename extension.
MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// Time a static file served by this handler should be cached
// by web proxies and browsers.
Expiration *durationpb.Duration `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"`
// Whether this handler should match the request if the file
// referenced by the handler does not exist.
RequireMatchingFile bool `protobuf:"varint,6,opt,name=require_matching_file,json=requireMatchingFile,proto3" json:"require_matching_file,omitempty"`
// Whether files should also be uploaded as code data. By default, files
// declared in static file handlers are uploaded as static
// data and are only served to end users; they cannot be read by the
// application. If enabled, uploads are charged against both your code and
// static data storage resource quotas.
ApplicationReadable bool `protobuf:"varint,7,opt,name=application_readable,json=applicationReadable,proto3" json:"application_readable,omitempty"`
// contains filtered or unexported fields
}Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them.
func (*StaticFilesHandler) Descriptor
func (*StaticFilesHandler) Descriptor() ([]byte, []int)Deprecated: Use StaticFilesHandler.ProtoReflect.Descriptor instead.
func (*StaticFilesHandler) GetApplicationReadable
func (x *StaticFilesHandler) GetApplicationReadable() boolfunc (*StaticFilesHandler) GetExpiration
func (x *StaticFilesHandler) GetExpiration() *durationpb.Durationfunc (*StaticFilesHandler) GetHttpHeaders
func (x *StaticFilesHandler) GetHttpHeaders() map[string]stringfunc (*StaticFilesHandler) GetMimeType
func (x *StaticFilesHandler) GetMimeType() stringfunc (*StaticFilesHandler) GetPath
func (x *StaticFilesHandler) GetPath() stringfunc (*StaticFilesHandler) GetRequireMatchingFile
func (x *StaticFilesHandler) GetRequireMatchingFile() boolfunc (*StaticFilesHandler) GetUploadPathRegex
func (x *StaticFilesHandler) GetUploadPathRegex() stringfunc (*StaticFilesHandler) ProtoMessage
func (*StaticFilesHandler) ProtoMessage()func (*StaticFilesHandler) ProtoReflect
func (x *StaticFilesHandler) ProtoReflect() protoreflect.Messagefunc (*StaticFilesHandler) Reset
func (x *StaticFilesHandler) Reset()func (*StaticFilesHandler) String
func (x *StaticFilesHandler) String() stringTrafficSplit
type TrafficSplit struct {
// Mechanism used to determine which version a request is sent to.
// The traffic selection algorithm will
// be stable for either type until allocations are changed.
ShardBy TrafficSplit_ShardBy `protobuf:"varint,1,opt,name=shard_by,json=shardBy,proto3,enum=google.appengine.v1.TrafficSplit_ShardBy" json:"shard_by,omitempty"`
// Mapping from version IDs within the service to fractional
// (0.000, 1] allocations of traffic for that version. Each version can
// be specified only once, but some versions in the service may not
// have any traffic allocation. Services that have traffic allocated
// cannot be deleted until either the service is deleted or
// their traffic allocation is removed. Allocations must sum to 1.
// Up to two decimal place precision is supported for IP-based splits and
// up to three decimal places is supported for cookie-based splits.
Allocations map[string]float64 `protobuf:"bytes,2,rep,name=allocations,proto3" json:"allocations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
// contains filtered or unexported fields
}Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.
func (*TrafficSplit) Descriptor
func (*TrafficSplit) Descriptor() ([]byte, []int)Deprecated: Use TrafficSplit.ProtoReflect.Descriptor instead.
func (*TrafficSplit) GetAllocations
func (x *TrafficSplit) GetAllocations() map[string]float64func (*TrafficSplit) GetShardBy
func (x *TrafficSplit) GetShardBy() TrafficSplit_ShardByfunc (*TrafficSplit) ProtoMessage
func (*TrafficSplit) ProtoMessage()func (*TrafficSplit) ProtoReflect
func (x *TrafficSplit) ProtoReflect() protoreflect.Messagefunc (*TrafficSplit) Reset
func (x *TrafficSplit) Reset()func (*TrafficSplit) String
func (x *TrafficSplit) String() stringTrafficSplit_ShardBy
type TrafficSplit_ShardBy int32Available sharding mechanisms.
TrafficSplit_UNSPECIFIED, TrafficSplit_COOKIE, TrafficSplit_IP, TrafficSplit_RANDOM
const (
// Diversion method unspecified.
TrafficSplit_UNSPECIFIED TrafficSplit_ShardBy = 0
// Diversion based on a specially named cookie, "GOOGAPPUID." The cookie
// must be set by the application itself or no diversion will occur.
TrafficSplit_COOKIE TrafficSplit_ShardBy = 1
// Diversion based on applying the modulus operation to a fingerprint
// of the IP address.
TrafficSplit_IP TrafficSplit_ShardBy = 2
// Diversion based on weighted random assignment. An incoming request is
// randomly routed to a version in the traffic split, with probability
// proportional to the version's traffic share.
TrafficSplit_RANDOM TrafficSplit_ShardBy = 3
)func (TrafficSplit_ShardBy) Descriptor
func (TrafficSplit_ShardBy) Descriptor() protoreflect.EnumDescriptorfunc (TrafficSplit_ShardBy) Enum
func (x TrafficSplit_ShardBy) Enum() *TrafficSplit_ShardByfunc (TrafficSplit_ShardBy) EnumDescriptor
func (TrafficSplit_ShardBy) EnumDescriptor() ([]byte, []int)Deprecated: Use TrafficSplit_ShardBy.Descriptor instead.
func (TrafficSplit_ShardBy) Number
func (x TrafficSplit_ShardBy) Number() protoreflect.EnumNumberfunc (TrafficSplit_ShardBy) String
func (x TrafficSplit_ShardBy) String() stringfunc (TrafficSplit_ShardBy) Type
func (TrafficSplit_ShardBy) Type() protoreflect.EnumTypeUnimplementedApplicationsServer
type UnimplementedApplicationsServer struct {
}UnimplementedApplicationsServer should be embedded to have forward compatible implementations.
func (UnimplementedApplicationsServer) CreateApplication
func (UnimplementedApplicationsServer) CreateApplication(context.Context, *CreateApplicationRequest) (*longrunningpb.Operation, error)func (UnimplementedApplicationsServer) GetApplication
func (UnimplementedApplicationsServer) GetApplication(context.Context, *GetApplicationRequest) (*Application, error)func (UnimplementedApplicationsServer) RepairApplication
func (UnimplementedApplicationsServer) RepairApplication(context.Context, *RepairApplicationRequest) (*longrunningpb.Operation, error)func (UnimplementedApplicationsServer) UpdateApplication
func (UnimplementedApplicationsServer) UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunningpb.Operation, error)UnimplementedAuthorizedCertificatesServer
type UnimplementedAuthorizedCertificatesServer struct {
}UnimplementedAuthorizedCertificatesServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthorizedCertificatesServer) CreateAuthorizedCertificate
func (UnimplementedAuthorizedCertificatesServer) CreateAuthorizedCertificate(context.Context, *CreateAuthorizedCertificateRequest) (*AuthorizedCertificate, error)func (UnimplementedAuthorizedCertificatesServer) DeleteAuthorizedCertificate
func (UnimplementedAuthorizedCertificatesServer) DeleteAuthorizedCertificate(context.Context, *DeleteAuthorizedCertificateRequest) (*emptypb.Empty, error)func (UnimplementedAuthorizedCertificatesServer) GetAuthorizedCertificate
func (UnimplementedAuthorizedCertificatesServer) GetAuthorizedCertificate(context.Context, *GetAuthorizedCertificateRequest) (*AuthorizedCertificate, error)func (UnimplementedAuthorizedCertificatesServer) ListAuthorizedCertificates
func (UnimplementedAuthorizedCertificatesServer) ListAuthorizedCertificates(context.Context, *ListAuthorizedCertificatesRequest) (*ListAuthorizedCertificatesResponse, error)func (UnimplementedAuthorizedCertificatesServer) UpdateAuthorizedCertificate
func (UnimplementedAuthorizedCertificatesServer) UpdateAuthorizedCertificate(context.Context, *UpdateAuthorizedCertificateRequest) (*AuthorizedCertificate, error)UnimplementedAuthorizedDomainsServer
type UnimplementedAuthorizedDomainsServer struct {
}UnimplementedAuthorizedDomainsServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthorizedDomainsServer) ListAuthorizedDomains
func (UnimplementedAuthorizedDomainsServer) ListAuthorizedDomains(context.Context, *ListAuthorizedDomainsRequest) (*ListAuthorizedDomainsResponse, error)UnimplementedDomainMappingsServer
type UnimplementedDomainMappingsServer struct {
}UnimplementedDomainMappingsServer should be embedded to have forward compatible implementations.
func (UnimplementedDomainMappingsServer) CreateDomainMapping
func (UnimplementedDomainMappingsServer) CreateDomainMapping(context.Context, *CreateDomainMappingRequest) (*longrunningpb.Operation, error)func (UnimplementedDomainMappingsServer) DeleteDomainMapping
func (UnimplementedDomainMappingsServer) DeleteDomainMapping(context.Context, *DeleteDomainMappingRequest) (*longrunningpb.Operation, error)func (UnimplementedDomainMappingsServer) GetDomainMapping
func (UnimplementedDomainMappingsServer) GetDomainMapping(context.Context, *GetDomainMappingRequest) (*DomainMapping, error)func (UnimplementedDomainMappingsServer) ListDomainMappings
func (UnimplementedDomainMappingsServer) ListDomainMappings(context.Context, *ListDomainMappingsRequest) (*ListDomainMappingsResponse, error)func (UnimplementedDomainMappingsServer) UpdateDomainMapping
func (UnimplementedDomainMappingsServer) UpdateDomainMapping(context.Context, *UpdateDomainMappingRequest) (*longrunningpb.Operation, error)UnimplementedFirewallServer
type UnimplementedFirewallServer struct {
}UnimplementedFirewallServer should be embedded to have forward compatible implementations.
func (UnimplementedFirewallServer) BatchUpdateIngressRules
func (UnimplementedFirewallServer) BatchUpdateIngressRules(context.Context, *BatchUpdateIngressRulesRequest) (*BatchUpdateIngressRulesResponse, error)func (UnimplementedFirewallServer) CreateIngressRule
func (UnimplementedFirewallServer) CreateIngressRule(context.Context, *CreateIngressRuleRequest) (*FirewallRule, error)func (UnimplementedFirewallServer) DeleteIngressRule
func (UnimplementedFirewallServer) DeleteIngressRule(context.Context, *DeleteIngressRuleRequest) (*emptypb.Empty, error)func (UnimplementedFirewallServer) GetIngressRule
func (UnimplementedFirewallServer) GetIngressRule(context.Context, *GetIngressRuleRequest) (*FirewallRule, error)func (UnimplementedFirewallServer) ListIngressRules
func (UnimplementedFirewallServer) ListIngressRules(context.Context, *ListIngressRulesRequest) (*ListIngressRulesResponse, error)func (UnimplementedFirewallServer) UpdateIngressRule
func (UnimplementedFirewallServer) UpdateIngressRule(context.Context, *UpdateIngressRuleRequest) (*FirewallRule, error)UnimplementedInstancesServer
type UnimplementedInstancesServer struct {
}UnimplementedInstancesServer should be embedded to have forward compatible implementations.
func (UnimplementedInstancesServer) DebugInstance
func (UnimplementedInstancesServer) DebugInstance(context.Context, *DebugInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedInstancesServer) DeleteInstance
func (UnimplementedInstancesServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedInstancesServer) GetInstance
func (UnimplementedInstancesServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)func (UnimplementedInstancesServer) ListInstances
func (UnimplementedInstancesServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)UnimplementedServicesServer
type UnimplementedServicesServer struct {
}UnimplementedServicesServer should be embedded to have forward compatible implementations.
func (UnimplementedServicesServer) DeleteService
func (UnimplementedServicesServer) DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)func (UnimplementedServicesServer) GetService
func (UnimplementedServicesServer) GetService(context.Context, *GetServiceRequest) (*Service, error)func (UnimplementedServicesServer) ListServices
func (UnimplementedServicesServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)func (UnimplementedServicesServer) UpdateService
func (UnimplementedServicesServer) UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)UnimplementedVersionsServer
type UnimplementedVersionsServer struct {
}UnimplementedVersionsServer should be embedded to have forward compatible implementations.
func (UnimplementedVersionsServer) CreateVersion
func (UnimplementedVersionsServer) CreateVersion(context.Context, *CreateVersionRequest) (*longrunningpb.Operation, error)func (UnimplementedVersionsServer) DeleteVersion
func (UnimplementedVersionsServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunningpb.Operation, error)func (UnimplementedVersionsServer) GetVersion
func (UnimplementedVersionsServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)func (UnimplementedVersionsServer) ListVersions
func (UnimplementedVersionsServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)func (UnimplementedVersionsServer) UpdateVersion
func (UnimplementedVersionsServer) UpdateVersion(context.Context, *UpdateVersionRequest) (*longrunningpb.Operation, error)UnsafeApplicationsServer
type UnsafeApplicationsServer interface {
// contains filtered or unexported methods
}UnsafeApplicationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApplicationsServer will result in compilation errors.
UnsafeAuthorizedCertificatesServer
type UnsafeAuthorizedCertificatesServer interface {
// contains filtered or unexported methods
}UnsafeAuthorizedCertificatesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthorizedCertificatesServer will result in compilation errors.
UnsafeAuthorizedDomainsServer
type UnsafeAuthorizedDomainsServer interface {
// contains filtered or unexported methods
}UnsafeAuthorizedDomainsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthorizedDomainsServer will result in compilation errors.
UnsafeDomainMappingsServer
type UnsafeDomainMappingsServer interface {
// contains filtered or unexported methods
}UnsafeDomainMappingsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DomainMappingsServer will result in compilation errors.
UnsafeFirewallServer
type UnsafeFirewallServer interface {
// contains filtered or unexported methods
}UnsafeFirewallServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FirewallServer will result in compilation errors.
UnsafeInstancesServer
type UnsafeInstancesServer interface {
// contains filtered or unexported methods
}UnsafeInstancesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InstancesServer will result in compilation errors.
UnsafeServicesServer
type UnsafeServicesServer interface {
// contains filtered or unexported methods
}UnsafeServicesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServicesServer will result in compilation errors.
UnsafeVersionsServer
type UnsafeVersionsServer interface {
// contains filtered or unexported methods
}UnsafeVersionsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VersionsServer will result in compilation errors.
UpdateApplicationRequest
type UpdateApplicationRequest struct {
// Name of the Application resource to update. Example: `apps/myapp`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// An Application containing the updated resource.
Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"`
// Required. Standard field mask for the set of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for Applications.UpdateApplication.
func (*UpdateApplicationRequest) Descriptor
func (*UpdateApplicationRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateApplicationRequest.ProtoReflect.Descriptor instead.
func (*UpdateApplicationRequest) GetApplication
func (x *UpdateApplicationRequest) GetApplication() *Applicationfunc (*UpdateApplicationRequest) GetName
func (x *UpdateApplicationRequest) GetName() stringfunc (*UpdateApplicationRequest) GetUpdateMask
func (x *UpdateApplicationRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateApplicationRequest) ProtoMessage
func (*UpdateApplicationRequest) ProtoMessage()func (*UpdateApplicationRequest) ProtoReflect
func (x *UpdateApplicationRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateApplicationRequest) Reset
func (x *UpdateApplicationRequest) Reset()func (*UpdateApplicationRequest) String
func (x *UpdateApplicationRequest) String() stringUpdateAuthorizedCertificateRequest
type UpdateAuthorizedCertificateRequest struct {
// Name of the resource to update. Example:
// `apps/myapp/authorizedCertificates/12345`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// An `AuthorizedCertificate` containing the updated resource. Only fields set
// in the field mask will be updated.
Certificate *AuthorizedCertificate `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"`
// Standard field mask for the set of fields to be updated. Updates are only
// supported on the `certificate_raw_data` and `display_name` fields.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for AuthorizedCertificates.UpdateAuthorizedCertificate.
func (*UpdateAuthorizedCertificateRequest) Descriptor
func (*UpdateAuthorizedCertificateRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateAuthorizedCertificateRequest.ProtoReflect.Descriptor instead.
func (*UpdateAuthorizedCertificateRequest) GetCertificate
func (x *UpdateAuthorizedCertificateRequest) GetCertificate() *AuthorizedCertificatefunc (*UpdateAuthorizedCertificateRequest) GetName
func (x *UpdateAuthorizedCertificateRequest) GetName() stringfunc (*UpdateAuthorizedCertificateRequest) GetUpdateMask
func (x *UpdateAuthorizedCertificateRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAuthorizedCertificateRequest) ProtoMessage
func (*UpdateAuthorizedCertificateRequest) ProtoMessage()func (*UpdateAuthorizedCertificateRequest) ProtoReflect
func (x *UpdateAuthorizedCertificateRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAuthorizedCertificateRequest) Reset
func (x *UpdateAuthorizedCertificateRequest) Reset()func (*UpdateAuthorizedCertificateRequest) String
func (x *UpdateAuthorizedCertificateRequest) String() stringUpdateDomainMappingRequest
type UpdateDomainMappingRequest struct {
// Name of the resource to update. Example:
// `apps/myapp/domainMappings/example.com`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A domain mapping containing the updated resource. Only fields set
// in the field mask will be updated.
DomainMapping *DomainMapping `protobuf:"bytes,2,opt,name=domain_mapping,json=domainMapping,proto3" json:"domain_mapping,omitempty"`
// Required. Standard field mask for the set of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for DomainMappings.UpdateDomainMapping.
func (*UpdateDomainMappingRequest) Descriptor
func (*UpdateDomainMappingRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDomainMappingRequest.ProtoReflect.Descriptor instead.
func (*UpdateDomainMappingRequest) GetDomainMapping
func (x *UpdateDomainMappingRequest) GetDomainMapping() *DomainMappingfunc (*UpdateDomainMappingRequest) GetName
func (x *UpdateDomainMappingRequest) GetName() stringfunc (*UpdateDomainMappingRequest) GetUpdateMask
func (x *UpdateDomainMappingRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDomainMappingRequest) ProtoMessage
func (*UpdateDomainMappingRequest) ProtoMessage()func (*UpdateDomainMappingRequest) ProtoReflect
func (x *UpdateDomainMappingRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDomainMappingRequest) Reset
func (x *UpdateDomainMappingRequest) Reset()func (*UpdateDomainMappingRequest) String
func (x *UpdateDomainMappingRequest) String() stringUpdateIngressRuleRequest
type UpdateIngressRuleRequest struct {
// Name of the Firewall resource to update.
// Example: `apps/myapp/firewall/ingressRules/100`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A FirewallRule containing the updated resource
Rule *FirewallRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
// Standard field mask for the set of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for Firewall.UpdateIngressRule.
func (*UpdateIngressRuleRequest) Descriptor
func (*UpdateIngressRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateIngressRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateIngressRuleRequest) GetName
func (x *UpdateIngressRuleRequest) GetName() stringfunc (*UpdateIngressRuleRequest) GetRule
func (x *UpdateIngressRuleRequest) GetRule() *FirewallRulefunc (*UpdateIngressRuleRequest) GetUpdateMask
func (x *UpdateIngressRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateIngressRuleRequest) ProtoMessage
func (*UpdateIngressRuleRequest) ProtoMessage()func (*UpdateIngressRuleRequest) ProtoReflect
func (x *UpdateIngressRuleRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateIngressRuleRequest) Reset
func (x *UpdateIngressRuleRequest) Reset()func (*UpdateIngressRuleRequest) String
func (x *UpdateIngressRuleRequest) String() stringUpdateServiceMethod
type UpdateServiceMethod struct {
// Update service request.
Request *UpdateServiceRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}Detailed information about UpdateService call.
func (*UpdateServiceMethod) Descriptor
func (*UpdateServiceMethod) Descriptor() ([]byte, []int)Deprecated: Use UpdateServiceMethod.ProtoReflect.Descriptor instead.
func (*UpdateServiceMethod) GetRequest
func (x *UpdateServiceMethod) GetRequest() *UpdateServiceRequestfunc (*UpdateServiceMethod) ProtoMessage
func (*UpdateServiceMethod) ProtoMessage()func (*UpdateServiceMethod) ProtoReflect
func (x *UpdateServiceMethod) ProtoReflect() protoreflect.Messagefunc (*UpdateServiceMethod) Reset
func (x *UpdateServiceMethod) Reset()func (*UpdateServiceMethod) String
func (x *UpdateServiceMethod) String() stringUpdateServiceRequest
type UpdateServiceRequest struct {
// Name of the resource to update. Example: `apps/myapp/services/default`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A Service resource containing the updated service. Only fields set in the
// field mask will be updated.
Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
// Required. Standard field mask for the set of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Set to `true` to gradually shift traffic to one or more versions that you
// specify. By default, traffic is shifted immediately.
// For gradual traffic migration, the target versions
// must be located within instances that are configured for both
// [warmup requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#InboundServiceType)
// and
// [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#AutomaticScaling).
// You must specify the
// [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy)
// field in the Service resource. Gradual traffic migration is not
// supported in the App Engine flexible environment. For examples, see
// [Migrating and Splitting Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
MigrateTraffic bool `protobuf:"varint,4,opt,name=migrate_traffic,json=migrateTraffic,proto3" json:"migrate_traffic,omitempty"`
// contains filtered or unexported fields
}Request message for Services.UpdateService.
func (*UpdateServiceRequest) Descriptor
func (*UpdateServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateServiceRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceRequest) GetMigrateTraffic
func (x *UpdateServiceRequest) GetMigrateTraffic() boolfunc (*UpdateServiceRequest) GetName
func (x *UpdateServiceRequest) GetName() stringfunc (*UpdateServiceRequest) GetService
func (x *UpdateServiceRequest) GetService() *Servicefunc (*UpdateServiceRequest) GetUpdateMask
func (x *UpdateServiceRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateServiceRequest) ProtoMessage
func (*UpdateServiceRequest) ProtoMessage()func (*UpdateServiceRequest) ProtoReflect
func (x *UpdateServiceRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateServiceRequest) Reset
func (x *UpdateServiceRequest) Reset()func (*UpdateServiceRequest) String
func (x *UpdateServiceRequest) String() stringUpdateVersionRequest
type UpdateVersionRequest struct {
// Name of the resource to update. Example:
// `apps/myapp/services/default/versions/1`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A Version containing the updated resource. Only fields set in the field
// mask will be updated.
Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// Standard field mask for the set of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for Versions.UpdateVersion.
func (*UpdateVersionRequest) Descriptor
func (*UpdateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateVersionRequest) GetName
func (x *UpdateVersionRequest) GetName() stringfunc (*UpdateVersionRequest) GetUpdateMask
func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateVersionRequest) GetVersion
func (x *UpdateVersionRequest) GetVersion() *Versionfunc (*UpdateVersionRequest) ProtoMessage
func (*UpdateVersionRequest) ProtoMessage()func (*UpdateVersionRequest) ProtoReflect
func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateVersionRequest) Reset
func (x *UpdateVersionRequest) Reset()func (*UpdateVersionRequest) String
func (x *UpdateVersionRequest) String() stringUrlDispatchRule
type UrlDispatchRule struct {
// Domain name to match against. The wildcard "`*`" is supported if
// specified before a period: "`*.`".
//
// Defaults to matching all domains: "`*`".
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// Pathname within the host. Must start with a "`/`". A
// single "`*`" can be included at the end of the path.
//
// The sum of the lengths of the domain and path may not
// exceed 100 characters.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// Resource ID of a service in this application that should
// serve the matched request. The service must already
// exist. Example: `default`.
Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}Rules to match an HTTP request and dispatch that request to a service.
func (*UrlDispatchRule) Descriptor
func (*UrlDispatchRule) Descriptor() ([]byte, []int)Deprecated: Use UrlDispatchRule.ProtoReflect.Descriptor instead.
func (*UrlDispatchRule) GetDomain
func (x *UrlDispatchRule) GetDomain() stringfunc (*UrlDispatchRule) GetPath
func (x *UrlDispatchRule) GetPath() stringfunc (*UrlDispatchRule) GetService
func (x *UrlDispatchRule) GetService() stringfunc (*UrlDispatchRule) ProtoMessage
func (*UrlDispatchRule) ProtoMessage()func (*UrlDispatchRule) ProtoReflect
func (x *UrlDispatchRule) ProtoReflect() protoreflect.Messagefunc (*UrlDispatchRule) Reset
func (x *UrlDispatchRule) Reset()func (*UrlDispatchRule) String
func (x *UrlDispatchRule) String() stringUrlMap
type UrlMap struct {
// URL prefix. Uses regular expression syntax, which means regexp
// special characters must be escaped, but should not contain groupings.
// All URLs that begin with this prefix are handled by this handler, using the
// portion of the URL after the prefix as part of the file path.
UrlRegex string `protobuf:"bytes,1,opt,name=url_regex,json=urlRegex,proto3" json:"url_regex,omitempty"`
// Type of handler for this URL pattern.
//
// Types that are valid to be assigned to HandlerType:
//
// *UrlMap_StaticFiles
// *UrlMap_Script
// *UrlMap_ApiEndpoint
HandlerType isUrlMap_HandlerType `protobuf_oneof:"handler_type"`
// Security (HTTPS) enforcement for this URL.
SecurityLevel SecurityLevel `protobuf:"varint,5,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
// Level of login required to access this resource. Not supported for Node.js
// in the App Engine standard environment.
Login LoginRequirement `protobuf:"varint,6,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
// Action to take when users access resources that require
// authentication. Defaults to `redirect`.
AuthFailAction AuthFailAction `protobuf:"varint,7,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
// `30x` code to use when performing redirects for the `secure` field.
// Defaults to `302`.
RedirectHttpResponseCode UrlMap_RedirectHttpResponseCode `protobuf:"varint,8,opt,name=redirect_http_response_code,json=redirectHttpResponseCode,proto3,enum=google.appengine.v1.UrlMap_RedirectHttpResponseCode" json:"redirect_http_response_code,omitempty"`
// contains filtered or unexported fields
}URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
func (*UrlMap) Descriptor
Deprecated: Use UrlMap.ProtoReflect.Descriptor instead.
func (*UrlMap) GetApiEndpoint
func (x *UrlMap) GetApiEndpoint() *ApiEndpointHandlerfunc (*UrlMap) GetAuthFailAction
func (x *UrlMap) GetAuthFailAction() AuthFailActionfunc (*UrlMap) GetHandlerType
func (x *UrlMap) GetHandlerType() isUrlMap_HandlerTypefunc (*UrlMap) GetLogin
func (x *UrlMap) GetLogin() LoginRequirementfunc (*UrlMap) GetRedirectHttpResponseCode
func (x *UrlMap) GetRedirectHttpResponseCode() UrlMap_RedirectHttpResponseCodefunc (*UrlMap) GetScript
func (x *UrlMap) GetScript() *ScriptHandlerfunc (*UrlMap) GetSecurityLevel
func (x *UrlMap) GetSecurityLevel() SecurityLevelfunc (*UrlMap) GetStaticFiles
func (x *UrlMap) GetStaticFiles() *StaticFilesHandlerfunc (*UrlMap) GetUrlRegex
func (*UrlMap) ProtoMessage
func (*UrlMap) ProtoMessage()func (*UrlMap) ProtoReflect
func (x *UrlMap) ProtoReflect() protoreflect.Messagefunc (*UrlMap) Reset
func (x *UrlMap) Reset()func (*UrlMap) String
UrlMap_ApiEndpoint
type UrlMap_ApiEndpoint struct {
// Uses API Endpoints to handle requests.
ApiEndpoint *ApiEndpointHandler `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,proto3,oneof"`
}UrlMap_RedirectHttpResponseCode
type UrlMap_RedirectHttpResponseCode int32Redirect codes.
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED, UrlMap_REDIRECT_HTTP_RESPONSE_CODE_301, UrlMap_REDIRECT_HTTP_RESPONSE_CODE_302, UrlMap_REDIRECT_HTTP_RESPONSE_CODE_303, UrlMap_REDIRECT_HTTP_RESPONSE_CODE_307
const (
// Not specified. `302` is assumed.
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED UrlMap_RedirectHttpResponseCode = 0
// `301 Moved Permanently` code.
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_301 UrlMap_RedirectHttpResponseCode = 1
// `302 Moved Temporarily` code.
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_302 UrlMap_RedirectHttpResponseCode = 2
// `303 See Other` code.
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_303 UrlMap_RedirectHttpResponseCode = 3
// `307 Temporary Redirect` code.
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_307 UrlMap_RedirectHttpResponseCode = 4
)func (UrlMap_RedirectHttpResponseCode) Descriptor
func (UrlMap_RedirectHttpResponseCode) Descriptor() protoreflect.EnumDescriptorfunc (UrlMap_RedirectHttpResponseCode) Enum
func (x UrlMap_RedirectHttpResponseCode) Enum() *UrlMap_RedirectHttpResponseCodefunc (UrlMap_RedirectHttpResponseCode) EnumDescriptor
func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int)Deprecated: Use UrlMap_RedirectHttpResponseCode.Descriptor instead.
func (UrlMap_RedirectHttpResponseCode) Number
func (x UrlMap_RedirectHttpResponseCode) Number() protoreflect.EnumNumberfunc (UrlMap_RedirectHttpResponseCode) String
func (x UrlMap_RedirectHttpResponseCode) String() stringfunc (UrlMap_RedirectHttpResponseCode) Type
func (UrlMap_RedirectHttpResponseCode) Type() protoreflect.EnumTypeUrlMap_Script
type UrlMap_Script struct {
// Executes a script to handle the requests that match this URL
// pattern. Only the `auto` value is supported for Node.js in the
// App Engine standard environment, for example `"script": "auto"`.
Script *ScriptHandler `protobuf:"bytes,3,opt,name=script,proto3,oneof"`
}UrlMap_StaticFiles
type UrlMap_StaticFiles struct {
// Returns the contents of a file, such as an image, as the response.
StaticFiles *StaticFilesHandler `protobuf:"bytes,2,opt,name=static_files,json=staticFiles,proto3,oneof"`
}Version
type Version struct {
// Full path to the Version resource in the API. Example:
// `apps/myapp/services/default/versions/v1`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Relative name of the version within the service. Example: `v1`.
// Version names can contain only lowercase letters, numbers, or hyphens.
// Reserved names: "default", "latest", and any name with the prefix "ah-".
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Controls how instances are created, scaled, and reaped.
//
// Defaults to `AutomaticScaling`.
//
// Types that are valid to be assigned to Scaling:
//
// *Version_AutomaticScaling
// *Version_BasicScaling
// *Version_ManualScaling
Scaling isVersion_Scaling `protobuf_oneof:"scaling"`
// Before an application can receive email or XMPP messages, the application
// must be configured to enable the service.
InboundServices []InboundServiceType `protobuf:"varint,6,rep,packed,name=inbound_services,json=inboundServices,proto3,enum=google.appengine.v1.InboundServiceType" json:"inbound_services,omitempty"`
// Instance class that is used to run this version. Valid values are:
//
// * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G`
// * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G`
//
// Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or
// BasicScaling.
InstanceClass string `protobuf:"bytes,7,opt,name=instance_class,json=instanceClass,proto3" json:"instance_class,omitempty"`
// Extra network settings.
// Only applicable in the App Engine flexible environment.
Network *Network `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
// The Google Compute Engine zones that are supported by this version in the
// App Engine flexible environment. Deprecated.
Zones []string `protobuf:"bytes,118,rep,name=zones,proto3" json:"zones,omitempty"`
// Machine resources for this version.
// Only applicable in the App Engine flexible environment.
Resources *Resources `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
// Desired runtime. Example: `python27`.
Runtime string `protobuf:"bytes,10,opt,name=runtime,proto3" json:"runtime,omitempty"`
// The channel of the runtime to use. Only available for some
// runtimes. Defaults to the `default` channel.
RuntimeChannel string `protobuf:"bytes,117,opt,name=runtime_channel,json=runtimeChannel,proto3" json:"runtime_channel,omitempty"`
// Whether multiple requests can be dispatched to this version at once.
Threadsafe bool `protobuf:"varint,11,opt,name=threadsafe,proto3" json:"threadsafe,omitempty"`
// Whether to deploy this version in a container on a virtual machine.
Vm bool `protobuf:"varint,12,opt,name=vm,proto3" json:"vm,omitempty"`
// Allows App Engine second generation runtimes to access the legacy bundled
// services.
AppEngineApis bool `protobuf:"varint,128,opt,name=app_engine_apis,json=appEngineApis,proto3" json:"app_engine_apis,omitempty"`
// Metadata settings that are supplied to this version to enable
// beta runtime features.
BetaSettings map[string]string `protobuf:"bytes,13,rep,name=beta_settings,json=betaSettings,proto3" json:"beta_settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// App Engine execution environment for this version.
//
// Defaults to `standard`.
Env string `protobuf:"bytes,14,opt,name=env,proto3" json:"env,omitempty"`
// Current serving status of this version. Only the versions with a
// `SERVING` status create instances and can be billed.
//
// `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`.
ServingStatus ServingStatus `protobuf:"varint,15,opt,name=serving_status,json=servingStatus,proto3,enum=google.appengine.v1.ServingStatus" json:"serving_status,omitempty"`
// Email address of the user who created this version.
//
// @OutputOnly
CreatedBy string `protobuf:"bytes,16,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
// Time that this version was created.
//
// @OutputOnly
CreateTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Total size in bytes of all the files that are included in this version
// and currently hosted on the App Engine disk.
//
// @OutputOnly
DiskUsageBytes int64 `protobuf:"varint,18,opt,name=disk_usage_bytes,json=diskUsageBytes,proto3" json:"disk_usage_bytes,omitempty"`
// The version of the API in the given runtime environment. Please see the
// app.yaml reference for valid values at
// https://cloud.google.com/appengine/docs/standard/A Version resource is a specific set of source code and configuration files that are deployed into a service.
func (*Version) Descriptor
Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (*Version) GetApiConfig
func (x *Version) GetApiConfig() *ApiConfigHandlerfunc (*Version) GetAppEngineApis
func (*Version) GetAutomaticScaling
func (x *Version) GetAutomaticScaling() *AutomaticScalingfunc (*Version) GetBasicScaling
func (x *Version) GetBasicScaling() *BasicScalingfunc (*Version) GetBetaSettings
func (*Version) GetBuildEnvVariables
func (*Version) GetCreateTime
func (x *Version) GetCreateTime() *timestamppb.Timestampfunc (*Version) GetCreatedBy
func (*Version) GetDefaultExpiration
func (x *Version) GetDefaultExpiration() *durationpb.Durationfunc (*Version) GetDeployment
func (x *Version) GetDeployment() *Deploymentfunc (*Version) GetDiskUsageBytes
func (*Version) GetEndpointsApiService
func (x *Version) GetEndpointsApiService() *EndpointsApiServicefunc (*Version) GetEntrypoint
func (x *Version) GetEntrypoint() *Entrypointfunc (*Version) GetEnv
func (*Version) GetEnvVariables
func (*Version) GetErrorHandlers
func (x *Version) GetErrorHandlers() []*ErrorHandlerfunc (*Version) GetHandlers
func (*Version) GetHealthCheck
func (x *Version) GetHealthCheck() *HealthCheckfunc (*Version) GetId
func (*Version) GetInboundServices
func (x *Version) GetInboundServices() []InboundServiceTypefunc (*Version) GetInstanceClass
func (*Version) GetLibraries
func (*Version) GetLivenessCheck
func (x *Version) GetLivenessCheck() *LivenessCheckfunc (*Version) GetManualScaling
func (x *Version) GetManualScaling() *ManualScalingfunc (*Version) GetName
func (*Version) GetNetwork
func (*Version) GetNobuildFilesRegex
func (*Version) GetReadinessCheck
func (x *Version) GetReadinessCheck() *ReadinessCheckfunc (*Version) GetResources
func (*Version) GetRuntime
func (*Version) GetRuntimeApiVersion
func (*Version) GetRuntimeChannel
func (*Version) GetRuntimeMainExecutablePath
func (*Version) GetScaling
func (x *Version) GetScaling() isVersion_Scalingfunc (*Version) GetServiceAccount
func (*Version) GetServingStatus
func (x *Version) GetServingStatus() ServingStatusfunc (*Version) GetThreadsafe
func (*Version) GetVersionUrl
func (*Version) GetVm
func (*Version) GetVpcAccessConnector
func (x *Version) GetVpcAccessConnector() *VpcAccessConnectorfunc (*Version) GetZones
func (*Version) ProtoMessage
func (*Version) ProtoMessage()func (*Version) ProtoReflect
func (x *Version) ProtoReflect() protoreflect.Messagefunc (*Version) Reset
func (x *Version) Reset()func (*Version) String
VersionView
type VersionView int32Fields that should be returned when [Version][google.appengine.v1.Version] resources are retrieved.
VersionView_BASIC, VersionView_FULL
const (
// Basic version information including scaling and inbound services,
// but not detailed deployment information.
VersionView_BASIC VersionView = 0
// The information from `BASIC`, plus detailed information about the
// deployment. This format is required when creating resources, but
// is not returned in `Get` or `List` by default.
VersionView_FULL VersionView = 1
)func (VersionView) Descriptor
func (VersionView) Descriptor() protoreflect.EnumDescriptorfunc (VersionView) Enum
func (x VersionView) Enum() *VersionViewfunc (VersionView) EnumDescriptor
func (VersionView) EnumDescriptor() ([]byte, []int)Deprecated: Use VersionView.Descriptor instead.
func (VersionView) Number
func (x VersionView) Number() protoreflect.EnumNumberfunc (VersionView) String
func (x VersionView) String() stringfunc (VersionView) Type
func (VersionView) Type() protoreflect.EnumTypeVersion_AutomaticScaling
type Version_AutomaticScaling struct {
// Automatic scaling is based on request rate, response latencies, and other
// application metrics. Instances are dynamically created and destroyed as
// needed in order to handle traffic.
AutomaticScaling *AutomaticScaling `protobuf:"bytes,3,opt,name=automatic_scaling,json=automaticScaling,proto3,oneof"`
}Version_BasicScaling
type Version_BasicScaling struct {
// A service with basic scaling will create an instance when the application
// receives a request. The instance will be turned down when the app becomes
// idle. Basic scaling is ideal for work that is intermittent or driven by
// user activity.
BasicScaling *BasicScaling `protobuf:"bytes,4,opt,name=basic_scaling,json=basicScaling,proto3,oneof"`
}Version_ManualScaling
type Version_ManualScaling struct {
// A service with manual scaling runs continuously, allowing you to perform
// complex initialization and rely on the state of its memory over time.
// Manually scaled versions are sometimes referred to as "backends".
ManualScaling *ManualScaling `protobuf:"bytes,5,opt,name=manual_scaling,json=manualScaling,proto3,oneof"`
}VersionsClient
type VersionsClient interface {
// Lists the versions of a service.
ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
// Gets the specified Version resource.
// By default, only a `BASIC_VIEW` will be returned.
// Specify the `FULL_VIEW` parameter to get the full resource.
GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error)
// Deploys code and resource files to a new version.
CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the specified Version resource.
// You can specify the following fields depending on the App Engine
// environment and type of scaling that the version resource uses:
//
// **Standard environment**
//
// * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)
//
// *automatic scaling* in the standard environment:
//
// * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automaticScaling.standard_scheduler_settings.max_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
// * [`automaticScaling.standard_scheduler_settings.min_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
// * [`automaticScaling.standard_scheduler_settings.target_cpu_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
// * [`automaticScaling.standard_scheduler_settings.target_throughput_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
//
// *basic scaling* or *manual scaling* in the standard environment:
//
// * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
// * [`manual_scaling.instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
//
// **Flexible environment**
//
// * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
//
// *automatic scaling* in the flexible environment:
//
// * [`automatic_scaling.min_total_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automatic_scaling.max_total_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automatic_scaling.cool_down_period_sec`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automatic_scaling.cpu_utilization.target_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
//
// *manual scaling* in the flexible environment:
//
// * [`manual_scaling.instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes an existing Version resource.
DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}VersionsClient is the client API for Versions 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 NewVersionsClient
func NewVersionsClient(cc grpc.ClientConnInterface) VersionsClientVersionsServer
type VersionsServer interface {
// Lists the versions of a service.
ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
// Gets the specified Version resource.
// By default, only a `BASIC_VIEW` will be returned.
// Specify the `FULL_VIEW` parameter to get the full resource.
GetVersion(context.Context, *GetVersionRequest) (*Version, error)
// Deploys code and resource files to a new version.
CreateVersion(context.Context, *CreateVersionRequest) (*longrunningpb.Operation, error)
// Updates the specified Version resource.
// You can specify the following fields depending on the App Engine
// environment and type of scaling that the version resource uses:
//
// **Standard environment**
//
// * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)
//
// *automatic scaling* in the standard environment:
//
// * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automaticScaling.standard_scheduler_settings.max_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
// * [`automaticScaling.standard_scheduler_settings.min_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
// * [`automaticScaling.standard_scheduler_settings.target_cpu_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
// * [`automaticScaling.standard_scheduler_settings.target_throughput_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
//
// *basic scaling* or *manual scaling* in the standard environment:
//
// * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
// * [`manual_scaling.instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
//
// **Flexible environment**
//
// * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
//
// *automatic scaling* in the flexible environment:
//
// * [`automatic_scaling.min_total_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automatic_scaling.max_total_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automatic_scaling.cool_down_period_sec`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
// * [`automatic_scaling.cpu_utilization.target_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
//
// *manual scaling* in the flexible environment:
//
// * [`manual_scaling.instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
UpdateVersion(context.Context, *UpdateVersionRequest) (*longrunningpb.Operation, error)
// Deletes an existing Version resource.
DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunningpb.Operation, error)
}VersionsServer is the server API for Versions service. All implementations should embed UnimplementedVersionsServer for forward compatibility
Volume
type Volume struct {
// Unique name for the volume.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Underlying volume type, e.g. 'tmpfs'.
VolumeType string `protobuf:"bytes,2,opt,name=volume_type,json=volumeType,proto3" json:"volume_type,omitempty"`
// Volume size in gigabytes.
SizeGb float64 `protobuf:"fixed64,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// contains filtered or unexported fields
}Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
func (*Volume) Descriptor
Deprecated: Use Volume.ProtoReflect.Descriptor instead.
func (*Volume) GetName
func (*Volume) GetSizeGb
func (*Volume) GetVolumeType
func (*Volume) ProtoMessage
func (*Volume) ProtoMessage()func (*Volume) ProtoReflect
func (x *Volume) ProtoReflect() protoreflect.Messagefunc (*Volume) Reset
func (x *Volume) Reset()func (*Volume) String
VpcAccessConnector
type VpcAccessConnector struct {
// Full Serverless VPC Access Connector name e.g.
// /projects/my-project/locations/us-central1/connectors/c1.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The egress setting for the connector, controlling what traffic is diverted
// through it.
EgressSetting VpcAccessConnector_EgressSetting `protobuf:"varint,2,opt,name=egress_setting,json=egressSetting,proto3,enum=google.appengine.v1.VpcAccessConnector_EgressSetting" json:"egress_setting,omitempty"`
// contains filtered or unexported fields
}VPC access connector specification.
func (*VpcAccessConnector) Descriptor
func (*VpcAccessConnector) Descriptor() ([]byte, []int)Deprecated: Use VpcAccessConnector.ProtoReflect.Descriptor instead.
func (*VpcAccessConnector) GetEgressSetting
func (x *VpcAccessConnector) GetEgressSetting() VpcAccessConnector_EgressSettingfunc (*VpcAccessConnector) GetName
func (x *VpcAccessConnector) GetName() stringfunc (*VpcAccessConnector) ProtoMessage
func (*VpcAccessConnector) ProtoMessage()func (*VpcAccessConnector) ProtoReflect
func (x *VpcAccessConnector) ProtoReflect() protoreflect.Messagefunc (*VpcAccessConnector) Reset
func (x *VpcAccessConnector) Reset()func (*VpcAccessConnector) String
func (x *VpcAccessConnector) String() stringVpcAccessConnector_EgressSetting
type VpcAccessConnector_EgressSetting int32Available egress settings.
This controls what traffic is diverted through the VPC Access Connector resource. By default PRIVATE_IP_RANGES will be used.
VpcAccessConnector_EGRESS_SETTING_UNSPECIFIED, VpcAccessConnector_ALL_TRAFFIC, VpcAccessConnector_PRIVATE_IP_RANGES
const (
VpcAccessConnector_EGRESS_SETTING_UNSPECIFIED VpcAccessConnector_EgressSetting = 0
// Force the use of VPC Access for all egress traffic from the function.
VpcAccessConnector_ALL_TRAFFIC VpcAccessConnector_EgressSetting = 1
// Use the VPC Access Connector for private IP space from RFC1918.
VpcAccessConnector_PRIVATE_IP_RANGES VpcAccessConnector_EgressSetting = 2
)func (VpcAccessConnector_EgressSetting) Descriptor
func (VpcAccessConnector_EgressSetting) Descriptor() protoreflect.EnumDescriptorfunc (VpcAccessConnector_EgressSetting) Enum
func (x VpcAccessConnector_EgressSetting) Enum() *VpcAccessConnector_EgressSettingfunc (VpcAccessConnector_EgressSetting) EnumDescriptor
func (VpcAccessConnector_EgressSetting) EnumDescriptor() ([]byte, []int)Deprecated: Use VpcAccessConnector_EgressSetting.Descriptor instead.
func (VpcAccessConnector_EgressSetting) Number
func (x VpcAccessConnector_EgressSetting) Number() protoreflect.EnumNumberfunc (VpcAccessConnector_EgressSetting) String
func (x VpcAccessConnector_EgressSetting) String() stringfunc (VpcAccessConnector_EgressSetting) Type
func (VpcAccessConnector_EgressSetting) Type() protoreflect.EnumTypeZipInfo
type ZipInfo struct {
// URL of the zip file to deploy from. Must be a URL to a resource in
// Google Cloud Storage in the form
// 'http(s)://storage.googleapis.com/\The zip file information for a zip deployment.
func (*ZipInfo) Descriptor
Deprecated: Use ZipInfo.ProtoReflect.Descriptor instead.
func (*ZipInfo) GetFilesCount
func (*ZipInfo) GetSourceUrl
func (*ZipInfo) ProtoMessage
func (*ZipInfo) ProtoMessage()func (*ZipInfo) ProtoReflect
func (x *ZipInfo) ProtoReflect() protoreflect.Messagefunc (*ZipInfo) Reset
func (x *ZipInfo) Reset()